@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  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: "Geist";
  src: url("/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --bg: #0b0a09;
  --bg-2: #12100e;
  --bg-3: #1a1714;
  --line: rgba(237, 230, 218, .09);
  --line-2: rgba(237, 230, 218, .16);
  --text: #ede6da;
  --muted: #9a9187;
  --dim: #6b645c;
  --pulse: #ff5c48;
  --amber: #ffc478;
  --ok: #8fd6a4;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* static grain — texture, not motion */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .nav, .foot { position: relative; z-index: 1; }
a { color: inherit; }
em { font-style: normal; color: var(--pulse); }
h1, h2, h3 { margin: 0; font-weight: 520; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(30px, 4.4vw, 54px); max-width: 18ch; margin-bottom: 22px; }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 12px var(--pulse); display: inline-block; }

/* ───────── nav ───────── */
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 560; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--text); color: var(--bg); font: 560 15px/1 var(--sans); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-small { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); }

/* ───────── hero ───────── */
.hero { padding-top: clamp(24px, 5vh, 64px); }
.hero-copy h1 { font-size: clamp(42px, 7.4vw, 96px); max-width: 12ch; }
.lede { max-width: 54ch; color: var(--muted); font-size: clamp(17px, 1.5vw, 19.5px); margin-top: 24px; }

.scope { position: relative; height: clamp(220px, 31vh, 340px); margin-top: clamp(16px, 3vh, 36px); }
.scope-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: crosshair; }
.scope-label {
  position: absolute; top: 10px; display: flex; flex-direction: column; gap: 3px;
  font: 500 12px/1.2 var(--mono); letter-spacing: .04em; pointer-events: none;
}
.scope-label .k { color: var(--text); text-transform: uppercase; letter-spacing: .1em; }
.scope-label .v { color: var(--dim); }
.scope-left { left: 7%; }
.scope-right { right: 7%; text-align: right; align-items: flex-end; }
.scope-mid { left: 50%; transform: translateX(-50%); align-items: center; text-align: center; transition: color .3s; }
.scope-mid.is-hot .k { color: var(--amber); }
.scope-hint {
  position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; text-align: center;
  font: 400 12.5px/1 var(--mono); color: var(--dim); opacity: 0; transition: opacity 1.2s ease;
}
.scope-hint.is-on { opacity: 1; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.scope-static { display: none; position: absolute; inset: 22% 0; width: 100%; height: 56%; fill: none; }
.scope-static path { stroke: var(--pulse); stroke-width: 2; vector-effect: non-scaling-stroke; }
.scope-static .digital { stroke: var(--amber); stroke-dasharray: 2 9; opacity: .5; }

.readout {
  display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 8px; margin-bottom: 0;
  font: 400 13px/1.2 var(--mono); color: var(--muted);
}
.readout div { display: flex; gap: 10px; align-items: baseline; }
.readout dt { color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.readout dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }
.readout .zero dd { color: var(--ok); }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* ───────── sections ───────── */
.section { padding-top: clamp(96px, 15vh, 168px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > div > p { max-width: 50ch; }
.split-rev > :first-child { order: 2; }

.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 26px 26px 6px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step-n { display: block; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pulse); margin-bottom: 26px; }
.step:nth-child(2) .step-n { color: var(--amber); }
.step:nth-child(3) .step-n { color: var(--text); }
.step p { color: var(--muted); font-size: 15.5px; }

.ledger { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 0 8px; overflow: hidden; }
.ledger figcaption { font: 500 12px/1 var(--mono); color: var(--muted); padding: 0 20px 14px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.dot.live { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2.4s ease-in-out infinite; }
.ledger ol { list-style: none; margin: 0; padding: 4px 0; font: 400 12.5px/1.45 var(--mono); }
.ledger li {
  display: grid; grid-template-columns: 70px 64px 1fr auto; gap: 4px 12px; padding: 11px 20px;
  border-bottom: 1px solid var(--line);
}
.ledger li:last-child { border-bottom: 0; }
.ledger time { color: var(--dim); }
.ledger b { font-weight: 500; color: var(--text); }
.ledger code { color: var(--amber); font-family: inherit; overflow-wrap: anywhere; }
.ledger .out { grid-column: 3; color: var(--muted); }
.ledger .rc { grid-column: 4; grid-row: 1 / span 2; align-self: center; color: var(--dim); }
.ledger .deny code { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,92,72,.6); }
.ledger .deny .out { color: var(--pulse); }
.ledger li.is-new { animation: ledger-in .7s cubic-bezier(.2,.7,.2,1) both; }

.notif {
  justify-self: center; width: min(100%, 380px); padding: 16px 16px 12px;
  background: rgba(38, 34, 30, .72); border: 1px solid var(--line-2); border-radius: 22px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4);
}
.notif-head { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); color: var(--muted); letter-spacing: .04em; }
.notif-icon { width: 20px; height: 20px; }
.notif-time { margin-left: auto; letter-spacing: 0; }
.notif-title { font-weight: 600; margin: 12px 0 4px; letter-spacing: -0.01em; }
.notif-body { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.notif-body b { color: var(--text); font-weight: 500; }
.notif-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.na { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border-radius: 12px; background: rgba(237,230,218,.08); font-size: 15px; font-weight: 500; }
.na svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.na-yes { background: var(--text); color: var(--bg); }

.lab { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lab-top { display: flex; justify-content: space-between; align-items: baseline; }
.lab-top .k { font-weight: 560; font-size: 18px; }
.lab-top .by { font: 400 12px/1 var(--mono); color: var(--dim); }
.lab-f { display: block; margin: 14px 0 18px; padding: 10px 12px; border-radius: 10px; background: var(--bg-3); font: 400 12.5px/1.5 var(--mono); color: var(--amber); overflow-wrap: anywhere; }
.lab-val { display: flex; align-items: baseline; gap: 14px; }
.lab-val .big { font-size: 64px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.lab-val .delta { color: var(--ok); font: 400 13px/1 var(--mono); }
.spark { width: 100%; height: 48px; margin-top: 10px; }
.spark path { fill: none; stroke: var(--pulse); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

.trust { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust li { background: var(--bg); padding: 26px; }
.trust p { color: var(--muted); font-size: 15px; margin: 0; }

/* ───────── tap + waitlist ───────── */
.cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.tap h2 { max-width: 14ch; }
.tap-btn {
  position: relative; width: 168px; height: 168px; border-radius: 50%; margin: 10px 0 20px;
  border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 40%, #1d1916, var(--bg-2));
  color: var(--text); cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.tap-ring { position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--pulse); opacity: 0; }
.tap-btn.is-beat .tap-ring { animation: ring .7s ease-out; }
.tap-btn.is-beat { animation: thump .22s ease-out; }
.tap-num { font: 500 40px/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tap-num.is-word { font: 500 14px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tap-help { color: var(--muted); font-size: 15px; min-height: 24px; }
.tap-reply { font: 400 14px/1.6 var(--mono); color: var(--amber); min-height: 46px; max-width: 46ch; }
.tap-reply .gone { color: var(--ok); }
.tap-num.is-dissolving { animation: dissolve 1.4s ease-in forwards; }

.waitlist { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 32px; }
.waitlist h3 { font-size: 22px; }
.field { display: flex; gap: 8px; margin-top: 18px; }
.field input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: 400 16px/1 var(--sans);
}
.field input::placeholder { color: var(--dim); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 24px; margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--pulse); }

.faq details { border-top: 1px solid var(--line); max-width: 760px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 500; font-size: 18px; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 62ch; padding-bottom: 12px; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 120px; padding-bottom: 40px; font-size: 13.5px; color: var(--muted); }

/* ───────── motion (opt-in) ───────── */
@keyframes blink { 50% { opacity: .35; } }
@keyframes ledger-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }
@keyframes thump { 30% { transform: scale(.965); } }
@keyframes dissolve { to { opacity: 0; filter: blur(10px); letter-spacing: .3em; } }
@keyframes rise { from { opacity: 0; transform: translateY(8%); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot.live, .tap-btn.is-beat, .tap-btn.is-beat .tap-ring { animation: none; }
}
.no-canvas .scope-canvas { display: none; }
.no-canvas .scope-static { display: block; }

/* ───────── small screens ───────── */
@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .split, .cta { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0 4px; border-left: 0; border-bottom: 1px solid var(--line); }
  .step-n { margin-bottom: 14px; }
  .trust { grid-template-columns: 1fr; }
  .scope-left { left: 16px; }
  .scope-right { right: 16px; }
  .scope-label .v { display: none; }
  .readout { gap: 8px 22px; }
  .ledger li { grid-template-columns: 62px 1fr auto; }
  .ledger b { grid-column: 2; }
  .ledger code { grid-column: 1 / -1; }
  .ledger .out { grid-column: 1 / 3; }
  .ledger .rc { grid-column: 3; grid-row: 1; }
}
@media (max-width: 420px) {
  .field { flex-direction: column; }
  .field .btn { width: 100%; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
