/* Kudos: design tokens (mint / emerald / ink) */
:root {
  --paper: #f1f8f3;
  --paper-2: #e6f2ea;
  --paper-3: #d7e9de;
  --ink: #201d1d;
  --ink-2: #3f4a44;
  --ink-3: #6f7f76;
  --bronze-100: #e3f5e9;
  --bronze-200: #c6ecd4;
  --bronze-300: #9adcb4;
  --bronze-400: #6ccf91;
  --bronze-600: #2fb36a;
  --bronze-700: #23955a;
  --bronze-800: #1c6b45;
  --bronze-900: #1c4839;
  --green: #2fb36a;
  --green-bright: #6fe09a;
  --green-deep: #1c4839;
  --patina-400: #8cc3ba;
  --patina-500: #66aaa0;
  --patina-600: #4c9187;
  --patina-700: #3a736b;
  --patina-800: #2b5751;
  --patina-900: #1d3b37;
  --neon: #c9ff3f;
  --neon-2: #b8f22e;
  --line: rgba(28, 72, 57, 0.14);
  --line-strong: rgba(28, 72, 57, 0.26);
  --line-patina: rgba(43, 87, 81, 0.22);
  --font-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-display: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;
  --font-brand: "Outfit", var(--font-sans);
  --font-dm: "DM Sans", var(--font-sans);
  --grid-size: 64px;
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --shadow-btn: 0 1px 2px rgba(20, 17, 14, 0.18), 0 10px 22px -10px rgba(28, 72, 57, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --shadow-card: 0 1px 2px rgba(28, 72, 57, 0.05), 0 24px 48px -28px rgba(28, 72, 57, 0.35);
  --glass-dark: rgba(0, 0, 0, 0.38);
  --glass-light: rgba(255, 255, 255, 0.55);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 15px;
  overflow-x: hidden;
}
::selection { background: rgba(111, 224, 154, 0.55); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.display { font-family: var(--font-display); letter-spacing: -0.02em; font-optical-sizing: auto; font-weight: 400; line-height: 1; }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; line-height: 1; }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-700); }
.eyebrow.patina { color: var(--patina-700); }
.wrap { width: min(1088px, calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* gradient ticker */
.foil {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.01em;
  background-image: linear-gradient(100deg, var(--green-deep) 0%, var(--bronze-700) 20%, var(--green-bright) 38%, var(--bronze-700) 52%, var(--green-deep) 70%, var(--bronze-600) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil-drift 14s linear infinite;
}
@keyframes foil-drift { to { background-position: 200% 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.sheen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 46%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0.18) 54%, transparent 70%);
  transform: translateX(-100%); animation: sheen-sweep 5.5s var(--ease) 1.2s infinite;
}
@keyframes sheen-sweep { 0% { transform: translateX(-100%); } 28%, 100% { transform: translateX(100%); } }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 1px 2px rgba(28,72,57,.2), 0 12px 24px -12px rgba(47,179,106,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-green:hover { background: var(--bronze-700); transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, 0.6); color: var(--ink); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-secondary:hover { background: #fff; border-color: var(--bronze-600); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* Glass pills (zero-style HUD) */
.glass {
  background: var(--glass-dark); color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: saturate(120%) blur(14px); backdrop-filter: saturate(120%) blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 999px; position: relative;
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.4), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass-light {
  background: rgba(255, 255, 255, 0.62); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 2px rgba(28,72,57,.06), 0 20px 50px -30px rgba(28,72,57,.35), inset 0 1px 0 rgba(255,255,255,.9);
}

/* Nav (inner pages) */
.nav { position: sticky; top: 0; z-index: 40; height: 64px; border-bottom: 1px solid var(--line); background: rgba(241, 248, 243, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand .sub { font-family: var(--font-sans); font-weight: 400; font-size: 14px; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; justify-content: center; font-size: 14px; color: var(--ink-3); }
.nav-links a { transition: color 0.15s; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; justify-content: flex-end; }
@media (max-width: 720px) { .nav .wrap { grid-template-columns: 1fr auto; } .nav-links { display: none; } }

/* ============ JOURNEY (home) ============ */
.journey-page { background: #e9f4ee; }
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky-img { position: absolute; inset: -4%; background: url("/img/sky.webp") center / cover no-repeat, linear-gradient(#f4faf6, #d6ebe0); transform: translateZ(0); }
.sky-tint { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.sky-tint.t0 { background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%); }
.sky-tint.t1 { background: linear-gradient(180deg, rgba(178,226,212,.55), rgba(255,255,255,.15) 60%, rgba(214,238,225,.6)); }
.sky-tint.t2 { background: radial-gradient(ellipse 45% 55% at 50% 55%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%), linear-gradient(180deg, rgba(210,238,222,.45), rgba(255,255,255,.2)); }
.sky-tint.t3 { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(233,244,238,.85)); }
.sky-tint.t4 { background: linear-gradient(180deg, rgba(233,244,238,.9), #eef6f1 40%); }
.journey-page[data-stage="0"] .t0, .journey-page[data-stage="1"] .t1, .journey-page[data-stage="2"] .t2, .journey-page[data-stage="3"] .t3, .journey-page[data-stage="4"] .t4 { opacity: 1; }
.rays { position: absolute; inset: -20% -10% 0; background: repeating-linear-gradient(112deg, rgba(255,255,255,0) 0 60px, rgba(255,255,255,.28) 60px 90px, rgba(255,255,255,0) 90px 190px); -webkit-mask-image: linear-gradient(180deg, #fff, transparent 70%); mask-image: linear-gradient(180deg, #fff, transparent 70%); opacity: .7; transform: translateZ(0); }
.grain { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(rgba(28,72,57,.14) .7px, transparent .8px); background-size: 5px 5px; }
.petal { position: absolute; width: 34px; height: 34px; background: url("/img/mark-128.png") center / contain no-repeat; opacity: 0; will-change: transform; animation: petal-fall var(--d, 18s) linear var(--delay, 0s) infinite; left: var(--x); top: -6%; filter: blur(var(--b, 0px)) drop-shadow(0 6px 8px rgba(28,72,57,.2)); }
@keyframes petal-fall { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(var(--s, 1)); opacity: 0; } 8% { opacity: .75; } 92% { opacity: .75; } 100% { transform: translate3d(var(--dx, 60px), 112vh, 0) rotate(560deg) scale(var(--s, 1)); opacity: 0; } }

/* HUD */
.hud { position: fixed; inset: 0 0 auto 0; z-index: 30; height: 0; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-round { position: absolute; top: 16px; left: 20px; width: 42px; height: 42px; display: grid; place-items: center; }
.hud-round img { width: 26px; height: 26px; object-fit: contain; }
.hud-credits { position: absolute; top: 16px; right: 20px; height: 42px; padding: 0 16px 0 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hud-credits .spark { color: #ffd45c; font-size: 14px; }
.hud-credits small { font-size: 12px; opacity: .7; font-weight: 400; }
.hud-credits.ripple::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid rgba(255,200,50,.9); animation: xp-glow 1.6s ease-out; pointer-events: none; }
@keyframes xp-glow { 0% { opacity: 0; transform: scale(1); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(1.35); } }
.ruler { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 320px; height: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10% 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10% 90%, transparent); }
.ruler-track { position: absolute; top: 0; left: 50%; height: 100%; will-change: transform; }
.tick { position: absolute; top: 4px; width: 1px; height: 8px; background: rgba(32, 29, 29, 0.3); transform-origin: top; }
.tick.major { height: 16px; background: rgba(32, 29, 29, 0.55); }
.tick.major span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(32,29,29,.55); white-space: nowrap; transition: color .3s; }
.tick.major.on span { color: var(--ink); }
.ruler-needle { position: absolute; top: 2px; left: 50%; width: 2px; height: 20px; background: var(--ink); transform: translateX(-50%); border-radius: 2px; }
.ruler-nav { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 22px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.ruler:hover .ruler-nav { opacity: 1; pointer-events: auto; }
.ruler:hover .ruler-track, .ruler:hover .ruler-needle { opacity: 0; }
.ruler:hover { -webkit-mask-image: none; mask-image: none; }
.ruler-nav button { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(32,29,29,.6); padding: 6px 2px; }
.ruler-nav button:hover, .ruler-nav button.on { color: var(--ink); }

/* Section header shown after the journey */
.subnav {
  position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 32;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 20px;
  background: rgba(241, 248, 243, 0.78); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease-out-strong), opacity .35s var(--ease);
}
.details-mode .subnav { transform: none; opacity: 1; pointer-events: auto; }
.hud .ruler, .hud .hud-round, .hud .hud-credits { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.details-mode .hud .ruler, .details-mode .hud .hud-round, .details-mode .hud .hud-credits { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.subnav .brand { font-size: 18px; }
.subnav .brand img { width: 26px; height: 26px; }
.subnav-links { display: flex; gap: 4px; justify-content: center; }
.subnav-links a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-3); transition: color .2s, background .2s; white-space: nowrap; }
.subnav-links a:hover { color: var(--ink); background: rgba(255,255,255,.55); }
.subnav-links a.on { color: var(--ink); background: rgba(255,255,255,.8); box-shadow: 0 1px 2px rgba(28,72,57,.08), inset 0 0 0 1px rgba(255,255,255,.9); }
.subnav-links a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--green); }
.subnav-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.subnav-credits { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.subnav-credits .spark { color: #ffd45c; font-size: 12px; }
.subnav-credits small { font-size: 11px; opacity: .7; font-weight: 400; }
.subnav-top { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 2px rgba(28,72,57,.08); }
.subnav-top svg { width: 14px; height: 14px; }
.details section.block, .cta-final, #faq { scroll-margin-top: 76px; }
@media (max-width: 860px) {
  .subnav { grid-template-columns: auto 1fr auto; gap: 10px; padding: 0 12px; height: 56px; }
  .subnav .brand { font-size: 0; gap: 0; }
  .subnav .brand img { width: 28px; height: 28px; }
  .subnav-links { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
  .subnav-links::-webkit-scrollbar { display: none; }
  .subnav-links a { padding: 7px 11px; font-size: 13px; }
  .subnav-credits small { display: none; }
  .subnav-top { display: none; }
}

/* Dock */
.dock { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; }
.dock-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #dfeee5, #b8dcc8); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 6px rgba(28,72,57,.2); }
.dock-round img { width: 26px; height: 26px; object-fit: contain; }
.dock-main { height: 44px; min-width: 260px; white-space: nowrap; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1); transition: transform .18s var(--ease), background .18s; }
.dock-main:hover { background: #000; transform: translateY(-1px); }
.dock-main svg { width: 16px; height: 16px; }
.dock-menu { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 3px rgba(28,72,57,.18); }
.dock-menu svg { width: 16px; height: 16px; }
.dock-dropdown { position: absolute; bottom: calc(100% + 10px); right: 0; min-width: 190px; padding: 7px; border-radius: 16px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.dock.open .dock-dropdown { opacity: 1; pointer-events: auto; transform: none; }
.dock-dropdown a { padding: 9px 12px; border-radius: 10px; font-size: 14px; color: rgba(255,255,255,.9); display: flex; justify-content: space-between; align-items: center; }
.dock-dropdown a:hover { background: rgba(255,255,255,.12); }
.dock-dropdown a small { font-family: var(--font-mono); font-size: 10px; opacity: .55; }
@media (max-width: 640px) {
  .dock { bottom: 14px; }
  .dock-main { min-width: 0; padding: 0 20px; font-size: 14px; }
  .ruler { width: 170px; }
  .hud-credits { padding: 0 12px; font-size: 13px; }
  .hud-credits small { display: none; }
}

/* Stages */
.journey { position: relative; z-index: 1; }
.stage { height: 190vh; position: relative; }
.stage:first-child { height: 170vh; }
.stage:last-child { height: 160vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 74px 0 92px; }
.s0 .pin { padding-bottom: 142px; }
.pin > * { min-width: 0; max-width: 100%; }
.stage-content { --in: min(calc(var(--p, 0) * 3.4), 1); --out: min(calc((1 - var(--p, 0)) * 3.4), 1); opacity: calc(var(--in) * var(--out)); transform: translate3d(0, calc((0.5 - var(--p, 0)) * 90px), 0) scale(calc(0.985 + var(--in) * 0.015)); text-align: center; width: min(1000px, calc(100% - 40px)); min-width: 0; will-change: transform, opacity; }
.s2 .stage-content .h { font-size: min(clamp(50px, 8.6vw, 112px), 12vh); }
.s3 .stage-content .h { font-size: min(clamp(50px, 8.6vw, 112px), 12vh); }
.stage:first-child .stage-content { --in: 1; }
.stage-content .h { font-size: min(clamp(56px, 10.5vw, 132px), 14vh); line-height: .92; color: var(--green-deep); text-shadow: 0 2px 30px rgba(255,255,255,.7); }
.stage-content .h .script { font-size: 1.22em; display: inline-block; background: linear-gradient(160deg, var(--green-deep), var(--bronze-700) 55%, var(--bronze-600)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em .12em; margin: 0 -.04em; }
.stage-content .h .serif { font-family: var(--font-display); letter-spacing: -0.03em; }
.stage-content .h .ink { color: var(--ink); }
.stage-content .lede { font-size: clamp(15px, 1.6vw, 19px); color: var(--ink-2); max-width: 460px; margin: clamp(14px, 2.6vh, 26px) auto 0; line-height: 1.5; }
.stage-content .lede b { font-weight: 500; color: var(--ink); }
.stage-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-800); background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.85); border-radius: 999px; backdrop-filter: blur(10px); margin-bottom: clamp(14px, 2.6vh, 26px); }
.stage-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(47,179,106,.2); animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; box-shadow: 0 0 0 5px rgba(47,179,106,.12); } }
.scroll-hint { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); height: 40px; padding: 0 22px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.92); opacity: calc(1 - min(var(--p, 0) * 4, 1)); }
.scroll-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0% { transform: translateY(0); } 15% { transform: translateY(-5px); } 35% { transform: translateY(5px); } 50%, 100% { transform: translateY(0); } }

/* Holographic sentence (hero) */
.holo-lede { max-width: 560px; font-weight: 500; }
.holo {
  display: inline;
  background-image: linear-gradient(100deg, #1c4839 0%, #2fb36a 14%, #8ff0c9 26%, #cfe6ff 36%, #d9c4ff 46%, #9be9d8 56%, #2fb36a 68%, #1c4839 80%, #6fe09a 92%, #1c4839 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo-sweep 7s linear infinite;
  filter: drop-shadow(0 0 10px rgba(143, 240, 201, 0.35));
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@keyframes holo-sweep { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@media (prefers-reduced-motion: reduce) { .holo { animation: none; } }

/* Stage 0 hero mark (in flow, above the headline) */
.hero-mark { width: clamp(120px, 24vh, 240px); margin: 0 auto 18px; transform: translate3d(0, calc(var(--p, 0) * -140px), 0) rotate(calc(var(--p, 0) * 40deg)) scale(calc(1 - var(--p, 0) * .25)); opacity: calc(1 - var(--p, 0) * 1.4); filter: drop-shadow(0 24px 30px rgba(28,72,57,.3)); will-change: transform; pointer-events: none; }
.hero-mark img { animation: mark-spin 40s linear infinite; }
@keyframes mark-spin { to { transform: rotate(360deg); } }
.hero-glow { position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 65%); pointer-events: none; }
.s0 .stage-content { position: relative; }
@media (max-width: 720px) { .hero-mark { width: clamp(110px, 20vh, 180px); margin-bottom: 14px; } }

@media (max-height: 940px) {
  .stage-content .h { font-size: min(clamp(50px, 9.5vw, 120px), 12vh); }
  .s2 .stage-content .h, .s3 .stage-content .h { font-size: min(clamp(46px, 8vw, 104px), 11vh); }
  .stage-pill { margin-bottom: 14px; }
  .hold-wrap { margin-top: 20px; gap: 12px; }
  .stage .terminal { margin-top: 16px; }
  .fee-card { margin-top: 18px; padding: 14px 20px; }
}
@media (max-height: 760px) {
  .stage-pill { display: none; }
  .stage-content .h { font-size: min(clamp(44px, 8.5vw, 100px), 11vh); }
  .s2 .stage-content .h, .s3 .stage-content .h { font-size: min(clamp(40px, 7.5vw, 90px), 10vh); }
  .stage-content .lede { font-size: 14px; max-width: 520px; margin-top: 12px; }
  .hero-mark { width: clamp(100px, 20vh, 170px); margin-bottom: 12px; }
  .fee-card { margin-top: 16px; padding: 12px 18px; }
  .fee-card .row { padding: 3px 0; font-size: 13px; }
  .fee-card .bar { height: 24px; margin: 8px 0 4px; }
  .hold-wrap { margin-top: 18px; gap: 12px; }
  .hold-btn { width: 96px; height: 96px; }
  .key-card { padding: 12px 16px; }
  .stage .terminal { margin-top: 14px; }
  .stage .terminal pre { font-size: 11.5px; padding: 10px 14px; line-height: 1.5; }
  .stage-cta { margin-top: 14px; }
  .stage-cta .btn { height: 42px; }
  .scroll-hint { bottom: 84px; }
}
/* Stage 1 chips */
.chips { position: absolute; inset: 0; pointer-events: none; }
.chip { position: absolute; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #eef5f0 70%, #dbe9e1); box-shadow: 0 14px 30px -12px rgba(28,72,57,.4), inset 0 -3px 6px rgba(28,72,57,.08), inset 0 2px 3px rgba(255,255,255,1); display: grid; place-items: center; font-family: var(--font-brand); font-weight: 700; font-size: 13px; color: var(--green-deep); letter-spacing: -0.01em; transform: translate3d(calc(var(--ox) * (1 - var(--p, 0))), calc(var(--oy) * (1 - var(--p, 0)) + var(--p, 0) * -40px), 0) rotate(calc(var(--r) * (1 - var(--p, 0)))); opacity: calc(min(var(--p, 0) * 3, 1) * min((1 - var(--p, 0)) * 3, 1)); will-change: transform; }
.chip i { position: absolute; inset: 0; border-radius: 50%; animation: chip-float var(--fd, 6s) ease-in-out var(--fdl, 0s) infinite; }
.chip span { position: relative; animation: chip-float var(--fd, 6s) ease-in-out var(--fdl, 0s) infinite; }
@keyframes chip-float { 50% { transform: translateY(-9px); } }
.chip.c1 { left: 14%; top: 18%; } .chip.c2 { left: 22%; top: 60%; } .chip.c3 { left: 68%; top: 14%; } .chip.c4 { left: 78%; top: 56%; } .chip.c5 { left: 10%; top: 84%; } .chip.c6 { left: 86%; top: 84%; }
@media (max-width: 720px) { .chip { width: 52px; height: 52px; font-size: 10px; } .chip.c5, .chip.c6 { display: none; } .chip.c1 { left: 5%; top: 13%; } .chip.c3 { left: 78%; top: 11%; } .chip.c2 { left: 5%; top: 78%; } .chip.c4 { left: 76%; top: 76%; } }
.fee-card { margin: 30px auto 0; width: min(420px, 100%); padding: 18px 22px; border-radius: 18px; text-align: left; }
.fee-card .row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.fee-card .row .v { font-family: var(--font-mono); font-size: 13px; }
.fee-card .bar { display: flex; gap: 4px; height: 28px; margin: 10px 0 6px; }
.fee-card .bar div { flex: 1; border-radius: 6px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; }
.fee-card .bar .a { background: var(--green); color: #fff; transform-origin: left; transform: scaleX(min(calc(var(--p, 0) * 2.2), 1)); }
.fee-card .bar .b { background: var(--bronze-200); color: var(--green-deep); transform-origin: right; transform: scaleX(min(calc(var(--p, 0) * 2.2), 1)); }
.fee-card .tot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; font-weight: 500; }
.fee-card .tot .v { font-family: var(--font-mono); font-size: 20px; color: var(--bronze-700); }

/* Stage 2 hold-to-claim */
.hold-wrap { margin: 34px auto 0; display: grid; place-items: center; gap: 18px; }
.hold-btn { position: relative; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; background: radial-gradient(circle, rgba(255,255,255,0) 0 40%, #fff 52%, rgba(255,255,255,.9) 64%, rgba(255,255,255,.35) 82%, rgba(255,255,255,0) 100%); box-shadow: 0 0 34px 12px rgba(255,255,255,.55), 0 0 90px 40px rgba(255,255,255,.25); transition: transform .2s; }
.hold-btn:active { transform: scale(.96); }
.hold-btn::before, .hold-btn::after { content: ""; position: absolute; inset: -8%; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); animation: ripple 2.8s cubic-bezier(.22,1,.36,1) infinite; pointer-events: none; }
.hold-btn::after { animation-delay: 1.4s; }
@keyframes ripple { 0% { opacity: 0; transform: scale(.85); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(2.2); } }
.hold-btn svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hold-btn circle { fill: none; stroke-width: 3; }
.hold-btn .bg { stroke: rgba(28,72,57,.12); }
.hold-btn .fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset .12s linear; }
.hold-btn.holding .fg { transition: stroke-dashoffset 1.3s linear; stroke-dashoffset: 0; }
.hold-btn .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--green-deep); line-height: 1.35; text-align: center; }
.hold-btn.done { box-shadow: 0 0 34px 12px rgba(111,224,154,.6), 0 0 90px 40px rgba(111,224,154,.3); }
.hold-btn.done::before, .hold-btn.done::after { display: none; }
.hold-btn.done .fg { stroke-dashoffset: 0; }
.key-card { width: min(440px, 100%); padding: 18px 20px; border-radius: 18px; text-align: left; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease-out-strong), transform .5s var(--ease-out-strong); pointer-events: none; }
.key-card.show { opacity: 1; transform: none; pointer-events: auto; }
.key-card .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.key-card .key { font-family: var(--font-mono); font-size: 15px; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.key-card .key b { font-weight: 500; letter-spacing: .02em; }
.key-card .key button { color: var(--ink-3); display: grid; place-items: center; }
.key-card .key button svg { width: 15px; height: 15px; }
.key-card .fine { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.key-card .fine b { color: var(--bronze-700); font-weight: 500; }

/* Stage 3 terminal */
.stage .terminal { width: min(620px, 100%); margin: 24px auto 0; text-align: left; }
.stage .terminal pre { white-space: pre; max-width: 100%; }
.stage .terminal pre { font-size: 12.5px; }
.stage-cta { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
@media (max-width: 720px) { .stage-cta .btn { height: 44px; padding: 0 16px; font-size: 14px; } .stage .terminal pre { font-size: 11.5px; padding: 12px 14px; } }

/* ============ DETAILS (below the journey) ============ */
.details { position: relative; z-index: 1; background: linear-gradient(180deg, rgba(238,246,241,0) 0, #eef6f1 120px); padding-top: 40px; }
section.block { padding: 120px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.section-head h2 { font-size: clamp(40px, 5.2vw, 60px); margin-top: 18px; line-height: 1.02; max-width: 560px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col > * { min-width: 0; }
.spend-grid { grid-template-columns: 0.75fr 1.25fr; }
.token-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
@media (max-width: 900px) { .two-col, .spend-grid, .token-grid { grid-template-columns: 1fr; gap: 40px; } }

.steps { position: relative; margin-top: 56px; padding-left: 28px; list-style: none; }
.steps::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.step { position: relative; padding-bottom: 36px; transition: opacity 0.4s var(--ease); }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -32px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-300); transition: background 0.3s, box-shadow 0.3s; }
.step h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; }
.step h3 .n { font-family: var(--font-mono); font-size: 11px; color: var(--bronze-600); letter-spacing: 0.05em; }
.step p { color: var(--ink-2); margin-top: 10px; line-height: 1.6; font-size: 15px; max-width: 460px; }
.steps.cycle .step { opacity: 0.38; }
.steps.cycle .step.active { opacity: 1; }
.steps.cycle .step.active::before { background: var(--green); box-shadow: 0 0 0 4px rgba(47,179,106,.18); }
.steps.static .step::before { background: var(--bronze-600); }
.cta-row { display: flex; align-items: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.cta-row .note { font-size: 13px; color: var(--ink-3); }

.demo-stage { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.demo-grid { position: absolute; inset: -40px; pointer-events: none; background-image: linear-gradient(rgba(28,72,57,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(28,72,57,.08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%); }
.demo-card { position: relative; width: min(448px, 100%); background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: var(--shadow-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: pop-in 0.5s var(--ease-out-strong); }
.demo-panel { display: none; width: 100%; justify-content: center; }
.demo-panel.active { display: flex; }
@keyframes pop-in { 0% { opacity: 0; transform: scale(0.96) translateY(6px); } }
@keyframes fade-in { 0% { opacity: 0; } }

.wallet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.wallet-acct { display: flex; align-items: center; gap: 10px; }
.avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; image-rendering: pixelated; }
.avatar canvas { width: 18px; height: 18px; image-rendering: pixelated; }
.wallet-acct .name { font-size: 14px; font-weight: 500; }
.wallet-acct .addr { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.chip-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 100px; background: var(--bronze-100); font-size: 12px; color: var(--green-deep); }
.chip-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.wallet-balance { text-align: center; padding: 26px 18px 10px; }
.wallet-balance .amt { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; }
.wallet-balance .amt span { font-size: 15px; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.wallet-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; background: var(--bronze-100); border-radius: 100px; padding: 5px 12px; font-size: 12px; color: var(--green-deep); }
.wallet-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: breathe 2.8s ease-in-out infinite; }
.wallet-actions { display: flex; justify-content: center; gap: 28px; padding: 22px 0 18px; }
.wallet-actions div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.wallet-actions .circ { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.wallet-actions svg { width: 16px; height: 16px; }
.wallet-tabs { display: flex; gap: 18px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.wallet-tabs span { padding: 8px 2px 10px; }
.wallet-tabs span.on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--green); }
.token-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.token-row:last-child { border-bottom: 0; }
.token-row .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.token-row .ico img { width: 24px; height: 24px; object-fit: contain; }
.token-row .ico.ltr { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.token-row .meta { flex: 1; }
.token-row .meta b { display: block; font-weight: 500; font-size: 14px; }
.token-row .meta small { color: var(--ink-3); font-size: 12px; }
.token-row .val { font-family: var(--font-mono); font-size: 13px; }

.connect-head { display: flex; gap: 12px; align-items: center; padding: 20px 20px 14px; }
.connect-head img { width: 34px; height: 34px; object-fit: contain; }
.connect-head b { display: block; font-weight: 500; font-size: 15px; }
.connect-head small { color: var(--ink-3); font-size: 13px; }
.wallet-list { padding: 4px 20px 20px; display: grid; gap: 10px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; background: #fff; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.wallet-opt:hover { border-color: var(--green); transform: translateY(-1px); }
.wallet-opt .wi { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.wallet-opt .wi img { width: 22px; height: 22px; }
.wallet-opt .wn { flex: 1; font-size: 14px; color: var(--ink-3); }
.wallet-opt.on { background: var(--bronze-100); border-color: var(--bronze-300); }
.wallet-opt.on .wn { color: var(--ink); font-weight: 500; }
.wallet-opt.on .wn small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.wallet-opt .chk { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.wallet-opt .chk svg { width: 12px; height: 12px; }
.wallet-list .btn { margin-top: 6px; }

.credits-wrap { width: min(448px, 100%); }
.credits-top { display: flex; align-items: center; justify-content: space-between; padding: 0 0 14px; }
.credits-top .who { display: flex; align-items: center; gap: 10px; }
.credits-top .who .avatar { width: 38px; height: 38px; }
.credits-top .who b { font-family: var(--font-mono); font-size: 13px; font-weight: 500; display: block; }
.credits-top .who small { font-size: 12px; color: var(--ink-3); }
.example-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 100px; padding: 4px 9px; background: rgba(255,255,255,.6); }
.credits-card { padding: 24px; }
.credits-card .big { font-size: clamp(44px, 6vw, 64px); margin: 12px 0 18px; letter-spacing: -0.03em; }
.credits-card .row { display: flex; gap: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-bottom: 18px; }
.credits-card .row b { color: var(--ink); font-weight: 500; }
.credits-card .fine { font-size: 12px; color: var(--ink-3); margin-top: 12px; }

.payout-card { background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow-card); margin-top: 56px; backdrop-filter: blur(10px); }
.payout-card .kv { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.payout-card .kv .v { font-family: var(--font-mono); font-size: 13px; }
.payout-card hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.split { display: flex; gap: 4px; height: 44px; }
.split div { flex: 1; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; border-radius: 8px; }
.split .a { background: var(--green); color: #fff; transform-origin: left; transform: scaleX(0); transition: transform 0.78s var(--ease-out-strong) 0.12s; }
.split .b { background: var(--bronze-200); color: var(--green-deep); transform-origin: right; transform: scaleX(0); transition: transform 0.78s var(--ease-out-strong) 0.12s; }
.in-view .split div { transform: scaleX(1); }
.split-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 8px; opacity: 0; transition: opacity 0.32s 0.62s; }
.in-view .split-labels { opacity: 1; }
.spendable { display: flex; justify-content: space-between; align-items: center; }
.spendable b { font-weight: 500; font-size: 14px; }
.spendable .v { font-family: var(--font-mono); font-size: 22px; color: var(--bronze-700); }
.spend-on { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.spend-on svg { width: 16px; height: 16px; color: var(--bronze-700); }
.divider-note { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; font-size: 13px; color: var(--ink-3); max-width: 520px; line-height: 1.6; }

.tabs { display: flex; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 4px; gap: 4px; backdrop-filter: blur(8px); }
.tabs button { flex: 1; height: 34px; border-radius: 999px; font-size: 13px; color: var(--ink-3); transition: all 0.2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tab-panel { display: none; margin-top: 22px; animation: fade-in 0.3s; }
.tab-panel.active { display: block; }
.tab-panel > p { color: var(--ink-2); line-height: 1.6; font-size: 15px; }
.tab-panel .after { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin-top: 18px; }
.terminal { margin-top: 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.82); box-shadow: var(--shadow-card); backdrop-filter: blur(10px); }
.terminal .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(28,72,57,.06); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.terminal .bar button { color: var(--ink-3); display: grid; place-items: center; }
.terminal .bar button:hover { color: var(--ink); }
.terminal .bar svg { width: 14px; height: 14px; }
.terminal pre { margin: 0; padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; overflow-x: auto; color: var(--ink); }
.terminal .c { color: var(--ink-3); }
.terminal .k { color: var(--bronze-700); }
.terminal .g { color: var(--patina-700); }
.side-note { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.lede-2 { font-size: 18px; color: var(--ink-2); line-height: 1.55; margin-top: 26px; max-width: 380px; }

.facts { margin-top: 40px; border-top: 1px solid var(--line); max-width: 390px; }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.facts .v { font-family: var(--font-mono); font-size: 15px; margin-top: 8px; }
.facts .v a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bronze-400); }
.faq { border-top: 1px solid var(--line); margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 16px; font-weight: 500; letter-spacing: -0.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-3); flex: none; transition: all 0.2s; }
.faq summary .ic svg { width: 10px; height: 10px; transition: transform 0.25s var(--ease); }
.faq details[open] summary .ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq details[open] summary .ic svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); line-height: 1.65; font-size: 15px; max-width: 620px; animation: fade-in 0.3s; }

.cta-final { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 140px 0; text-align: center; }
.cta-final .hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(28,72,57,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(28,72,57,.1) 1px, transparent 1px); background-size: var(--grid-size) var(--grid-size); -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.cta-final .hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 40% 50% at 50% 50%, rgba(255,255,255,.9), transparent 70%); }
.cta-final h2 { font-size: clamp(42px, 5.4vw, 64px); position: relative; }
.cta-final h2 .script { font-size: 1.2em; color: var(--bronze-700); }
.cta-final p { position: relative; color: var(--ink-2); font-size: 17px; max-width: 440px; margin: 22px auto 34px; line-height: 1.5; }
.cta-final .btn { position: relative; }
footer.foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 34px 0 110px; font-size: 13px; position: relative; z-index: 1; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-top .mail { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.foot-top .links { display: flex; gap: 22px; align-items: center; }
.foot-top .links a { color: var(--green-deep); }
.foot-top .links a.u { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bronze-400); }
.foot-top .links .x { font-family: var(--font-mono); display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); }
.foot-top svg { width: 14px; height: 14px; }
.foot-bot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 22px; color: var(--ink-3); }
.foot-bot .tk { display: inline-flex; align-items: center; gap: 8px; }
.foot-bot .tk img { width: 20px; height: 20px; object-fit: contain; }
.foot-bot .legal { max-width: 440px; text-align: right; font-size: 12px; line-height: 1.5; }
@media (max-width: 720px) { .foot-top, .foot-bot { flex-direction: column; align-items: flex-start; } .foot-bot .legal { text-align: left; } section.block { padding: 88px 0; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .bg { position: absolute; inset: 0; background: rgba(20, 30, 25, 0.42); backdrop-filter: blur(4px); animation: fade-in 0.2s; }
.modal .demo-card { z-index: 1; background: #fff; }
.modal .close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.modal .close:hover { background: var(--paper-2); color: var(--ink); }
.modal .close svg { width: 14px; height: 14px; }
.modal .msg { padding: 0 20px 18px; font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.modal .msg b { color: var(--ink); font-weight: 500; }
.modal .msg code { font-family: var(--font-mono); font-size: 12px; }

/* ============ MCP page ============ */
.mcp-hero { position: relative; overflow: hidden; text-align: center; padding: 108px 0 40px; min-height: 900px; }
.mcp-hero .marble { position: absolute; inset: 0; pointer-events: none; background: url("/img/sky.webp") center / cover no-repeat, linear-gradient(#f4faf6, #d6ebe0); -webkit-mask-image: linear-gradient(#000 60%, transparent 100%); mask-image: linear-gradient(#000 60%, transparent 100%); opacity: .9; }
.mcp-hero .dither { position: absolute; inset: -10%; pointer-events: none; opacity: 0.4; background-image: radial-gradient(rgba(28,72,57,.14) 0.8px, transparent 0.9px); background-size: 6px 6px; animation: dither-drift 80s linear infinite alternate; -webkit-mask-image: linear-gradient(#000 60%, transparent 100%); mask-image: linear-gradient(#000 60%, transparent 100%); }
@keyframes dither-drift { to { transform: translate(-4%, -3%); } }
.pill-outline { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.65); font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); position: relative; backdrop-filter: blur(8px); }
.pill-outline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: breathe 2.8s ease-in-out infinite; }
.mcp-hero h1 { position: relative; font-size: clamp(50px, 8vw, 92px); margin: 22px auto 24px; line-height: 0.98; color: var(--green-deep); }
.mcp-hero h1 .emoji { font-size: 0.55em; vertical-align: 0.12em; }
.mcp-hero h1 .pat { font-family: var(--font-script); font-size: 1.2em; background-image: linear-gradient(120deg, var(--green-deep), var(--bronze-700) 50%, var(--bronze-600)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em; }
.mcp-hero .lede { position: relative; font-size: 18px; color: var(--ink-2); max-width: 340px; margin: 0 auto; line-height: 1.5; }
.mcp-hero .btn { margin-top: 34px; position: relative; }
.orrery { position: relative; width: min(720px, 100%); height: 360px; margin: 30px auto 0; }
.orrery .core { position: absolute; left: 50%; top: 50%; width: 120px; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 18px rgba(28,72,57,.25)); animation: core-float 6s ease-in-out infinite; }
@keyframes core-float { 50% { transform: translate(-50%, -56%); } }
.orrery svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orrery ellipse { fill: none; stroke: var(--bronze-600); stroke-width: 1; opacity: 0.6; }
.orrery .sat { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--green-bright), var(--bronze-700) 60%, var(--green-deep)); box-shadow: 0 2px 4px rgba(28,72,57,.4); offset-rotate: 0deg; animation: orrery-orbit var(--dur) linear infinite, orrery-depth var(--dur) linear infinite; animation-delay: var(--delay); }
@keyframes orrery-orbit { to { offset-distance: 100%; } }
@keyframes orrery-depth { 0%, 100% { opacity: 0.88; transform: scale(1); } 25% { opacity: 0.46; transform: scale(0.7); } 75% { opacity: 1; transform: scale(1.14); } }
.mcp-process { padding: 120px 0; }
.mcp-process .two-col { grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.mcp-process .sticky { position: sticky; top: 120px; }
.mcp-process .sticky h2 { font-size: clamp(40px, 5vw, 56px); margin-top: 18px; }
.mcp-process .sticky p { color: var(--ink-2); font-size: 16px; margin-top: 22px; max-width: 320px; line-height: 1.55; }
.mcp-process .counter { font-family: var(--font-mono); font-size: 14px; color: var(--patina-700); margin-top: 26px; }
.mcp-process .counter span { color: var(--ink-3); }
.tools { position: relative; padding-left: 44px; list-style: none; margin: 0; }
.tools::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-patina); }
.tool { position: relative; padding: 0 0 150px; transition: opacity 0.4s; }
.tool:last-child { padding-bottom: 0; }
.tool::before { content: ""; position: absolute; left: -48px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); transition: box-shadow 0.3s; }
.tool.active::before { box-shadow: 0 0 0 4px rgba(47,179,106,.18); }
.tool .h { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tool h3 { font-size: 18px; font-weight: 500; }
.tool code { font-family: var(--font-mono); font-size: 11px; color: var(--green-deep); border: 1px solid var(--line-strong); background: rgba(255,255,255,.6); border-radius: 100px; padding: 5px 10px; white-space: nowrap; }
.tool p { color: var(--ink-2); margin-top: 10px; max-width: 460px; line-height: 1.6; }
@media (max-width: 900px) {
  .mcp-process .two-col { grid-template-columns: 1fr; gap: 40px; }
  .mcp-process .sticky { position: static; }
  .tool { padding-bottom: 60px; }
  .tool .h { flex-direction: column; align-items: flex-start; gap: 8px; }
  .orrery { width: 720px; height: 360px; margin-left: calc(50% - 360px); transform: scale(0.5); transform-origin: 50% 50%; margin-top: -40px; margin-bottom: -100px; }
  .mcp-hero { min-height: 0; padding-bottom: 60px; }
}
.mcp-install { padding: 0 0 130px; }
.mcp-install .tabs { max-width: 520px; }

/* ============ Leaderboard ============ */
.lb { width: min(700px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 120px; }
.lb .switch { display: flex; gap: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.lb .switch a { padding-bottom: 4px; }
.lb .switch a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--green); }
.lb h1 { font-size: 46px; margin-top: 18px; }
.lb .sum { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); margin-top: 18px; }
.lb ol { list-style: none; margin: 30px 0 0; padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.8); overflow: hidden; box-shadow: var(--shadow-card); }
.lb li { display: grid; grid-template-columns: 36px 40px 1fr auto; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 13px; }
.lb li:last-child { border-bottom: 0; }
.lb li .rk { color: var(--ink-3); }
.lb li .ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.lb li .ad .short { display: none; }
.lb li .am { color: var(--green-deep); }
.lb li:nth-child(-n+3) .am { font-weight: 500; }
.lb .banner { margin-top: 30px; border-radius: 18px; padding: 22px 26px; background: radial-gradient(at 80% 10%, #2f6a4f 0%, transparent 60%), #1c2a24; color: #e3f5e9; position: relative; overflow: hidden; }
.lb .banner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(111,224,154,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(111,224,154,.07) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.lb .banner b { font-family: var(--font-display); font-weight: 400; font-size: 24px; display: block; letter-spacing: -0.01em; }
.lb .banner p { color: #9adcb4; font-size: 13px; margin-top: 8px; max-width: 460px; line-height: 1.55; position: relative; }
@media (max-width: 640px) { .lb li { grid-template-columns: 28px 36px 1fr auto; gap: 10px; padding: 12px 14px; font-size: 12px; } .lb li .ad .full { display: none; } .lb li .ad .short { display: inline; } }

/* ============ Jobs ============ */
.jobs { width: min(640px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 140px; }
.jobs h1 { font-size: 64px; margin-top: 12px; }
.jobs .role { display: block; margin-top: 40px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 26px 28px; background: rgba(255,255,255,.8); transition: border-color 0.15s, transform 0.15s; box-shadow: var(--shadow-card); }
.jobs .role:hover { border-color: var(--green); transform: translateY(-2px); }
.jobs .role b { font-size: 20px; font-weight: 500; display: block; }
.jobs .role p { color: var(--ink-2); margin-top: 8px; line-height: 1.55; }
.jobs .role small { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.jobs .role .apply { margin-top: 18px; color: var(--bronze-700); font-size: 14px; font-weight: 500; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease-out-strong), transform 0.7s var(--ease-out-strong); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .foil, .sheen::after, .orrery .sat, .dither, .orrery .core, .petal, .hero-mark img, .chip i, .chip span, .hold-btn::before, .hold-btn::after, .scroll-hint .dot { animation: none !important; }
  .petal { display: none; }
}
