/*
  Palette provenance: k-means (k=9, seed 7, 25 iterations) over every 3rd pixel of
  reference/SAMPUL PAYVACY PNG.jpg.jpeg and reference/PAYVACY 1.jpg.jpeg. Each centroid
  was snapped to the nearest real pixel; the coordinate is noted beside the literal.
  This is the only file in the project that may hold colour literals.
*/
:root {
  --c-void: #020404;      /* SAMPUL PAYVACY PNG @ 300,3 */
  --c-deep: #050e09;      /* SAMPUL PAYVACY PNG @ 129,21 */
  --c-surface: #0b1810;   /* SAMPUL PAYVACY PNG @ 84,111 */
  --c-surface-2: #102716; /* SAMPUL PAYVACY PNG @ 1392,159 */
  --c-forest: #1e3d1f;    /* SAMPUL PAYVACY PNG @ 1032,147 */
  --c-moss: #37612f;      /* SAMPUL PAYVACY PNG @ 252,132 */
  --c-sage: #689745;      /* SAMPUL PAYVACY PNG @ 1383,282 */
  --c-lime: #b0d876;      /* PAYVACY 1 @ 918,501 */
  --c-ink: #f2f7e5;       /* PAYVACY 1 @ 675,342 */
  --c-accent: #92f664;    /* PAYVACY 1 @ 232,30 (wordmark pixel) */

  --bg: var(--c-void);
  --bg-2: var(--c-deep);
  --surface: var(--c-surface);
  --surface-2: var(--c-surface-2);
  --text: var(--c-ink);
  --muted: color-mix(in srgb, var(--c-ink) 62%, var(--c-void));
  --faint: color-mix(in srgb, var(--c-ink) 38%, var(--c-void));
  --accent: var(--c-accent);
  --accent-soft: var(--c-lime);
  --accent-ink: var(--c-void);
  --line: color-mix(in srgb, var(--c-ink) 8%, transparent);
  --line-strong: color-mix(in srgb, var(--c-ink) 16%, transparent);
  --glow: color-mix(in srgb, var(--c-accent) 18%, transparent);

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-sweep: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-reveal: 700ms;
}

@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; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.section { padding-block: 96px; scroll-margin-top: 128px; }
@media (min-width: 768px) { .section { padding-block: 112px; } }
.section--band { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.h2 { font-size: clamp(32px, 8.4vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; max-width: 720px; margin-top: 16px; text-wrap: balance; }
.lede { color: var(--muted); font-size: 17px; max-width: 560px; margin-top: 20px; }
.head { margin-bottom: 48px; }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--c-moss), var(--accent), var(--accent-soft)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background var(--dur-base) var(--ease-out-quint), border-color var(--dur-base); border-bottom: 1px solid transparent; }
.top.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 56px; }
@media (min-width: 768px) { .top-row { height: 64px; } }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand img { width: 28px; height: 28px; }
.brand span { font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.nav { display: none; align-items: center; gap: 4px; margin-left: 16px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color var(--dur-fast), background var(--dur-fast); }
.nav a:hover { color: var(--text); background: var(--line); }
.socials { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--text); border: 1px solid var(--line); transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-base) var(--ease-out-quint); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
a.social:hover { background: var(--line); border-color: var(--line-strong); transform: translateY(-1px); }
.social.is-inert { color: var(--faint); cursor: not-allowed; border-style: dashed; }

/* ---------- CA slot ---------- */
.ca-bar { position: fixed; inset: 56px 0 auto 0; z-index: 45; }
@media (min-width: 768px) { .ca-bar { inset-block-start: 64px; } }
.ca { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; width: 100%; min-height: 56px; margin-top: 8px; padding: 10px 16px; text-align: left; border-radius: 16px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base); }
.ca-label { grid-column: 1 / -1; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ca-value { font-family: "Geist Mono", monospace; font-size: clamp(14px, 3.7vw, 26px); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; word-break: break-all; }
.ca-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ca-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button.ca:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent), 0 10px 40px -12px var(--glow); }
button.ca.is-done { border-color: var(--accent); }
.ca.is-inert .ca-value { color: var(--faint); font-family: "Geist", sans-serif; font-size: clamp(18px, 4vw, 26px); letter-spacing: 0; }
.ca.is-inert { border-style: dashed; grid-template-columns: 1fr; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100dvh; overflow: hidden; }
.mesh { position: absolute; inset: 0; z-index: -3; background: var(--bg); }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.mesh .m1 { width: 780px; height: 780px; left: -200px; top: -120px; background: radial-gradient(circle, color-mix(in srgb, var(--c-moss) 70%, transparent), transparent 68%); animation: drift-a 22s ease-in-out infinite alternate; }
.mesh .m2 { width: 640px; height: 640px; right: -140px; top: 120px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%); animation: drift-b 26s ease-in-out infinite alternate; }
.mesh .m3 { width: 720px; height: 520px; left: 24%; bottom: -220px; background: radial-gradient(ellipse, color-mix(in srgb, var(--c-forest) 90%, transparent), transparent 70%); animation: drift-c 30s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(160px, 90px, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-180px, 80px, 0) scale(0.9); } }
@keyframes drift-c { to { transform: translate3d(-120px, -60px, 0) scale(1.2); } }
.grid-lines { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, var(--text) 20%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, var(--text) 20%, transparent 72%); }
.layer { position: absolute; z-index: -1; will-change: transform; pointer-events: none; }
.ring { border-radius: 50%; border: 1px solid var(--line-strong); }
.ring.r1 { width: 520px; height: 520px; right: 6%; top: 18%; }
.ring.r2 { width: 340px; height: 340px; right: 14%; top: 30%; border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.ring.r3 { width: 160px; height: 160px; left: 52%; bottom: 10%; border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.emblem { right: max(2%, calc(50% - 560px)); top: 50%; width: min(440px, 52vw); aspect-ratio: 1; margin-top: -220px; opacity: 0.9; background: linear-gradient(160deg, var(--accent-soft), var(--accent) 45%, var(--c-moss)); -webkit-mask: url("logo-512.png") center / contain no-repeat; mask: url("logo-512.png") center / contain no-repeat; filter: drop-shadow(0 0 48px var(--glow)); }
@media (max-width: 899px) { .emblem { opacity: 0.16; right: -14%; width: 88vw; margin-top: -44vw; } .ring.r1 { right: -30%; } }
.hero-inner { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-block: 200px 120px; }
.pill { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 32px; padding: 6px 12px; margin-bottom: 28px; border-radius: 999px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 40%, transparent); font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite; }
.pill[data-state="retry"] .dot, .pill[data-state="idle"] .dot { background: var(--faint); }
.pill[data-state="retry"] .dot::after, .pill[data-state="idle"] .dot::after { animation: none; opacity: 0; }
@keyframes ping { 75%, 100% { opacity: 0; transform: scale(2.4); } }
.h1 { font-size: clamp(46px, 12.4vw, 88px); font-weight: 500; line-height: 0.98; letter-spacing: -0.04em; max-width: 760px; text-wrap: balance; }
.h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent-soft), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 18px; max-width: 520px; margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding-inline: 24px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: transform var(--dur-base) var(--ease-out-quint), background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-base); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -10px var(--glow), 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.btn--ghost { border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 30%, transparent); }
.btn--ghost:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: var(--line); }
.hero-panel { position: absolute; right: 16px; bottom: 32px; display: none; gap: 24px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@media (min-width: 1100px) { .hero-panel { display: flex; right: max(16px, calc(50% - 604px)); } }
.mini small { display: block; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mini b { display: block; margin-top: 4px; font-family: "Geist Mono", monospace; font-size: 22px; font-weight: 500; }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 80%, transparent); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; flex: none; }
.tick { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 24px; border-right: 1px solid var(--line); font-family: "Geist Mono", monospace; font-size: 13px; white-space: nowrap; }
.tick b { font-weight: 500; }
.tick .up { color: var(--accent); }
.tick .down { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards / spotlight ---------- */
.card { position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: 28px; transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out-quint); }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%); opacity: 0; transition: opacity var(--dur-base); pointer-events: none; }
.spot:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 18px; font-weight: 500; margin-top: 20px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.icon-box { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.icon-box svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- exposure ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; margin-top: 36px; padding: 8px 20px 8px 8px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; }
.switch-track { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--line-strong); transition: background var(--dur-base); flex: none; }
.switch-track::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: transform 500ms var(--ease-out-quint); }
.switch[aria-checked="true"] .switch-track { background: var(--accent); }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(20px); background: var(--accent-ink); }
.ledger { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 10px; border-radius: 999px; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); transition: background var(--dur-base), color var(--dur-base); }
.tag--muted { background: var(--line); color: var(--muted); }
.lrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.lrow:last-child { border-bottom: 0; }
.lrow b { font-weight: 500; font-size: 15px; }
.lrow .path { grid-column: 1; display: flex; align-items: center; gap: 8px; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }
.lrow .path i { font-style: normal; color: var(--faint); }
.who { transition: color var(--dur-base), opacity var(--dur-base); }
.ledger[data-mode="traceable"] .who--src { color: var(--accent); }
.ledger[data-mode="masked"] .who--src { color: var(--faint); letter-spacing: 0.2em; }
.bar { grid-column: 2; grid-row: 1 / span 2; width: 72px; height: 8px; border-radius: 999px; background: var(--line-strong); overflow: hidden; }
.bar::after { content: ""; display: block; height: 100%; width: var(--w, 50%); background: var(--accent); border-radius: inherit; transition: opacity var(--dur-base), width 700ms var(--ease-out-quint); }
.ledger[data-mode="masked"] .bar::after { opacity: 0.25; width: 100%; }

/* ---------- flow ---------- */
.flow { display: grid; gap: 40px; }
@media (min-width: 1000px) { .flow { grid-template-columns: 0.8fr 1.2fr; gap: 40px; } }
.steps { display: grid; }
.step { padding-block: 40px; opacity: 0.45; transition: opacity 500ms var(--ease-out-quint); }
@media (min-width: 1000px) { .step { min-height: 440px; display: flex; flex-direction: column; justify-content: center; } }
.step.is-active { opacity: 1; }
.step .n { font-family: "Geist Mono", monospace; font-size: 13px; color: var(--accent); }
.step h3 { font-size: clamp(26px, 6vw, 34px); font-weight: 500; letter-spacing: -0.02em; margin-top: 12px; }
.step p { color: var(--muted); margin-top: 12px; max-width: 420px; }
.stage { display: none; position: sticky; top: 112px; height: 70vh; min-height: 460px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; align-self: start; }
@media (min-width: 1000px) { .stage { display: block; } }
.stage svg { width: 100%; height: 100%; }
.stage .node { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.5; transition: stroke 500ms, fill 500ms; }
.stage .node.on { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 10%, var(--surface-2)); }
.stage .label { fill: var(--muted); font-family: "Geist Mono", monospace; font-size: 13px; letter-spacing: 0.1em; text-anchor: middle; }
.stage .pipe { stroke: var(--line-strong); stroke-width: 2; fill: none; stroke-dasharray: 3 7; transition: stroke 500ms; }
.stage .pipe.on { stroke: var(--accent); animation: flowdash 1.2s linear infinite; }
.stage .halo { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-origin: 400px 250px; transition: opacity 500ms; }
.stage .halo.on { opacity: 0.6; animation: halo 2.4s ease-out infinite; }
@keyframes flowdash { to { stroke-dashoffset: -20; } }
@keyframes halo { from { transform: scale(0.7); opacity: 0.7; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- market ---------- */
.board { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.board-head, .mrow { display: grid; align-items: center; gap: 12px; padding-inline: 20px; }
.board-head { min-height: 48px; border-bottom: 1px solid var(--line); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cols { grid-template-columns: 32px minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr) 44px; }
.mrow { position: relative; isolation: isolate; min-height: 72px; border-bottom: 1px solid var(--line); transition: background var(--dur-fast); }
.mrow:last-child { border-bottom: 0; }
.mrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 62%); opacity: 0; transition: opacity var(--dur-base); pointer-events: none; }
.mrow:hover::before { opacity: 1; }
.rank { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--faint); }
.tk { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tile { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-strong); font-weight: 600; color: var(--accent); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-name { min-width: 0; }
.tk-name b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-name span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { font-family: "Geist Mono", monospace; font-size: 14px; white-space: nowrap; }
.num.up { color: var(--accent); }
.num.down { color: var(--muted); }
.flash-up { animation: flash-up 900ms var(--ease-out-quint); }
.flash-down { animation: flash-down 900ms var(--ease-out-quint); }
@keyframes flash-up { from { background: color-mix(in srgb, var(--accent) 34%, transparent); } to { background: transparent; } }
@keyframes flash-down { from { background: color-mix(in srgb, var(--c-ink) 20%, transparent); } to { background: transparent; } }
.num { border-radius: 6px; padding: 2px 4px; margin-left: -4px; }
.copy-mini { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast); }
.copy-mini svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-mini:hover { color: var(--text); border-color: var(--line-strong); background: var(--line); }
.copy-mini.is-done { color: var(--accent); border-color: var(--accent); }
.board-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 20px; border-top: 1px solid var(--line); font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }
.board-foot .err { color: var(--text); }
.skel { position: relative; overflow: hidden; border-radius: 8px; background: var(--line); min-height: 14px; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c-ink) 10%, transparent), transparent); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.fade-in { animation: fade-in 600ms var(--ease-out-quint) both; animation-delay: var(--d, 0ms); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .board-head { display: none; }
  .cols { grid-template-columns: 24px minmax(0, 1fr) auto 44px; grid-template-areas: "rk tk px cp" "rk tk ch cp"; padding-block: 14px; row-gap: 6px; }
  .mrow > .rank { grid-area: rk; } .mrow > .tk { grid-area: tk; } .mrow > [data-f="price"] { grid-area: px; justify-self: end; } .mrow > [data-f="chg"] { grid-area: ch; justify-self: end; }
  .mrow > [data-f="vol"] { grid-column: 2 / 3; font-size: 12px; color: var(--muted); } .mrow > [data-f="liq"] { grid-column: 3 / 5; justify-self: end; font-size: 12px; color: var(--muted); } .mrow > .copy-mini { grid-area: cp; }
  .mrow > [data-f="vol"]::before { content: "Vol "; } .mrow > [data-f="liq"]::before { content: "Liq "; }
  .mrow { min-height: 0; }
}

/* ---------- strip / tiles ---------- */
.strip { display: grid; gap: 1px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--line); margin-top: 24px; }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.tilebox { position: relative; isolation: isolate; padding: 28px; background: var(--surface); min-height: 140px; }
.tilebox small { display: block; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tilebox b { display: block; margin-top: 14px; font-size: clamp(24px, 6vw, 34px); font-weight: 500; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.tilebox p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.tilebox .skel { height: 34px; width: 60%; margin-top: 14px; }

/* ---------- three traces ---------- */
.three { display: grid; gap: 16px; }
@media (min-width: 800px) { .three { grid-template-columns: repeat(3, 1fr); } }
.three .card h3 { font-size: 22px; letter-spacing: -0.02em; }

/* ---------- bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-big { grid-column: span 4; grid-row: span 2; } .b-side { grid-column: span 2; } .b-half { grid-column: span 3; } }
.b-big { min-height: 380px; overflow: hidden; padding: 32px; }
.b-big h3 { font-size: 24px; letter-spacing: -0.02em; margin-top: 0; position: relative; }
.b-big .blob { position: absolute; right: -96px; top: -96px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 68%); z-index: -1; }
.sign { position: relative; margin-top: 32px; max-width: 460px; padding: 20px; border-radius: 16px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--bg) 80%, transparent); }
.sign p { margin: 0 0 18px; font-size: 14px; color: var(--text); }
.sign .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sign span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: 13px; }
.sign span:last-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; position: relative; overflow: hidden; }
.sign span:last-child::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c-ink) 45%, transparent), transparent); animation: sweep 2.8s var(--ease-sweep) infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.chip-inert { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 16px; border-radius: 999px; border: 1px dashed var(--line-strong); font-family: "Geist Mono", monospace; font-size: 12px; color: var(--faint); }
.chip-inert em { font-style: normal; color: var(--muted); }
.row-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
a.chip-live { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; transition: background var(--dur-fast), border-color var(--dur-fast); }
a.chip-live:hover { background: var(--line); border-color: var(--accent); }

/* ---------- token ---------- */
.token-grid { display: grid; gap: 16px; }
.ca-card { display: grid; gap: 16px; margin-top: 16px; }
.ca-card .ca-value { word-break: break-all; }
@media (min-width: 800px) { .ca-card { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- faq ---------- */
.faq { max-width: 900px; margin-inline: auto; border-block: 1px solid var(--line); margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 18px; text-align: left; font-size: clamp(17px, 4.4vw, 20px); font-weight: 500; }
.faq-q i { position: relative; flex: none; width: 20px; height: 20px; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; border-radius: 2px; background: var(--muted); transition: transform 500ms var(--ease-out-quint), background var(--dur-fast); }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i::after { transform: rotate(0); }
.faq-item.is-open .faq-q i::before, .faq-item.is-open .faq-q i::after { background: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms var(--ease-out-quint); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding-bottom: 22px; max-width: 720px; }

/* ---------- cta + footer ---------- */
.cta { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 66%); max-width: 140vw; }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: 112px; }
.cta img { width: 56px; height: 56px; }
.cta .h2 { font-size: clamp(36px, 9.6vw, 64px); letter-spacing: -0.035em; text-align: center; margin-top: 32px; }
.cta .btn { margin-top: 40px; min-height: 52px; font-size: 16px; padding-inline: 32px; }
.foot { border-top: 1px solid var(--line); padding-block: 64px 48px; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot p { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 16px; }
.foot h4 { margin: 0 0 8px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 400; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a, .foot li span { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); }
.foot li a:hover { color: var(--text); }
.foot p a { display: inline-flex; align-items: center; min-height: 44px; }
.foot li span em { font-style: normal; color: var(--faint); margin-left: 8px; font-family: "Geist Mono", monospace; font-size: 12px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; will-change: transform, opacity; }
.no-js [data-reveal], .reduce [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- reduced motion: zero motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker { overflow-x: auto; }
  .ticker-set[aria-hidden="true"] { display: none; }
  .mesh i { transform: none !important; }
  .layer { transform: none !important; }
}
