/* =========================================================================
   TokStats — landing styles
   Dev-tool aesthetic · violet accent · dark default, light supported
   ========================================================================= */

/* ---- Theme tokens ---- */
:root {
  --violet:      #7c6cff;
  --violet-bri:  #9b8bff;
  --violet-deep: #6a4bff;
  --green:       #34d399;
  --gold:        #e0b341;
  --blue:        #6ea8ff;
  --tan:         #d6a06a;

  --radius:      18px;
  --radius-lg:   26px;
  --radius-sm:   12px;
  --maxw:        1160px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Dark (default) */
[data-theme="dark"] {
  --bg:        #08080b;
  --bg-2:      #0d0d12;
  --surface:   #121319;
  --surface-2: #16171e;
  --elev:      #1b1c25;
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.12);
  --text:      #f4f5f8;
  --text-2:    #b6bac6;
  --text-3:    #7f8595;
  --glow:      rgba(124,108,255,.28);
  --chip-bg:   rgba(255,255,255,.04);
  --shadow:    0 30px 80px -30px rgba(0,0,0,.7);
  --term-bg:   #0c0d12;
}

/* Light */
[data-theme="light"] {
  --bg:        #f5f4fb;
  --bg-2:      #eeedf6;
  --surface:   #ffffff;
  --surface-2: #ffffff;
  --elev:      #ffffff;
  --border:    rgba(20,18,40,.09);
  --border-2:  rgba(20,18,40,.14);
  --text:      #14121c;
  --text-2:    #4a4a59;
  --text-3:    #80808f;
  --glow:      rgba(124,108,255,.22);
  --chip-bg:   rgba(20,18,40,.03);
  --shadow:    0 30px 70px -34px rgba(40,30,90,.30);
  --term-bg:   #0c0d12; /* terminals stay dark in both themes */
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: var(--font-mono); font-size: .92em; }
::selection { background: var(--violet); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--font-sans);
  padding: 13px 20px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, var(--violet-bri), var(--violet-deep));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { box-shadow: 0 12px 34px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-1px); }
.btn--ghost {
  background: var(--chip-bg); color: var(--text); border-color: var(--border-2);
}
.btn--ghost:hover { border-color: var(--violet); color: var(--text); background: var(--surface-2); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 4px 10px var(--glow)); }
.brand__name { font-size: 18px; }
.nav__links { display: flex; gap: 26px; margin-left: 8px; }
.nav__links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--border-2); background: var(--chip-bg);
  color: var(--text-2); cursor: pointer; transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--violet); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Eyebrow / section heads ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12.5px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-2); padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--chip-bg);
  transition: border-color .2s, color .2s;
}
.eyebrow:hover { border-color: var(--violet); color: var(--text); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); }

.section { padding: clamp(72px, 11vw, 140px) 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__eyebrow { font: 600 13px/1 var(--font-mono); color: var(--violet); letter-spacing: .02em; margin-bottom: 16px; }
.section__title { font-size: clamp(28px, 4.4vw, 46px); }
.section__lead { color: var(--text-2); font-size: clamp(16px, 2vw, 19px); margin-top: 18px; max-width: 64ch; }

.grad {
  background: linear-gradient(110deg, var(--violet-bri), var(--blue) 60%, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 9vw, 110px) 0 clamp(60px, 8vw, 96px); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero__glow {
  position: absolute; z-index: 0; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  filter: blur(20px);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__title { font-size: clamp(38px, 6.4vw, 74px); font-weight: 800; letter-spacing: -.03em; margin: 22px 0 0; }
.hero__sub { color: var(--text-2); font-size: clamp(16px, 2.1vw, 20px); margin-top: 22px; max-width: 56ch; }
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--violet { background: var(--violet); }
.dot--green  { background: var(--green); }
.dot--gold   { background: var(--gold); }

/* Signup form */
.signup { margin-top: 30px; max-width: 520px; }
.signup__row { display: flex; gap: 10px; }
.signup__input {
  flex: 1; min-width: 0; font: 500 15px/1 var(--font-sans);
  padding: 14px 16px; border-radius: 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-2); transition: border-color .2s, box-shadow .2s;
}
.signup__input::placeholder { color: var(--text-3); }
.signup__input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 22%, transparent); }
.signup__note { color: var(--text-3); font-size: 13px; margin-top: 12px; }
.signup.is-success .signup__row { display: none; }
.signup__note.is-success { color: var(--green); font-weight: 600; font-size: 14.5px; }
.signup__note.is-error { color: #ff7a7a; }
.signup--lg { margin-inline: auto; }
.signup--lg .signup__input { padding: 16px 18px; }

/* Hero art / phones */
.hero__art { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
.phone {
  border-radius: 38px; padding: 7px;
  background: linear-gradient(160deg, #2a2b33, #121318);
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
}
.phone img { border-radius: 31px; display: block; width: 100%; height: auto; }
.phone--front { position: relative; z-index: 2; width: 264px; transform: rotate(-3deg) translateX(-14px); }
.phone--back  { position: absolute; z-index: 1; width: 234px; right: 6%; top: 8%; transform: rotate(6deg); opacity: .96; }
.phone--solo  { width: 290px; }

.hero__badge {
  position: absolute; z-index: 3;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-2); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); display: grid; gap: 3px;
}
.hero__badge-k { font: 600 10px/1 var(--font-mono); letter-spacing: .08em; color: var(--text-3); }
.hero__badge-v { font: 700 18px/1 var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums; }
.hero__badge-v--green { color: var(--green); }
.hero__badge--a { left: -2%; top: 16%; animation: float 6s var(--ease) infinite; }
.hero__badge--b { right: 0%; bottom: 14%; animation: float 7s var(--ease) infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__badge { animation: none !important; } }

/* =========================================================================
   PROVIDER STRIP
   ========================================================================= */
.strip { border-block: 1px solid var(--border); padding: 30px 0; background: var(--bg-2); }
.strip__label { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 18px; font-family: var(--font-mono); }
.strip__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  font: 500 13.5px/1 var(--font-mono);
  padding: 9px 14px; border-radius: 10px;
  background: var(--chip-bg); border: 1px solid var(--border); color: var(--text-2);
  white-space: nowrap;
}
.chip--more { color: var(--violet); border-color: color-mix(in srgb, var(--violet) 40%, transparent); }
.chip--sm { padding: 6px 11px; font-size: 12px; }

/* =========================================================================
   METRICS
   ========================================================================= */
.metrics { padding: clamp(56px, 8vw, 96px) 0; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.metric__value {
  display: block; font: 800 clamp(36px, 5vw, 52px)/1 var(--font-sans);
  background: linear-gradient(180deg, var(--violet-bri), var(--violet-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.metric__value--mono { font-family: var(--font-mono); font-size: clamp(30px, 4vw, 42px); }
.metric__label { display: block; color: var(--text-2); font-size: 14.5px; margin-top: 12px; }

/* =========================================================================
   FEATURES
   ========================================================================= */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px);
  align-items: center; padding: clamp(36px, 6vw, 72px) 0;
}
.feature--reverse .feature__media { order: 2; }
.feature__media { display: flex; justify-content: center; }
.feature__kicker { font: 600 13px/1 var(--font-mono); color: var(--violet); margin-bottom: 14px; }
.feature__title { font-size: clamp(24px, 3.2vw, 34px); }
.feature__text { color: var(--text-2); font-size: 17px; margin-top: 16px; max-width: 48ch; }
.feature__text code { background: var(--chip-bg); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); color: var(--violet-bri); }
.feature__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.feature__list li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--violet); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat;
}
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* =========================================================================
   AI NEWS
   ========================================================================= */
.section--news { background: var(--bg-2); border-block: 1px solid var(--border); }
.news__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.newschip {
  font: 600 14px/1 var(--font-sans); padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: var(--chip-bg); border: 1px solid var(--border-2); color: var(--text-2);
  transition: .18s var(--ease);
}
.newschip:hover { color: var(--text); border-color: var(--violet); }
.newschip.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }

.news__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.newscard {
  display: flex; flex-direction: column;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.newscard:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow); }
.newscard.is-hidden { display: none; }
.newscard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.newscard__time { font: 500 12px/1 var(--font-mono); color: var(--text-3); }
.tag { font: 600 11px/1 var(--font-mono); letter-spacing: .03em; text-transform: uppercase; padding: 6px 10px; border-radius: 7px; }
.tag--product { color: var(--violet-bri); background: color-mix(in srgb, var(--violet) 16%, transparent); }
.tag--limits  { color: var(--blue);      background: color-mix(in srgb, var(--blue) 16%, transparent); }
.tag--pricing { color: var(--gold);      background: color-mix(in srgb, var(--gold) 18%, transparent); }
.newscard__title { font-size: 18px; line-height: 1.28; }
.newscard__src { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; margin-top: 12px; font-family: var(--font-mono); }
.src-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--gold); }
.newscard__body { color: var(--text-2); font-size: 14.5px; margin-top: 12px; }
.newscard__why { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
[data-theme="light"] .newscard__why { background: color-mix(in srgb, var(--violet) 6%, var(--surface)); }
.newscard__why-h { font: 600 12px/1 var(--font-mono); color: var(--violet); margin-bottom: 8px; }
.newscard__why p { color: var(--text-2); font-size: 13.5px; }
.newscard__link { margin-top: auto; padding-top: 16px; color: var(--violet); font-weight: 600; font-size: 14px; }
.newscard__link:hover { color: var(--violet-bri); }

/* =========================================================================
   PAIRING / STEPS
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.step__num { font: 700 14px/1 var(--font-mono); color: var(--violet); margin-bottom: 16px; }
.step__title { font-size: 20px; }
.step__text { color: var(--text-2); font-size: 14.5px; margin-top: 10px; margin-bottom: 18px; }

/* Terminal */
.terminal {
  position: relative; margin-top: auto;
  background: var(--term-bg); border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.terminal__bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3b45; }
.terminal__bar span:nth-child(1) { background: #ff5f57; } .terminal__bar span:nth-child(2) { background: #febc2e; } .terminal__bar span:nth-child(3) { background: #28c840; }
.terminal__name { margin-left: 8px; font: 500 12px/1 var(--font-mono); color: #6b6e7e; }
.terminal__body { margin: 0; padding: 16px; font: 500 13px/1.7 var(--font-mono); color: #d6d9e4; overflow-x: auto; }
.terminal--tall .terminal__body { font-size: 12.5px; line-height: 1.75; }
.t-dim { color: #6b6e7e; } .t-cmd { color: var(--violet-bri); } .t-ok { color: var(--green); }
.t-num { color: #e7c873; } .t-violet { color: var(--violet-bri); } .t-gold { color: var(--gold); }
.t-grn { color: var(--green); } .t-tan { color: var(--tan); }
.terminal__copy {
  position: absolute; top: 40px; right: 10px;
  font: 600 11px/1 var(--font-mono); color: #c9ccd8; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 6px 10px; border-radius: 8px; transition: .15s;
}
.terminal__copy:hover { background: rgba(255,255,255,.16); color: #fff; }
.terminal__copy.is-copied { color: var(--green); border-color: var(--green); }

/* QR */
.qr {
  --cells: 21;
  width: 156px; height: 156px; margin: 16px auto 4px; padding: 10px;
  background: #fff; border-radius: 10px;
  display: grid; grid-template-columns: repeat(var(--cells), 1fr); grid-template-rows: repeat(var(--cells), 1fr);
}
.qr i { background: transparent; }
.qr i.on { background: #0a0a0a; }
.qr__cap { text-align: center; font-size: 11px; color: #6b6e7e; padding: 6px 14px 16px; font-family: var(--font-mono); }
.qr__cap code { color: var(--violet-bri); }

/* Scan viz (step 3) */
.scanviz { margin-top: auto; display: flex; justify-content: center; padding: 8px 0 4px; }
.scanviz__phone { text-align: center; }
.scanviz__frame {
  position: relative; width: 150px; height: 150px; margin: 0 auto;
  border-radius: 16px; background: var(--term-bg); border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.scanviz__corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--violet-bri); }
.scanviz__corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scanviz__corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.scanviz__corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.scanviz__corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scanviz__line {
  position: absolute; left: 14px; right: 14px; height: 2px; top: 14px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 12px var(--green); animation: scan 2.4s var(--ease) infinite;
}
@keyframes scan { 0%,100% { top: 16px; } 50% { top: 130px; } }
@media (prefers-reduced-motion: reduce) { .scanviz__line { animation: none; top: 74px; } }
.scanviz__status { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-mono); color: var(--text-2); }

.pairing__sec {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-top: 40px; color: var(--text-3); font-size: 14px; text-align: center;
}
.pairing__sec svg { color: var(--violet); flex: none; }

/* =========================================================================
   OPEN SOURCE / TOKSCALE
   ========================================================================= */
.os { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.os__text { color: var(--text-2); font-size: 17px; margin-top: 18px; }
.os__text strong { color: var(--text); }
.os__meta { display: flex; flex-wrap: wrap; gap: 28px; margin: 28px 0; }
.os__meta-item { display: grid; gap: 4px; }
.os__meta-k { font: 600 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.os__meta-v { font-size: 18px; font-weight: 700; }
.os__links { display: flex; flex-wrap: wrap; gap: 12px; }
.os__credit { color: var(--text-3); font-size: 13px; margin-top: 20px; }
.os__views { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }

/* =========================================================================
   CTA
   ========================================================================= */
.section--cta { padding: clamp(60px, 8vw, 110px) 0; }
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
}
.cta__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 120% at 50% -10%, var(--glow), transparent 60%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta .section__eyebrow { text-align: center; }
.cta__title { font-size: clamp(28px, 4.6vw, 48px); }
.cta__lead { color: var(--text-2); font-size: 18px; margin: 16px auto 0; max-width: 54ch; }
.cta .signup { margin-top: 32px; }
.cta__pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin: 28px 0 0; padding: 0; }
.cta__pills li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq__item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); padding: 4px 22px; transition: border-color .2s;
}
.faq__item[open] { border-color: var(--border-2); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font: 400 24px/1 var(--font-mono); color: var(--violet); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-2); font-size: 15.5px; padding: 0 0 20px; max-width: 70ch; }
.faq__item a { color: var(--violet); }
.faq__item code { background: var(--chip-bg); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer__tag { color: var(--text-3); font-size: 14px; margin-top: 16px; max-width: 38ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font: 600 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-2); font-size: 14.5px; padding: 6px 0; transition: color .15s; }
.footer__col a:hover { color: var(--violet); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-3); font-size: 13px; font-family: var(--font-mono);
}

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px 20px;
  }
  .nav.is-open .nav__links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--border); }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { min-height: 440px; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .os { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__body { max-width: 560px; }
  .news__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .signup__row { flex-direction: column; }
  .signup__row .btn { justify-content: center; }
  .metrics__grid { grid-template-columns: 1fr; }
  .hero__badge--a { left: 0; top: 6%; }
  .hero__badge--b { right: 0; bottom: 6%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
