/* ==========================================================================
   Obsidian: warm near-black, tactile surfaces, one amber accent.
   Same tokens as the app (src/theme/tokens.ts). No external requests.
   ========================================================================== */

@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0e0e10;
  --bg-raised: #121215;
  --surface: #16161a;
  --surface-2: #1e1e23;
  --key-top: #25252a;
  --key-bottom: #18181b;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f3efe7;
  --text-body: #d6d1c8;
  --text-2: #a09b92;
  --text-3: #8a857c;
  --amber: #f5a45b;
  --amber-hi: #ffb877;
  --amber-soft: rgba(245, 164, 91, 0.12);
  --amber-line: rgba(245, 164, 91, 0.26);
  --amber-ink: #1c1206;
  --ok: #7ed69a;
  --r-s: 12px;
  --r: 18px;
  --r-l: 28px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --section: clamp(96px, 13vw, 176px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--amber-line); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--amber); }
b, strong { font-weight: 600; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
::selection { background: rgba(245, 164, 91, 0.32); color: var(--text); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--amber); color: var(--amber-ink); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 500 0.75rem/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.h-section { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.75rem); letter-spacing: -0.035em; line-height: 1.04; }
.lede { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem); color: var(--text-2); max-width: 36em; }
.muted { color: var(--text-2); }
.mono { font-family: var(--mono); }
.amber { color: var(--amber); }
.nw { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--amber { background: var(--amber); border-color: transparent; color: var(--amber-ink); box-shadow: 0 10px 34px -10px rgba(245, 164, 91, 0.7); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }
@media (hover: hover) {
  .btn:hover { border-color: var(--amber-line); background: var(--surface-2); }
  .btn--amber:hover { background: var(--amber-hi); box-shadow: 0 12px 40px -10px rgba(245, 164, 91, 0.85); }
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); text-decoration: none; }
.link-arrow::after { content: "→"; color: var(--amber); transition: transform 0.25s var(--ease); }
@media (hover: hover) { .link-arrow:hover::after { transform: translateX(4px); } }

/* store buttons: text-only (official badge artwork can be swapped in, see site/README.md) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  min-width: 176px; min-height: 60px; padding: 10px 22px 10px 20px;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--key-top), var(--key-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px -18px rgba(0, 0, 0, 0.9);
  text-decoration: none; line-height: 1;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.store-btn__k { font: 500 0.66rem/1 var(--mono); letter-spacing: 0.16em; white-space: nowrap; text-transform: uppercase; color: var(--text-2); }
.store-btn__v { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.store-btn:active { transform: scale(0.97); }
@media (hover: hover) { a.store-btn:hover { border-color: var(--amber-line); } }
.store-btn.is-soon { opacity: 0.72; cursor: default; }
.store-btn.is-soon .store-btn__k { color: var(--amber); }
.stores__note { margin: 14px 0 0; font-size: 0.88rem; color: var(--text-3); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(14, 14, 16, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { background: rgba(14, 14, 16, 0.82); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; min-width: 0; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__name { font-size: 1.06rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: none; gap: 4px; margin-left: 12px; }
.site-nav a { padding: 8px 12px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-size: 0.92rem; transition: color 0.2s, background-color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
.site-header__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (min-width: 1000px) { .site-nav { display: flex; } }
@media (max-width: 419px) { .site-header__end .btn { display: none; } .site-header__inner { gap: 12px; } }

.lang {
  display: inline-flex; align-items: center; gap: 2px;
  height: 38px; padding: 0 5px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 500 0.78rem/1 var(--mono); letter-spacing: 0.08em;
}
.lang a { display: grid; place-items: center; min-width: 32px; height: 28px; border-radius: 999px; color: var(--text-3); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--amber); background: var(--amber-soft); }
@media (hover: hover) { .lang a:not([aria-current]):hover { color: var(--text); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: var(--section) 0; }
.section__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .lede { margin-top: 20px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* Scroll-linked reveal where the browser supports it; everything is visible otherwise. */
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { min-height: 100svh; padding: 112px 0 72px; display: flex; align-items: center; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 46% at 74% 50%, rgba(245, 164, 91, 0.13), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(245, 164, 91, 0.05), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.55rem, 1.05rem + 5.4vw, 5.4rem); line-height: 1.01; letter-spacing: -0.042em; margin: 0 0 24px; max-width: 11.5em; }
.hero__title .w { display: inline-block; }
.hero .lede { margin-bottom: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font: 500 0.74rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); }
}

@keyframes rise { from { opacity: 0; transform: translateY(0.5em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(56px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow { animation: fade-up 0.8s var(--ease) both; }
  .hero__title .w { animation: rise 1s var(--ease) both; }
  .hero__title .w:nth-child(1) { animation-delay: 0.08s; }
  .hero__title .w:nth-child(2) { animation-delay: 0.14s; }
  .hero__title .w:nth-child(3) { animation-delay: 0.2s; }
  .hero__title .w:nth-child(4) { animation-delay: 0.26s; }
  .hero__title .w:nth-child(5) { animation-delay: 0.32s; }
  .hero__title .w:nth-child(6) { animation-delay: 0.38s; }
  .hero__title .w:nth-child(7) { animation-delay: 0.44s; }
  .hero__title .w:nth-child(8) { animation-delay: 0.5s; }
  .hero__title .w:nth-child(9) { animation-delay: 0.56s; }
  .hero__title .w:nth-child(10) { animation-delay: 0.62s; }
  .hero .lede { animation: fade-up 0.9s 0.55s var(--ease) both; }
  .hero .stores, .hero .stores__note { animation: fade-up 0.9s 0.7s var(--ease) both; }
  .hero__proof { animation: fade-up 0.9s 0.85s var(--ease) both; }
  .hero .signal { animation: phone-in 1.4s 0.25s var(--ease) both; }
}

/* ---------- the signal: concentric rings + pings from the mic ---------- */
.signal { position: relative; display: grid; place-items: center; min-height: 560px; isolation: isolate; }
.signal__rings { position: absolute; width: min(820px, 175%); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -2; overflow: visible; }
.signal__rings circle { fill: none; stroke: var(--amber); }
.signal__rings .r1 { stroke-opacity: 0.55; stroke-width: 2.4; }
.signal__rings .r2 { stroke-opacity: 0.26; stroke-width: 1.6; }
.signal__rings .r3 { stroke-opacity: 0.13; stroke-width: 1.2; }
.signal__rings .r4 { stroke-opacity: 0.07; stroke-width: 1; }
.signal__rings .dash { stroke-opacity: 0.34; stroke-width: 1.2; stroke-dasharray: 2 14; stroke-linecap: round; transform-origin: 0 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) { .signal__rings .dash { animation: spin 90s linear infinite; } }
.signal__pings { position: absolute; left: 50%; bottom: 17%; width: 0; height: 0; z-index: -1; }
.signal__pings span {
  position: absolute; left: -120px; top: -120px; width: 240px; height: 240px; border-radius: 50%;
  border: 1.5px solid var(--amber); opacity: 0;
}
@keyframes ping { 0% { transform: scale(0.3); opacity: 0.85; } 70% { opacity: 0.12; } 100% { transform: scale(3.6); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .signal__pings span { animation: ping 4.2s var(--ease-io) infinite; }
  .signal__pings span:nth-child(2) { animation-delay: 1.4s; }
  .signal__pings span:nth-child(3) { animation-delay: 2.8s; }
}
.signal__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245, 164, 91, 0.22), transparent 65%); z-index: -1; filter: blur(10px); }
.tilt { transition: transform 0.6s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ==========================================================================
   Phone mockup (all sizes in em, so one variable scales the whole phone)
   ========================================================================== */
.phone {
  --w: 292px;
  position: relative; width: var(--w); aspect-ratio: 292 / 600; flex: none;
  font-size: calc(var(--w) / 20.6);
  padding: 0.52em; border-radius: 3.1em;
  background: linear-gradient(160deg, #26262b, #0b0b0d 40%, #19191d);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 30px 120px -40px rgba(245, 164, 91, 0.35);
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 2.6em; background: var(--bg);
  display: flex; flex-direction: column; gap: 0.78em;
  padding: 2.45em 1.05em 0.9em;
  font-family: var(--font); color: var(--text); line-height: 1.25;
}
.phone__screen::before { content: ""; position: absolute; top: 0.62em; left: 50%; width: 5.6em; height: 1.55em; transform: translateX(-50%); border-radius: 1em; background: #000; z-index: 3; }
.phone__screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 50% at 50% 100%, rgba(245, 164, 91, 0.06), transparent 70%); pointer-events: none; }

.ui-top { display: flex; align-items: center; gap: 0.6em; }
.ui-top .dot { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0.6em rgba(126, 214, 154, 0.7); flex: none; }
.ui-top b { display: block; font-size: 1.18em; font-weight: 600; letter-spacing: -0.01em; }
.ui-top small { display: block; margin-top: 0.3em; font: 500 0.58em/1 var(--mono); letter-spacing: 0.2em; color: var(--text-2); text-transform: uppercase; }
.ui-power { margin-left: auto; width: 2.7em; height: 2.7em; border-radius: 50%; display: grid; place-items: center; color: var(--amber); background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0.5em 1em rgba(0, 0, 0, 0.5); }
.ui-power svg, .ui-key svg { width: 1.15em; height: 1.15em; }

.ui-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.25em; border-radius: 1.1em; border: 1px solid var(--line); background: var(--surface); font-size: 0.72em; }
.ui-tabs span { padding: 0.6em 0; border-radius: 0.8em; text-align: center; color: var(--text-2); }
.ui-tabs .is-on { color: var(--text); background: var(--key-top); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }

.ui-hint { display: flex; align-items: center; gap: 0.65em; padding: 0.62em 0.7em; border-radius: 1.05em; border: 1px solid var(--amber-line); background: linear-gradient(180deg, rgba(245, 164, 91, 0.06), transparent); }
.ui-hint__icon { width: 2.1em; height: 2.1em; border-radius: 0.65em; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber); flex: none; }
.ui-hint__icon svg { width: 1.05em; height: 1.05em; }
.ui-hint b { display: block; font-size: 0.8em; font-weight: 600; }
.ui-hint small { display: block; font-size: 0.66em; color: var(--text-2); margin-top: 0.15em; }

.ui-dpad {
  position: relative; width: 12.6em; aspect-ratio: 1; margin: 0.3em auto 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2a2a30, var(--key-bottom) 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1.2em 2.2em -0.6em rgba(0, 0, 0, 0.85);
}
.ui-dpad .arrow { position: absolute; width: 0.72em; height: 0.72em; border: solid var(--text); border-width: 0.14em 0.14em 0 0; opacity: 0.9; transition: border-color 0.2s; }
.ui-dpad .up { top: 1.35em; left: 50%; transform: translateX(-50%) rotate(-45deg); }
.ui-dpad .down { bottom: 1.35em; left: 50%; transform: translateX(-50%) rotate(135deg); }
.ui-dpad .left { left: 1.35em; top: 50%; transform: translateY(-50%) rotate(-135deg); }
.ui-dpad .right { right: 1.35em; top: 50%; transform: translateY(-50%) rotate(45deg); }
.ui-dpad .ok {
  position: absolute; inset: 31%; border-radius: 50%; display: grid; place-items: center;
  font: 500 0.82em/1 var(--mono); letter-spacing: 0.14em;
  background: linear-gradient(180deg, var(--key-top), var(--key-bottom));
  box-shadow: 0 0 0 1px var(--line), 0 0.7em 1.4em rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.25s, color 0.25s;
}
.ui-dpad .glow { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity 0.25s; background: conic-gradient(from var(--a, 0deg), transparent 0 18%, rgba(245, 164, 91, 0.28) 25%, transparent 32% 100%); }
.ui-dpad.is-up .glow { --a: -45deg; opacity: 1; }
.ui-dpad.is-right .glow { --a: 45deg; opacity: 1; }
.ui-dpad.is-down .glow { --a: 135deg; opacity: 1; }
.ui-dpad.is-left .glow { --a: 225deg; opacity: 1; }
.ui-dpad.is-up .up, .ui-dpad.is-right .right, .ui-dpad.is-down .down, .ui-dpad.is-left .left { border-color: var(--amber); }
.ui-dpad.is-ok .ok { color: var(--amber); box-shadow: 0 0 0 1px var(--amber-line), 0 0 1.6em rgba(245, 164, 91, 0.45); }

.ui-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55em; }
.ui-key { height: 2.55em; border-radius: 0.95em; display: grid; place-items: center; color: var(--text); background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0.45em 0.9em rgba(0, 0, 0, 0.5); }
.ui-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.7em; margin-top: auto; }
.ui-rocker { justify-self: center; width: 3.5em; height: 7.1em; border-radius: 1.8em; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 0.7em 0; background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0.6em 1.2em rgba(0, 0, 0, 0.55); font-size: 1em; }
.ui-rocker i { font-style: normal; font-size: 1.1em; line-height: 1; color: var(--text); }
.ui-rocker b { font: 500 1.25em/1 var(--mono); font-variant-numeric: tabular-nums; transition: color 0.2s; }
.ui-rocker b.is-hot { color: var(--amber); }
.ui-rocker small { font: 500 0.52em/1 var(--mono); letter-spacing: 0.2em; color: var(--text-2); margin-top: -0.4em; }
.ui-rocker .ch { font: 500 0.6em/1 var(--mono); letter-spacing: 0.2em; color: var(--text-2); }
.ui-mic { width: 4.4em; height: 4.4em; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); box-shadow: 0 0 2.4em rgba(245, 164, 91, 0.45); }
.ui-mic svg { width: 1.5em; height: 1.5em; }
.ui-status { text-align: center; font: 500 0.56em/1 var(--mono); letter-spacing: 0.24em; color: var(--text-2); text-transform: uppercase; }
.ui-status::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.8em; border-radius: 50%; background: var(--amber); vertical-align: -0.05em; }

/* ==========================================================================
   How it works: sticky story (desktop) / tap-through (mobile)
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.story__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { position: absolute; left: 0; top: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 500 0.8rem/1 var(--mono); color: var(--text-2); border: 1px solid var(--line-2); transition: color 0.3s, border-color 0.3s, background-color 0.3s, box-shadow 0.3s; }
.step h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); letter-spacing: -0.025em; }
.step__btn { all: unset; cursor: pointer; display: block; border-radius: 8px; }
.step__btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.step p { margin: 12px 0 0; color: var(--text-2); max-width: 34em; }
.step__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.step__chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.82rem; color: var(--text-2); }
.step__chips li b { color: var(--text); font-weight: 500; }
.step.is-active .step__num { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); box-shadow: 0 0 24px rgba(245, 164, 91, 0.45); }
.js .step:not(.is-active) h3 { color: var(--text-2); }
.js .step:not(.is-active) p, .js .step:not(.is-active) .step__chips { opacity: 0.8; }
.step h3, .step p, .step__chips { transition: color 0.35s, opacity 0.35s; }
.story__visual { position: relative; }

@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .story__visual { position: sticky; top: calc(50vh - 290px); order: 2; }
  .story__col { order: 1; position: relative; }
  .story__steps { padding: 12vh 0 18vh; }
  .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border: 0; padding-left: 72px; }
  .step:last-child { border: 0; }
  .step__num { top: 50%; transform: translateY(-50%); margin-top: -30px; }
  .story__progress { position: absolute; left: 20px; top: 12vh; bottom: 18vh; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .story__progress i { position: absolute; inset: 0; background: var(--amber); transform-origin: 0 0; transform: scaleY(var(--p, 0)); }
}
@media (max-width: 959px) { .story__progress { display: none; } }

/* stage: TV + phone */
.stage { position: relative; container-type: inline-size; width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 1 / 1.04; }
.tv { position: absolute; left: 0; top: 4cqw; width: 82cqw; }
.tv__frame { position: relative; aspect-ratio: 16 / 9.4; border-radius: 1.6cqw; padding: 1.1cqw; background: linear-gradient(180deg, #1b1b1f, #0c0c0e); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px -30px rgba(0, 0, 0, 0.9); }
.tv__screen { position: relative; height: 100%; border-radius: 0.8cqw; overflow: hidden; background: #050506; }
.tv__stand { width: 22cqw; height: 5cqw; margin: -0.2cqw auto 0; background: linear-gradient(180deg, #151518, #0d0d0f); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); }
.tv__led { position: absolute; bottom: 0.3cqw; left: 50%; width: 0.6cqw; height: 0.6cqw; margin-left: -0.3cqw; border-radius: 50%; background: #ff5b4a; box-shadow: 0 0 1cqw #ff5b4a; transition: opacity 0.4s; }
.tv-scr { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); display: grid; place-items: center; }
.tv-scr--standby { background: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, 0.05), transparent 50%), #050506; }
.tv-scr--allow { background: radial-gradient(80% 80% at 30% 20%, #1d2330, #0c0f16); }
.tv-dialog { width: 56%; margin-right: 22%; padding: 3cqw 3.2cqw; border-radius: 1.6cqw; background: rgba(28, 30, 38, 0.96); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2cqw 5cqw rgba(0, 0, 0, 0.6); font-size: 2.1cqw; text-align: center; transform: translateY(8px) scale(0.96); transition: transform 0.6s var(--ease); }
.tv-dialog b { display: block; font-size: 1.15em; margin-bottom: 0.5em; }
.tv-dialog p { margin: 0 0 1.2em; color: #b9bcc6; font-size: 0.85em; line-height: 1.4; }
.tv-dialog__btns { display: flex; gap: 0.8em; justify-content: center; }
.tv-dialog__btns span { padding: 0.55em 1.4em; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.9em; }
.tv-dialog__btns .is-focus { background: var(--amber); color: var(--amber-ink); font-weight: 600; box-shadow: 0 0 0 0.25em rgba(245, 164, 91, 0.3); }
.tv-scr--on { background:
  radial-gradient(60% 80% at 75% 30%, rgba(245, 164, 91, 0.55), transparent 60%),
  radial-gradient(70% 90% at 15% 90%, rgba(58, 96, 120, 0.7), transparent 60%),
  linear-gradient(135deg, #2a1a10, #0b1218); }
.tv-scr--on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)); }
.tv-hud { position: absolute; right: 3cqw; top: 3cqw; z-index: 1; display: flex; align-items: center; gap: 1.2cqw; padding: 1cqw 1.6cqw; border-radius: 999px; background: rgba(0, 0, 0, 0.5); font: 500 1.8cqw/1 var(--mono); letter-spacing: 0.12em; color: var(--text); }
.tv-hud__bar { width: 12cqw; height: 0.6cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.tv-hud__bar i { display: block; height: 100%; width: 40%; background: var(--amber); transition: width 0.8s var(--ease); }
.tv-title { position: absolute; left: 3.5cqw; bottom: 3.6cqw; z-index: 1; font-size: 3.2cqw; font-weight: 600; letter-spacing: -0.02em; }
.tv-title small { display: block; font: 500 1.4cqw/1 var(--mono); letter-spacing: 0.2em; color: rgba(243, 239, 231, 0.7); margin-bottom: 0.8cqw; text-transform: uppercase; }

.stage .phone { --w: 38cqw; position: absolute; right: 0; bottom: 0; }
.stage .phone__screen { gap: 0.7em; }
.scr { position: absolute; inset: 0; padding: 2.45em 1.05em 0.9em; display: flex; flex-direction: column; gap: 0.75em; opacity: 0; transform: translateY(0.6em); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); background: var(--bg); }
.scr__title { font-size: 1.2em; font-weight: 600; letter-spacing: -0.02em; margin-top: 0.6em; }
.scr__sub { font-size: 0.68em; color: var(--text-2); line-height: 1.4; }
.radar { position: relative; width: 9.5em; aspect-ratio: 1; margin: 0.6em auto; border-radius: 50%; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--amber); opacity: 0.5; }
.radar i:nth-child(2) { inset: 18%; opacity: 0.35; }
.radar i:nth-child(3) { inset: 36%; opacity: 0.8; background: var(--amber-soft); }
.radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(245, 164, 91, 0.35), transparent 22%); }
@media (prefers-reduced-motion: no-preference) { .radar::after { animation: spin 2.4s linear infinite; } }
.found { display: flex; flex-direction: column; gap: 0.45em; margin-top: auto; }
.found__row { display: flex; align-items: center; gap: 0.6em; padding: 0.65em 0.7em; border-radius: 0.95em; background: var(--surface); border: 1px solid var(--line); opacity: 0; transform: translateY(0.5em); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.found__row svg { width: 1.3em; height: 1.3em; color: var(--amber); flex: none; }
.found__row b { font-size: 0.78em; font-weight: 600; }
.found__row small { margin-left: auto; font: 500 0.52em/1 var(--mono); letter-spacing: 0.16em; color: var(--text-2); }
.found__label { font: 500 0.55em/1 var(--mono); letter-spacing: 0.2em; color: var(--amber); text-transform: uppercase; }
.pairing { position: relative; width: 8em; aspect-ratio: 1; margin: 2.2em auto 1.4em; display: grid; place-items: center; }
.pairing::before, .pairing::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 0.18em solid var(--amber); }
.pairing::after { inset: 22%; border-width: 1px; opacity: 0.45; }
@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.7; } 50% { transform: scale(1.04); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { .pairing::before { animation: breathe 2.2s var(--ease-io) infinite; } }
.pairing span { width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--amber); box-shadow: 0 0 1.4em rgba(245, 164, 91, 0.6); }
.scr--pair .scr__title, .scr--pair .scr__sub { text-align: center; }

.stage[data-step="1"] .scr--find,
.stage[data-step="2"] .scr--pair,
.stage[data-step="3"] .scr--remote { opacity: 1; transform: none; z-index: 1; }
.stage[data-step="1"] .tv-scr--standby,
.stage[data-step="2"] .tv-scr--allow,
.stage[data-step="3"] .tv-scr--on { opacity: 1; }
.stage[data-step="2"] .tv-dialog { transform: none; }
.stage[data-step="3"] .tv__led { opacity: 0; }
.stage[data-step="3"] .tv-hud__bar i { width: 64%; }
.stage[data-step="1"] .found__row { opacity: 1; transform: none; }
.stage[data-step="1"] .found__row:nth-child(2) { transition-delay: 0.35s; }
.stage[data-step="1"] .found__row:nth-child(3) { transition-delay: 0.7s; }
.stage[data-step="1"] .found__row:nth-child(4) { transition-delay: 1.05s; }

/* ==========================================================================
   Supported TVs
   ========================================================================== */
.tv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .tv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tv-card { min-height: 0; } .tile { min-height: 0; } .tile__art { min-height: 130px; } }
@media (min-width: 1080px) { .tv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tv-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  padding: 26px 24px 24px; border-radius: var(--r-l); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-raised));
  overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tv-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid var(--amber-line); box-shadow: 0 0 0 26px rgba(245, 164, 91, 0.025), 0 0 0 56px rgba(245, 164, 91, 0.02); opacity: 0.7; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .tv-card:hover { border-color: var(--amber-line); transform: translateY(-3px); } .tv-card:hover::before { transform: scale(1.12); } }
.tv-card__os { margin: 0; font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.tv-card h3 { font-size: 2rem; letter-spacing: -0.04em; }
.tv-card p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.tv-card__pair { margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.88rem !important; }
.tv-card__pair span { display: block; margin-bottom: 4px; font: 500 0.66rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.tv-card__pair b { color: var(--text); font-weight: 500; }
.not-yet { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px 20px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--text-2); font-size: 0.95rem; }
.not-yet svg { width: 22px; height: 22px; flex: none; color: var(--text-3); margin-top: 1px; }
.not-yet p { margin: 0; }
.not-yet b { color: var(--text); font-weight: 500; }

/* ==========================================================================
   Features bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--wide { grid-column: span 2; } }
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile { grid-column: span 4; }
  .tile--wide { grid-column: span 7; }
  .tile--half { grid-column: span 5; }
}
.tile {
  position: relative; display: flex; flex-direction: column; min-height: 300px;
  padding: 26px; border-radius: var(--r-l); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-raised)); overflow: hidden;
}
.tile h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.tile p { margin: 8px 0 0; color: var(--text-2); font-size: 0.95rem; max-width: 30em; }
.tile__art { flex: 1; display: grid; place-items: center; min-height: 150px; margin-bottom: 22px; }

/* touchpad */
.pad { position: relative; width: 100%; max-width: 420px; height: 170px; border-radius: 22px; background: radial-gradient(120% 120% at 30% 0%, #222227, #141417); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 0 1px var(--line); overflow: hidden; }
.pad__hint { position: absolute; left: 16px; top: 14px; font: 500 0.62rem/1 var(--mono); letter-spacing: 0.2em; color: var(--text-3); }
.pad__dot { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 22px rgba(245, 164, 91, 0.8); offset-path: path("M 60 120 C 140 40, 220 40, 260 90 S 360 150, 380 70"); offset-rotate: 0deg; offset-distance: 60%; }
.pad__trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.pad__trail path { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 9; opacity: 0.35; }
@keyframes glide { 0% { offset-distance: 0%; } 45%, 55% { offset-distance: 100%; } 100% { offset-distance: 0%; } }
@media (prefers-reduced-motion: no-preference) { .pad__dot { animation: glide 7s var(--ease-io) infinite; } }

/* keyboard */
.field { width: 100%; max-width: 340px; }
.field__label { font: 500 0.62rem/1 var(--mono); letter-spacing: 0.2em; color: var(--text-3); margin-bottom: 10px; }
.field__box { display: flex; align-items: center; height: 54px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--amber-line); background: var(--bg); font: 400 1rem/1 var(--mono); }
.field__text { display: inline-block; overflow: hidden; white-space: nowrap; width: 14ch; }
.field__caret { width: 2px; height: 1.3em; margin-left: 2px; background: var(--amber); }
.keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 14px; }
.keys span { height: 26px; border-radius: 6px; background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.keys span.is-hit { background: var(--amber); }
@keyframes type { from { width: 0; } }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .field__text { animation: type 2.6s steps(14) 0.4s infinite alternate; }
  .field__caret { animation: caret 1s steps(1) infinite; }
}

/* apps */
.apps { display: grid; grid-template-columns: repeat(4, 54px); gap: 12px; }
.apps span { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 600; font-size: 1.2rem; background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px -8px rgba(0, 0, 0, 0.8); color: var(--text-2); }
.apps .is-pin { color: var(--amber-ink); background: var(--amber); }
.apps .is-pin2 { color: var(--amber); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); }

/* volume */
.vol { display: flex; align-items: center; gap: 22px; }
.vol .ui-rocker { font-size: 17px; }
.vol__bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.vol__bars i { width: 10px; border-radius: 4px; background: var(--key-top); }
.vol__bars i:nth-child(-n+6) { background: var(--amber); }
.vol__bars i:nth-child(1) { height: 18%; } .vol__bars i:nth-child(2) { height: 28%; } .vol__bars i:nth-child(3) { height: 38%; }
.vol__bars i:nth-child(4) { height: 48%; } .vol__bars i:nth-child(5) { height: 58%; } .vol__bars i:nth-child(6) { height: 68%; }
.vol__bars i:nth-child(7) { height: 78%; } .vol__bars i:nth-child(8) { height: 88%; } .vol__bars i:nth-child(9) { height: 100%; }
@keyframes fill { 0%, 20% { background: var(--key-top); } 30%, 80% { background: var(--amber); } 100% { background: var(--key-top); } }
@media (prefers-reduced-motion: no-preference) {
  .vol__bars i:nth-child(n+7) { animation: fill 3.6s var(--ease-io) infinite; }
  .vol__bars i:nth-child(8) { animation-delay: 0.25s; }
  .vol__bars i:nth-child(9) { animation-delay: 0.5s; }
}

/* power */
.power { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.power::before, .power::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--amber-line); }
.power::after { inset: -22px; opacity: 0.5; }
.power span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--amber); background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 40px rgba(245, 164, 91, 0.25); }
.power svg { width: 30px; height: 30px; }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { .power::after { animation: halo 3s var(--ease-io) infinite; } }

/* rooms */
.rooms { width: 100%; max-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.rooms span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 0.92rem; }
.rooms span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--off, #5a5650); }
.rooms .is-on { border-color: var(--amber-line); }
.rooms .is-on::before { background: var(--ok); box-shadow: 0 0 10px rgba(126, 214, 154, 0.7); }
.rooms small { margin-left: auto; font: 500 0.6rem/1 var(--mono); letter-spacing: 0.16em; color: var(--text-3); }

/* inputs */
.inputs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 260px; }
.inputs span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 0.8rem/1 var(--mono); letter-spacing: 0.08em; color: var(--text-2); }
.inputs .is-on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }

/* big buttons */
.big { display: grid; grid-template-columns: repeat(2, 78px); gap: 12px; }
.big span { height: 78px; border-radius: 22px; display: grid; place-items: center; font: 600 0.8rem/1.1 var(--font); text-align: center; color: var(--text); background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 20px -10px rgba(0, 0, 0, 0.8); }
.big span:first-child { background: var(--amber); color: var(--amber-ink); }

/* ==========================================================================
   Assistant
   ========================================================================== */
.assist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 1000px) { .assist { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 80px; } }
.assist .lede { margin-top: 20px; }
.assist__points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.assist__points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.assist__points .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber); }
.assist__points .ic svg { width: 17px; height: 17px; }
.assist__points b { display: block; font-weight: 600; margin-bottom: 2px; }
.assist__points span { color: var(--text-2); font-size: 0.97rem; }

.console {
  position: relative; padding: 26px; border-radius: 32px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #151518, #101012);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  min-height: 460px; display: flex; flex-direction: column;
}
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(245, 164, 91, 0.35), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console__head { display: flex; align-items: center; justify-content: space-between; }
.console__status { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.24em; color: var(--amber); }
.console__lang { display: inline-flex; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; color: var(--text-3); }
.console__lang .is-on { color: var(--amber); }
.wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 56px; margin: 26px 0 18px; }
.wave i { width: 5px; height: 100%; border-radius: 3px; background: var(--amber); opacity: 0.85; transform: scaleY(0.12); transition: transform 0.3s var(--ease); }
.wave i:nth-child(odd) { opacity: 0.55; }
@keyframes talk { 0%, 100% { transform: scaleY(0.15); } 50% { transform: scaleY(var(--h, 0.8)); } }
.console.is-listening .wave i { animation: talk 0.9s var(--ease-io) infinite; }
.wave i:nth-child(3n) { --h: 0.55; animation-delay: -0.2s; }
.wave i:nth-child(3n+1) { --h: 0.95; animation-delay: -0.45s; }
.wave i:nth-child(3n+2) { --h: 0.7; animation-delay: -0.7s; }
.wave i:nth-child(4n) { --h: 0.4; animation-delay: -0.1s; }
.console__say { min-height: 2.4em; margin: 0 0 22px; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.05rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.console__say::after { content: ""; display: inline-block; width: 2px; height: 0.95em; margin-left: 4px; vertical-align: -0.1em; background: var(--amber); opacity: 0; }
.console.is-typing .console__say::after { opacity: 1; animation: caret 0.9s steps(1) infinite; }
.plan { margin-top: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--bg); padding: 6px 18px; }
.plan__head { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 0.7rem/1 var(--mono); letter-spacing: 0.22em; color: var(--text-2); }
.plan__head span:last-child { font-family: var(--font); letter-spacing: 0; font-size: 0.82rem; }
.plan ol { list-style: none; margin: 0; padding: 0; min-height: 112px; }
.plan li { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.plan li:last-child { border-bottom: 0; }
.plan li.is-shown { opacity: 1; transform: none; }
.plan li .chk { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: transparent; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.plan li .chk svg { width: 14px; height: 14px; }
.plan li.is-done .chk { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
html:not(.js) .plan li { opacity: 1; transform: none; }
html:not(.js) .plan li .chk { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips button { min-height: 40px; padding: 8px 16px; border-radius: 20px; text-align: left; line-height: 1.35; border: 1px solid var(--line-2); background: var(--surface); font-size: 0.9rem; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.chips button[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); background: var(--amber-soft); }
.chips button .l { margin-right: 8px; font: 500 0.64rem/1 var(--mono); letter-spacing: 0.12em; color: var(--text-3); }
@media (hover: hover) { .chips button:hover { border-color: var(--amber-line); } }
html:not(.js) .chips button { pointer-events: none; }
.assist__note { margin: 18px 0 0; font-size: 0.88rem; color: var(--text-3); }

/* ==========================================================================
   Scenes and suggestions
   ========================================================================== */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.card { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-raised)); overflow: hidden; }
.card__k { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.22em; color: var(--amber); text-transform: uppercase; margin: 0 0 12px; }
.card h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.035em; }
.card > p { color: var(--text-2); margin: 12px 0 0; max-width: 32em; }
.chain { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 36px 0 30px; }
.chain__line { position: absolute; left: 12%; right: 12%; top: 32px; height: 2px; background: var(--line-2); overflow: hidden; }
.chain__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--amber), var(--amber-hi)); transform-origin: 0 50%; transform: scaleX(1); }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .chain__line i { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
  }
}
.node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 0.92rem; font-weight: 500; }
.node span { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px -12px rgba(0, 0, 0, 0.9), 0 0 0 6px var(--surface); color: var(--amber); font-weight: 600; font-size: 1.3rem; }
.node svg { width: 24px; height: 24px; }
.node small { display: block; font: 500 0.62rem/1 var(--mono); letter-spacing: 0.16em; color: var(--text-3); margin-top: 4px; text-transform: uppercase; }
.run { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.run b { font-weight: 600; }
.run small { display: block; color: var(--text-3); font-size: 0.8rem; margin-top: 2px; }
.run span { padding: 10px 18px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-weight: 600; font-size: 0.88rem; }
.notice { margin: 32px 0 26px; padding: 18px; border-radius: 22px; background: var(--bg); border: 1px solid var(--amber-line); box-shadow: 0 20px 50px -30px rgba(245, 164, 91, 0.5); }
.notice__time { font: 500 2.4rem/1 var(--mono); letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.notice__time small { font-size: 0.9rem; color: var(--text-3); margin-left: 6px; letter-spacing: 0.1em; }
.notice__row { display: flex; align-items: center; gap: 12px; }
.notice__row .ui-hint__icon { font-size: 16px; }
.notice__row b { display: block; font-weight: 600; }
.notice__row small { color: var(--text-2); font-size: 0.85rem; }

/* ==========================================================================
   Privacy
   ========================================================================== */
.privacy-band { background: radial-gradient(70% 60% at 50% 0%, rgba(245, 164, 91, 0.08), transparent 70%); }
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pgrid article { padding: 30px 26px; background: var(--bg-raised); }
.pgrid .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; background: var(--amber-soft); color: var(--amber); }
.pgrid .ic svg { width: 19px; height: 19px; }
.pgrid h3 { font-size: 1.12rem; margin-bottom: 10px; }
.pgrid p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.privacy-band .link-arrow { margin-top: 32px; }

/* ==========================================================================
   Download + FAQ
   ========================================================================== */
.download { overflow: clip; text-align: center; }
.download .signal__rings { width: min(1100px, 240%); z-index: 0; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
.download .signal__rings .r1 { stroke-opacity: 0.3; }
.download__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.download .h-section { max-width: 12em; }
.download .lede { margin: 20px auto 36px; }
.download .stores { justify-content: center; }
.download__mark { width: 74px; height: 74px; margin-bottom: 28px; }

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background:
  linear-gradient(var(--amber), var(--amber)) center / 11px 1.5px no-repeat,
  linear-gradient(var(--amber), var(--amber)) center / 1.5px 11px no-repeat; transition: transform 0.3s var(--ease), background-size 0.3s; }
.faq details[open] summary::after { transform: rotate(180deg); background-size: 11px 1.5px, 1.5px 0; }
.faq details > div { padding: 0 48px 22px 0; color: var(--text-2); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq + p { margin-top: 32px; }
.faq summary:focus-visible { outline-offset: 6px; border-radius: 6px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--line); background: var(--bg-raised); font-size: 0.92rem; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 860px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) auto; } }
.site-footer__brand p { margin: 14px 0 0; color: var(--text-2); max-width: 22em; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.site-footer__nav .f-help { grid-column: 1 / -1; order: 3; }
@media (min-width: 560px) { .site-footer__nav { grid-template-columns: repeat(3, minmax(140px, auto)); gap: 32px 56px; } .site-footer__nav .f-help { grid-column: auto; order: 0; } }
.site-footer h2 { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
.site-footer__nav a { display: block; padding: 5px 0; color: var(--text-2); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--text-3); font-size: 0.84rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom .disclaimer { color: var(--text-2); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* ==========================================================================
   Inner pages: support, privacy, terms
   ========================================================================== */
.page-hero { padding: 136px 0 48px; position: relative; overflow: clip; }
.page-hero::before { content: ""; position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--amber-line); box-shadow: 0 0 0 60px rgba(245, 164, 91, 0.02), 0 0 0 130px rgba(245, 164, 91, 0.015); pointer-events: none; }
@media (max-width: 599px) { .page-hero::before { right: -300px; top: -330px; } }
.page-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem); letter-spacing: -0.04em; line-height: 1.03; max-width: 14em; }
.page-hero .lede { margin-top: 18px; }
.page-meta { margin-top: 22px; font: 500 0.74rem/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.page-meta a { color: var(--text-2); }
.page-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; }
.page-cta a:not(.btn) { color: var(--text-2); overflow-wrap: anywhere; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.quick a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); text-decoration: none; font-size: 0.9rem; color: var(--text-body); transition: border-color 0.2s; }
.quick a:hover { border-color: var(--amber-line); }

.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: var(--section); }
@media (min-width: 1060px) { .doc { grid-template-columns: 230px minmax(0, 1fr); gap: 72px; } }
.toc { display: none; }
@media (min-width: 1060px) {
  .toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
  .toc p { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-2); text-decoration: none; font-size: 0.88rem; line-height: 1.35; }
  .toc a:hover { color: var(--text); border-left-color: var(--amber); }
}

.prose { max-width: 70ch; color: var(--text-body); font-size: 1.04rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.6em 0 0.7em; font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem); letter-spacing: -0.025em; color: var(--text); scroll-margin-top: 96px; }
.prose h3 { margin: 1.9em 0 0.5em; font-size: 1.12rem; letter-spacing: -0.015em; color: var(--text); scroll-margin-top: 96px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--amber); }
.prose a { color: var(--text); text-decoration-color: var(--amber); }
.prose strong { color: var(--text); }
.prose code { font: 0.92em var(--mono); padding: 0.1em 0.35em; border-radius: 6px; background: var(--surface-2); }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { font: 500 0.7rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); background: var(--bg-raised); }
.prose tr:last-child td { border-bottom: 0; }
.summary { margin: 0 0 2.4em; padding: 26px 28px; border-radius: var(--r-l); border: 1px solid var(--amber-line); background: linear-gradient(180deg, rgba(245, 164, 91, 0.06), transparent 70%); }
.summary h2 { margin: 0 0 14px !important; font-size: 1.1rem !important; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.summary li { position: relative; padding-left: 30px; margin: 0; }
.summary li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1206' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* support */
.help-section { padding-top: 12px; }
.help-section + .help-section { margin-top: 12px; }
.help-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 18px 0 8px; }
@media (min-width: 760px) { .help-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.help-card { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.help-card h3 { margin: 0 0 8px !important; font-size: 1.02rem !important; }
.help-card p { margin: 0; font-size: 0.95rem; color: var(--text-2); line-height: 1.6; }
.help-card p + p { margin-top: 10px; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 10px 0 12px; padding: 0; list-style: none; font: 500 0.8rem/1.3 var(--mono); }
.prose .path { padding: 0; }
.path li { position: relative; margin: 0; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--text); }
.path li + li { margin-left: 22px; }
.path li + li::before { content: "›"; position: absolute; left: -15px; top: 50%; transform: translateY(-52%); color: var(--amber); }
.contact-card { margin-top: 3em; padding: 30px; border-radius: var(--r-l); border: 1px solid var(--amber-line); background: radial-gradient(90% 120% at 100% 0%, rgba(245, 164, 91, 0.1), transparent 60%), var(--surface); }
.contact-card h2 { margin-top: 0 !important; }
.contact-card .btn { margin-top: 8px; }
.brand-tag { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 999px; font: 500 0.66rem/1.4 var(--mono); letter-spacing: 0.14em; vertical-align: middle; color: var(--amber); background: var(--amber-soft); text-transform: uppercase; }

/* 404 */
.lost { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; overflow: clip; }
.lost .wrap { position: relative; }
.lost__es { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.lost__es h2 { font-size: 1.4rem; letter-spacing: -0.03em; }
.lost__es p { margin: 10px auto 22px; }
.lost .signal__rings { width: min(900px, 200%); }
.lost h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.04em; }
.lost p { color: var(--text-2); margin: 16px auto 28px; max-width: 30em; }
.lost .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lost .code { font: 500 0.8rem/1 var(--mono); letter-spacing: 0.3em; color: var(--amber); margin-bottom: 18px; }

/* ==========================================================================
   Small screens
   ========================================================================== */
@media (max-width: 959px) {
  .hero { padding-top: 104px; min-height: auto; }
  .signal { min-height: 520px; }
  .phone { --w: 262px; }
  .story__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .js .story__steps .step { cursor: pointer; }
}
@media (max-width: 400px) {
  .signal { min-height: 470px; }
  .phone { --w: 236px; }
  .store-btn { min-width: 0; flex: 1 1 150px; }
  .tile { padding: 22px; }
  .console { padding: 20px; border-radius: 26px; }
  .chain { gap: 6px; }
  .node { font-size: 0.82rem; }
  .node span { width: 54px; height: 54px; }
  .chain__line { top: 27px; }
  .help-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
