/* PhoneRev by SEG — segtech.shop
   Static site, no external requests (system fonts, inline SVG). */

:root {
  --ink: #0d1117;
  --ink-2: #161b24;
  --ink-3: #232a36;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --line: #e3e7ec;
  --text: #1b2230;
  --muted: #5a6475;
  --on-dark: #e9edf3;
  --on-dark-muted: #9aa5b6;
  --accent: #ff7a2f;
  --accent-ink: #1a0f06;
  --ok: #2fb67a;
  --warn: #e8b13a;
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name { font-weight: 700; letter-spacing: -0.01em; font-size: 18px; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-dark); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.08); }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-left: 6px; }
.nav .nav-cta:hover { background: #ff8c4a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff8c4a; transform: translateY(-1px); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 122, 47, 0.18), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
  padding: 72px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(255, 122, 47, 0.45);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -0.025em;
  color: #fff; font-weight: 750;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 20px; font-size: 19px; color: var(--on-dark-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--on-dark-muted); }

/* concept preview card */
.preview {
  background: var(--ink-3); border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.preview-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.preview-title { font-weight: 600; color: #fff; font-size: 15px; }
.preview-tag { font-family: var(--mono); font-size: 11px; color: var(--on-dark-muted); border: 1px dashed rgba(255, 255, 255, 0.25); padding: 3px 8px; border-radius: 6px; }
.preview-device {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 12px; margin-bottom: 12px;
}
.preview-device svg { width: 34px; height: 34px; flex: none; }
.preview-device b { display: block; color: #fff; font-size: 15px; }
.preview-device span { font-size: 13px; color: var(--on-dark-muted); font-family: var(--mono); }
.rows { display: grid; gap: 8px; }
.row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.04); border-radius: 10px; padding: 10px 12px; font-size: 15px; color: var(--on-dark);
}
.pill { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: rgba(47, 182, 122, 0.16); color: var(--ok); }
.pill.wait { background: rgba(232, 177, 58, 0.16); color: var(--warn); }
.pill.man { background: rgba(154, 165, 182, 0.16); color: var(--on-dark-muted); }
.preview-foot { margin-top: 12px; font-size: 12px; color: var(--on-dark-muted); text-align: center; }

/* ---------- Facts strip ---------- */
.facts { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.07); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, 0.07); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; color: #fff; font-size: 17px; }
.facts span { color: var(--on-dark-muted); font-size: 14px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.alt { background: var(--mist); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #c2540a; margin-bottom: 10px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 750; color: var(--ink); }
.sub { margin-top: 14px; color: var(--muted); max-width: 40em; font-size: 18px; }
.head { margin-bottom: 44px; }

/* capability cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: #c9d0da; transform: translateY(-2px); }
.ico {
  width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
}
.ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12.5px; background: var(--mist); color: var(--text); padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); }
.alt .tags span { background: #fff; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 750; margin-bottom: 16px;
}
.step h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* coverage table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.principles h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; padding-top: 14px; border-top: 3px solid var(--accent); }
.principles p { color: var(--muted); font-size: 16px; }

/* company */
.company { background: var(--ink); color: var(--on-dark); }
.company h2 { color: #fff; }
.company .eyebrow { color: var(--accent); }
.company-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.company p { color: var(--on-dark-muted); margin-top: 16px; font-size: 18px; }
.dl { display: grid; gap: 0; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; overflow: hidden; }
.dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.dl div:last-child { border-bottom: 0; }
.dl dt { color: var(--on-dark-muted); font-size: 14px; }
.dl dd { margin: 0; color: #fff; font-size: 16px; overflow-wrap: anywhere; }
.dl a { color: #fff; text-underline-offset: 3px; }
.dl a:hover { color: var(--accent); }

/* contact */
.contact-box {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 40px;
}
.contact-box p { color: var(--muted); margin-top: 10px; max-width: 36em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }

/* footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 44px 0 36px; font-size: 14.5px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; }
.site-footer strong { color: #fff; }
.site-footer a { color: var(--on-dark); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--accent); }
.legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; line-height: 1.6; }
.legal p + p { margin-top: 8px; }

/* article pages (privacy) */
.page-head { background: var(--ink); color: #fff; padding: 56px 0 44px; }
.page-head h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; font-weight: 750; }
.page-head p { color: var(--on-dark-muted); margin-top: 10px; }
.prose { max-width: 760px; padding: 56px 0 80px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid, .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .principles { grid-template-columns: 1fr; gap: 24px; }
  .contact-box { grid-template-columns: 1fr; padding: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .nav a:not(.nav-cta) { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .dl div { grid-template-columns: 1fr; gap: 2px; }
  .lede { font-size: 17px; }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Company name: never breaks across lines ---------- */
.co { white-space: nowrap; }
.brand-name small { white-space: nowrap; }
.co-fit { display: inline-block; white-space: nowrap; font-size: min(1em, 5.2cqw); }
.company-grid > div:first-child { container-type: inline-size; }

/* ---------- Coverage ---------- */
.every { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 40px; }
.every h3, .table-title { font-size: 19px; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 14px; }
.every ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.every li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--muted); }
.every li b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.table-title { margin-bottom: 6px; }
.swipe { display: none; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
table.cov { width: 100%; min-width: 0; table-layout: fixed; font-size: 12.5px; line-height: 1.45; }
table.cov th, table.cov td { padding: 10px 9px; overflow-wrap: break-word; }
table.cov thead th:nth-child(1) { width: 10%; }
table.cov thead th { font-size: 11px; letter-spacing: 0.03em; }
table.cov tbody th[scope="row"] { text-align: left; background: var(--paper); color: var(--ink); font-weight: 650; font-size: 12.5px; letter-spacing: 0; text-transform: none; white-space: normal; border-right: 1px solid var(--line); }
table.cov tr.series th { background: var(--ink); color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 14px; position: static; border-right: 0; }
table.cov td { color: var(--muted); }



/* ---------- Coverage table: stacked cards when the page is narrow ---------- */
@media (max-width: 1000px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  table.cov, table.cov tbody, table.cov tr, table.cov td, table.cov th { display: block; width: 100%; }
  table.cov { table-layout: auto; font-size: 15px; line-height: 1.5; }
  table.cov thead { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
  table.cov tr.series th { margin-top: 22px; border-radius: 8px; }
  table.cov tbody:first-of-type tr.series th { margin-top: 0; }
  table.cov tbody tr:not(.series) { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0 0; padding: 4px 16px 14px; }
  table.cov tbody th[scope="row"] { font-size: 16.5px; padding: 12px 0 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
  table.cov td { padding: 10px 0 0; border: 0; color: var(--text); }
  table.cov td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
}
@media (max-width: 380px) { .nav-cta { display: none; } }
