/* BLACKOUT V3: reference A, made better. One grid (.wrap), three faces (Unbounded / Manrope / JetBrains Mono),
   one accent (violet). Dark by default, light by [data-theme="light"]. */
@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../../shared/fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #07050f; --bg-2: #0e0a22; --bg-3: #150f33;
  --ink: #f4f2ff; --mute: #aca6cf; --dim: #7d769f;
  --vio: #ab9ff2; --vio-l: #c9c0ff; --vio-d: #8b7cf0; --acc: #b9aeff;
  --line: rgba(171, 159, 242, .16); --line-2: rgba(171, 159, 242, .34);
  --card: linear-gradient(160deg, rgba(34, 25, 78, .78), rgba(14, 10, 34, .86));
  --card-solid: #120d2a;
  --band: linear-gradient(180deg, rgba(10, 7, 24, 0), rgba(10, 7, 24, .5) 26%, rgba(10, 7, 24, .5) 70%, rgba(7, 5, 15, 0));
  --glow: rgba(139, 124, 240, .5);
  --nav-bg: rgba(8, 6, 18, .78);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --f-d: 'Unbounded', 'Arial Black', sans-serif; --f-t: 'Manrope', system-ui, sans-serif; --f-m: 'JetBrains Mono', ui-monospace, monospace;
  --nav-h: 64px; --pad: clamp(20px, 3.4vw, 48px);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f4f1ff; --bg-2: #ebe6ff; --bg-3: #ddd5ff;
  --ink: #130c2e; --mute: #4d4573; --dim: #7a72a3;
  --acc: #5b3fe6;
  --line: rgba(76, 52, 200, .16); --line-2: rgba(76, 52, 200, .36);
  --card: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(238, 233, 255, .9));
  --card-solid: #fbfaff;
  --band: linear-gradient(180deg, rgba(244, 241, 255, 0), rgba(244, 241, 255, .62) 26%, rgba(244, 241, 255, .62) 70%, rgba(244, 241, 255, 0));
  --glow: rgba(120, 96, 240, .34);
  --nav-bg: rgba(246, 243, 255, .84);
  --shadow: 0 30px 70px -34px rgba(60, 36, 160, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.static { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--f-t); overflow-x: clip; -webkit-font-smoothing: antialiased; }
/* the ground is never flat: two pools of violet light and a floor glow, fixed behind everything */
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 46vh at 78% 18%, rgba(110, 86, 230, .30), transparent 70%),
    radial-gradient(50vw 50vh at 8% 4%, rgba(70, 48, 170, .26), transparent 70%),
    radial-gradient(90vw 50vh at 50% 108%, rgba(139, 124, 240, .22), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 46%); }
[data-theme="light"] body::before { background:
    radial-gradient(60vw 46vh at 78% 16%, rgba(150, 128, 255, .38), transparent 70%),
    radial-gradient(50vw 50vh at 6% 2%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(90vw 50vh at 50% 108%, rgba(139, 124, 240, .26), transparent 70%),
    linear-gradient(180deg, #fbfaff, var(--bg) 50%); }
.grain { position: fixed; inset: 0; z-index: 3; pointer-events: none; background: url('../../shared/img/noise.png'); opacity: .07; }
[data-theme="light"] .grain { opacity: .05; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; opacity: 0; transition: opacity .6s ease; }
html.gl-on #gl { opacity: 1; }
main, .foot { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.h1, .h2, .wordmark, .brand-t b { font-family: var(--f-d); text-transform: uppercase; }
.h1 { font-weight: 700; font-size: min(4.25vw, 9.1vh, 76px); line-height: 1.04; letter-spacing: -.012em; }
.h1 .ln { display: block; white-space: nowrap; }
.h1 em, .h2 em { font-style: normal; color: var(--acc); text-shadow: 0 0 34px var(--glow); }
.h2 { font-weight: 700; font-size: clamp(30px, 4vw, 60px); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.h2-s { font-size: clamp(24px, min(2.7vw, 5.6vh), 40px); }
.h2-xl { font-size: clamp(34px, 4.2vw, 62px); white-space: nowrap; }
.h2-xl em { display: block; }
.ch { display: inline-block; }
.kicker { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--f-m); letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.kicker > i { width: 34px; height: 2px; background: linear-gradient(90deg, var(--vio-d), var(--vio-l)); box-shadow: 0 0 12px var(--glow); flex: none; }
.lead { color: var(--mute); font-size: clamp(16px, 1.3vw, 19px); max-width: 34em; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 99px; font: 600 10.5px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; font-style: normal; white-space: nowrap; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.chip-built { color: #0d0826; background: linear-gradient(180deg, var(--vio-l), var(--vio-d)); box-shadow: 0 0 18px -4px var(--glow); }
.chip-built::before { background: #0d0826; }
.chip-coming { color: var(--ink); border: 1px dashed var(--line-2); background: transparent; }
.chip-coming::before { border: 1.5px solid var(--acc); background: transparent; }
.chip-l { height: 26px; padding: 0 13px; font-size: 12px; }
.demo { font: 600 10px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 6px; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 12px; font: 700 15px/1 var(--f-t); text-decoration: none; white-space: nowrap; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background-color .35s, border-color .35s; }
.btn .arr { font-family: var(--f-m); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.btn-main { color: #0d0826; background: linear-gradient(180deg, #c9c0ff, #8b7cf0); box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 34px -8px rgba(139, 124, 240, .8), 0 0 60px -12px rgba(139, 124, 240, .7); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset, 0 1px 0 rgba(255, 255, 255, .7) inset, 0 16px 44px -8px rgba(139, 124, 240, .95), 0 0 90px -10px rgba(139, 124, 240, .9); }
.btn-main:hover .arr { transform: translate(3px, -3px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(139, 124, 240, .07); }
.btn-ghost:hover { border-color: var(--acc); background: rgba(139, 124, 240, .16); }
.btn-ghost:hover .arr { transform: translateY(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-s { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn-l { height: 58px; padding: 0 34px; font-size: 17px; border-radius: 14px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: var(--pad); background: linear-gradient(180deg, var(--nav-bg), transparent); transition: background-color .4s, box-shadow .4s; }
.nav.is-stuck { background: var(--nav-bg); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 26px; height: auto; filter: drop-shadow(0 0 8px var(--glow)); }
.brand-t { display: grid; gap: 5px; }
.brand-t b { font-weight: 800; font-size: 17px; letter-spacing: .02em; line-height: 1; }
.brand-t i { font: 500 8.5px/1 var(--f-m); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mute); text-decoration: none; transition: color .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .chip { height: 18px; padding: 0 7px; font-size: 9px; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.theme-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); font: 600 12px/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transition: border-color .3s, background-color .3s; }
.theme-btn:hover { border-color: var(--acc); background: rgba(139, 124, 240, .12); }
.theme-btn svg { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
[data-theme="light"] .theme-btn svg { transform: rotate(180deg); }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 540px; }
.top { position: relative; }
.hero-globe { position: absolute; left: 0; right: 0; top: 30vh; top: 30svh; bottom: 0; pointer-events: none; }
.hero-in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: start; gap: 2vw; padding-top: calc(var(--nav-h) + min(5.4vh, 56px)); }
.hero-copy { display: grid; justify-items: start; gap: 0; position: relative; will-change: transform, opacity; }
.hero-copy .kicker { margin-bottom: min(3vh, 26px); }
.hero-sub { margin-top: min(3vh, 26px); color: var(--mute); font-size: clamp(15px, 1.32vw, 19px); line-height: 1.5; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: min(3.6vh, 32px); }
.hero-emblem { position: relative; will-change: transform, opacity; display: grid; justify-items: center; align-content: start; perspective: 900px; margin-top: max(-2.5vh, -20px); }
.em-tilt { position: relative; height: min(45vh, 440px); aspect-ratio: 596 / 900; transform-style: preserve-3d; will-change: transform; }
.em-mask { position: relative; width: 100%; height: 100%; object-fit: contain; }
.em-glow { position: absolute; left: -30%; top: -30%; width: 160%; height: 160%; max-width: none; pointer-events: none; opacity: .9; }
[data-theme="light"] .em-glow { opacity: .75; filter: saturate(1.5) brightness(.82); }
.em-hot { opacity: 0; filter: brightness(1.7) saturate(1.2); -webkit-mask-image: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), #000 0, rgba(0, 0, 0, .5) 22%, transparent 44%); mask-image: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), #000 0, rgba(0, 0, 0, .5) 22%, transparent 44%); transition: opacity .5s; }
.hero-emblem.is-live .em-hot { opacity: 1; }
[data-theme="light"] .em-hot { filter: saturate(2) brightness(.9); }
.em-sheen { position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--emblem-url) center / contain no-repeat; mask: var(--emblem-url) center / contain no-repeat;
  background: radial-gradient(42% 30% at var(--sx, 34%) var(--sy, 20%), rgba(255, 255, 255, .5), transparent 70%); mix-blend-mode: screen; }
.em-gloss { position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--emblem-url) center / contain no-repeat; mask: var(--emblem-url) center / contain no-repeat;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .0) 42%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 58%, transparent 62%) no-repeat, radial-gradient(60% 34% at 50% 16%, rgba(255, 255, 255, .34), transparent 70%), radial-gradient(22% 30% at 50% 47%, rgba(255, 255, 255, .3), transparent 70%);
  background-size: 300% 100%, 100% 100%, 100% 100%; background-position: 160% 0, 0 0, 0 0; mix-blend-mode: screen; }
[data-theme="light"] .em-gloss { mix-blend-mode: soft-light; opacity: .9; }
.wordmark { position: relative; margin-top: min(1.2vh, 10px); font-weight: 800; font-size: min(4vw, 7.6vh, 64px); line-height: 1; letter-spacing: .01em; }
.wordmark span { display: block; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .95) 50%, transparent 60%), linear-gradient(180deg, #ffffff 20%, #cfc7ff 60%, #8b7cf0 120%);
  background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat; filter: drop-shadow(0 0 22px rgba(139, 124, 240, .55)); }
[data-theme="light"] .wordmark span { background-image: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .9) 50%, transparent 60%), linear-gradient(180deg, #1a1040 10%, #2c1a78 70%, #5b3fe6 130%); filter: drop-shadow(0 6px 18px rgba(110, 86, 230, .35)); }
.em-line { display: block; width: min(100%, 30vw); height: 2px; margin-top: min(1.6vh, 14px); background: linear-gradient(90deg, transparent, var(--vio-d) 30%, #fff 50%, var(--vio-d) 70%, transparent); box-shadow: 0 0 18px 1px var(--glow), 0 0 50px 6px var(--glow); transform-origin: 50% 50%; }
[data-theme="light"] .em-line { background: linear-gradient(90deg, transparent, var(--vio-d) 30%, #5b3fe6 50%, var(--vio-d) 70%, transparent); }

/* the designed 2D globe (no WebGL): the same globe, baked once per theme by tools/bake-globe.mjs (1600 x 760,
   radius 0.8 of the width, centre at 66 %, apex 120 px down) and laid where the live one sits */
.globe-2d { display: none; position: absolute; left: 0; top: calc(40vh - 7.5vw); top: calc(40svh - 7.5vw); width: 100%; aspect-ratio: 1600 / 760;
  background: url('../img/globe-dark.webp') 0 0 / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 55%, transparent 96%); mask-image: linear-gradient(transparent, #000 10%, #000 55%, transparent 96%); }
[data-theme="light"] .globe-2d { background-image: url('../img/globe-light.webp'); }
html.no-gl .globe-2d { display: block; }
html.no-gl .enter-globe { overflow: hidden; border-radius: 27px; }
html.no-gl .hero-globe { overflow: hidden; }
.enter-globe .globe-2d { width: 62.5%; left: -14%; top: calc(16% - 4.7%); }

/* ---------- 2. feature row ---------- */
.feats { position: relative; padding: 4vh 0 9vh; background: var(--band); }
.feat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 12px; padding: 8px clamp(14px, 2vw, 30px) 4px; }
.feat + .feat::before { content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
.feat svg { width: 46px; height: 46px; fill: none; stroke: var(--acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px var(--glow)); }
.feat h3 { font: 600 clamp(13px, 1.24vw, 17px)/1.2 var(--f-d); letter-spacing: -.005em; text-wrap: balance; }
.feat p { color: var(--mute); font-size: 14px; line-height: 1.5; max-width: 23em; }

/* ---------- 3. the phone in its orbit ---------- */
.any { position: relative; height: 240vh; }
.any-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding-top: var(--nav-h); overflow: clip; }
.any-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3vw; align-items: center; height: 100%; }
.any-copy { display: grid; gap: min(2.4vh, 20px); align-content: center; }
.any-copy .h2 { font-size: clamp(28px, min(4vw, 8vh), 60px); }
.any-copy .lead { font-size: clamp(15px, 1.25vw, 18px); }
.any-steps { display: grid; gap: 2px; counter-reset: s; }
.any-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 6px; align-items: baseline; padding: min(1.3vh, 10px) 14px; border-left: 2px solid var(--line); color: var(--dim); transition: color .5s, border-color .5s, background-color .5s; font-size: 14.5px; line-height: 1.45; }
.any-steps b { font: 600 12px/1 var(--f-m); letter-spacing: .1em; }
.any-steps strong { font-weight: 700; }
.any-steps li.is-on { color: var(--ink); border-left-color: var(--acc); background: linear-gradient(90deg, rgba(139, 124, 240, .16), transparent 80%); }
.any-steps li.is-on b { color: var(--acc); }
.honest { font-size: 13.5px; line-height: 1.5; color: var(--mute); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(139, 124, 240, .06); max-width: 40em; }
.honest b { color: var(--ink); }
.any-stage { position: relative; height: min(86vh, 760px); align-self: center; }
.phone-2d { display: none; position: absolute; inset: 0; place-items: center; }
html.no-gl .phone-2d { display: block; }
.phone-2d-body { position: absolute; top: 8%; left: 50%; margin-left: calc(-0.5 * 84% * 540 / 1120); height: 84%; aspect-ratio: 540 / 1120; border-radius: 9% / 4.4%; padding: 2.2%; background: linear-gradient(150deg, #3a2f78, #0b0820 40%, #1b1444); box-shadow: 0 0 0 1px rgba(201, 192, 255, .4), 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 90px -10px var(--glow); transform: rotate(8deg); }
.phone-2d-body canvas { width: 100%; height: 100%; border-radius: 7.5% / 3.7%; display: block; }
.ring-2d { position: absolute; left: 4%; right: 4%; top: 50%; aspect-ratio: 3.4; border-radius: 50%; border: 2px solid var(--vio-l); box-shadow: 0 0 24px 2px var(--glow), inset 0 0 24px 2px var(--glow); transform: translateY(-10%) rotate(-6deg); }
html:not(.no-gl) #phone-screen { position: absolute; visibility: hidden; }

/* ---------- 4. built today ---------- */
.built { padding: 14vh 0 12vh; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 5vh, 54px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08); padding: clamp(18px, 2vw, 28px); display: grid; align-content: start; gap: 16px; min-height: 250px; transition: border-color .4s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--px, 50%) var(--py, -20%), rgba(171, 159, 242, .22), transparent 60%); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.card-t { display: grid; gap: 10px; justify-items: start; align-content: start; position: relative; z-index: 1; }
.card h3 { font: 700 clamp(17px, 1.6vw, 22px)/1.1 var(--f-d); text-transform: uppercase; }
.card p { color: var(--mute); font-size: 14.5px; line-height: 1.5; }
.c-a, .c-b { grid-column: span 3; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 330px; }
.c-c, .c-d, .c-e { grid-column: span 2; }
.shot { position: relative; align-self: end; margin: 0 0 calc(-1 * clamp(18px, 2vw, 28px) - 120px); border-radius: 22px 22px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 -10px 60px -10px var(--glow); transform: rotate(3deg) translateY(10px); transform-origin: 0 100%; transition: transform .7s cubic-bezier(.2, .8, .2, 1); height: 400px; }
.shot img { width: 100%; height: auto; }
.c-b .shot img { margin-top: -51%; }
.card:hover .shot { transform: rotate(1deg) translateY(-6px); }
.codebox { font: 500 12.5px/1.6 var(--f-m); word-break: break-all; color: var(--vio-l); background: rgba(7, 5, 15, .6); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 7.6em; }
[data-theme="light"] .codebox { background: #150f33; }
.code-meta { font: 500 11px/1 var(--f-m) !important; letter-spacing: .14em; text-transform: uppercase; }
.code-meta b { color: var(--acc); }
.num-line { display: flex; align-items: baseline; gap: 12px; margin-top: auto; font: 500 11px/1 var(--f-m) !important; letter-spacing: .14em; text-transform: uppercase; }
.num-line b { font: 600 clamp(26px, 2.6vw, 38px)/1 var(--f-m); letter-spacing: .04em; color: var(--ink); text-shadow: 0 0 30px var(--glow); }
.codes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: auto; }
.codes li { font: 500 12px/1 var(--f-m); text-align: center; padding: 9px 0; border-radius: 8px; border: 1px solid var(--line-2); color: var(--mute); }
.codes li.used { color: #0d0826; background: linear-gradient(180deg, var(--vio-l), var(--vio-d)); border-color: transparent; }
.limits { margin-top: 26px; color: var(--mute); font-size: 14px; max-width: 62em; padding-left: 16px; border-left: 2px solid var(--line-2); }
.limits b { color: var(--ink); }

/* ---------- 5. the private swap ---------- */
.swap { position: relative; height: 300vh; }
.swap-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: var(--nav-h); display: grid; align-items: center; overflow: clip; }
.swap-pin::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60vw 60vh at 66% 52%, rgba(110, 86, 230, .2), transparent 70%); pointer-events: none; }
.swap .wrap { width: min(1560px, 100%); }
.swap-grid { position: relative; display: grid; grid-template-columns: minmax(0, clamp(250px, 22vw, 360px)) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 44px); align-items: center; height: 100%; padding-block: min(2.4vh, 22px); }
.swap-copy { display: grid; gap: min(2.2vh, 20px); align-content: center; }
.swap-copy .kicker { gap: 12px; color: var(--mute); }
.swap-steps { display: grid; gap: 2px; }
.swap-steps button { display: grid; grid-template-columns: 30px 1fr; gap: 6px; align-items: baseline; text-align: left; width: 100%; padding: min(1.1vh, 9px) 12px; border-left: 2px solid var(--line); color: var(--dim); font-size: 13.5px; line-height: 1.42; transition: color .4s, border-color .4s, background-color .4s; }
.swap-steps button:hover { color: var(--mute); }
.swap-steps b { font: 600 11px/1 var(--f-m); letter-spacing: .1em; }
.swap-steps span { display: block; }
.swap-steps .more { font-style: normal; }
.swap-steps li:not(.is-on) .more { display: none; }
.swap-steps li.is-on button { color: var(--ink); border-left-color: var(--acc); background: linear-gradient(90deg, rgba(139, 124, 240, .16), transparent 80%); }
.swap-steps li.is-on b { color: var(--acc); }
.swap-stage-wrap { display: grid; gap: min(1.2vh, 10px); align-content: center; min-width: 0; }
.swap-stage { position: relative; width: min(100%, calc((100svh - var(--nav-h) - 104px) * 1000 / 520)); aspect-ratio: 1000 / 520; margin-inline: auto; }
.swap-svg, .swap-dom { position: absolute; inset: 0; width: 100%; height: 100%; }
.swap-svg { overflow: visible; }
.swap-svg .pool { fill: rgba(139, 124, 240, .07); stroke: var(--line-2); stroke-width: 1.5; }
.swap-svg .pool-glow { fill: none; stroke: var(--vio-d); stroke-width: 10; opacity: .12; }
.swap-svg .wire { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.swap-svg .beam { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linecap: round; }
.swap-svg .beam-g { fill: none; stroke: var(--vio-d); stroke-width: 11; stroke-linecap: round; stroke-opacity: .28; }
.swap-svg .route { fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linecap: round; stroke-opacity: .85; }
.swap-svg .route-g { fill: none; stroke: var(--vio-d); stroke-width: 8; stroke-linecap: round; stroke-opacity: .16; }
.swap-svg .refund { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; }
.swap-svg .refund-g { fill: none; stroke: var(--vio-d); stroke-width: 16; stroke-linecap: round; stroke-opacity: .3; }
.swap-svg .zone { fill: rgba(139, 124, 240, .035); stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 2 9; stroke-linecap: round; }
.swap-svg .lbl { font: 600 13px/1 var(--f-m); letter-spacing: .16em; text-transform: uppercase; fill: var(--dim); }
.swap-svg .lbl-j { fill: var(--acc); font-size: 15px; }
.swap-svg .dot { fill: #fff; }
[data-theme="light"] .swap-svg .dot { fill: var(--acc); }
.swap-svg .g-track { fill: none; stroke: var(--line-2); stroke-width: 7; stroke-linecap: round; }
.swap-svg .g-fill { fill: none; stroke: var(--acc); stroke-width: 7; stroke-linecap: round; }
.swap-svg .g-min { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.swap-svg .hub { fill: var(--card-solid); stroke: var(--line-2); stroke-width: 1.5; }
.node { position: absolute; left: 0; top: 0; will-change: transform; text-align: center; white-space: nowrap; }
.swap-dom .demo { font-size: .56em; }
.note.out-note { font-size: 1em; border-color: var(--acc); box-shadow: 0 0 4.5em .2em var(--glow), inset 0 0 1.8em -.5em var(--vio-d), inset 0 1px 0 rgba(255, 255, 255, .14); }
.note.out-note .n-s { color: var(--acc); letter-spacing: .06em; }
.note.refund-note { border-color: var(--ink); box-shadow: 0 0 3.6em 0 var(--glow), inset 0 1px 0 rgba(255, 255, 255, .14); }
.flare { width: 30em; height: 30em; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, .85) 0, rgba(201, 192, 255, .55) 12%, rgba(139, 124, 240, .28) 34%, transparent 66%); }
[data-theme="light"] .flare { background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(139, 124, 240, .6) 16%, rgba(110, 86, 230, .28) 38%, transparent 66%); }
.ringp { width: 12em; height: 12em; border-radius: 50%; border: 2px solid var(--acc); pointer-events: none; }
.note { display: block; min-width: 9.4em; padding: .7em .95em; border-radius: .9em; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 0 2em -.4em var(--glow), inset 0 1px 0 rgba(255, 255, 255, .12); font-size: 1em; }
.note .n-k { font: 600 .72em/1 var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); display: flex; align-items: center; justify-content: center; gap: .5em; }
.note .n-k::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--acc); box-shadow: 0 0 .7em var(--acc); }
.note .n-v { font: 700 1.24em/1.1 var(--f-d); margin-top: .34em; }
.note .n-s { font: 500 .72em/1 var(--f-m); color: var(--dim); margin-top: .4em; letter-spacing: .04em; }
.note.is-open .n-k::before { background: transparent; border: 1.5px solid var(--acc); box-shadow: none; }
.note.tag { min-width: 0; padding: .5em .8em; border-style: dashed; box-shadow: none; }
.note.vault { border-radius: 1.1em; padding: .9em 1.1em; border-color: var(--acc); box-shadow: 0 0 3.4em -.4em var(--glow), inset 0 0 1.6em -.6em var(--vio-d), inset 0 1px 0 rgba(255, 255, 255, .12); }
.note.gate { border-radius: 1.1em; min-width: 10.4em; padding: .8em 1em 1em; }
.note.gate.is-pass { border-color: var(--acc); box-shadow: 0 0 4em 0 var(--glow), inset 0 0 1.6em -.6em var(--vio-d), inset 0 1px 0 rgba(255, 255, 255, .12); }
.note.gate.is-fail { border-style: dashed; }
.note .g-read { font: 700 1.05em/1 var(--f-m); margin-top: .5em; }
.note .g-min-l { font: 500 .7em/1 var(--f-m); color: var(--dim); margin-top: .45em; letter-spacing: .04em; }
.note .g-bar { position: relative; height: .5em; margin-top: .6em; border-radius: 1em; background: var(--line-2); overflow: visible; }
.note .g-bar i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 1em; background: linear-gradient(90deg, var(--vio-d), var(--vio-l)); transform-origin: 0 50%; transform: scaleX(0); }
.note .g-bar u { position: absolute; left: 74%; top: -.35em; bottom: -.35em; width: 2px; background: var(--ink); border-radius: 2px; }
.note .g-verdict { font: 600 .7em/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; margin-top: .7em; color: var(--acc); min-height: 1em; }
.coin { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; font: 800 .8em/1 var(--f-d); color: #0d0826; background: radial-gradient(circle at 34% 28%, #fff, #c9c0ff 34%, #8b7cf0 78%); box-shadow: 0 0 1.6em var(--glow), inset 0 -.2em .5em rgba(40, 20, 120, .5); }
.coin.usdc { background: radial-gradient(circle at 34% 28%, #fff, #e9e5ff 40%, #b6aaf7 80%); }
.clock { font: 600 .6em/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px dashed var(--line-2); border-radius: 99px; padding: .6em .9em; background: var(--card-solid); }
.swap-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: stretch; width: min(100%, calc((100svh - var(--nav-h) - 104px) * 1000 / 520)); margin-inline: auto; }
.ledger, .whatif { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 8px 14px; }
.ledger { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center; }
.ledger h4 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 10.5px/1 var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); display: grid !important; gap: 7px; justify-items: start; }
.ledger dl { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 6px 10px; }
.ledger dl > div { display: grid; gap: 5px; opacity: .32; transition: opacity .5s; }
.ledger dl > div.is-on { opacity: 1; }
.ledger dt { font: 500 9.5px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.ledger dd { font: 600 12px/1 var(--f-m); white-space: nowrap; }
.ledger .who dd { color: var(--acc); }
.whatif { display: grid; gap: 7px; align-content: center; max-width: 330px; }
.switch { display: inline-flex; align-items: center; gap: 12px; font: 700 14px/1.1 var(--f-t); text-align: left; }
.switch i { position: relative; flex: none; width: 46px; height: 26px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(139, 124, 240, .1); transition: background-color .4s, border-color .4s; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--mute); transition: transform .45s cubic-bezier(.2, .8, .2, 1), background-color .4s; }
.switch[aria-checked="true"] i { background: linear-gradient(180deg, var(--vio-l), var(--vio-d)); border-color: transparent; box-shadow: 0 0 22px -2px var(--glow); }
.switch[aria-checked="true"] i::after { transform: translateX(20px); background: #0d0826; }
.whatif p { font-size: 11.5px; line-height: 1.35; color: var(--mute); }
@media (max-height: 760px) and (min-width: 861px) { .whatif p { display: none; } }
.swap-bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 10px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.swap-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--vio-d), var(--vio-l)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 6. roadmap ---------- */
.road { padding: 14vh 0 10vh; }
.road-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.road .sec-head { position: sticky; top: calc(var(--nav-h) + 6vh); }
.road-list { display: grid; }
.road-list li { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 6px 20px 0; border-top: 1px solid var(--line); }
.road-list li:last-child { border-bottom: 1px solid var(--line); }
.road-list li::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, var(--acc), transparent 70%); transform: scaleX(var(--k, 0)); transform-origin: 0 50%; }
.road-list b { font: 600 12px/1.6 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.road-list h3 { font: 700 clamp(16px, 1.5vw, 20px)/1.2 var(--f-d); text-transform: uppercase; }
.road-list p { color: var(--mute); font-size: 14.5px; margin-top: 6px; max-width: 46em; }
.road-list .now h3 { color: var(--acc); }

/* ---------- 7. enter ---------- */
.enter { padding: 6vh 0 10vh; }
.enter-panel { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(90deg, rgba(139, 124, 240, .05), rgba(139, 124, 240, .05) 40%, rgba(139, 124, 240, .16)); box-shadow: var(--shadow), 0 0 120px -30px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .1); min-height: min(56vh, 420px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.enter-globe { position: absolute; inset: 1px; }
.enter-copy { grid-column: 2; position: relative; display: grid; gap: 22px; justify-items: start; padding: clamp(24px, 4vw, 56px); padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line-2); }

/* ---------- footer ---------- */
.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.foot-note { font-size: 13px; color: var(--mute); max-width: 52em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 600; }
.foot-links a { color: var(--mute); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ---------- arrival: hidden until the page is ready (motion only) ---------- */
html:not(.static) body:not(.is-ready) .hero-in, html:not(.static) body:not(.is-ready) .nav { opacity: 0; }
html:not(.static) .rv { opacity: 0; transform: translateY(26px); }

/* theme change: a circle of light opens from the toggle */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: vt-open .8s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes vt-open { from { clip-path: circle(0 at var(--vt-x, 90%) var(--vt-y, 4%)); } to { clip-path: circle(150vmax at var(--vt-x, 90%) var(--vt-y, 4%)); } }

/* ---------- static (reduced motion): no pins ---------- */
html.static .any, html.static .swap { height: auto; }
html.static .any-pin, html.static .swap-pin { position: static; height: auto; padding-block: 12vh; }
html.static .swap-bar { display: none; }
html.static .swap-steps li .more { display: inline !important; }

/* ---------- small laptops (the owner's 1280×610) ---------- */
@media (max-height: 700px) and (min-width: 900px) {
  .feat p { font-size: 13px; }
  .any-steps li { font-size: 13.5px; }
  .honest { font-size: 12.5px; padding: 9px 12px; }
  .swap-steps button { font-size: 12.5px; }
}

/* ---------- phones ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  .nav-links, .theme-lbl, .brand-t i { display: none; }
  .theme-btn { padding: 0 11px; }
  .hero { height: auto; min-height: 100svh; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 22vh; }
  .hero-emblem { order: -1; margin: 0 0 18px; }
  .em-tilt { height: min(27vh, 250px); }
  .wordmark { font-size: 9.4vw; }
  .em-line { width: 70vw; }
  .h1 { font-size: min(8.3vw, 46px); }
  .hero-copy .kicker { font-size: 10px; letter-spacing: .14em; margin-bottom: 14px; }
  .hero-copy .kicker > i { width: 20px; }
  .hero-sub { font-size: 15px; margin-top: 14px; }
  .cta { margin-top: 20px; gap: 10px; }
  .btn { height: 48px; padding: 0 20px; }
  .hero-globe { top: 54svh; }
  .hero-globe .globe-2d { width: 181%; left: -69.5%; top: calc(19svh - 13.6vw); }
  .enter-globe .globe-2d { width: 150%; left: -49%; top: 8%; }
  .hero-sub { text-shadow: 0 1px 12px var(--bg); }
  .btn-ghost { background: var(--card-solid); }
  .feats { padding: 2vh 0 7vh; }
  .feat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .feat:nth-child(3)::before { display: none; }
  .feat p { font-size: 13px; }
  .any { height: 190vh; }
  .any-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 0; align-items: start; padding-top: 10px; }
  .any-copy { gap: 10px; }
  .any-copy .h2 { font-size: 7.4vw; }
  .any-copy .lead { display: none; }
  .any-steps li { display: none; font-size: 13.5px; padding: 8px 12px; }
  .any-steps li.is-on { display: grid; min-height: 5.6em; }
  .honest { font-size: 11.5px; padding: 8px 10px; line-height: 1.4; }
  .any-stage { height: 100%; min-height: 0; }
  .built { padding: 7vh 0 6vh; }
  .sec-head { margin-bottom: 20px; gap: 12px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 14px; gap: 10px; border-radius: 16px; }
  .card h3 { font-size: 13px; }
  .card p { font-size: 12.5px; line-height: 1.4; }
  .card .chip { height: 18px; font-size: 9px; padding: 0 7px; }
  .c-a, .c-b { grid-column: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .c-c { grid-column: span 2; }
  .c-d, .c-e { grid-column: auto; }
  .codes { grid-template-columns: repeat(5, 1fr); gap: 3px; }
  .codes li { font-size: 9px; padding: 6px 0; border-radius: 5px; }
  .num-line { flex-direction: column; gap: 6px; }
  .num-line b { font-size: 22px; }
  .codebox { font-size: 11px; min-height: 0; padding: 9px 10px; }
  .limits { font-size: 12.5px; margin-top: 16px; }
  .shot { height: 150px; margin: 4px 4% -14px; transform: none; border-radius: 14px 14px 0 0; }
  .card:hover .shot { transform: none; }
  .card { min-height: 0; }
  .swap { height: 235vh; }
  .swap-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; align-items: start; padding-block: 8px 16px; }
  .swap-copy { gap: 8px; }
  .swap-copy .h2 { font-size: 6.1vw; }
  .swap-steps li { display: none; }
  .swap-steps li.is-on { display: block; }
  .swap-steps li.is-on button { min-height: 5.4em; font-size: 13px; align-content: start; }
  .swap-stage { width: min(100%, calc((100svh - var(--nav-h) - 330px) * 400 / 470)); aspect-ratio: 400 / 470; }
  .swap-svg .lbl { font-size: 11px; }
  .swap-foot { grid-template-columns: minmax(0, 1fr); gap: 6px; width: 100%; }
  .ledger, .whatif { padding: 8px 10px; }
  .whatif { max-width: none; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger h4 { display: flex !important; justify-content: space-between; align-items: center; }
  .ledger dl { grid-template-columns: repeat(3, auto); }
  .ledger dd { font-size: 11.5px; }
  .ledger h4 { margin-bottom: 6px; }
  .whatif p { display: none; }
  .road { padding: 7vh 0 4vh; }
  .road-list li { padding: 14px 0; gap: 8px 12px; }
  .road-list p { font-size: 13px; }
  .enter { padding: 4vh 0 6vh; }
  .feats { padding-bottom: 5vh; }
  .road-grid { grid-template-columns: minmax(0, 1fr); }
  .road .sec-head { position: static; }
  .road-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .road-list .chip { grid-column: 2; justify-self: start; }
  .enter-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .enter-globe { position: relative; inset: auto; height: 210px; }
  .enter-copy { grid-column: 1; border-left: 0; border-top: 1px solid var(--line-2); }
  .h2-xl { font-size: 10.4vw; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 860px) and (max-height: 700px) { .honest { display: none; } }
.ch.is-x { color: var(--acc); }
