/* ============================================================
   Lumen · imagenza.com
   墨蓝 + 琢金。Light is the base; dark redefines the same tokens
   so the un-stamped (system) state, the media query and the
   explicit toggle all resolve to a complete set.
   ============================================================ */

:root {
  color-scheme: light;

  /* warm paper neutrals under an ink-blue text color */
  --bg:          #f7f6f2;
  --bg-alt:      #efede6;
  --surface:     #ffffff;
  --surface-2:   #f2f0ea;
  --line:        #e4e0d6;
  --line-strong: #ccc6b8;

  --ink:   #121a28;
  --ink-2: #3e4a5e;
  --ink-3: #6b7789;
  --ink-4: #98a0ad;

  /* gold: -accent reads as text, -fill paints buttons */
  --accent:      #8a5e0c;
  --accent-fill: #d9a441;
  --accent-hi:   #c79130;
  --accent-ink:  #16202e;
  --accent-soft: #f8eeda;
  --accent-line: #e2cda1;

  /* the quieter blue used for secondary chips and states */
  --steel:      #3b5478;
  --steel-soft: #e8ecf3;
  --steel-line: #c5cfdf;

  --danger: #a8382c;

  --aura-1: rgba(217, 164, 65, 0.20);
  --aura-2: rgba(217, 164, 65, 0.00);
  --shadow-sm: 0 1px 2px rgba(18, 26, 40, .06);
  --shadow-md: 0 12px 30px -14px rgba(18, 26, 40, .24);
  --shadow-lg: 0 40px 80px -40px rgba(18, 26, 40, .42), 0 8px 24px -14px rgba(18, 26, 40, .18);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --wrap: 1120px;

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, "Cascadia Mono",
          "JetBrains Mono", Consolas, "PingFang SC", monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:          #0f1621;
    --bg-alt:      #131c2a;
    --surface:     #17202e;
    --surface-2:   #1d2837;
    --line:        #263243;
    --line-strong: #364559;

    --ink:   #eaedf2;
    --ink-2: #b5becc;
    --ink-3: #8a93a3;
    --ink-4: #656e7e;

    --accent:      #e3b45c;
    --accent-fill: #d9a441;
    --accent-hi:   #e9be6d;
    --accent-ink:  #121924;
    --accent-soft: #2a2416;
    --accent-line: #4c3e23;

    --steel:      #8fa8cc;
    --steel-soft: #1a2637;
    --steel-line: #2e4159;

    --danger: #e08a7f;

    --aura-1: rgba(217, 164, 65, 0.15);
    --aura-2: rgba(217, 164, 65, 0.00);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .32);
    --shadow-md: 0 14px 34px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 46px 90px -44px rgba(0, 0, 0, .9), 0 10px 28px -16px rgba(0, 0, 0, .6);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #0f1621;
  --bg-alt:      #131c2a;
  --surface:     #17202e;
  --surface-2:   #1d2837;
  --line:        #263243;
  --line-strong: #364559;

  --ink:   #eaedf2;
  --ink-2: #b5becc;
  --ink-3: #8a93a3;
  --ink-4: #656e7e;

  --accent:      #e3b45c;
  --accent-fill: #d9a441;
  --accent-hi:   #e9be6d;
  --accent-ink:  #121924;
  --accent-soft: #2a2416;
  --accent-line: #4c3e23;

  --steel:      #8fa8cc;
  --steel-soft: #1a2637;
  --steel-line: #2e4159;

  --danger: #e08a7f;

  --aura-1: rgba(217, 164, 65, 0.15);
  --aura-2: rgba(217, 164, 65, 0.00);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .32);
  --shadow-md: 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 46px 90px -44px rgba(0, 0, 0, .9), 0 10px 28px -16px rgba(0, 0, 0, .6);
}

/* ── base ─────────────────────────────────────────────── */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15.5px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
code, pre { font-family: var(--mono); font-size: .88em; }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: .1em .38em; }
strong { font-weight: 600; }

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.18; }
h2 { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.22; }
h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.012em; }
p  { margin: 0; }

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

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--surface); border: 1px solid var(--line-strong); padding: 8px 14px; border-radius: var(--r-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }

.eyebrow {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── nav ──────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--wrap); margin: 0 auto; padding: 11px 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 620; font-size: 16px; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-3); }
.nav-links a { padding: 4px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--ink-2);
  cursor: pointer; transition: color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn .ico-moon { display: none; }
.icon-btn .ico-sun  { display: block; }
:root[data-theme="dark"] .icon-btn .ico-moon { display: block; }
:root[data-theme="dark"] .icon-btn .ico-sun  { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .ico-moon { display: block; }
  :root:not([data-theme="light"]) .icon-btn .ico-sun  { display: none; }
}

/* ── buttons ──────────────────────────────────────────── */

.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: var(--r);
  font: inherit; text-align: center; cursor: pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-label { font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.008em; }
.btn-meta  { font-size: 11.5px; font-family: var(--mono); letter-spacing: .01em; opacity: .8; }

.btn-primary { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { min-width: 218px; padding: 14px 24px; }
.btn-sm { padding: 7px 15px; }
.btn-sm .btn-label { font-size: 13.5px; }
.btn-block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { pointer-events: none; opacity: .58; }

/* On Windows the Windows build leads; decided by a class stamped before paint. */
:root.is-win #dl-win { order: 1; background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); box-shadow: var(--shadow-sm); }
:root.is-win #dl-win:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
:root.is-win #dl-mac { order: 2; background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
:root.is-win #dl-mac:hover { border-color: var(--accent); color: var(--accent); }

/* ── hero ─────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; padding: 78px 0 0; }
.aura {
  position: absolute; top: -340px; left: 50%; width: 1100px; height: 720px;
  margin-left: -550px; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--aura-1) 0%, var(--aura-2) 66%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 52px; align-items: center;
}
.hero-copy > * + * { margin-top: 18px; }
.hero-copy h1 { margin-top: 16px; }
.lede { max-width: 44ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.72; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row-tight { margin-top: 22px; }
.cta-row-center { justify-content: center; }
.fineprint { font-size: 12.5px; font-family: var(--mono); color: var(--ink-4); }
.gift { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.gift strong { color: var(--accent); }
.gift .fineprint { margin: 0; }

/* the two-viewpoint stage */
.stage { position: relative; margin: 0; padding-bottom: 34px; }
.screen {
  border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  background: var(--surface); box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
}
.screen-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font: 500 11.5px/1 var(--mono); color: var(--ink-3);
}
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.screen-title { color: var(--ink-2); }
.screen-tag { margin-left: auto; color: var(--steel); }
.screen-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 14px; min-height: 306px;
}
.tile {
  position: relative; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--surface-2), var(--bg-alt));
}
.tile-b { background: linear-gradient(150deg, var(--bg-alt), var(--surface-2)); }
.tile-name {
  position: absolute; left: 10px; bottom: 9px;
  font: 500 11px/1 var(--mono); color: var(--ink-4);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border-radius: 5px; padding: 4px 7px;
}

.hud {
  position: absolute; right: 16px; top: 56px; width: min(322px, 72%);
  border: 1px solid var(--accent-line); border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, var(--accent-fill) 6%);
  box-shadow: var(--shadow-md);
  padding: 10px 12px 11px;
  display: flex; flex-direction: column; gap: 8px;
}
.hud-bar {
  display: flex; align-items: center; gap: 8px;
  font: 500 10.5px/1 var(--mono); color: var(--ink-3);
  padding-bottom: 7px; border-bottom: 1px solid var(--line);
}
.rec { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); }
.rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.hud-sep { width: 1px; height: 10px; background: var(--line-strong); }
.hud-keys { margin-left: auto; color: var(--ink-4); }
.hud-q { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.hud-q .who {
  display: inline-block; margin-right: 6px;
  font: 500 10px/1 var(--mono); color: var(--steel);
  background: var(--steel-soft); border-radius: 4px; padding: 3px 5px;
  vertical-align: 1px;
}
.hud-a { font-size: 12.5px; line-height: 1.62; color: var(--ink); }
.hud-a::after {
  content: ""; display: inline-block; width: 6px; height: 12px;
  background: var(--accent-fill); vertical-align: -2px; margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.hud-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font: 500 10px/1 var(--mono); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px;
}
.chip-alt { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }

.peek {
  position: absolute; left: -26px; bottom: 2px; width: 210px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 9px;
}
.peek-label { font: 500 10px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); margin-bottom: 7px; }
.peek-screen {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
  height: 78px; padding: 5px; border-radius: 10px;
  background: var(--bg-alt); border: 1px solid var(--line);
}
.peek-tile { border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.peek-ghost {
  position: absolute; right: 6px; top: 6px; width: 96px; height: 44px;
  border: 1px dashed var(--line-strong); border-radius: 7px;
  display: grid; place-items: center;
  font: 500 9px/1 var(--mono); color: var(--ink-4);
}

/* ticker */
.ticker {
  list-style: none; margin: 68px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  font-size: 13px; color: var(--ink-2);
}
.ticker .k {
  display: block; margin-bottom: 5px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-4);
}

/* ── section shells ───────────────────────────────────── */

.band { padding: 116px 0; }
.band-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.sec-head { max-width: 640px; margin: 0 auto 58px; text-align: center; }
.sec-head-left { margin-inline: 0; text-align: left; }
.sec-head h2 { margin-top: 12px; }
.sec-lede { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.sec-head:not(.sec-head-left) .sec-lede { margin-inline: auto; max-width: 56ch; }

/* ── steps ────────────────────────────────────────────── */

.steps-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.steps-grid li { background: var(--bg); padding: 36px 30px 40px; }
.band-alt .steps-grid li { background: var(--bg-alt); }
.steps-grid .num {
  display: block; font: 500 12px/1 var(--mono); letter-spacing: .1em;
  color: var(--accent); margin-bottom: 16px;
}
.steps-grid h3 { margin-bottom: 10px; font-size: 20px; }
.steps-grid p { color: var(--ink-3); font-size: 14.5px; }

/* ── split sections ───────────────────────────────────── */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-rev .split-figure { order: 1; }
.split-copy h2 { margin-top: 12px; }
.split-copy .sec-lede { margin-bottom: 30px; }


.matrix { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 24px; box-shadow: var(--shadow-md); }
.matrix-title { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 14px; }
.matrix ul { list-style: none; margin: 0; padding: 0; }
.matrix li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.matrix li:first-child { border-top: 0; }
.matrix li span {
  flex: none; width: 68px; text-align: center;
  font: 500 10.5px/1 var(--mono); padding: 5px 0; border-radius: 5px;
}
.matrix .yes  { color: var(--steel); background: var(--steel-soft); }
.matrix .no   { color: var(--accent); background: var(--accent-soft); }
.matrix .warn { color: var(--ink-3); background: var(--surface-2); }
.matrix-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-4); }

/* ── feature cards ────────────────────────────────────── */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 26px 24px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.card p { color: var(--ink-3); font-size: 14px; line-height: 1.72; }
.card strong { color: var(--ink); }
.card-wide { grid-column: span 2; }

.mini-transcript {
  margin-top: auto; padding: 14px 15px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-2);
  display: flex; flex-direction: column; gap: 9px;
}
.mini-transcript p { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.mini-transcript .who-a, .mini-transcript .who-b {
  display: inline-block; margin-right: 7px; vertical-align: 1px;
  font: 500 10px/1 var(--mono); border-radius: 4px; padding: 3px 5px;
}
.mini-transcript .who-a { color: var(--steel); background: var(--steel-soft); }
.mini-transcript .who-b { color: var(--ink-3); background: var(--bg-alt); border: 1px solid var(--line); }
.mini-transcript .live {
  margin-left: 7px; font: 500 10px/1 var(--mono);
  color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 3px 5px;
}

/* ── feature banner ───────────────────────────────────── */

.banner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 34px; align-items: center; margin-bottom: 16px;
  padding: 30px 32px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface);
}
.banner-copy h3 { font-size: 19px; margin-bottom: 10px; }
.banner-copy p { color: var(--ink-3); font-size: 14.5px; line-height: 1.72; }
.banner .mini-transcript { margin-top: 0; }

/* ── phone ────────────────────────────────────────────── */

.phone {
  max-width: 330px; margin: 0 auto;
  border: 1px solid var(--line-strong); border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
}
.phone-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font: 500 11.5px/1 var(--mono); color: var(--ink-3);
}
.phone-time { color: var(--accent); }
.phone-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { font-size: 13px; line-height: 1.6; padding: 11px 13px; border-radius: 14px; }
.bubble-ai { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); border-top-left-radius: 5px; }
.bubble-me { background: var(--steel-soft); border: 1px solid var(--steel-line); color: var(--ink); border-top-right-radius: 5px; align-self: flex-end; max-width: 88%; }

.score { margin-top: 4px; border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.score-head strong { font-size: 24px; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--accent); letter-spacing: -.02em; }
.score-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.score-row { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); color: var(--ink-4); }
.bar { display: block; height: 5px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0); background: var(--accent-fill); }
:root.js .bar i { width: 0; }
.score-tip { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--ink-3); }

.note { margin-top: 18px; font-size: 12.5px; line-height: 1.7; color: var(--ink-4); max-width: 52ch; }

/* ── pricing ──────────────────────────────────────────── */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 30px 26px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.plan-featured {
  border-color: var(--accent-line); box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 128px);
}
.plan-flag {
  position: absolute; top: -11px; left: 26px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .06em;
  color: var(--accent-ink); background: var(--accent-fill);
  border-radius: 999px; padding: 6px 11px;
}
.plan h3 { font-size: 15px; }
.price {
  font: 650 42px/1 var(--mono); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.price .cur { font-size: 21px; font-weight: 500; color: var(--ink-3); margin-right: 3px; vertical-align: 6px; }
.plan-meta { font-size: 13px; color: var(--ink-3); margin-top: -6px; }
.plan-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-list li { position: relative; padding-left: 21px; font-size: 13.5px; line-height: 1.62; color: var(--ink-2); }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 11px; height: 6px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: 8px; }

.price-notes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line);
}
/* Sits between the plan grid and the notes: one sentence, centred, quiet. */
.plan-foot {
  margin-top: 26px; text-align: center;
  font-size: 13.5px; line-height: 1.75; color: var(--ink-3);
}
.price-notes h4 { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px; }
.price-notes p { font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }

/* ── legal pages (privacy / terms) ─────────────────────── */

/* Long-form reading: the global heading scale is tuned for a landing page, not
   for a document people actually read top to bottom. */
.legal h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; margin: 10px 0 8px; }
.legal-meta { font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink-4); margin: 0 0 28px; }
.legal h2 { font-size: 17px; line-height: 1.4; margin: 36px 0 10px; }
.legal h3 { font-size: 14.5px; line-height: 1.45; margin: 24px 0 8px; color: var(--ink-2); }
.legal p,
.legal li { font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.foot-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ── claims + inline keys ─────────────────────────────── */

.claims { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.claims li {
  position: relative; padding-left: 26px;
  font-size: 16.5px; line-height: 1.5; color: var(--ink);
}
.claims li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent-fill); border-bottom: 2px solid var(--accent-fill);
  transform: rotate(-45deg);
}

.tech { margin-top: 26px; }
.tech summary {
  cursor: pointer; list-style: none;
  font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-4);
}
.tech summary::-webkit-details-marker { display: none; }
.tech summary::after { content: " ↓"; }
.tech[open] summary::after { content: " ↑"; }
.tech summary:hover { color: var(--accent); }
.tech p { margin-top: 12px; font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }

kbd {
  display: inline-block; padding: 2px 7px; margin: 0 1px;
  font: 500 .84em/1.5 var(--mono);
  color: var(--ink-2); background: var(--surface-2);
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px;
}

/* ── faq ──────────────────────────────────────────────── */

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: 18px 34px 18px 0; position: relative;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 26px;
  width: 9px; height: 9px; border-right: 1.7px solid var(--ink-4); border-bottom: 1.7px solid var(--ink-4);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { padding: 0 40px 20px 0; margin-top: -4px; color: var(--ink-3); font-size: 14.5px; line-height: 1.78; }

/* ── closer ───────────────────────────────────────────── */

.closer { padding: 96px 0 104px; text-align: center; border-top: 1px solid var(--line); background: var(--bg-alt); }
.closer p { margin: 14px auto 0; max-width: 46ch; color: var(--ink-2); }

/* ── footer ───────────────────────────────────────────── */

footer { border-top: 1px solid var(--line); background: var(--bg); }
.foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding-block: 26px 40px;
  font-size: 12.5px; color: var(--ink-4);
}
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.foot-brand img { border-radius: 6px; }
.foot-note { flex: 1 1 300px; }
.foot-meta { font-family: var(--mono); }
/* ICP filing number: required on every page, linked to the MIIT lookup. */
.foot-beian { flex-basis: 100%; }
.foot-beian a { color: inherit; text-decoration: none; }
.foot-beian a:hover { text-decoration: underline; text-underline-offset: 2px; }
#version-line { margin-left: 8px; }

/* ── entrance (resolves on load, not on scroll) ───────── */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .stage { animation: rise .62s cubic-bezier(.2, .7, .3, 1) backwards; }
  .hero-copy .eyebrow { animation-delay: .02s; }
  .hero-copy h1       { animation-delay: .08s; }
  .hero-copy .lede    { animation-delay: .14s; }
  .hero-copy .cta-row { animation-delay: .2s; }
  .hero-copy .fineprint, .hero-copy .gift { animation-delay: .26s; }
  .stage { animation-delay: .16s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── responsive ───────────────────────────────────────── */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 620px; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 44px; }
  .split-rev .split-copy { order: 1; }
  .split-rev .split-figure { order: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
  .banner { grid-template-columns: 1fr; gap: 22px; }
  .peek { left: 0; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .band { padding: 76px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-featured { order: -1; }
  .ticker { grid-template-columns: 1fr 1fr; gap: 18px; }
  .price-notes { grid-template-columns: 1fr; gap: 26px; }
  }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 10px 20px; }
  .hero { padding-top: 52px; }
  .cards { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .btn-lg, .btn { width: 100%; min-width: 0; }
  .cta-row { flex-direction: column; }
  .hud { position: static; width: auto; margin: 0 14px 14px; }
  .screen-body { min-height: 0; }
  .peek { position: static; width: auto; margin-top: 12px; }
  .stage { padding-bottom: 0; }
  .ticker { grid-template-columns: 1fr; }
  .closer { padding: 72px 0 80px; }
}

/* ============================================================
   Motion layer
   Everything here is additive: with reduced motion, or without
   JS, the page still renders complete and readable.
   ============================================================ */

@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; pointer-events: none; }
.scroll-progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent-fill), var(--steel));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* nav lifts off the page once you start scrolling */
.nav { transition: background .25s ease, box-shadow .25s ease; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .7); }

/* scroll reveal — the parked state only exists when JS can undo it */
html.js-reveal .reveal { opacity: 0; transform: translateY(24px); }
html.js-reveal .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .72s cubic-bezier(.2, .7, .3, 1) var(--d, 0s),
              transform .72s cubic-bezier(.2, .7, .3, 1) var(--d, 0s);
}
.steps-grid li:nth-child(2), .cards .card:nth-child(2), .plans .plan:nth-child(2) { --d: .1s; }
.steps-grid li:nth-child(3), .cards .card:nth-child(3), .plans .plan:nth-child(3) { --d: .2s; }
.cards .card:nth-child(4) { --d: .1s; }
.cards .card:nth-child(5) { --d: .2s; }
.cards .card:nth-child(6) { --d: .3s; }

@media (prefers-reduced-motion: no-preference) {
  /* the glow behind the hero drifts */
  .aura { animation: drift 16s ease-in-out infinite alternate; }
  @keyframes drift {
    from { transform: translate3d(-26px, -12px, 0) scale(1); }
    to   { transform: translate3d(26px, 18px, 0) scale(1.09); }
  }

  /* the recording dot breathes, the way it does in the app */
  .rec i { animation: throb 1.4s ease-in-out infinite; }
  .mini-transcript .live { animation: throb 1.7s ease-in-out infinite; }
  @keyframes throb { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

  /* light sweeps across the primary button on hover */
  .btn-primary, :root.is-win #dl-win { position: relative; overflow: hidden; }
  .btn-primary > *, :root.is-win #dl-win > * { position: relative; z-index: 1; }
  .btn-primary::before, :root.is-win #dl-win::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-18deg); opacity: 0;
  }
  .btn-primary:hover::before, :root.is-win #dl-win:hover::before { animation: sweep .75s ease; }
  @keyframes sweep {
    from { left: -60%; opacity: 1; }
    to   { left: 130%; opacity: 1; }
  }

  /* the featured plan carries a slowly rotating gold ring */
  .plan-featured { background: none; border-color: transparent; isolation: isolate; }
  .plan-featured > *:not(.plan-flag) { position: relative; z-index: 2; }
  .plan-featured .plan-flag { z-index: 3; }
  .plan-featured::before {
    content: ""; position: absolute; inset: -1.5px; z-index: 0;
    border-radius: calc(var(--r-lg) + 2px);
    background: conic-gradient(from var(--spin),
      transparent 0deg, var(--accent-fill) 40deg, transparent 130deg,
      transparent 210deg, var(--steel) 250deg, transparent 330deg);
    animation: spin 7s linear infinite;
  }
  .plan-featured::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 128px);
  }
  @keyframes spin { to { --spin: 360deg; } }

  /* cards and plans answer the cursor */
  .card, .plan { transition: transform .24s cubic-bezier(.2, .7, .3, 1), border-color .24s ease, box-shadow .24s ease; }
  .card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-md); }
  .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .matrix li { transition: color .2s ease; }
  .matrix li:hover { color: var(--ink); }

  /* the hero screen tilts under the pointer */
  .stage { perspective: 1400px; }
  .screen {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
    will-change: transform;
  }
  .stage.tracking .screen { transition: transform .12s linear; }
  .peek { transition: transform .5s cubic-bezier(.2, .7, .3, 1); transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
  .stage.tracking .peek { transition: transform .12s linear; }

  /* score bars fill when the phone scrolls into view */
  .bar i { transition: width 1.1s cubic-bezier(.2, .7, .3, 1) .25s; }

  /* the answer fades between questions */
  .hud-q, .hud-a, .hud-foot { transition: opacity .28s ease; }
  .hud.swapping .hud-q, .hud.swapping .hud-a, .hud.swapping .hud-foot { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hud-a::after { animation: none; }
  .scroll-progress { display: none; }
}
