/* =============================================================================
   GN Devices — Electronic Torque Wrenches
   Design system: graphite/steel instrument base + single torque-orange accent.
   Native CSS, zero build step. Locked page theme (light/dark), one accent,
   one radius scale, mono-for-data type signature.

   Fonts: system grotesk + system mono (fast, no external requests, on-brand for
   a precision-instrument voice). To upgrade later, self-host Geist / Space
   Grotesk and swap --font-display / --font-mono below.
   ========================================================================== */

/* ----------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------------------------------------- Tokens --- */
:root {
  color-scheme: light;

  --canvas:      #f6f7f9;   /* page background */
  --surface:     #ffffff;   /* cards, header, inputs */
  --surface-2:   #f0f2f5;   /* nested tiles, alt sections */

  --ink:         #14181f;   /* headings, strong text */
  --text:        #3b424d;   /* body */
  --muted:       #6b7480;   /* secondary text, labels */
  --faint:       #9aa2ad;   /* tertiary */

  --line:        #e3e6ea;   /* borders */
  --line-strong: #d3d8de;

  --accent:      #c6451a;   /* torque orange — deep enough for AA on white */
  --accent-2:    #a83a13;   /* pressed / darker */
  --accent-soft: #f7e7df;   /* tint fill */
  --accent-fg:   #ffffff;   /* text on accent fill */

  --shadow-sm: 0 1px 2px rgba(20,24,31,.05), 0 1px 3px rgba(20,24,31,.04);
  --shadow-md: 0 2px 6px rgba(20,24,31,.06), 0 18px 40px -22px rgba(20,24,31,.30);
  --shadow-lg: 0 4px 10px rgba(20,24,31,.07), 0 30px 60px -28px rgba(20,24,31,.38);

  --r-card: 16px;
  --r-btn:  11px;
  --r-tile: 12px;
  --r-pill: 999px;

  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body:    var(--font-display);
  --font-mono:    ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Consolas", monospace;

  --maxw: 1200px;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --canvas:      #0f1217;
  --surface:     #171b22;
  --surface-2:   #1d222b;

  --ink:         #eceff3;
  --text:        #c2c8d0;
  --muted:       #8b939e;
  --faint:       #6b7480;

  --line:        #2a2f39;
  --line-strong: #3a414d;

  --accent:      #f26b2e;   /* brighter on dark */
  --accent-2:    #ff7d40;
  --accent-soft: #2c1a10;
  --accent-fg:   #14181f;   /* dark text on bright-orange fill */

  --shadow-sm: 0 1px 2px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.03);
  --shadow-md: 0 1px 0 rgba(255,255,255,.04) inset, 0 22px 48px -24px rgba(0,0,0,.72);
  --shadow-lg: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 66px -28px rgba(0,0,0,.8);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas:#0f1217; --surface:#171b22; --surface-2:#1d222b;
    --ink:#eceff3; --text:#c2c8d0; --muted:#8b939e; --faint:#6b7480;
    --line:#2a2f39; --line-strong:#3a414d;
    --accent:#f26b2e; --accent-2:#ff7d40; --accent-soft:#2c1a10; --accent-fg:#14181f;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.03);
    --shadow-md: 0 1px 0 rgba(255,255,255,.04) inset, 0 22px 48px -24px rgba(0,0,0,.72);
    --shadow-lg: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 66px -28px rgba(0,0,0,.8);
  }
}

/* ----------------------------------------------------------------- Base --- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--canvas);
  line-height: 1.6;
  font-size: 16px;
}
::selection { background: var(--accent); color: var(--accent-fg); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- Layout ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px){ .container { padding-inline: 32px; } }

.section { padding-block: 84px; }
@media (min-width: 768px){ .section { padding-block: 108px; } }
.section--tight { padding-block: 64px; }
.bg-alt { background: var(--surface-2); }

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem);
  margin-top: 14px;
}
.section-head p {
  margin-top: 18px;
  font-size: 1.075rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.65;
}
.section-head--center p { margin-inline: auto; }

/* Eyebrow — mono instrument label with a short tick. Used sparingly. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent);
}
.eyebrow--center { justify-content: center; }

/* ------------------------------------------------------------- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--r-btn);
  font-size: .95rem; font-weight: 700; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted); transform: translateY(-2px); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------- Cards ---- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* ------------------------------------------------------------- Chips ------ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface);
  font-size: .82rem; font-weight: 600; color: var(--text);
}
.chip svg { width: 15px; height: 15px; color: var(--accent); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* --------------------------------------------------------- Icon plate ----- */
.iplate {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-tile);
  color: var(--accent);
  background: linear-gradient(160deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.iplate svg { width: 22px; height: 22px; }
.iplate--solid { background: var(--accent); color: var(--accent-fg); border-color: transparent; }

/* ------------------------------------------------------- Tick ruler bg ---- */
.tick-ruler {
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 11px);
}

/* ============================================================== HEADER ==== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.12rem; color: var(--ink); }
.brand__name b { color: var(--accent); font-weight: 800; }

.nav__links { display: none; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 13px; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: color .18s, background-color .18s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: background-color .18s, border-color .18s;
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--line-strong); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .theme-toggle .sun { display:block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display:none; }
}

.nav__cta { display: none; }
.burger {
  width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 68px 0 0; z-index: 49;
  background: var(--canvas); padding: 22px 20px 40px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 15px 6px; font-size: 1.15rem; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; margin-top: 22px; }

/* ================================================================ HERO ==== */
.hero { position: relative; overflow: hidden; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__glow::before {
  content: ""; position: absolute; top: -160px; left: -120px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 68%);
  filter: blur(30px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 40px; align-items: center;
  padding-block: 56px 60px;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.02fr 0.98fr; gap: 48px; padding-block: 80px 84px; }
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.05rem, 1.1rem + 3.4vw, 3.2rem);
}
.hero h1 .accent { color: var(--accent); }
.hero__lead {
  margin-top: 22px; max-width: 34rem; font-size: 1.14rem; line-height: 1.6; color: var(--muted);
}
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--muted); }
.hero__note svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 34px 50px rgba(20,24,31,.30)); }
:root[data-theme="dark"] .hero__media img { filter: drop-shadow(0 34px 54px rgba(0,0,0,.6)); }

/* Stat band */
.statband { border-block: 1px solid var(--line); background: var(--surface); position: relative; }
.statband::before { content:""; position:absolute; inset-inline:0; top:0; height:6px; opacity:.4; }
.statband .grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px){ .statband .grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
@media (max-width: 899px){ .stat:nth-child(2n){ border-right: 0; } .stat:nth-child(-n+2){ border-bottom: 1px solid var(--line);} }
.stat__v { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem); letter-spacing: -0.03em; }
.stat__v small { font-size: .5em; font-weight: 600; color: var(--muted); margin-left: 4px; }
.stat__l { margin-top: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.stat__l .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ============================================================ PLATFORM ==== */
.flow { display: grid; gap: 16px; margin-top: 52px; }
@media (min-width: 900px){ .flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; } }
.flow__node { padding: 28px; }
.flow__node .top { display: flex; align-items: center; justify-content: space-between; }
.flow__node .step { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.flow__node h3 { margin-top: 20px; font-size: 1.25rem; font-weight: 700; }
.flow__node ul { margin-top: 16px; display: grid; gap: 11px; list-style: none; }
.flow__node li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); }
.flow__node li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.flow__arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.flow__arrow svg { width: 26px; height: 26px; }
@media (max-width: 899px){ .flow__arrow { transform: rotate(90deg); } }
.flow__caps { margin-top: 22px; }

/* ========================================================= CONFIGURATOR === */
.shots { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px){ .shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .shots { grid-template-columns: repeat(3, 1fr); } }
.shot { overflow: hidden; cursor: zoom-in; text-align: left; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.shot__img { display: block; position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.shot__b { display: block; }
.shot__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top; transition: transform .3s; }
.shot:hover .shot__img img { transform: scale(1.03); }
.shot__b { padding: 18px 20px; }
.shot__b h3 { font-size: 1.02rem; font-weight: 700; }
.shot__b p { margin-top: 6px; font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* ========================================================== CAPABILITIES == */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 720px){ .bento { grid-template-columns: repeat(6, 1fr); } }
.b { padding: 28px; display: flex; flex-direction: column; }
.b .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.b .metric { font-family: var(--font-mono); font-weight: 700; color: var(--muted); font-size: 1rem; }
.b h3 { font-size: 1.15rem; font-weight: 700; }
.b p { margin-top: 9px; font-size: .95rem; color: var(--text); line-height: 1.6; }
@media (min-width: 720px){
  .b--wide { grid-column: span 3; }
  .b--third { grid-column: span 2; }
  .b--half { grid-column: span 3; }
}
/* feature cell with accent fill */
.b--accent { background: linear-gradient(155deg, var(--accent), var(--accent-2)); border-color: transparent; color: var(--accent-fg); }
.b--accent h3, .b--accent .metric { color: var(--accent-fg); }
.b--accent p { color: color-mix(in srgb, var(--accent-fg) 86%, transparent); }
.b--accent .iplate { background: rgba(255,255,255,.16); color: var(--accent-fg); border-color: rgba(255,255,255,.22); }
/* feature cell with image */
.b--media { padding: 0; overflow: hidden; position: relative; min-height: 240px; }
.b--media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b--media .cap { position: relative; margin-top: auto; padding: 20px 24px; background: linear-gradient(to top, rgba(15,18,23,.9), transparent); color: #fff; z-index: 1; width: 100%; }
.b--media .cap h3 { color: #fff; font-size: 1.1rem; }
.b--media .cap p { color: rgba(255,255,255,.82); }
/* patterned cell */
.b--pattern { background:
  radial-gradient(color-mix(in srgb, var(--accent) 30%, transparent) 1.1px, transparent 1.2px) 0 0 / 20px 20px,
  var(--surface); }

/* ============================================================== DEVICE ==== */
.screens { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 900px; margin: 8px auto 0; }
@media (min-width: 640px){ .screens { grid-template-columns: repeat(3, 1fr); } }
.screen figure { text-align: center; }
.screen .frame { border-radius: 20px; padding: 7px; background: #3a4150; border: 1px solid #4a5261; box-shadow: var(--shadow-lg); }
.screen .frame img { width: 100%; height: auto; border-radius: 13px; }
.screen figcaption { margin-top: 14px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* =============================================================== RANGE ==== */
.range-tool { display: grid; gap: 24px; margin-top: 12px; }
@media (min-width: 900px){ .range-tool { grid-template-columns: 5fr 7fr; align-items: start; } }
.range-input { padding: 26px 26px 28px; position: sticky; top: 90px; }
.range-input .lbl { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.range-input .value { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.range-input .value input {
  width: 100%; border: 0; background: transparent; padding: 0; color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 3.6rem); letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.range-input .value input::-webkit-outer-spin-button,
.range-input .value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.range-input .value input:focus { outline: none; }
.range-input .value .unit { font-size: 1.5rem; color: var(--muted); font-weight: 600; }
.slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 22px;
  border-radius: 999px; background: var(--surface-2); cursor: pointer;
}
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; }
.slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); cursor: pointer; }
.slider-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: .68rem; color: var(--faint); }
.range-hint { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.range-hint b { color: var(--ink); }

.series-list { display: grid; gap: 14px; }
.series {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  display: grid; grid-template-columns: 1fr; transition: border-color .25s, box-shadow .25s, transform .25s;
}
@media (min-width: 560px){ .series { grid-template-columns: 150px 1fr; } }
.series.match { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.series__ph { position: relative; background: var(--surface-2); min-height: 130px; border-bottom: 1px solid var(--line); }
@media (min-width: 560px){ .series__ph { border-bottom: 0; border-right: 1px solid var(--line); } }
.series__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.series__ph .tag { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .06em; padding: 4px 9px; border-radius: 6px; background: var(--ink); color: var(--canvas); }
.series__b { padding: 20px 22px; }
.series__b .row1 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.series__b h3 { font-size: 1.2rem; font-weight: 700; }
.series__b .rng { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 1rem; }
.series__b .desc { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.series__b .meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 18px; font-size: .82rem; color: var(--muted); }
.series__b .meta b { color: var(--ink); font-family: var(--font-mono); font-weight: 700; }

.rangebar { margin-top: 16px; }
.rangebar .scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .66rem; color: var(--faint); margin-bottom: 6px; }
.rangebar .track { position: relative; height: 8px; border-radius: 999px; background: var(--surface-2); }
.rangebar .fill { position: absolute; top: 0; height: 100%; border-radius: 999px; background: var(--line-strong); transition: background-color .25s; }
.series.match .rangebar .fill { background: var(--accent); }
.rangebar .marker { position: absolute; top: 50%; width: 14px; height: 14px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--ink); border: 2px solid var(--surface); box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s, left .1s linear; }
.series.match .rangebar .marker { opacity: 1; }

/* ============================================================ COMPARISON == */
.tablewrap { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.tablescroll { overflow-x: auto; }
table.gen { width: 100%; min-width: 720px; border-collapse: collapse; }
table.gen th, table.gen td { text-align: left; padding: 16px 20px; vertical-align: top; }
table.gen thead th { border-bottom: 1px solid var(--line); }
table.gen .colname { font-size: 1rem; font-weight: 700; color: var(--text); }
table.gen .colsub { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
table.gen th.hl, table.gen td.hl { background: var(--accent-soft); border-inline: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
table.gen .hl .colname { color: var(--ink); }
table.gen .hl .colsub { color: var(--accent); }
table.gen tbody tr { border-bottom: 1px solid var(--line); }
table.gen tbody tr:last-child { border-bottom: 0; }
table.gen .rlabel { font-size: .85rem; color: var(--muted); }
table.gen td .cell { font-size: .9rem; color: var(--text); display: inline-flex; gap: 8px; }
table.gen td.hl .cell { color: var(--ink); font-weight: 600; }
table.gen .cell svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
table.gen .cell.neg { color: var(--faint); }
table.gen .cell.neg svg { color: var(--faint); }

/* =========================================================== PARTNERSHIP == */
.models { margin-top: 44px; border-top: 1px solid var(--line); }
.model {
  display: grid; gap: 18px 28px; padding: 34px 0; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 800px){ .model { grid-template-columns: 64px 1fr 1.1fr; align-items: start; } }
.model__num { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.model__h h3 { font-size: 1.4rem; font-weight: 700; }
.model__h .who { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.model__h .who .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.model__body p { color: var(--text); line-height: 1.65; }
.model__body ul { margin-top: 14px; display: grid; gap: 9px; list-style: none; }
.model__body li { display: flex; gap: 10px; font-size: .93rem; color: var(--muted); }
.model__body li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }

/* =============================================================== SPECS ==== */
.specs { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 768px){ .specs { grid-template-columns: repeat(2, 1fr); } }
.specgroup { overflow: hidden; }
.specgroup__h { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.specgroup__h .iplate { width: 38px; height: 38px; }
.specgroup__h .iplate svg { width: 19px; height: 19px; }
.specgroup__h h3 { font-size: 1.02rem; font-weight: 700; }
.specgroup dl { margin: 0; }
.specgroup .r { display: grid; grid-template-columns: 40% 60%; gap: 14px; padding: 13px 22px; border-bottom: 1px solid var(--line); }
.specgroup .r:last-child { border-bottom: 0; }
.specgroup dt { font-size: .85rem; color: var(--muted); }
.specgroup dd { margin: 0; font-size: .88rem; color: var(--ink); font-weight: 600; }
.specgroup dd.mono { font-weight: 700; }

/* ================================================================ FAQ ===== */
.faq { max-width: 820px; margin: 8px auto 0; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.08rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); letter-spacing: -0.02em;
}
.qa__q .ico { flex: none; width: 22px; height: 22px; position: relative; }
.qa__q .ico::before, .qa__q .ico::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s; }
.qa__q .ico::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.qa__q .ico::after { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.qa.open .qa__q .ico::after { transform: scaleY(0); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa__a .inner { padding: 0 4px 24px; color: var(--text); line-height: 1.7; font-size: .98rem; max-width: 68ch; }
.qa__a .inner a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================= CTA BAND === */
.ctaband { position: relative; overflow: hidden; border-radius: 24px; padding: 64px 32px; text-align: center;
  background: linear-gradient(155deg, #1b2029, #12151b); border: 1px solid #262c36; }
:root[data-theme="dark"] .ctaband { background: linear-gradient(155deg, #1f2530, #14181f); border-color: #2f3540; }
.ctaband::before { content:""; position:absolute; inset:0; opacity:.5;
  background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); }
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 3vw, 2.8rem); }
.ctaband p { margin: 18px auto 0; max-width: 52ch; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.ctaband .btn--primary { margin-top: 30px; }
.ctaband .demoline { margin-top: 22px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.ctaband .demoline b { color: var(--accent-2); }

/* ============================================================== FOOTER ==== */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; gap: 36px; padding-block: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px){ .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 36ch; line-height: 1.65; }
.footer-col h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: .92rem; padding: 6px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom, .footer-bottom a { font-size: .82rem; color: var(--faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================= LIGHTBOX === */
.lightbox { position: fixed; inset: 0; z-index: 80; display: none; flex-direction: column;
  background: rgba(10,12,16,.92); backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; color: rgba(255,255,255,.8); }
.lightbox__bar .count { font-family: var(--font-mono); font-size: .85rem; }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 12px 4px; position: relative; }
.lightbox__stage img { max-width: min(1000px, 92vw); max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { padding: 16px 20px 26px; text-align: center; }
.lightbox__cap h4 { color: #fff; font-size: 1.05rem; }
.lightbox__cap p { color: rgba(255,255,255,.68); font-size: .88rem; margin-top: 5px; }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.5); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-btn:hover { background: rgba(0,0,0,.7); }
.lb-btn svg { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__nav.prev { left: 14px; }
.lightbox__nav.next { right: 14px; }

/* ============================================================= REVEALS ==== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-delay="1"]{ transition-delay: .06s; }
[data-delay="2"]{ transition-delay: .12s; }
[data-delay="3"]{ transition-delay: .18s; }
[data-delay="4"]{ transition-delay: .24s; }

body.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
