@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #0b0806;
  --bg-2: #110c08;
  --panel: #16100b;
  --panel-2: #1c150e;
  --line: rgba(255, 214, 160, .09);
  --line-2: rgba(255, 214, 160, .16);
  --text: #f5ede1;
  --muted: #b3a48f;
  --dim: #958774;
  --gold: #f2b63f;
  --gold-hi: #ffd88a;
  --gold-lo: #b9822a;
  --blue: #6d8bff;
  --wrap: 1160px;
  --r: 14px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p a, dd a, .footnote a, .credits a { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgba(255, 216, 138, .35); text-underline-offset: 3px; }
p a:hover, dd a:hover, .footnote a:hover, .credits a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1206; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 560; letter-spacing: -.01em; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-gold {
  color: #1d1305;
  background: linear-gradient(180deg, #ffd47c, #f0ae35 60%, #e29e25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 1px rgba(255, 196, 92, .5), 0 8px 30px -8px rgba(242, 182, 63, .55);
}
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(255, 210, 120, .7), 0 10px 40px -6px rgba(242, 182, 63, .7); }
.btn-ghost { color: var(--text); background: rgba(255, 236, 205, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 236, 205, .09); }
.btn-quiet { color: var(--text); background: rgba(255, 236, 205, .07); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { background: rgba(255, 236, 205, .12); }
.count { font-family: var(--mono); font-size: .85em; padding: 1px 8px; border-radius: 99px; background: rgba(0, 0, 0, .14); }
.btn-ghost .count { background: rgba(255, 236, 205, .08); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 8, 6, .72);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 620; letter-spacing: -.02em; flex: none; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 210, 140, .18); }
.brand-code { color: var(--muted); font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px;
  border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 520;
  background: rgba(255, 236, 205, .05); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s;
}
.pill:hover { background: rgba(255, 236, 205, .1); }
.star-count { font-family: var(--mono); font-size: 12.5px; color: var(--gold-hi); padding-left: 8px; border-left: 1px solid var(--line-2); }

/* the runner: scroll progress with the speedster at its tip */
.track { position: relative; flex: 1; height: 64px; min-width: 0; }
.track-line { position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 214, 160, .16) 0 4px, transparent 4px 9px); }
.track-fill { height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, rgba(242, 182, 63, 0), var(--gold)); box-shadow: 0 0 10px rgba(242, 182, 63, .6); }
.sprite {
  display: block; aspect-ratio: 1; background-image: url("/img/speedster-sm.webp");
  background-size: 1600% 100%; background-repeat: no-repeat;
  background-position: calc(var(--f, 10) * 100% / 15) 0;
}
.runner {
  position: absolute; bottom: 12px; left: 0; width: 44px;
  transform: translateX(calc(var(--x, 0) * 1px)) scaleX(var(--dir, 1));
  filter: drop-shadow(0 2px 6px rgba(80, 110, 255, .35));
  will-change: transform;
}

/* hero */
.hero { position: relative; padding: 72px 0 40px; isolation: isolate; }
.hero-glow { position: absolute; inset: -64px 0 auto; height: 900px; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-glow::before, .hero-glow::after { content: ""; position: absolute; }
.hero-glow::before {
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(242, 170, 50, .28), transparent 70%),
    radial-gradient(40% 40% at 15% 30%, rgba(150, 90, 30, .22), transparent 70%),
    radial-gradient(40% 40% at 88% 40%, rgba(120, 70, 25, .18), transparent 70%);
}
.hero-glow::after {
  left: 50%; top: -20%; width: 1400px; height: 1000px; transform: translateX(-50%);
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 200, 110, .07) 44%, transparent 50%),
    linear-gradient(65deg, transparent 52%, rgba(255, 200, 110, .05) 57%, transparent 63%),
    linear-gradient(100deg, transparent 62%, rgba(255, 200, 110, .04) 66%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 85%);
}
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; margin-bottom: 28px;
  border-radius: 99px; text-decoration: none; font: 500 13px/1 var(--mono); color: var(--muted);
  background: rgba(255, 236, 205, .04); box-shadow: inset 0 0 0 1px var(--line-2);
}
.eyebrow:hover { color: var(--text); }
.eyebrow [data-version] { color: var(--gold-hi); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .18); }
.eyebrow .sep { width: 1px; height: 12px; background: var(--line-2); }
.hero h1 { font-size: clamp(42px, 8.4vw, 92px); letter-spacing: -.045em; line-height: 1; }
.hero h1 em { font-size: 1.08em; letter-spacing: -.025em; padding-right: .04em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 24px; max-width: 640px; font-size: clamp(17px, 2.1vw, 20px); line-height: 1.55; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--dim); }
.fine a { color: var(--muted); }

.hero-media { margin-top: 56px; perspective: 1600px; }
.window {
  position: relative; border-radius: var(--r); overflow: hidden; background: #0d0907;
  box-shadow: 0 0 0 1px rgba(255, 214, 160, .14), 0 1px 0 0 rgba(255, 230, 190, .12) inset, 0 40px 120px -30px rgba(0, 0, 0, .9), 0 30px 90px -40px rgba(242, 160, 40, .35);
}
.hero-media .window { aspect-ratio: 16 / 9; }
.hero-media .window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 230, 190, .06); }
.hero-video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { transition: opacity .4s; }
.window.playing .hero-poster { opacity: 0; }
.vid-toggle {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--text);
  background: rgba(15, 10, 6, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px var(--line-2); opacity: .75; transition: opacity .2s;
}
.vid-toggle:hover, .vid-toggle:focus-visible { opacity: 1; }
.vid-toggle .i-play, .vid-toggle.paused .i-pause { display: none; }
.vid-toggle.paused .i-play { display: block; }

/* section scaffolding */
section { position: relative; }
.label { font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
h2 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -.04em; }
h2 em { font-size: 1.06em; }
.section-lede { margin-top: 18px; max-width: 620px; font-size: 18px; color: var(--muted); }
.footnote { margin-top: 28px; max-width: 820px; font-size: 13.5px; line-height: 1.6; color: var(--dim); }

/* agents */
.agents { display: grid; gap: 40px; padding: 72px 0 96px; border-bottom: 1px solid var(--line); }
.agents h2 { font-size: clamp(30px, 4.4vw, 46px); }
.agents-copy > p:last-child { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 520px; }
.chips-h { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px; }
.chips-h:not(:first-child) { margin-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 8px 14px; border-radius: 99px; font-size: 15px; font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 236, 205, .06), rgba(255, 236, 205, .025)); box-shadow: inset 0 0 0 1px var(--line-2);
}
.chips-alt li { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* speed */
.speed { padding: 112px 0; }
.bench { display: grid; gap: 18px; margin-top: 48px; }
.bench-row { padding: 22px 22px 20px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.bench-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bench-head h3 { font-size: 17px; font-weight: 560; letter-spacing: -.015em; }
.bench-head .x { font: 600 14px/1 var(--mono); color: var(--gold); white-space: nowrap; }
.bar { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; font-size: 14px; }
.bar + .bar { margin-top: 8px; }
.bar .who { color: var(--muted); }
.bar.gs .who { color: var(--text); font-weight: 520; }
.tb { position: relative; height: 32px; display: flex; align-items: center; }
.tb .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; width: var(--w); transition: width 1.1s var(--ease); }
.bar.gs { --w: max(5px, calc(var(--a) / var(--b) * 100%)); }
.bar.t3 { --w: 100%; }
.bench:not(.in) .tb .fill { width: 0; }
.bar.gs .fill { background: linear-gradient(90deg, var(--gold-lo), var(--gold) 70%, var(--gold-hi)); box-shadow: 0 0 22px -2px rgba(242, 182, 63, .65); }
.bar.t3 .fill { background: rgba(255, 236, 205, .07); box-shadow: inset 0 0 0 1px var(--line); }
.tb b { position: relative; font: 600 15px/1 var(--mono); white-space: nowrap; transition: opacity .6s .7s; }
.bench:not(.in) .tb b { opacity: 0; }
.bar.gs b { margin-left: calc(var(--w) + 10px); color: var(--gold-hi); }
.bar.t3 b { margin-left: auto; padding-right: 12px; color: var(--muted); font-weight: 500; }

/* only here */
.only { padding: 112px 0; background: radial-gradient(70% 40% at 50% 0%, rgba(242, 170, 50, .07), transparent 70%); border-top: 1px solid var(--line); }
.feat { display: grid; gap: 28px; align-items: center; margin-top: 72px; }
.feat + .feat { margin-top: 96px; }
.num { display: inline-block; font: 500 13px/1 var(--mono); color: var(--gold); padding: 6px 9px; border-radius: 8px; background: rgba(242, 182, 63, .08); box-shadow: inset 0 0 0 1px rgba(242, 182, 63, .22); margin-bottom: 18px; }
.feat h3 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.035em; }
.feat-line { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.4vw, 26px); color: var(--gold-hi); line-height: 1.25; }
.feat-copy > p:last-child { margin-top: 16px; color: var(--muted); font-size: 16.5px; max-width: 470px; }
.feat-media { margin: 0; }
.feat-media.window video, .feat-media.window img { width: 100%; height: auto; }

/* telegram mock */
.tg {
  border-radius: 22px; overflow: hidden; max-width: 460px; width: 100%; justify-self: center;
  background: #0e1621; box-shadow: 0 0 0 1px rgba(150, 190, 255, .12), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 20px 80px -40px rgba(80, 140, 255, .3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", var(--sans);
}
.tg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #17212b; border-bottom: 1px solid rgba(0, 0, 0, .35); }
.tg-head img { border-radius: 50%; }
.tg-head b { display: block; font-size: 15px; font-weight: 600; }
.tg-head span { display: block; font-size: 13px; color: #7f91a4; line-height: 1.2; }
.tg-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 20px; min-height: 380px;
  background: radial-gradient(120% 80% at 80% 0%, rgba(80, 120, 180, .14), transparent 60%), #0e1621; }
.msg { margin: 0; max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.42; }
.msg.me { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 5px; color: #fff; font-weight: 500; }
.msg.bot { align-self: flex-start; background: #182533; border-bottom-left-radius: 5px; color: #e6edf3; }
.approval p + p { margin-top: 4px; }
.approval .i, .done .i { display: inline-block; vertical-align: -3px; margin-right: 6px; width: 16px; height: 16px; color: var(--gold); }
.done .i { color: #5fd38d; }
.approval pre { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: #0e1621; font: 13px/1.3 var(--mono); color: #9fd0ff; white-space: pre-wrap; }
.tg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.tg-btns span { padding: 8px 6px; border-radius: 9px; text-align: center; font-size: 13px; font-weight: 500; background: rgba(110, 160, 220, .14); color: #cfe3ff; transition: background .25s, box-shadow .25s; }
.tg-btns .wide { grid-column: 1 / -1; }
.tg.in .tg-btns .tapped { animation: tap 0.5s 3.6s both; }
@keyframes tap { 40% { background: rgba(110, 160, 220, .38); box-shadow: inset 0 0 0 1px rgba(160, 200, 255, .5); } }
.tg .msg { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tg.in .msg { opacity: 1; transform: none; }
.tg.in .msg:nth-child(2) { transition-delay: 1s; }
.tg.in .msg:nth-child(3) { transition-delay: 2.2s; }
.tg.in .msg:nth-child(4) { transition-delay: 4.3s; }

/* dock buddy demo */
.dock-demo {
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 20px 30px; border-radius: 22px;
  background: radial-gradient(80% 70% at 50% 30%, rgba(90, 120, 255, .14), transparent 70%), linear-gradient(180deg, var(--panel), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line);
}
.dock-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.dock { display: flex; align-items: flex-end; gap: 12px; padding: 10px 12px; border-radius: 26px;
  background: rgba(255, 240, 220, .06); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .12), 0 20px 40px -20px rgba(0, 0, 0, .8); }
.dock-app { width: 58px; height: 58px; border-radius: 15px; opacity: .55; }
.dock-app.a1 { background: linear-gradient(160deg, #3a3f4a, #20242b); }
.dock-app.a2 { background: linear-gradient(160deg, #5c4a30, #2c2216); }
.dock-app.a3 { background: linear-gradient(160deg, #2c3a4a, #18202b); }
.dock-tile { position: relative; width: 132px; height: 132px; border-radius: 30px; display: grid; place-items: center;
  background: radial-gradient(70% 70% at 50% 40%, #1f2a52, #0d1022); box-shadow: inset 0 0 0 1px rgba(140, 170, 255, .25), 0 10px 30px -10px rgba(70, 100, 255, .5); }
.sprite-lg { width: 118px; background-image: url("/img/speedster-lg.webp"); }
.dock-demo:not(.loaded) .sprite-lg { background-image: none; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center;
  background: #ff3b30; color: #fff; font: 600 15px/1 var(--sans); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.badge[hidden] { display: none; }
.dock-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 240, 220, .7); margin-top: 7px; }
.dock-state { font-size: 15px; color: var(--muted); min-height: 1.6em; }
.dock-state b { color: var(--text); font-weight: 600; margin-right: 6px; }
.moods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.moods button { cursor: pointer; border: 0; padding: 7px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 520; color: var(--muted);
  background: rgba(255, 236, 205, .04); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, background .2s, box-shadow .2s; }
.moods button:hover { color: var(--text); }
.moods button[aria-pressed="true"] { color: #1d1305; background: var(--gold); box-shadow: none; }

/* everything else */
.more { padding: 112px 0; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 14px; margin: 48px 0 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.tile { position: relative; padding: 22px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .25s; }
.tile:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.tile h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.tile p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ti { width: 26px; height: 26px; margin-bottom: 18px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile.big { padding: 0 0 22px; display: flex; flex-direction: column; }
.tile.big img { width: 100%; height: auto; max-height: 340px; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tile.big h3, .tile.big p { padding: 0 22px; }

/* people */
.people { padding: 112px 0; border-top: 1px solid var(--line); }
.quotes { display: grid; gap: 14px; margin: 48px 0 0; padding: 0; list-style: none; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font: italic 54px/0.6 var(--serif); color: var(--gold); margin-bottom: 8px; height: 22px; }
.q-wide blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.22; letter-spacing: -.01em; }
.q-wide blockquote::before { display: none; }
.who { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.who img { border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.who b { display: block; font-size: 14.5px; font-weight: 600; }
.who span span { display: block; font-size: 13.5px; color: var(--dim); }
.who:hover b { color: var(--gold-hi); }

/* star */
.star { padding: 112px 0; border-top: 1px solid var(--line); background: radial-gradient(60% 60% at 30% 50%, rgba(242, 170, 50, .1), transparent 70%); }
.star-in { display: grid; gap: 48px; align-items: center; }
.star-av { border-radius: 50%; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(242, 182, 63, .6); margin-bottom: 22px; }
.note { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -.02em; color: var(--text); }
.sig { margin-top: 16px; font: 500 14px/1.4 var(--mono); color: var(--dim); }
.sig a { color: var(--muted); }
.star-btn { margin-top: 30px; }
.star-btn .i { color: #1d1305; }
.cadence { padding: 26px; border-radius: 20px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; }
.stats .k { order: 2; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.stats .v { order: 1; font: 600 clamp(26px, 3.4vw, 36px)/1 var(--sans); letter-spacing: -.03em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.stats .s { order: 3; font-size: 13.5px; color: var(--muted); }
.chart { margin-top: 26px; }
.chart-svg { width: 100%; height: 120px; overflow: visible; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 8px; font: 500 12px/1 var(--mono); color: var(--dim); }
.chart-cap { margin-top: 14px; font-size: 13px; color: var(--dim); }
.chart-svg .base { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-svg .stem { stroke: rgba(242, 182, 63, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* needs */
.needs { padding: 112px 0; border-top: 1px solid var(--line); }
.needs-in { display: grid; gap: 40px; }
.needs-list { margin: 0; border-top: 1px solid var(--line); }
.needs-list div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.needs-list dt { font-weight: 600; font-size: 16px; }
.needs-list dd { margin: 0; color: var(--muted); font-size: 15.5px; }

/* download */
.download { padding: 112px 0; border-top: 1px solid var(--line); background: radial-gradient(60% 50% at 50% 0%, rgba(242, 170, 50, .08), transparent 70%); }
.dl-grid { display: grid; gap: 14px; margin-top: 44px; }
.dl-card { padding: 22px; border-radius: 18px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.dl-card.mine { box-shadow: inset 0 0 0 1px rgba(242, 182, 63, .5), 0 20px 60px -30px rgba(242, 182, 63, .4); }
.dl-card-head { display: flex; align-items: center; gap: 14px; }
.dl-card-head h3 { font-size: 20px; letter-spacing: -.02em; }
.dl-card-head p { font-size: 14px; color: var(--muted); }
.dl-card-head .os { width: 30px; height: 30px; color: var(--gold); }
.tag { margin-left: auto; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; color: var(--gold); background: rgba(242, 182, 63, .1); white-space: nowrap; }
.dl-rows { margin: 18px 0 0; padding: 0; list-style: none; }
.dl-rows li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "f btn" "sha sha"; gap: 6px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.dl-rows .f { grid-area: f; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dl-rows .f b { font-weight: 600; }
.dl-rows .f span { font: 500 13px/1 var(--mono); color: var(--dim); }
.dl-rows .btn { grid-area: btn; }
.sha { grid-area: sha; justify-self: start; border: 0; background: none; padding: 0; cursor: pointer; font: 500 12.5px/1.4 var(--mono); color: var(--dim); transition: color .2s; }
.sha:hover { color: var(--gold-hi); }
.sha.copied { color: #5fd38d; }
.dl-small { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: space-between; }
.dl-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; }
.dl-links a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.dl-links a:hover { color: var(--gold-hi); }

/* closer */
.closer { padding: 120px 0 112px; border-top: 1px solid var(--line); overflow: hidden; }
.closer::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 40%, rgba(242, 170, 50, .18), transparent 70%); pointer-events: none; }
.closer-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.closer-in img { border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 210, 140, .2), 0 30px 80px -20px rgba(242, 160, 40, .5); margin-bottom: 34px; }
.closer h2 { font-size: clamp(40px, 7vw, 76px); letter-spacing: -.045em; }
.closer p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; background: var(--bg-2); }
.foot-in { display: grid; gap: 32px; }
.nap { display: flex; align-items: center; gap: 14px; }
.sprite-nap { width: 72px; flex: none; filter: saturate(.85) brightness(.9); }
.nap p { font-size: 14.5px; color: var(--dim); font-style: italic; font-family: var(--serif); font-size: 19px; }
.credits { display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); max-width: 640px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; }
.foot-links a { color: var(--dim); text-decoration: none; }
.foot-links a:hover { color: var(--gold-hi); }

/* tour dialog */
.tour { padding: 0; border: 0; background: transparent; width: min(100% - 32px, 1200px); max-width: none; max-height: none; }
.tour::backdrop { background: rgba(6, 4, 2, .82); backdrop-filter: blur(6px); }
.tour-in { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px rgba(0, 0, 0, .8); background: #000; }
.tour video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.tour-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; background: rgba(15, 10, 6, .7); box-shadow: inset 0 0 0 1px var(--line-2); }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ≥ 640 */
@media (min-width: 640px) {
  .wrap { width: min(100% - 64px, var(--wrap)); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tile.big { grid-column: span 2; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .q-wide { grid-column: span 2; }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-rows li { grid-template-columns: 1fr auto auto; grid-template-areas: "f sha btn"; }
  .sha { justify-self: end; }
  .needs-list div { grid-template-columns: 220px 1fr; gap: 20px; }
}
/* ≥ 960 */
@media (min-width: 960px) {
  .hero { padding-top: 96px; }
  .agents { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; padding: 104px 0 112px; }
  .feat { grid-template-columns: 5fr 7fr; gap: 64px; }
  .feat.flip .feat-copy { order: 2; }
  .grid { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .tile.big { grid-column: span 2; grid-row: span 2; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .q-wide { grid-column: span 2; }
  .tile.big.right { grid-column: 3 / span 2; }
  .star-in { grid-template-columns: 6fr 5fr; gap: 72px; }
  .needs-in { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .needs-in > div:first-child { position: sticky; top: 112px; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: auto 1fr; gap: 64px; align-items: start; }
  .bench { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .brand > span { display: none; }
  .star-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .runner { width: 38px; bottom: 14px; }
  .btn-lg { width: 100%; }
  .hero-media { width: calc(100% - 24px); margin-top: 44px; }
  .dock-app.a1 { display: none; }
  .bar { grid-template-columns: 70px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}
