/* Claude Duet — site styles. Same palette as the extension: paper neutrals, ink, one ember accent. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-cyrillic-wght-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('/fonts/lora-italic.woff') format('woff'); }

:root {
  --bg: #F5F5F7; --bg-2: #ECECEF; --card: #FFFFFF; --ink: #1D1D1F; --ink-2: #424245; --muted: #6E6E73;
  --line: rgba(0, 0, 0, .08); --line-2: rgba(0, 0, 0, .14);
  --ember: #FF6A13; --ember-strong: #C24A06; --ember-tint: #FFF1E8; --ember-line: rgba(255, 106, 19, .28);
  --grad: linear-gradient(135deg, #FF8A3D 0%, #FF6A13 55%, #E5530A 100%);
  --night: #0D0D0F; --night-2: #17171A; --night-ink: #F5F5F7; --night-muted: #9A9AA0; --night-line: rgba(255, 255, 255, .1);
  --ok: #1E8E3E; --ok-bg: #E6F4EA;
  --serif: 'Lora', 'GFS Baskerville', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Devanagari', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px -8px rgba(0, 0, 0, .12);
  --sh-2: 0 30px 60px -30px rgba(40, 20, 0, .28), 0 0 0 1px var(--line);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #000000; --bg-2: #111113; --card: #1C1C1E; --ink: #F5F5F7; --ink-2: #D1D1D6; --muted: #98989D;
    --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .16); --ember: #FF8A3D; --ember-strong: #FF8A3D; --ember-tint: rgba(255, 138, 61, .12);
    --ok: #34C759; --ok-bg: rgba(52, 199, 89, .14); --night: #0B0B0D; --night-2: #19191C; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a:not(.btn), .prose a:not(.btn), .faq a { color: var(--ember-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose .rows a, .prose .toc a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ember); color: #fff; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }
p { margin: 0; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--ember); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px var(--ember-tint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 24px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-main { background: var(--ink); color: var(--bg); }
.btn-main:hover { background: #000; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .btn-main:hover { background: #fff; } }
.btn-ember { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -12px rgba(229, 83, 10, .8); }
.btn-ember:hover { filter: brightness(1.05); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: var(--card); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn .chrome { width: 18px; height: 18px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16.5px; letter-spacing: -.02em; flex: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 22px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-2); align-items: center; justify-content: center; }
.sheet { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; } .menu-btn { display: inline-flex; } .nav-cta .btn-main { display: none; }
  .sheet { position: fixed; inset: 64px 0 auto; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: grid; gap: 2px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s var(--ease); }
  .sheet a { padding: 12px 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
  .sheet .btn { margin-top: 14px; }
  body.menu-open .sheet { transform: none; opacity: 1; pointer-events: auto; }
}

/* Reveal on scroll */
[data-r] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
[data-r].in { opacity: 1; transform: none; }

/* ── Home hero ─────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(40px, 8vw, 96px) 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%); opacity: .6; pointer-events: none; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: clamp(48px, 9.4vw, 140px); line-height: .92; letter-spacing: -.055em; font-weight: 680; max-width: 11ch; }
.hero h1 em.s { font-weight: 500; letter-spacing: -.035em; padding-right: .06em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(24px, 5vw, 72px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--ok); }
@media (max-width: 860px) { .hero-row { grid-template-columns: minmax(0, 1fr); } }
.hero-row > *, .phero > *, .cols > *, .story > * { min-width: 0; }

/* Command console: a task gets typed, then the agent's steps tick by */
.console { position: relative; background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-2); padding: 16px; }
.console-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.console-top img { width: 22px; height: 22px; }
.console-top b { color: var(--ink); font-weight: 650; font-size: 13.5px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--ember-tint); color: var(--ember-strong); font-weight: 650; font-size: 11.5px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); animation: pulse 1.1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.cmd { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: var(--bg); font-size: 15.5px; font-weight: 550; }
.cmd .caret { width: 2px; height: 20px; background: var(--ember); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.cmd-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; min-height: 132px; }
.steps li { display: flex; align-items: center; gap: 10px; height: 32px; font-size: 14px; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.steps li.on { opacity: 1; transform: none; }
.steps li .dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; color: transparent; transition: .25s; }
.steps li.done .dot { background: var(--ember-strong); color: #fff; box-shadow: none; }
.steps li.ask { color: var(--ink); font-weight: 600; }
.steps li.ask .ok { margin-left: auto; height: 26px; padding: 0 12px; border-radius: 13px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.steps time { margin-left: auto; font: 500 11.5px var(--mono); color: var(--muted); }

/* Agent cursor that performs on the page */
.acur { position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; transition: transform .9s cubic-bezier(.45, .05, .2, 1), opacity .3s; opacity: 0; }
.acur.on { opacity: 1; }
.acur svg { filter: drop-shadow(0 6px 10px rgba(229, 83, 10, .35)); }
.acur span { position: absolute; left: 18px; top: 20px; padding: 3px 8px; border-radius: 8px; background: var(--grad); color: #fff; font: 700 11px var(--sans); white-space: nowrap; }
.acur.click::after { content: ''; position: absolute; left: -10px; top: -10px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ember); animation: ring .5s var(--ease) forwards; }
@keyframes ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ── Section scaffolding ──────────────────────────────────── */
.sec { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(36px, 5.6vw, 76px); line-height: .98; letter-spacing: -.05em; }
.sec-head p { color: var(--ink-2); font-size: 17.5px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ── Split-flap departure board ───────────────────────────── */
.board-sec { background: var(--night); color: var(--night-ink); overflow: hidden; }
.board-sec .eyebrow { color: var(--night-muted); }
.board-sec .sec-head p { color: var(--night-muted); }
.board { border-radius: 20px; background: #050506; padding: clamp(10px, 2vw, 20px); box-shadow: inset 0 0 0 1px var(--night-line), 0 40px 80px -40px #000; font-family: var(--mono); overflow-x: auto; }
.board-h, .board-r { display: grid; grid-template-columns: 76px minmax(0, 1fr) 196px; gap: 14px; align-items: center; min-width: 620px; }
.board-h { padding: 4px 6px 12px; font-size: 11px; letter-spacing: .14em; color: #77777d; text-transform: uppercase; }
.board-r { padding: 7px 6px; border-top: 1px solid rgba(255, 255, 255, .06); }
.flaps { display: flex; gap: 2px; flex-wrap: nowrap; overflow: hidden; }
.flap { position: relative; width: .8em; height: 1.45em; display: inline-grid; place-items: center; background: linear-gradient(#1d1d21 0 49%, #000 49% 51%, #17171a 51%); border-radius: 3px; font-size: clamp(13px, 1.5vw, 18px); font-weight: 600; color: #ECECEC; text-transform: uppercase; flex: none; }
.flap.f { animation: flip .22s ease-in; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-88deg); filter: brightness(.6); } 100% { transform: rotateX(0); } }
.st .flap { color: #FF8A3D; }
.st.ok .flap { color: #4CD964; }
.st.wait .flap { color: #FFD60A; }
.board-foot { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 12.5px var(--mono); color: var(--night-muted); }
.board-foot b { color: #fff; font-weight: 600; }

/* ── Story: a sticky browser where the agent works as you scroll ── */
.story { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.beats { display: grid; }
.beat { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s; }
.beat.on { opacity: 1; }
.beat .n { font: 600 12px var(--mono); color: var(--ember-strong); letter-spacing: .08em; }
.beat h3 { font-size: clamp(28px, 3.4vw, 44px); margin: 10px 0 12px; letter-spacing: -.04em; }
.beat p { color: var(--ink-2); font-size: 17px; max-width: 400px; }
.stage-wrap { position: sticky; top: 90px; height: calc(100vh - 120px); max-height: 640px; display: flex; align-items: center; }
.stage { position: relative; width: 100%; aspect-ratio: 4 / 3.1; border-radius: 22px; background: var(--card); box-shadow: var(--sh-2); overflow: hidden; }
.st-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.st-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.st-url { margin-left: 10px; flex: 1; max-width: 300px; height: 24px; border-radius: 12px; background: var(--card); display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: var(--muted); }
.st-body { position: absolute; inset: 40px 34% 0 0; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.st-body h4 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 6px; }
.st-body small { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.fld { height: 38px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); display: flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 550; white-space: nowrap; overflow: hidden; transition: box-shadow .3s; }
.fld span { clip-path: inset(0 100% 0 0); transition: clip-path .9s steps(14); }
.stage[data-step='1'] .fld.a, .stage[data-step='2'] .fld.a, .stage[data-step='3'] .fld.a, .stage[data-step='4'] .fld.a, .stage[data-step='2'] .fld.b, .stage[data-step='3'] .fld.b, .stage[data-step='4'] .fld.b { box-shadow: inset 0 0 0 1.5px var(--ember); }
.stage[data-step='1'] .fld.a span, .stage[data-step='2'] .fld span, .stage[data-step='3'] .fld span, .stage[data-step='4'] .fld span { clip-path: inset(0 0 0 0); }
.st-go { align-self: flex-start; margin-top: 10px; height: 38px; padding: 0 20px; border-radius: 19px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
.st-results { display: grid; gap: 6px; margin-top: 10px; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.stage[data-step='3'] .st-results, .stage[data-step='4'] .st-results { opacity: 1; transform: none; }
.st-results div { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.st-results div.best { box-shadow: inset 0 0 0 1.5px var(--ember); background: var(--ember-tint); font-weight: 600; }
.st-panel { position: absolute; top: 40px; right: 0; bottom: 0; width: 34%; border-left: 1px solid var(--line); background: var(--bg); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.st-panel .ph { display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: 13px; }
.st-panel .ph img { width: 20px; height: 20px; }
.st-q { align-self: flex-end; padding: 8px 10px; border-radius: 12px 12px 4px 12px; background: var(--ink); color: var(--bg); font-weight: 550; line-height: 1.35; }
.st-s { display: flex; gap: 7px; align-items: center; color: var(--ink-2); opacity: .25; transition: opacity .3s; }
.st-s::before { content: ''; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; }
.stage[data-step='1'] .st-s.s1, .stage[data-step='2'] .st-s.s1, .stage[data-step='2'] .st-s.s2, .stage[data-step='3'] .st-s, .stage[data-step='4'] .st-s { opacity: 1; }
.stage[data-step='2'] .st-s.s1::before, .stage[data-step='3'] .st-s::before, .stage[data-step='4'] .st-s::before { background: var(--ember-strong); box-shadow: none; }
.st-ask { margin-top: auto; padding: 10px; border-radius: 12px; background: var(--card); box-shadow: var(--sh-1); font-weight: 600; opacity: 0; transform: translateY(10px); transition: .4s var(--spring); }
.st-ask b { display: inline-flex; margin-top: 8px; height: 26px; padding: 0 12px; border-radius: 13px; background: var(--grad); color: #fff; align-items: center; font-size: 12px; }
.stage[data-step='4'] .st-ask { opacity: 1; transform: none; }
.st-cur { position: absolute; z-index: 3; transition: left .9s cubic-bezier(.45, .05, .2, 1), top .9s cubic-bezier(.45, .05, .2, 1); left: 60%; top: 20%; }
.stage[data-step='1'] .st-cur { left: 30%; top: 33%; } .stage[data-step='2'] .st-cur { left: 30%; top: 50%; }
.stage[data-step='3'] .st-cur { left: 18%; top: 66%; } .stage[data-step='4'] .st-cur { left: 74%; top: 88%; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .stage-wrap { order: -1; position: sticky; top: 64px; height: auto; max-height: none; z-index: 2; padding: 8px 0 12px; background: var(--bg); }
  .stage { aspect-ratio: 4 / 2.6; }
  .beat { min-height: 52vh; }
  .st-body { inset: 40px 0 0 0; padding: 16px; } .st-panel { display: none; }
}

/* ── Duet (night) ─────────────────────────────────────────── */
.night { background: var(--night); color: var(--night-ink); }
.night .eyebrow, .night .sec-head p { color: var(--night-muted); }
.duet-q { display: inline-flex; padding: 12px 16px; border-radius: 18px 18px 6px 18px; background: #fff; color: #1D1D1F; font-weight: 600; font-size: 16px; margin-bottom: 18px; max-width: 100%; }
.duet { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ans { position: relative; padding: 18px 18px 16px; border-radius: 20px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); transition: box-shadow .3s, transform .3s var(--spring), opacity .3s; display: flex; flex-direction: column; min-height: 260px; }
.ans-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; margin-bottom: 12px; }
.ans-h i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 800 11px var(--sans); font-style: normal; color: #fff; }
.ans-h .a { background: var(--grad); } .ans-h .b { background: linear-gradient(135deg, #8E8E93, #48484A); }
.ans-t { color: #D8D8DC; font-size: 15.5px; line-height: 1.6; white-space: pre-line; flex: 1; }
.ans-t::after { content: '▍'; color: var(--ember); animation: blink 1s steps(1) infinite; }
.ans.done .ans-t::after { content: ''; }
.pick { align-self: flex-start; margin-top: 14px; height: 34px; padding: 0 14px; border-radius: 17px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: 13.5px; font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: 6px; opacity: 0; transition: .3s; }
.ans.done .pick { opacity: 1; }
.pick:hover { background: rgba(255, 255, 255, .08); }
.ans.chosen { box-shadow: inset 0 0 0 2px #FF8A3D, 0 30px 60px -30px rgba(255, 106, 19, .55); transform: translateY(-4px); }
.ans.chosen .pick { background: var(--grad); box-shadow: none; }
.duet.has-pick .ans:not(.chosen) { opacity: .45; }
@media (max-width: 760px) { .duet { grid-template-columns: 1fr; } .ans { min-height: 0; } }

/* ── Index list with a floating preview ───────────────────── */
.idx { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.idx li a { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 360px) 40px; gap: 18px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line-2); transition: background .2s, padding .3s var(--ease); }
.idx li a:hover { background: var(--card); padding-left: 16px; padding-right: 16px; }
.idx .k { font: 600 13px var(--mono); color: var(--muted); }
.idx h3 { font-size: clamp(24px, 3vw, 40px); letter-spacing: -.04em; }
.idx p { color: var(--ink-2); font-size: 15px; }
.idx .go { width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: .25s var(--ease); }
.idx li a:hover .go { background: var(--ember); color: #fff; box-shadow: none; transform: rotate(-45deg); }
@media (max-width: 760px) { .idx li a { grid-template-columns: 44px minmax(0, 1fr) 36px; } .idx p { display: none; } }
.peek { position: fixed; z-index: 40; width: 260px; pointer-events: none; opacity: 0; transform: translate(-50%, -110%) scale(.92); transition: opacity .2s, transform .25s var(--spring); }
.peek.on { opacity: 1; transform: translate(-50%, -115%) scale(1); }
.peek-card { padding: 14px; border-radius: 18px; background: var(--card); box-shadow: var(--sh-2); font-size: 13px; }
.peek-card b { display: block; margin-bottom: 6px; font-size: 14px; }
.peek-card span { color: var(--ink-2); }
@media (hover: none) { .peek { display: none; } }

/* ── Tickets (pricing) ────────────────────────────────────── */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.ticket { position: relative; display: flex; flex-direction: column; padding: 22px 22px 0; border-radius: 22px; background: var(--card); box-shadow: var(--sh-1), 0 0 0 1px var(--line);
  -webkit-mask: radial-gradient(circle 12px at 0 calc(100% - 92px), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% calc(100% - 92px), #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 calc(100% - 92px), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% calc(100% - 92px), #0000 98%, #000) right / 51% 100% no-repeat; }
.ticket.best { background: var(--ink); color: var(--bg); }
.ticket .t-top { display: flex; justify-content: space-between; align-items: center; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket.best .t-top { color: #9A9AA0; }
.ticket h3 { font-size: 26px; margin: 18px 0 4px; letter-spacing: -.03em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 2px; }
.price b { font-size: 52px; font-weight: 680; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; }
.ticket.best .price span { color: #9A9AA0; }
.ticket .per { font-size: 14px; color: var(--ink-2); min-height: 22px; }
.ticket.best .per { color: #D1D1D6; }
.ticket ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; font-size: 14.5px; flex: 1; }
.ticket li { display: flex; gap: 8px; align-items: flex-start; }
.ticket li svg { flex: none; margin-top: 3px; color: var(--ember); }
.t-stub { height: 92px; margin: 0 -22px; padding: 0 22px; border-top: 2px dashed var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket.best .t-stub { border-color: rgba(255, 255, 255, .2); }
.t-stub code { font: 600 12px var(--mono); color: var(--muted); letter-spacing: .08em; }
.stamp { position: absolute; right: 18px; top: 52px; transform: rotate(12deg); padding: 6px 10px; border: 2px solid #FF8A3D; color: #FF8A3D; border-radius: 8px; font: 800 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: 0; }
.in .stamp, .stamp.in { animation: stamp .45s .4s var(--spring) forwards; }
@keyframes stamp { from { opacity: 0; transform: rotate(12deg) scale(2.2); } to { opacity: 1; transform: rotate(12deg) scale(1); } }
.price-note { margin-top: 22px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 900px) { .tickets { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ── Approvals stack ───────────────────────────────────────── */
.safe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.safe-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.safe-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.safe-list .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--ember-tint); color: var(--ember-strong); display: grid; place-items: center; }
.safe-list h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 4px; }
.safe-list p { color: var(--ink-2); font-size: 15.5px; }
.toasts { position: relative; height: 230px; margin-top: 40px; }
.toast { position: absolute; left: 50%; width: min(380px, 100%); padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--sh-2); display: grid; grid-template-columns: 36px 1fr; gap: 12px; transform: translateX(-50%); transition: transform .6s var(--spring), opacity .4s; }
.toast .ti { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--ember-tint); color: var(--ember-strong); }
.toast b { display: block; font-size: 14.5px; }
.toast span { font-size: 13.5px; color: var(--ink-2); }
.toast .tb { grid-column: 2; display: flex; gap: 8px; margin-top: 8px; }
.toast .tb i { font-style: normal; height: 30px; padding: 0 14px; border-radius: 15px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.toast .tb i.y { background: var(--grad); color: #fff; box-shadow: none; }
@media (max-width: 860px) { .safe { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 2px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: linear-gradient(#000 0 0) center / 100% 2px no-repeat, linear-gradient(#000 0 0) center / 2px 100% no-repeat; mask: linear-gradient(#000 0 0) center / 100% 2px no-repeat, linear-gradient(#000 0 0) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .a { padding: 0 2px 22px; color: var(--ink-2); max-width: 760px; }
.faq .a p + p { margin-top: 10px; }

/* ── Final CTA with a living wordmark ─────────────────────── */
.finale { padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.finale p { color: var(--ink-2); font-size: 18px; max-width: 560px; margin: 0 auto 26px; }
.wordmark { font-size: clamp(64px, 16.5vw, 250px); font-weight: 300; letter-spacing: -.06em; line-height: .9; white-space: nowrap; margin: 36px 0 0; user-select: none; }
.wordmark span { display: inline-block; transition: font-weight .25s, color .25s; font-variation-settings: 'wght' var(--w, 300); font-weight: var(--w, 300); }
.wordmark span.hot { color: var(--ember); }

/* ── Footer ───────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot h4 { font-size: 12px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--ember-strong); }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.foot-legal p { max-width: 760px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 12px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ── Inner pages ──────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.phero { padding-top: 26px; padding-bottom: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(24px, 5vw, 64px); align-items: center; }
.phero h1 { font-size: clamp(38px, 6vw, 80px); line-height: .98; letter-spacing: -.05em; margin: 16px 0 18px; }
.phero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 620px; }
.phero .hero-ctas { margin-top: 24px; }
.phero.solo { grid-template-columns: minmax(0, 860px); }
@media (max-width: 900px) { .phero { grid-template-columns: 1fr; } }

/* Boarding pass: the task as a ticket */
.pass { position: relative; border-radius: 22px; background: var(--card); box-shadow: var(--sh-2); overflow: hidden; }
.pass-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--ink); color: var(--bg); font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pass-top img { width: 20px; height: 20px; }
.pass-body { padding: 18px; }
.pass-body small { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.pass-body .prompt { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; margin: 6px 0 16px; }
.pass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 14px; border-top: 2px dashed var(--line-2); }
.pass-grid div { font-size: 13.5px; font-weight: 600; }
.pass-grid small { display: block; margin-bottom: 3px; }
.pass-foot { display: flex; gap: 8px; padding: 0 18px 18px; }
.copy { height: 36px; padding: 0 14px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.copy:hover { background: var(--bg); }
.copy.ok { color: var(--ok); }
.status-flap { display: inline-flex; gap: 2px; font-family: var(--mono); }
.status-flap .flap { font-size: 13px; color: #FF8A3D; width: .85em; }

/* Run log */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 8vw, 96px); }
.cols aside { position: sticky; top: 90px; display: grid; gap: 14px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .cols aside { position: static; } }
.block + .block { margin-top: clamp(36px, 5vw, 56px); }
.block h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; margin-bottom: 16px; }
.block > p { color: var(--ink-2); }
.log { list-style: none; margin: 0; padding: 0; border-radius: 20px; background: var(--card); box-shadow: var(--sh-1), 0 0 0 1px var(--line); overflow: hidden; }
.log li { display: grid; grid-template-columns: 58px 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px 18px; border-top: 1px solid var(--line); opacity: .35; transition: opacity .4s; }
.log li:first-child { border-top: 0; }
.log li.on { opacity: 1; }
.log time { font: 500 12px var(--mono); color: var(--muted); padding-top: 3px; }
.log .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); color: transparent; transition: .3s; }
.log li.on .dot { background: var(--ember-strong); color: #fff; box-shadow: none; }
.log li.ask .dot { background: #FFD60A; color: #1D1D1F; }
.log b { display: block; font-weight: 600; letter-spacing: -.01em; }
.log span { color: var(--ink-2); font-size: 15px; }
.result { margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: var(--ok-bg); color: var(--ink); display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.result svg { color: var(--ok); margin-top: 2px; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tips li { padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.tips svg { color: var(--ember-strong); margin-top: 3px; }
.side-card { padding: 18px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.side-card h3 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 8px; }
.side-card p { font-size: 14.5px; color: var(--ink-2); }
.side-card .btn { margin-top: 14px; width: 100%; }
.side-card.dark { background: var(--ink); color: var(--bg); box-shadow: none; }
.side-card.dark p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.side-card.dark .btn-ember { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 550; display: inline-flex; align-items: center; gap: 6px; transition: .2s; }
.chip:hover, .chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip small { font: 500 11px var(--mono); opacity: .6; }
.prompts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prompts li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 550; }
.prompts li span::before { content: '“'; color: var(--ember); } .prompts li span::after { content: '”'; color: var(--ember); }

/* Lists of pages (index pages, related) */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.rows li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--line-2); transition: padding .3s var(--ease), background .2s; }
.rows li a:hover { padding-left: 12px; padding-right: 12px; background: var(--card); }
.rows b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.rows span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.rows .tag { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-strong); background: var(--ember-tint); padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.rows li[hidden] { display: none; }
.grid-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 760px) { .grid-rows { grid-template-columns: 1fr; } }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.count { font: 500 13px var(--mono); color: var(--muted); margin-bottom: 14px; }

/* Prose (guides, legal) */
.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); max-width: 720px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin: 2.1em 0 .6em; letter-spacing: -.035em; line-height: 1.12; }
.prose h3 { font-size: 21px; color: var(--ink); margin: 1.6em 0 .4em; letter-spacing: -.02em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--ember); }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.prose code { font: 500 .88em var(--mono); background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.toc { display: grid; gap: 4px; font-size: 14px; }
.toc a { color: var(--ink-2); padding: 4px 0; border-left: 2px solid var(--line); padding-left: 12px; }
.toc a:hover { color: var(--ember-strong); border-color: var(--ember); }

/* Legal */
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 13px var(--mono); color: var(--muted); margin-top: 6px; }
.legal-summary { padding: 22px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); margin-bottom: 28px; }
.legal-summary h2 { margin-top: 0 !important; font-size: 22px !important; }
.legal-summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legal-summary li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; }
.legal-summary .ic { color: var(--ok); margin-top: 4px; }
.legal-sec h2 { display: flex; gap: 10px; }
.legal-n { color: var(--ember-strong); font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; background: var(--card); }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table th { font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.table tr:last-child td { border-bottom: 0; }

/* Glossary letters */
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.letters a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 650; }
.letters a:hover { background: var(--ink); color: var(--bg); }

/* Band CTA on inner pages */
.band { margin: clamp(48px, 8vw, 96px) 0; border-radius: 32px; background: var(--night); color: var(--night-ink); padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.band > * { position: relative; z-index: 1; }
.band::after { content: ''; z-index: 0; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 19, .35), transparent); pointer-events: none; }
.band h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.045em; }
.band p { color: var(--night-muted); margin-top: 10px; max-width: 520px; }
.band .btn-main { background: #fff; color: #1D1D1F; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost h1 { font-size: clamp(80px, 18vw, 200px); letter-spacing: -.06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-r] { opacity: 1; transform: none; }
  .steps li, .log li { opacity: 1; transform: none; }
  .acur { display: none; }
}
@media (max-width: 640px) {
  .board-h, .board-r { grid-template-columns: minmax(0, 1fr) 132px; min-width: 0; gap: 10px; }
  .board .flaps.t, .board-h span:first-child { display: none; }
  .board .flap { font-size: 11px; }
}
