:root{
    --bg:        oklch(0.985 0.003 80);
    --bg-2:      oklch(0.975 0.004 80);
    --surface:   oklch(1 0 0);
    --ink:       oklch(0.18 0.01 80);
    --ink-2:     oklch(0.34 0.008 80);
    --ink-3:     oklch(0.52 0.008 80);
    --ink-4:     oklch(0.72 0.006 80);
    --line:      oklch(0.92 0.004 80);
    --line-2:    oklch(0.88 0.005 80);
    --accent:    oklch(0.68 0.16 55);
    --accent-2:  oklch(0.72 0.14 65);
    --good:      oklch(0.66 0.14 150);
    --warn:      oklch(0.74 0.14 80);
    --live:      oklch(0.62 0.20 25);
  }
  *{box-sizing:border-box}
  html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);
    font-family:'Geist',ui-sans-serif,system-ui,-apple-system,sans-serif;
    font-feature-settings:"ss01","cv11";
    -webkit-font-smoothing:antialiased;
  }
  body{ overflow-x:hidden; }
  .mono{font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
  a{color:inherit;text-decoration:none}
  button{font:inherit;color:inherit}
  ::selection{background:var(--ink);color:var(--bg)}

/* === STYLES BLOCK 2 === */

/* ── tokens additional ─────────────────────────────────────── */
.page{ position:relative; min-height:100vh; }
.bg-grid{ position:fixed; inset:0; z-index:-1; pointer-events:none;
  -webkit-mask-image: linear-gradient(to bottom, black 0, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0, black 70%, transparent 100%);
}

/* ── nav ─────────────────────────────────────── */
.nav{ position:sticky; top:0; z-index:50;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav-inner{ max-width:1280px; margin:0 auto; padding:14px 32px;
  display:grid; grid-template-columns: auto 1fr auto; align-items:center; gap:32px; }
.brand{ display:inline-flex; align-items:center; gap:9px; color:var(--ink); }
.brand-mark{ display:inline-grid; place-items:center; width:50px; height:50px;
  color:#000; }
@media (prefers-color-scheme: dark){ .brand-mark{ color:#fff; } }
.brand-mark > svg, .brand-mark > img{ width:100%; height:100%; display:block; }
.brand-sep{ color:var(--ink-4); font-weight:300; font-size:18px;
  user-select:none; margin:0 2px; }
.brand-name{ font-weight:600; letter-spacing:-.01em; font-size:16px; }
.brand-badge{ font-size:10px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink-3); padding:2px 6px; border:1px solid var(--line);
  border-radius:4px; background:var(--bg-2); }
.nav-links{ display:flex; gap:24px; justify-self:center; }
.nav-links a{ font-size:13.5px; color:var(--ink-2); }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:8px; }
/* Hide "Войти" CTA when cp.glided.app reports an active session via the
   shared `glided_authed` cookie — see _session.js. */
html[data-glided-authed] .nav-cta a[href*="/auth"]{ display:none !important; }
.lang{ appearance:none; background:transparent; border:1px solid var(--line);
  color:var(--ink-2); border-radius:8px; padding:6px 9px; font-size:11px;
  letter-spacing:.04em; cursor:pointer; display:inline-flex; align-items:center; gap:4px; }
.lang .sep{ color:var(--ink-4); }
.lang .dim{ color:var(--ink-4); }

/* ── buttons ─────────────────────────────────── */
.btn{ display:inline-flex; align-items:center; gap:8px; padding:9px 13px;
  border-radius:9px; font-size:13px; font-weight:500; border:1px solid transparent;
  cursor:pointer; line-height:1; transition: background .15s, color .15s, border .15s, transform .15s; }
.btn-lg{ padding:13px 18px; font-size:14px; border-radius:11px; }
.btn-block{ width:100%; justify-content:center; }
.btn-primary{ background:var(--ink); color:var(--bg);
  box-shadow: 0 1px 0 oklch(1 0 0 / .15) inset, 0 1px 2px oklch(0 0 0 / .15); }
.btn-primary:hover{ background:oklch(0.26 0.01 80); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line-2); }
.btn-ghost:hover{ background:var(--bg-2); border-color:var(--ink-4); }
.btn-light{ background:var(--bg); color:var(--ink); }
.btn-light:hover{ background:var(--bg-2); }
.btn .play{ font-size:11px; }

/* ── hero ─────────────────────────────────────── */
.hero{ position:relative; max-width:1280px; margin:0 auto; padding:64px 32px 32px; }
.hero-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap:56px; align-items:start; }
.eyebrow{ display:inline-flex; align-items:center; gap:8px;
  font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink-3); padding:6px 10px; border:1px solid var(--line);
  border-radius:99px; background:var(--bg-2); }
.eb-dot{ width:6px; height:6px; border-radius:99px; background:var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
.h1{ font-size:64px; line-height:1.02; letter-spacing:-.035em; font-weight:500;
  margin:20px 0 18px; max-width:14ch; text-wrap:balance; }
.h1 em{ font-style:normal; color:var(--ink-3);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  -webkit-background-clip:text; background-clip:text;
  /* subtle italic flavor */ font-family:'Geist',sans-serif; font-weight:300; font-style:italic; }
.lede{ font-size:17px; line-height:1.55; color:var(--ink-2); max-width:46ch; margin:0 0 26px;
  text-wrap:pretty; font-weight:400; }
.lede.sm{ font-size:15px; }
.cta-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
.hero-bullets{ list-style:none; margin:0; padding:0; display:flex; gap:18px; flex-wrap:wrap;
  color:var(--ink-3); font-size:11px; letter-spacing:.04em; text-transform:uppercase; }
.hero-bullets li{ display:inline-flex; align-items:center; gap:6px; }

.hero-side{ display:flex; flex-direction:column; gap:14px; }

/* ── board ─────────────────────────────────────── */
.board{ background: oklch(0.16 0.01 80); color: oklch(0.94 0.01 80);
  border:1px solid oklch(0.24 0.01 80); border-radius:14px; overflow:hidden;
  box-shadow: 0 30px 60px -30px oklch(0.18 0.01 80 / .35), 0 1px 0 oklch(1 0 0 / .04) inset;
}
.board-h{ display:flex; justify-content:space-between; align-items:center;
  padding:12px 16px; border-bottom:1px solid oklch(0.24 0.01 80);
  background: linear-gradient(180deg, oklch(0.18 0.01 80), oklch(0.16 0.01 80)); }
.board-h-l{ display:flex; align-items:center; gap:12px; }
.live-pill{ display:inline-flex; align-items:center; gap:6px;
  background: oklch(0.62 0.20 25 / .12); color:oklch(0.80 0.18 25);
  border:1px solid oklch(0.62 0.20 25 / .35); padding:3px 7px; border-radius:5px;
  font-size:10px; letter-spacing:.12em; font-family:'Geist Mono',monospace; font-weight:600; }
.lp-dot{ width:6px; height:6px; border-radius:99px; background:oklch(0.66 0.22 25);
  box-shadow: 0 0 0 0 oklch(0.66 0.22 25 / .6); animation: livePulse 1.6s infinite; }
.lp-dot.mini{ width:5px; height:5px; background:var(--good); animation:none; box-shadow:none; }
@keyframes livePulse{
  0%{ box-shadow: 0 0 0 0 oklch(0.66 0.22 25 / .6); }
  100%{ box-shadow: 0 0 0 7px oklch(0.66 0.22 25 / 0); }
}
.board-title{ font-size:11px; letter-spacing:.12em; color:oklch(0.74 0.02 80); }
.board-h-r{ display:flex; align-items:center; gap:14px; font-size:11px; color:oklch(0.74 0.02 80); }
.board-clock{ font-variant-numeric: tabular-nums; color:oklch(0.94 0.01 80);
  background: oklch(0.22 0.01 80); padding:3px 7px; border-radius:5px; font-weight:500;
  border:1px solid oklch(0.28 0.01 80); }
.board-loc{ letter-spacing:.08em; }
.board-cols{ display:grid; grid-template-columns: 56px 64px 1fr 90px 120px;
  padding:10px 16px; font-size:10px; letter-spacing:.12em; color:oklch(0.58 0.01 80);
  border-bottom:1px dashed oklch(0.26 0.01 80); }
.ta-r{ text-align:right; }
.board-rows{ list-style:none; margin:0; padding:0; }
.board-row{ display:grid; grid-template-columns: 56px 64px 1fr 90px 120px;
  padding:12px 16px; align-items:center; font-size:13px;
  border-bottom:1px solid oklch(0.22 0.01 80); transition: background .25s; }
.board-row:last-child{ border-bottom:0; }
.board-row.flash{ background: oklch(0.22 0.01 80 / .6); }
.b-gate{ color:oklch(0.74 0.02 80); }
.b-time{ color:oklch(0.94 0.01 80); font-weight:500; font-variant-numeric:tabular-nums; }
.b-art{ color:oklch(0.98 0.01 80); font-weight:500; letter-spacing:.01em; }
.b-stage{ color:oklch(0.66 0.02 80); font-size:11px; letter-spacing:.08em; }
.b-stat{ display:inline-flex; align-items:center; gap:7px; justify-self:end;
  font-size:11px; letter-spacing:.08em; padding:3px 8px; border-radius:5px;
  border:1px solid currentColor; background: color-mix(in oklab, currentColor 8%, transparent); }
.stat-dot{ width:5px; height:5px; border-radius:99px; background:currentColor; }
.tone-live{ color:oklch(0.78 0.18 25); }
.tone-warn{ color:oklch(0.82 0.16 80); }
.tone-ok{ color:oklch(0.78 0.16 150); }
.tone-idle{ color:oklch(0.66 0.02 80); }
.board-f{ display:flex; justify-content:space-between; padding:10px 16px;
  font-size:10px; color:oklch(0.58 0.01 80); letter-spacing:.06em;
  background: oklch(0.14 0.01 80); border-top:1px solid oklch(0.22 0.01 80); }

/* ── ministat ─────────────── */
.ministat{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap:0;
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  overflow:hidden; }
.ms-cell{ padding:14px 16px; border-right:1px solid var(--line);
  display:flex; flex-direction:column; gap:5px; }
.ms-cell:last-child{ border-right:0; }
.ms-lbl{ font-size:10px; letter-spacing:.1em; color:var(--ink-3); }
.ms-val{ font-size:22px; font-weight:500; letter-spacing:-.02em;
  font-variant-numeric: tabular-nums; }
.ms-of{ color:var(--ink-4); font-size:13px; font-weight:400; margin-left:2px; }
.ms-delta{ font-size:11px; color:var(--good); font-family:'Geist Mono',monospace; }
.ms-bar{ height:3px; background:var(--line); border-radius:99px; overflow:hidden; margin-top:4px; }
.ms-bar i{ display:block; height:100%; background:var(--accent); border-radius:99px; }

/* ── marquee ─────────────── */
.marquee{ position:relative; margin:48px -32px 0; padding:18px 0;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  overflow:hidden; background: var(--bg-2); }
.m-track{ display:flex; gap:48px; white-space:nowrap; animation: mscroll 20s linear infinite;
  font-size:12px; letter-spacing:.16em; color:var(--ink-3); }
.m-item{ display:inline-flex; gap:14px; align-items:center; }
.m-bullet{ color:var(--accent); }
.m-fade{ position:absolute; top:0; bottom:0; width:140px; pointer-events:none; z-index:2; }
.m-fade-l{ left:0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.m-fade-r{ right:0; background: linear-gradient(270deg, var(--bg-2), transparent); }
@keyframes mscroll{ to{ transform: translateX(-50%); } }

/* ── section head ─────────────── */
.section{ max-width:1280px; margin:0 auto; padding:96px 32px; }
.section-tight{ padding:64px 32px; }
.sec-head{ display:flex; flex-direction:column; gap:14px; max-width:780px; margin-bottom:48px; }
.kicker{ display:inline-flex; align-items:center; gap:8px; font-size:11px;
  letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); align-self:flex-start; }
.k-dot{ width:6px; height:6px; border-radius:99px; background:var(--accent); }
.kicker-light{ color:oklch(0.78 0.02 80); }
.kicker-light .k-dot{ background:var(--bg); }
.h2{ font-size:44px; line-height:1.05; letter-spacing:-.03em; font-weight:500;
  margin:0; text-wrap:balance; max-width:18ch; }
.h2.light{ color:var(--bg); }
.h2 em{ font-style:italic; font-weight:300; color:var(--ink-3); }
.h2.light em{ color:oklch(0.78 0.02 80); }

/* ── features ─────────────── */
.feat-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:0;
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
  background:var(--surface); }
.feat{ padding:28px 26px 26px; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  display:flex; flex-direction:column; gap:14px; position:relative; min-height:248px;
  transition: background .2s; }
.feat:hover{ background: var(--bg-2); }
.feat:nth-child(3n){ border-right:0; }
.feat:nth-child(n+4){ }
.feat:nth-last-child(-n+3){ border-bottom:0; }
.feat-h{ display:flex; align-items:center; justify-content:space-between; }
.feat-ico{ width:34px; height:34px; display:grid; place-items:center;
  background: color-mix(in oklab, var(--accent) 14%, var(--bg));
  color: color-mix(in oklab, var(--accent) 80%, var(--ink));
  border:1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
  border-radius:9px; }
.feat-tag{ font-size:10px; letter-spacing:.12em; color:var(--ink-3); }
.feat-t{ font-size:19px; line-height:1.2; letter-spacing:-.01em; font-weight:500; margin:0; }
.feat-b{ font-size:13.5px; line-height:1.55; color:var(--ink-2); margin:0; text-wrap:pretty; }
.feat-bullets{ list-style:none; margin:auto 0 0; padding:0;
  display:flex; flex-direction:column; gap:5px;
  border-top:1px dashed var(--line-2); padding-top:12px;
  font-size:11px; letter-spacing:.04em; color:var(--ink-3); }
.feat-bullets li{ display:inline-flex; gap:8px; align-items:center; }
.fb-dot{ color:var(--accent); }

/* ── steps ─────────────── */
.steps{ list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns: repeat(3, 1fr); gap:0;
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
  background:var(--surface); position:relative; }
.step{ padding:36px 28px 32px; border-right:1px solid var(--line);
  display:flex; flex-direction:column; gap:16px; position:relative; }
.step:last-child{ border-right:0; }
.step-num{ font-size:11px; letter-spacing:.12em; color:var(--accent);
  display:inline-flex; align-items:center; gap:8px; }
.step-num::before{ content:''; width:14px; height:1px; background:var(--accent); display:inline-block; }
.step-chip{ display:inline-flex; align-self:flex-start; padding:3px 8px;
  background:var(--bg-2); border:1px solid var(--line); border-radius:5px;
  font-size:10px; letter-spacing:.08em; color:var(--ink-3); }
.step-t{ font-size:22px; letter-spacing:-.015em; font-weight:500; margin:0; }
.step-d{ font-size:14px; line-height:1.55; color:var(--ink-2); margin:0; text-wrap:pretty; }
.step-rule{ position:absolute; right:-6px; top:48px; width:12px; height:12px;
  border-top:1px solid var(--line-2); border-right:1px solid var(--line-2);
  transform: rotate(45deg); background:var(--surface); }

/* ── analytics ─────────────── */
.an-wrap{ display:grid; grid-template-columns: 1fr 1.2fr; gap:48px; align-items:start;
  background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:36px; }
.an-copy{ display:flex; flex-direction:column; gap:16px; }
.an-copy .h2{ font-size:34px; max-width:none; }
.an-kpis{ display:grid; grid-template-columns: 1fr 1fr; gap:0; margin-top:12px;
  border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--bg); }
.kpi{ padding:14px 16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  display:flex; flex-direction:column; gap:4px; }
.kpi:nth-child(2n){ border-right:0; }
.kpi:nth-last-child(-n+2){ border-bottom:0; }
.kpi-l{ font-size:10px; letter-spacing:.1em; color:var(--ink-3); }
.kpi-v{ font-size:22px; font-weight:500; letter-spacing:-.02em;
  font-variant-numeric:tabular-nums; }
.kpi-d{ font-size:11px; font-family:'Geist Mono',monospace; color:var(--ink-3); }
.kpi-d.tone-ok{ color:var(--good); }

.an-chart{ background:var(--bg); border:1px solid var(--line); border-radius:14px; padding:18px;
  display:flex; flex-direction:column; gap:12px; }
.an-chart-h{ display:flex; justify-content:space-between; font-size:11px;
  letter-spacing:.08em; color:var(--ink-3); }
.an-chart-r{ display:inline-flex; align-items:center; gap:12px; }
.ch-dot{ display:inline-block; width:10px; height:2px; vertical-align:middle; margin-right:5px; border-radius:99px; }
.dot-now{ background:var(--accent); }
.dot-prev{ background:var(--ink-4); }
.an-chart-svg{ width:100%; height:200px; display:block; }
.an-callout{ display:flex; gap:12px; align-items:flex-start;
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  border:1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
  border-radius:10px; padding:10px 12px; font-size:11.5px; letter-spacing:.02em;
  color:var(--ink-2); line-height:1.5; }
.an-c-tag{ display:inline-flex; align-items:center; gap:5px;
  color: color-mix(in oklab, var(--accent) 70%, var(--ink));
  font-weight:600; letter-spacing:.08em; }

/* ── pricing ─────────────── */
.tiers{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.tier{ background:var(--surface); border:1px solid var(--line); border-radius:16px;
  padding:28px 26px; display:flex; flex-direction:column; gap:14px; position:relative; }
.tier-pri{ background:var(--ink); color:var(--bg);
  border-color:var(--ink); transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px oklch(0.18 0.01 80 / .4); }
.tier-pri .tier-pu, .tier-pri .tier-feats svg{ color: oklch(0.76 0.02 80) !important; }
.tier-pri .tier-feats li{ color:oklch(0.88 0.01 80); }
.tier-badge{ position:absolute; top:14px; right:14px; padding:3px 8px; border-radius:5px;
  background: var(--accent); color:var(--ink); font-size:10px; letter-spacing:.1em;
  font-weight:600; }
.tier-n{ font-size:14px; font-weight:500; margin:0; letter-spacing:.04em; text-transform:uppercase;
  color:var(--ink-3); }
.tier-pri .tier-n{ color:oklch(0.78 0.02 80); }
.tier-p{ display:flex; align-items:baseline; gap:6px; }
.tier-pv{ font-size:34px; font-weight:500; letter-spacing:-.025em; }
.tier-pu{ font-size:12px; color:var(--ink-3); letter-spacing:.04em; }
.tier-feats{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px;
  font-size:13.5px; color:var(--ink-2); }
.tier-feats li{ display:inline-flex; align-items:center; gap:8px; }
.tier-feats svg{ color:var(--accent); flex:0 0 auto; }
.tier .btn{ margin-top:auto; }
.tier-pri .btn-primary{ background:var(--bg); color:var(--ink); }
.tier-pri .btn-primary:hover{ background:var(--bg-2); }

/* ── cta-block ─────────────── */
.cta-block{ background: var(--ink); color:var(--bg);
  margin: 32px 32px 32px; border-radius:24px; overflow:hidden; position:relative;
  max-width:calc(1280px - 0px); margin-left:auto; margin-right:auto; }
.cta-inner{ display:grid; grid-template-columns: 1.4fr 1fr; gap:32px;
  padding:56px 56px; align-items:center; position:relative; z-index:1; }
.cta-block::before{ content:''; position:absolute; inset:0;
  background:
    radial-gradient(70% 80% at 90% 20%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 60%),
    radial-gradient(60% 80% at 10% 90%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  opacity:.55; }
.cta-l{ display:flex; flex-direction:column; gap:12px; }
.cta-r{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.cta-sub{ font-size:11px; letter-spacing:.06em; color:oklch(0.74 0.02 80); }

/* ── footer ─────────────── */
.ftr{ max-width:1280px; margin:0 auto; padding:56px 32px 28px;
  border-top:1px solid var(--line); }
.ftr-top{ display:grid; grid-template-columns: 1.2fr 2.4fr; gap:48px; }
.ftr-brand .brand{ margin-bottom:14px; }
.ftr-tag{ font-size:13.5px; line-height:1.5; color:var(--ink-2); margin:0 0 18px; max-width:30ch; }
.ftr-cta{ display:flex; gap:10px; }
.ftr-cols{ display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; }
.fcol-t{ font-size:10px; letter-spacing:.12em; color:var(--ink-3); margin:0 0 12px; font-weight:600; }
.fcol ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.fcol a{ font-size:13px; color:var(--ink-2); }
.fcol a:hover{ color:var(--ink); }
.ftr-bot{ display:flex; justify-content:space-between; align-items:center;
  margin-top:48px; padding-top:18px; border-top:1px dashed var(--line);
  font-size:11px; color:var(--ink-3); letter-spacing:.04em; }
.ftr-meta{ display:inline-flex; align-items:center; gap:8px; }
.ftr-meta .sep{ color:var(--ink-4); }

/* ── density ─────────────── */
.density-compact .section{ padding:64px 32px; }
.density-compact .hero{ padding:48px 32px 24px; }
.density-compact .h1{ font-size:54px; }
.density-compact .h2{ font-size:36px; }

.density-comfy .section{ padding:128px 32px; }
.density-comfy .hero{ padding:88px 32px 48px; }
.density-comfy .h1{ font-size:72px; }
.density-comfy .h2{ font-size:50px; }

/* ── responsive ─────────────── */
@media (max-width: 1100px){
  .hero-grid{ grid-template-columns: 1fr; gap:36px; }
  .feat-grid{ grid-template-columns: 1fr 1fr; }
  .feat:nth-child(3n){ border-right:1px solid var(--line); }
  .feat:nth-child(2n){ border-right:0; }
  .steps{ grid-template-columns: 1fr; }
  .step{ border-right:0; border-bottom:1px solid var(--line); }
  .step:last-child{ border-bottom:0; }
  .step-rule{ display:none; }
  .tiers{ grid-template-columns: 1fr; }
  .tier-pri{ transform:none; }
  .an-wrap{ grid-template-columns: 1fr; }
  .ftr-top{ grid-template-columns: 1fr; gap:24px; }
  .cta-inner{ grid-template-columns: 1fr; padding:40px; }
}
@media (max-width: 720px){
  .nav-links{ display:none; }
  .nav-inner{ grid-template-columns: auto 1fr; padding:12px 18px; }
  .hero, .section, .ftr{ padding-left:18px; padding-right:18px; }
  .marquee{ margin-left:-18px; margin-right:-18px; }
  .h1{ font-size:40px; }
  .h2{ font-size:28px; }
  .feat-grid{ grid-template-columns: 1fr; }
  .feat{ border-right:0 !important; }
  .ministat{ grid-template-columns: 1fr; }
  .ms-cell{ border-right:0; border-bottom:1px solid var(--line); }
  .ms-cell:last-child{ border-bottom:0; }
  .board-cols, .board-row{ grid-template-columns: 40px 50px 1fr 90px; }
  .b-stage{ display:none; }
  .ftr-cols{ grid-template-columns: 1fr 1fr; }
  .cta-inner{ padding:28px; }
}


/* ── sub-page sections ─────────────── */
.sub-hero{ max-width:1280px; margin:0 auto; padding:80px 32px 24px; }
.sub-hero .eyebrow{ margin-bottom:18px; }
.sub-hero .h1{ font-size:54px; margin:0 0 18px; max-width:18ch; }
.sub-hero .lede{ max-width:58ch; }

.sub-grid{ list-style:none; margin:0; padding:0;
  max-width:1280px; margin:0 auto; padding:48px 32px 80px;
  display:grid; grid-template-columns: repeat(2, 1fr); gap:0;
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
  background:var(--surface); }
.sub-grid > li{ padding:28px 28px 26px; border-right:1px solid var(--line);
  border-bottom:1px solid var(--line); display:flex; flex-direction:column; gap:10px;
  transition: background .2s; }
.sub-grid > li:nth-child(2n){ border-right:0; }
.sub-grid > li:nth-last-child(-n+2):not(:nth-last-child(odd)){ border-bottom:0; }
.sub-grid > li:hover{ background: var(--bg-2); }
.ss-num{ font-size:11px; letter-spacing:.16em; color:var(--accent);
  display:inline-flex; align-items:center; gap:8px; }
.ss-num::before{ content:''; width:14px; height:1px; background:var(--accent); display:inline-block; }
.ss-h{ font-size:18px; line-height:1.25; font-weight:500; letter-spacing:-.01em; margin:0; }
.ss-b{ font-size:13.5px; line-height:1.6; color:var(--ink-2); margin:0; text-wrap:pretty; }
.ss-b code{ font-family:'Geist Mono',monospace; font-size:12.5px;
  background: color-mix(in oklab, var(--accent) 7%, var(--bg-2));
  border:1px solid var(--line); padding:1px 5px; border-radius:4px; }
.ss-b a{ color:var(--accent); border-bottom:1px solid color-mix(in oklab, var(--accent) 35%, transparent); }

@media (max-width: 1100px){
  .sub-grid{ grid-template-columns: 1fr; }
  .sub-grid > li{ border-right:0 !important; }
  .sub-grid > li:nth-last-child(-n+2):not(:nth-last-child(odd)){ border-bottom:1px solid var(--line); }
  .sub-grid > li:last-child{ border-bottom:0; }
}
@media (max-width: 720px){
  .sub-hero{ padding-left:18px; padding-right:18px; padding-top:48px; }
  .sub-hero .h1{ font-size:36px; }
  .sub-grid{ padding-left:18px; padding-right:18px; }
}
