/* $SVAG landing v2 — brand per docs/BRAND.md + agents/meme-agent/STYLE_GUIDE.md.
   No external requests. Motion is CSS + a small vanilla JS file; prefers-reduced-motion gets a calm static page. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
/* metric-matched fallbacks so the swap to the web fonts doesn't shift the layout (CLS) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Consolas"), local("Courier New"); size-adjust: 109%; ascent-override: 93%; descent-override: 24%; line-gap-override: 0%; }

:root {
  --logo: #0066FF; --base: #0000FF; --feature: #0041E6; --pilltext: #0A3BC4;
  --deep: #001E94; --outer: #0A3FCC; --inner: #0A55F0; --glow: #2F72FE;
  --night: #050F3A; --night2: #0B1A5C;
  --ink: #0A0B0D; --g80: #32353D; --g60: #5B616E; --g50: #717886; --g30: #B1B7C3; --g15: #DEE1E7; --g10: #EEF0F3;
  --white: #FFFFFF; --lime: #B6F569; --lilac: #CC9CEE; --red: #FC401F; --yellow: #FFD12F; --green: #4AB379;
  --money: #2EB85E; --money-d: #1E7A35;
  --sans: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, Consolas, Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --gut: 16px; --maxw: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--night); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; justify-content: center; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 2; }

/* ---------- scenes ---------- */
section, footer { position: relative; }
.scene-blue { color: #fff; background: radial-gradient(ellipse at 50% 62%, var(--glow) 0%, var(--inner) 32%, var(--outer) 62%, var(--deep) 100%); overflow: hidden; --edge: var(--deep); }
.scene-night { color: #fff; background: var(--night); --edge: var(--night); }
.scene-white { background: #fff; --edge: #fff; }
/* pixel-dissolve edge between scenes */
.story, .hq, .check, .speed, .versus, .feed, .links, .footer { --px: 14px; }
.story::before, .hq::before, .check::before, .speed::before, .feed::before, .links::before, .footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--px) * -1); height: var(--px); z-index: 5; pointer-events: none;
  background: conic-gradient(var(--edge) 25%, transparent 0 50%, var(--edge) 0 75%, transparent 0) 0 0 / calc(var(--px) * 2) calc(var(--px) * 2);
}
.hq::before, .footer::before { --edge: var(--deep); }
/* film grain on blue scenes */
.scene-blue::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.burst { position: absolute; left: 50%; top: 62%; width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.085) 0 5deg, rgba(255,255,255,0) 5deg 10deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, rgba(0,0,0,.55) 40%, transparent 70%); mask: radial-gradient(circle, #000 0 18%, rgba(0,0,0,.55) 40%, transparent 70%);
  animation: spin 120s linear infinite; }
.burst.slow { top: 50%; animation-duration: 200s; }
.glow { position: absolute; left: 50%; top: 66%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(111,164,255,.55), rgba(111,164,255,0) 70%); z-index: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.h2 { font-size: clamp(36px, 7vw, 76px); margin-bottom: 28px; }
.light { color: #fff; }
.label { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--logo); margin: 0 0 16px; }
.label.light { color: rgba(255,255,255,.88); }
.label.lime { color: var(--lime); }
.sq { width: 10px; height: 10px; background: currentColor; display: inline-block; border-radius: 1px; flex: none; }
.sq.lime { background: var(--lime); }

/* ---------- pills / buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 2px solid transparent;
  padding: 12px 20px; font: 700 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill-sm { padding: 9px 14px; font-size: 12px; background: #fff; color: var(--pilltext); text-transform: none; letter-spacing: .04em; }
.pill-white { background: #fff; color: var(--pilltext); }
.pill-ghost-w { background: transparent; color: rgba(255,255,255,.8); border: 2px dashed rgba(255,255,255,.5); }
.pill-lime { background: var(--lime); color: var(--ink); }
.magnetic { transition: transform .25s var(--ease); will-change: transform; }

/* ---------- nav + sticky CA bar ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gut); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; background: #fff; }
.brand .mono { font-size: 14px; }

.cabar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transform: translateY(-110%); transition: transform .45s var(--ease); padding: 8px var(--gut) 0; pointer-events: none; }
.cabar.show { transform: none; pointer-events: auto; }
.cabar-in { max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(5,15,58,.82); color: #fff; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px rgba(0,0,30,.35); }
.cabar-tag { font-size: 10px; color: var(--lime); white-space: nowrap; }
.cabar-addr { font-family: var(--mono); font-size: 13px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cabar-addr .full { display: none; }
.cabar-btn { border: 0; border-radius: 999px; padding: 9px 14px; background: #fff; color: var(--pilltext); font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.cabar-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.cabar-btn.is-copied, .ticket-copy.is-copied { background: var(--lime); color: var(--ink); }

/* ---------- robots (SVG built by site.js from the meme agent's geometry) ---------- */
.bot { display: block; width: 120px; aspect-ratio: 1; }
.bot svg { width: 100%; height: 100%; overflow: visible; }
.r-body { fill: #fff; } .r-feat { fill: var(--feature); }
.bot[data-bot~="blue"] .r-body { fill: var(--logo); } .bot[data-bot~="blue"] .r-feat { fill: #fff; }
.r-shades rect { fill: var(--ink); } .r-shades .gl { fill: #D9D9D9; }
.r-top, .r-ant, .r-eyes, .r-shades, .r-all, .r-badge { transform-box: fill-box; }
.r-ant { transform-origin: 50% 100%; } .r-eyes { transform-origin: 50% 50%; } .r-top { transform-origin: 50% 100%; } .r-all { transform-origin: 50% 100%; }
.bot .r-eyes { animation: blink 4.6s infinite; }
.bot .r-ant { animation: ant 2.4s ease-in-out infinite; }
.bot[data-idle="breathe"] .r-top { animation: breathe 3.2s ease-in-out infinite; }
.bot[data-idle="hop"] .r-all { animation: hop 2.2s var(--ease) infinite; }
.bot[data-idle="scan"] .r-eyes { animation: scan 3.4s ease-in-out infinite; }
.bot[data-idle="type"] .r-top { animation: typing .36s steps(2) infinite; }
.bot[data-idle="wiggle"] .r-all { animation: wiggle 2.8s ease-in-out infinite; }
.bot[data-idle="wave"] .r-ant { animation: wave .9s ease-in-out infinite; }
.bot[data-idle="wave"] .r-all { animation: hop 1.8s var(--ease) infinite; }
.bot.nod .r-top { animation: nod .7s var(--ease) 1 !important; }
.bot .r-badge { animation: badge 3s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes ant { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes wave { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(24deg); } }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.2px); } }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-9px); } 90% { transform: translateY(0) scaleY(.96); } }
@keyframes scan { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }
@keyframes typing { 0% { transform: translateY(0); } 100% { transform: translateY(-1.4px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
@keyframes nod { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(5px); } 60% { transform: translateY(-2px); } 80% { transform: translateY(3px); } }
@keyframes badge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---------- 1 · HERO ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 84px var(--gut) 0; }
.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.kicker { font-size: 11px; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.kinetic { font-size: clamp(44px, 11.5vw, 112px); font-weight: 800; letter-spacing: -.045em; max-width: 11ch; line-height: .98; }
.kinetic .w { display: inline-block; transform: translateY(.5em) rotate(3deg); animation: wordIn .8s var(--ease) forwards; }
.kinetic .w:nth-child(2) { animation-delay: .06s; } .kinetic .w:nth-child(3) { animation-delay: .12s; } .kinetic .w:nth-child(4) { animation-delay: .18s; }
.kinetic .pillword { background: #fff; color: var(--feature); border-radius: .14em; padding: 0 .16em .04em; margin-left: .04em; animation: pillPop .8s var(--spring) .3s both; }
@keyframes wordIn { to { transform: none; } }
@keyframes pillPop { from { transform: scale(.35) rotate(-10deg); } to { transform: rotate(-2deg); } }
.sub { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255,255,255,.88); margin: 18px 0 22px; font-weight: 500; }

.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-up.in { opacity: 1; transform: none; }
/* hero: visible from the first paint (good LCP) — slide only, no fade, no JS needed */
.hero .reveal-up { opacity: 1; transform: translateY(18px); transition: none; animation: wordIn .8s var(--ease) .35s forwards; }
.hero .ticket.reveal-up { animation-delay: .5s; }

/* the CA "ticket" */
.ticket { position: relative; width: min(100%, 560px); padding: 14px 16px 14px; border-radius: 20px; text-align: left;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 20px 50px rgba(0,10,80,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.ticket::before { content: ""; position: absolute; left: 16px; right: 16px; top: 40px; border-top: 2px dashed rgba(255,255,255,.35); }
.ticket-top { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.ticket-top span { display: inline-flex; align-items: center; gap: 7px; }
.ticket-top img { background: #fff; border-radius: 2px; }
.ticket-addr { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(12.5px, 3.45vw, 17px); letter-spacing: .01em; word-break: break-all; color: #fff; user-select: all; }
.ticket-actions { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.ticket-copy { border: 0; border-radius: 999px; padding: 11px 18px; background: #fff; color: var(--pilltext); font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, transform .25s var(--ease); }
.ticket-copy:active { transform: scale(.95); }
.ticket-link { font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; text-decoration: none; opacity: .85; padding: 10px 6px; }
.ticket-link:hover { opacity: 1; text-decoration: underline; }
.ticket-notch { position: absolute; top: 33px; width: 14px; height: 14px; border-radius: 50%; background: var(--deep); }
.ticket-notch.l { left: -8px; } .ticket-notch.r { right: -8px; }
.sparks { position: absolute; inset: 0; pointer-events: none; }
.sparks i { position: absolute; left: var(--sx); top: var(--sy); width: 7px; height: 7px; background: var(--c, var(--lime)); animation: spark .7s var(--ease) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

.hero-stage { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; gap: 3vw; margin-top: auto; padding-top: 26px; }
.bot-hero { width: min(58vw, 270px); margin-bottom: -3%; animation: drop 1.1s var(--spring) .2s both; }
.bot-hero .r-shades { animation: shadesIn .7s var(--spring) 1.25s both; }
@keyframes drop { from { transform: translateY(-120vh); } }
@keyframes shadesIn { from { transform: translateY(-60px); opacity: 0; } }
.stack { width: clamp(52px, 10vw, 92px); height: auto; animation: rise .9s var(--spring) .9s both; }
@keyframes rise { from { transform: translateY(100%); opacity: 0; } }

.money { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bill { position: absolute; left: var(--x); top: var(--y); width: 60px; height: 32px; background: url("../img/money-bill.svg") center/contain no-repeat;
  transform: translate3d(calc(var(--mx, 0) * var(--d) * 26px), calc(var(--my, 0) * var(--d) * 26px + var(--sy, 0) * var(--d) * -1px), 0) rotate(var(--r)); }
.bill::after { content: none; }
.bill.sm { width: 40px; height: 22px; opacity: .8; filter: blur(.6px); }
.money .bill { animation: floatY 6s ease-in-out infinite; animation-delay: calc(var(--d) * -4s); }
@keyframes floatY { 50% { translate: 0 -12px; } }
.onbase { position: absolute; right: var(--gut); bottom: 14px; z-index: 3; margin: 0; display: none; align-items: center; gap: 8px; font-size: 11px; }
.onbase img { height: 20px; width: auto; }
.scroll-hint { position: absolute; left: var(--gut); bottom: 16px; z-index: 3; font-size: 10px; display: none; align-items: center; gap: 10px; color: rgba(255,255,255,.8); }
.scroll-hint span { width: 2px; height: 26px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-hint span::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #fff; animation: drip 1.6s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- 2 · STORY ---------- */
.story { height: 460vh; background: var(--night); color: #fff; }
.story-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto; padding: 72px var(--gut) 20px; }
.grid-floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; z-index: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(138,187,251,.22) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(138,187,251,.22) 1px, transparent 1px) 0 0 / 48px 48px;
  transform: perspective(500px) rotateX(58deg); transform-origin: 50% 100%; -webkit-mask: linear-gradient(transparent, #000 70%); mask: linear-gradient(transparent, #000 70%); }
.story-label { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 11px; color: rgba(255,255,255,.75); margin: 0; }
.story-count { margin-left: auto; color: var(--lime); } .story-count b { color: #fff; }
.story-lines { position: relative; z-index: 2; height: 2.3em; font-size: clamp(34px, 8.4vw, 84px); margin-top: 14px; }
.sl { position: absolute; inset: 0; font-size: 1em; font-weight: 800; letter-spacing: -.04em; opacity: 0; transform: translateY(40px); filter: blur(10px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
.sl em { font-style: normal; color: var(--lime); }
.story[data-step="0"] .sl[data-s="0"], .story[data-step="1"] .sl[data-s="1"], .story[data-step="2"] .sl[data-s="2"], .story[data-step="3"] .sl[data-s="3"] { opacity: 1; transform: none; filter: none; }
.story[data-step="3"] .sl[data-s="3"] em { background: #fff; color: var(--feature); border-radius: .14em; padding: 0 .14em; }

.story-stage { position: relative; z-index: 2; min-height: 0; }
.story-stage > * { position: absolute; transition: transform .8s var(--ease), opacity .6s var(--ease), left .8s var(--ease), top .8s var(--ease); }
.wallet-box { left: 50%; top: 46%; transform: translate(-50%, -50%) scale(1.5); }
.wallet { width: 120px; height: auto; filter: drop-shadow(0 14px 30px rgba(0,102,255,.5)); }
.wallet-tag { font-size: 10px; text-align: center; margin: 12px 0 0; color: var(--lime); }
.story:not([data-step="0"]) .wallet-box { left: 22%; transform: translate(-50%, -50%) scale(.8); }
.story[data-step="2"] .wallet-box, .story[data-step="3"] .wallet-box { opacity: 0; transform: translate(-50%, -50%) scale(.4); }

.bot-story { width: clamp(110px, 26vw, 200px); left: 50%; top: 50%; opacity: 0; transform: translate(-50%, 20%) scale(.6); }
.story[data-step="1"] .bot-story { opacity: 1; left: 52%; transform: translate(-50%, -42%); }
.story[data-step="2"] .bot-story { opacity: 1; left: 50%; top: 16%; transform: translate(-50%, 0) scale(.85); }
.story[data-step="3"] .bot-story { opacity: 1; left: 50%; top: 12%; transform: translate(-50%, 0) scale(1.05); }

.rocket-wrap { left: 80%; top: 52%; opacity: 0; transform: translate(-50%, calc(var(--p1, 0) * var(--rise, -34vh))); transition: opacity .4s; display: flex; flex-direction: column; align-items: center; }
.story[data-step="1"] .rocket-wrap { opacity: 1; }
.rocket { width: 54px; height: auto; }
.rocket .flame { animation: flame .16s steps(2) infinite; }
@keyframes flame { 50% { transform: translateY(2px) scaleY(.8); } }
.coin { margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11px; opacity: calc(var(--p1, 0) * 3 - 1); }
.burst-px { left: 80%; top: 14%; width: 1px; height: 1px; }
.burst-px i { position: absolute; width: 10px; height: 10px; background: var(--lime); opacity: 0; transform: translate(0,0); }
.story.boom .burst-px i { animation: boom 1s var(--ease) forwards; }
.burst-px i:nth-child(3n) { background: var(--yellow); } .burst-px i:nth-child(4n) { background: #fff; }
.burst-px i:nth-child(1) { --dx: -90px; --dy: -40px; } .burst-px i:nth-child(2) { --dx: 80px; --dy: -60px; } .burst-px i:nth-child(3) { --dx: -40px; --dy: -100px; }
.burst-px i:nth-child(4) { --dx: 50px; --dy: 70px; } .burst-px i:nth-child(5) { --dx: -100px; --dy: 40px; } .burst-px i:nth-child(6) { --dx: 110px; --dy: 10px; }
.burst-px i:nth-child(7) { --dx: 10px; --dy: -120px; } .burst-px i:nth-child(8) { --dx: -70px; --dy: 90px; } .burst-px i:nth-child(9) { --dx: 70px; --dy: -110px; }
.burst-px i:nth-child(10) { --dx: -120px; --dy: -80px; } .burst-px i:nth-child(11) { --dx: 120px; --dy: 80px; } .burst-px i:nth-child(12) { --dx: 0; --dy: 110px; }
@keyframes boom { 0% { opacity: 1; transform: translate(0,0) scale(1.4); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }
.launch-tag { left: 50%; bottom: 4%; transform: translate(-50%, 20px); font-size: 10px; color: rgba(255,255,255,.7); opacity: 0; white-space: nowrap; }
.story[data-step="1"] .launch-tag { opacity: 1; transform: translate(-50%, 0); }

.story-team { left: 0; right: 0; bottom: 8%; display: flex; justify-content: center; gap: clamp(6px, 2.4vw, 28px); pointer-events: none; }
.story-team .bot { width: clamp(56px, 15vw, 120px); opacity: 0; transform: translateY(60px) scale(.4); transition: transform .7s var(--spring), opacity .4s; }
.story[data-step="2"] .story-team .bot, .story[data-step="3"] .story-team .bot { opacity: 1; transform: none; }
.story-team .bot:nth-child(2) { transition-delay: .08s; } .story-team .bot:nth-child(3) { transition-delay: .16s; } .story-team .bot:nth-child(4) { transition-delay: .24s; } .story-team .bot:nth-child(5) { transition-delay: .32s; }
.story[data-step="3"] .story-team .bot { animation: hop 1.6s var(--ease) infinite; }
.story[data-step="3"] .story-team .bot:nth-child(2n) { animation-delay: .3s; }
.story-progress { position: relative; z-index: 2; height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.story-progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- 3 · AGENT HQ ---------- */
.hq { padding: 96px 0 0; }
.hint { font-size: 11px; color: rgba(255,255,255,.7); margin: -10px 0 30px; display: flex; }
.hq-lead { display: flex; justify-content: center; margin-bottom: 26px; }
.hq-team { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; max-width: 1100px; }
.hq-team li:last-child { grid-column: 1 / -1; justify-self: center; width: 50%; }
.agent { display: block; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; perspective: 900px; }
.flip { position: relative; display: grid; transition: transform .7s var(--spring); transform-style: preserve-3d; }
.agent.is-open .flip { transform: rotateY(180deg); }
@media (hover: hover) { .agent:hover .flip { transform: rotateY(180deg); } }
.face { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px 8px 18px; border-radius: 22px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; min-height: 210px; }
.front { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.front .bot { width: 104px; }
.front .pill { padding: 8px 12px; font-size: 10.5px; }
.back { transform: rotateY(180deg); background: #fff; color: var(--ink); text-align: left; align-items: flex-start; justify-content: flex-start; padding: 18px; box-shadow: 0 18px 40px rgba(0,10,80,.35); }
.back .role { font-size: 10.5px; color: var(--logo); }
.back .job { font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }
.back .now { margin-top: auto; font-size: 10.5px; letter-spacing: .06em; text-transform: none; color: var(--g60); line-height: 1.45; }
.back .type { color: var(--ink); }
.back .type::after { content: "▌"; color: var(--logo); animation: caret .8s steps(2) infinite; margin-left: 1px; }
@keyframes caret { 50% { opacity: 0; } }
.agent-lead { width: min(100%, 320px); }
.agent-lead .front { background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.3); }
.agent-lead .front .bot { width: 150px; }

.hiring { margin: 52px auto 0; text-align: center; }
.hiring-t { font-size: 13px; margin: 0 0 18px; }
.dots { animation: caret 1.2s steps(2) infinite; }
.chairs { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(10px, 4vw, 48px); flex-wrap: wrap; }
.chairs li { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.chairs img { width: 58px; height: auto; opacity: .85; }
.ghost-bot { position: absolute; top: -26px; width: 46px; height: 40px; border: 2px dashed rgba(255,255,255,.5); border-radius: 4px; display: grid; place-items: center; font: 700 18px/1 var(--mono); color: rgba(255,255,255,.7); animation: breathe 3s ease-in-out infinite; }
.ghost-bot::before { content: "?"; }
.chairs .pill { font-size: 9.5px; padding: 7px 10px; }

.ticker { position: relative; z-index: 2; margin-top: 56px; background: var(--ink); color: #fff; overflow: hidden; border-top: 2px solid var(--lime); }
.ticker-track { display: flex; width: max-content; gap: 0; padding: 14px 0; font-size: 12px; letter-spacing: .08em; animation: marquee 48s linear infinite; }
.ticker-track span { padding: 0 22px; white-space: nowrap; }
.ticker-track b { color: var(--lime); font-weight: 700; margin-right: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- 4 · FAKE CHECKER ---------- */
.check { padding: 100px 0; background: radial-gradient(ellipse at 80% 40%, var(--night2), var(--night) 60%); }
.check-grid { display: grid; gap: 40px; align-items: center; }
.lead-t { color: rgba(255,255,255,.78); font-size: 17px; max-width: 46ch; margin: -6px 0 26px; }
.checker label { display: block; font-size: 10px; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.checker-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); transition: border-color .2s, box-shadow .2s; }
.checker-row:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(182,245,105,.15); }
.checker input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 500 14px var(--mono); padding: 0 12px; outline: none; }
.checker input::placeholder { color: rgba(255,255,255,.4); }
.check-out { min-height: 92px; margin-top: 18px; }
.res { border-radius: 16px; padding: 14px 16px; font-size: 15px; animation: resIn .5s var(--spring); }
.res .mono { font-size: 10.5px; display: block; margin-bottom: 6px; }
.res code { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.res code mark { background: var(--red); color: #fff; border-radius: 2px; padding: 0 1px; }
.res.ok { background: rgba(74,179,121,.16); border: 1px solid var(--green); }
.res.ok .mono { color: var(--lime); }
.res.bad { background: rgba(252,64,31,.14); border: 1px solid var(--red); }
.res.bad .mono { color: #FF8A73; }
.res.info { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); }
@keyframes resIn { from { transform: translateY(10px) scale(.97); opacity: 0; } }
.check-bot { position: relative; display: grid; place-items: center; min-height: 300px; }
.check-bot .bot { width: min(52vw, 220px); position: relative; z-index: 1; }
.shield-ring { position: absolute; width: min(74vw, 320px); aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(138,187,251,.35); animation: spin 30s linear infinite; }
.check-bot.ok .shield-ring { border: 3px solid var(--green); box-shadow: 0 0 60px rgba(74,179,121,.45), inset 0 0 40px rgba(74,179,121,.25); animation-duration: 8s; }
.check-bot.bad .shield-ring { border: 3px solid var(--red); box-shadow: 0 0 60px rgba(252,64,31,.4); }
.check-bot.bad .bot { animation: shake .5s; }
.check-bot.ok .bot { animation: hop .9s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.verdict { position: absolute; bottom: 8px; font-size: 11px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; z-index: 2; }
.check-bot.ok .verdict { background: var(--green); } .check-bot.bad .verdict { background: var(--red); }

/* ---------- 5 · BASE SPEED ---------- */
.speed { padding: 110px 0 150px; overflow: hidden; }
.speed .label { color: var(--base); } .speed .label img { border-radius: 2px; }
.speed-h { font-size: clamp(28px, 5.6vw, 56px); font-weight: 700; letter-spacing: -.035em; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.odo { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: clamp(64px, 17vw, 176px); letter-spacing: -.06em; line-height: 1; color: #fff; background: var(--base); padding: .06em .2em .02em; border-radius: .12em; font-variant-numeric: tabular-nums; margin: 10px 0; box-shadow: 0 18px 0 -6px var(--lime); min-width: 2.2ch; }
.odo.tick { animation: tickPulse .2s var(--ease); }
@keyframes tickPulse { 50% { transform: translateY(-3px); } }
.speed-sub { font-size: 11px; color: var(--g60); margin: 22px auto 6px; max-width: 60ch; line-height: 1.7; }
.speed-tag { font-weight: 700; font-size: 18px; margin: 10px 0 0; }
.bars { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: flex-end; gap: 3px; justify-content: flex-end; z-index: 1; pointer-events: none; overflow: hidden; }
.bars i { flex: none; width: 6px; border-radius: 2px 2px 0 0; background: var(--lilac); animation: barIn .3s var(--ease); }
.bars i.l { background: var(--lime); } .bars i.b { background: var(--logo); }
@keyframes barIn { from { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 6 · AGENTS VS HUMANS ---------- */
.versus { display: grid; grid-template-columns: 1fr; position: relative; background: var(--g10); }
.vs-panel { position: relative; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 56px var(--gut); overflow: hidden; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.vs-human { background: var(--g10); color: var(--g80); }
.versus .vs-human { transform: translateX(-12%); opacity: 0; } .versus .vs-agent { transform: translateX(12%); opacity: 0; }
.versus.in .vs-human, .versus.in .vs-agent { transform: none; opacity: 1; }
.vs-label { font-size: 12px; margin: 0; position: relative; z-index: 2; } .vs-label.light { color: #fff; }
.human { width: 90px; height: auto; filter: grayscale(1); }
.vs-quote { font-size: clamp(28px, 5vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-align: center; margin: 0; color: var(--g50); }
.vs-bot { position: relative; z-index: 2; }
.vs-bot .bot { width: 160px; }
.key { position: absolute; right: -34px; bottom: 34px; width: 64px; height: auto; animation: wiggle 2.4s ease-in-out infinite; transform-origin: 0 50%; }
.vs-pills { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 380px; }
.vs-pills li { text-transform: lowercase; letter-spacing: .06em; opacity: 0; transform: translateY(14px) scale(.8); transition: opacity .5s, transform .6s var(--spring); }
.versus.in .vs-pills li { opacity: 1; transform: none; }
.versus.in .vs-pills li:nth-child(2) { transition-delay: .12s; } .versus.in .vs-pills li:nth-child(3) { transition-delay: .24s; } .versus.in .vs-pills li:nth-child(4) { transition-delay: .36s; }
.vs-mid { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%) scale(0) rotate(-20deg); width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-size: 18px; border: 4px solid #fff; transition: transform .7s var(--spring) .5s; }
.versus.in .vs-mid { transform: translate(-50%, -50%) scale(1) rotate(-8deg); }

/* ---------- 7 · FEED ---------- */
.feed { padding: 100px 0; }
.feed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--night2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); }
.tile:hover { box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.tile.tall { grid-column: 1 / -1; }
.tile.wide { grid-column: 1 / -1; }
.tile img[src*="post-x"] { aspect-ratio: 1; }
.tile img[src*="banner"] { aspect-ratio: 1280 / 426; }
.tile figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 9.5px; padding: 6px 10px; border-radius: 999px; background: rgba(5,15,58,.75); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.feed-grid > .tile:nth-child(2), .feed-grid > .tile:nth-child(3) { grid-column: auto; }
.feed-grid > .tile:nth-child(3) video { aspect-ratio: 1; }

/* ---------- 8 · LINKS ---------- */
.links { padding: 100px 0 40px; }
.link-grid { display: grid; gap: 12px; }
.ltile { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 6px 16px; padding: 22px 22px; border-radius: 22px; text-decoration: none;
  background: var(--g10); border: 2px solid transparent; overflow: hidden; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.ltile .mono { font-size: 11px; color: var(--base); }
.ltile .lt-t { font-weight: 700; font-size: 22px; letter-spacing: -.03em; grid-row: 2; }
.ltile .arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--base); color: #fff; font-size: 20px; transition: transform .35s var(--spring); }
.ltile:hover { border-color: var(--base); background: #fff; }
.ltile:hover .arrow { transform: rotate(45deg) scale(1.1); }
.ltile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s var(--ease); pointer-events: none; }
.ltile:hover::after { transform: translateX(100%); }
.ltile.dark { background: var(--ink); color: #fff; } .ltile.dark .mono { color: var(--lime); } .ltile.dark .arrow { background: var(--lime); color: var(--ink); }
.ltile.dark:hover { background: #000; border-color: var(--lime); }

/* ---------- 9 · TIMELINE ---------- */
.timeline { padding: 60px 0 120px; }
.track { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; display: grid; gap: 34px; --fill: 0; }
.track::before, .track::after { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--g15); }
.track::after { background: linear-gradient(var(--base), var(--logo)); transform-origin: top; transform: scaleY(var(--fill)); }
.track li { position: relative; opacity: .45; transition: opacity .5s; }
.track li::before { content: ""; position: absolute; left: -34px; top: 3px; width: 22px; height: 22px; border-radius: 5px; background: #fff; border: 4px solid var(--g15); z-index: 1; transition: background .4s, border-color .4s, transform .5s var(--spring); }
.track li.lit { opacity: 1; } .track li.lit::before { background: var(--base); border-color: var(--base); transform: rotate(45deg) scale(.9); }
.track li.next.lit::before { background: var(--lime); border-color: var(--lime); }
.track p { margin: 0; font-size: 17px; max-width: 56ch; }
.track .date { font-size: 11px; color: var(--logo); margin-bottom: 6px; }
.track a { color: var(--base); font-weight: 700; text-decoration: none; }

/* ---------- 10 · FOOTER ---------- */
.footer { text-align: center; padding: 90px var(--gut) 34px; display: flex; flex-direction: column; align-items: center; }
.footer > * { position: relative; z-index: 2; }
.bot-foot { width: 130px; }
.foot-big { font-size: clamp(36px, 9vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 18px 0 24px; max-width: 12ch; }
.foot-ca { margin: 0 0 40px; }
.linkish { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 10px 16px; cursor: pointer; font: 500 11.5px var(--mono); letter-spacing: 0; text-transform: none; color: #fff; word-break: break-all; transition: background .2s; }
.linkish:hover { background: rgba(255,255,255,.22); } .linkish.is-copied { background: var(--lime); color: var(--ink); }
.foot-small { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: lowercase; opacity: .72; margin: 0; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  :root { --gut: 28px; }
  .hq-team { grid-template-columns: repeat(3, 1fr); }
  .hq-team li:last-child { grid-column: auto; width: auto; }
  .link-grid { grid-template-columns: 1fr 1fr; }
  .cabar-addr .full { display: inline; } .cabar-addr .short { display: none; }
  .feed-grid { grid-template-columns: repeat(3, 1fr); }
  .tile.tall { grid-column: span 2; grid-row: span 2; } .tile.tall video { aspect-ratio: auto; height: 100%; }
  .feed-grid > .tile:nth-child(3) video { aspect-ratio: 16 / 9; }
  .tile.wide { grid-column: span 3; }
  .feed-grid > .tile:nth-child(4) { grid-column: span 2; }
  .feed-grid > .tile:nth-child(5) { grid-column: span 1; } .feed-grid > .tile:nth-child(5) img { aspect-ratio: 16 / 9; }
  .onbase, .scroll-hint { display: flex; }
}
@media (min-width: 960px) {
  .hero { padding-top: 92px; }
  .hq-team { grid-template-columns: repeat(5, 1fr); }
  .check-grid { grid-template-columns: 1.2fr 1fr; }
  .versus { grid-template-columns: 1fr 1fr; }
  .vs-panel { min-height: 560px; }
  .story-pin { grid-template-columns: 1fr 1.1fr; grid-template-rows: auto 1fr auto; column-gap: 40px; padding: 90px 48px 28px; }
  .story-label { grid-column: 1 / -1; }
  .story-lines { align-self: center; height: 2.3em; font-size: clamp(42px, 4.6vw, 74px); }
  .story-progress { grid-column: 1 / -1; }
  .rocket-wrap { --rise: -62vh; }
  .link-grid { grid-template-columns: repeat(4, 1fr); }
  .ltile { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; min-height: 220px; }
  .ltile .arrow { grid-row: 3; grid-column: 1; justify-self: start; }
  .track { padding: 40px 0 0; grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .track::before, .track::after { left: 6px; right: 6px; top: 10px; bottom: auto; width: auto; height: 4px; }
  .track::after { transform-origin: left; transform: scaleX(var(--fill)); }
  .track li::before { left: 0; top: -40px; }
  .track p { font-size: 15.5px; }
}
@media (min-width: 960px) {
  .kinetic { max-width: none; font-size: clamp(56px, 7vw, 104px); }
}
@media (min-width: 960px) and (max-height: 860px) {
  .hero { padding-top: 78px; }
  .kinetic { font-size: clamp(52px, 6.4vw, 92px); }
  .sub { margin: 12px 0 16px; }
  .bot-hero { width: 250px; }
  .stack { width: 74px; }
  .hero-stage { padding-top: 14px; }
}

/* =====================================================================
   v2.1 (TZ-landing-v2.1.md)
   ===================================================================== */

/* 1 · floating glass pill nav with a sliding active indicator */
.nav { position: fixed; top: 10px; left: 0; right: 0; padding: 0 var(--gut); z-index: 60; display: block; pointer-events: none; }
.nav-pill { pointer-events: auto; margin: 0 auto; max-width: 860px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 8px; border-radius: 999px;
  background: rgba(5, 15, 58, .55); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 30px rgba(0,0,40,.28), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); color: #fff; transition: background .3s, box-shadow .3s; }
.nav.scrolled .nav-pill { background: rgba(5, 15, 58, .78); }
.brand { gap: 8px; padding-right: 6px; }
.brand img { border-radius: 8px; }
.brand .mono { font-size: 12px; }
.nav .nav-links { position: relative; display: none; align-items: center; margin: 0 auto; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); }
.nav .nav-links a { position: relative; z-index: 1; display: block; padding: 9px 16px; border-radius: 999px; text-decoration: none;
  font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); transition: color .3s; }
.nav .nav-links a span { position: relative; }
/* pixel underline on hover: grows in 4 hard steps */
.nav .nav-links a span::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .32s steps(4); }
.nav .nav-links a:hover { color: #fff; }
.nav .nav-links a:hover span::after { transform: scaleX(1); }
.nav .nav-links a.active { color: var(--pilltext); }
.nav .nav-links a.active span::after { transform: scaleX(0); }
.nav-ind { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: #fff; opacity: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: transform .5s var(--spring), width .5s var(--spring), opacity .3s; }
.nav-ind.on { opacity: 1; }
.nav-x { margin-left: auto; display: none; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--pilltext); text-decoration: none; font: 700 11px/1 var(--mono); letter-spacing: .04em; transition: transform .25s var(--ease); }
.nav-x:hover { transform: translateY(-1px); }
.nav-menu { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.nav-menu span { display: block; width: 16px; height: 2px; background: var(--pilltext); transition: transform .35s var(--spring); }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet { pointer-events: auto; max-width: 860px; margin: 8px auto 0; padding: 10px; border-radius: 24px; display: grid; gap: 4px;
  background: rgba(5, 15, 58, .9); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,40,.4); transform-origin: top center; animation: sheetIn .4s var(--spring); }
.nav-sheet[hidden] { display: none; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.nav-sheet a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; color: #fff; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.nav-sheet a .mono { font-size: 10px; color: var(--lime); }
.nav-sheet a:hover, .nav-sheet a:focus-visible { background: rgba(255,255,255,.08); }
.nav-sheet .sheet-x { justify-content: center; margin-top: 6px; background: #fff; color: var(--pilltext); font: 700 13px/1 var(--mono); letter-spacing: .06em; }
@media (min-width: 860px) {
  .nav .nav-links, .nav .nav-x { display: flex; }
  .nav-menu, .nav-sheet { display: none !important; }
}
/* 5 · anchors never land under the nav; contract bar now docks at the bottom */
section[id], footer { scroll-margin-top: 76px; }
.hero { padding-top: 92px; }
.story-pin { padding-top: 84px; }
.cabar { top: auto; bottom: 0; padding: 0 var(--gut) max(10px, env(safe-area-inset-bottom)); transform: translateY(130%); }
.cabar.show { transform: none; }
.footer { padding-bottom: 96px; }

/* 2 · the contract ticket */
.ticket { width: min(100%, 600px); padding: 0; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, rgba(255,255,255,.26), rgba(255,255,255,.07) 55%, rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.5); box-shadow: 0 24px 60px rgba(0,10,90,.38), 0 0 0 6px rgba(255,255,255,.05), inset 0 1px 0 rgba(255,255,255,.55); }
.ticket::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: 40%; z-index: -1; border: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: translateX(-160%) skewX(-18deg); animation: shine 6.5s var(--ease) 2.2s infinite; }
@keyframes shine { 0% { transform: translateX(-160%) skewX(-18deg); } 22%, 100% { transform: translateX(330%) skewX(-18deg); } }
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px 0; }
.t-chip, .t-official { display: inline-flex; align-items: center; gap: 7px; font-size: 9.5px; letter-spacing: .12em; padding: 6px 9px; border-radius: 999px; }
.t-chip { background: rgba(255,255,255,.95); color: var(--pilltext); }
.t-chip img { border-radius: 2px; }
.t-official { color: var(--lime); background: rgba(5,15,58,.35); }
.t-official i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 3px rgba(182,245,105,.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(182,245,105,0); } }
.ticket-body { padding: 14px 16px 16px; }
.t-label { margin: 0 0 8px; font-size: 9.5px; color: rgba(255,255,255,.7); }
.ticket-addr { display: flex; flex-wrap: wrap; gap: 2px 0; font: 700 clamp(15px, 4.4vw, 21px)/1.25 var(--mono); letter-spacing: .02em; color: #fff; text-shadow: 0 1px 0 rgba(0,20,120,.35); user-select: all; }
.ticket-addr b { font-weight: inherit; margin-right: .42em; }
.ticket-addr b:last-child { margin-right: 0; }
.ticket-addr b.z { color: rgba(255,255,255,.62); }
.ticket-perf { height: 0; margin: 0 16px; border-top: 2px dashed rgba(255,255,255,.38); }
.ticket-actions { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px; margin: 0; height: 62px; }
.ticket-copy { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; box-shadow: 0 6px 16px rgba(0,0,60,.25); position: relative; overflow: hidden; }
.ticket-copy .ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticket-copy .ic-ok { display: none; }
.ticket-copy.is-copied { background: var(--lime); color: var(--ink); animation: okPop .45s var(--spring); }
.ticket-copy.is-copied .ic-copy { display: none; } .ticket-copy.is-copied .ic-ok { display: block; stroke-dasharray: 16; stroke-dashoffset: 16; animation: draw .35s var(--ease) forwards; stroke-width: 2.4; }
@keyframes okPop { 40% { transform: scale(1.08); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket-link { padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); opacity: 1; font-size: 11px; }
.ticket-link:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.t-meta { margin-left: auto; font-size: 9px; color: rgba(255,255,255,.6); display: none; }
@media (min-width: 520px) { .t-meta { display: block; } }
@media (max-width: 400px) { .ticket-copy { padding: 12px 14px; } .ticket-link { padding: 11px 12px; } .sm-hide { display: none; } }
/* v2.1 fix: the full address always on ONE line. Desktop: wider card, 19px, chunked.
   Phones: font scales with the viewport so all 42 chars fit (≈12–13px at 375–390px), tighter chunk gaps. */
.ticket { width: min(100%, 680px); }
.ticket-addr { flex-wrap: nowrap; white-space: nowrap; font-size: 19px; letter-spacing: 0; }
.ticket-addr b { margin-right: .34em; }
@media (max-width: 700px) {
  .ticket-addr { font-size: min(19px, calc((100vw - 2 * var(--gut) - 34px) / 25.9)); }
  .ticket-addr b { margin-right: .06em; }
}
.sub, .h2, .lead-t { text-wrap: balance; }

/* 3 · hero robot: richer idle + cursor look + copy reaction */
.bot-hero-wrap { position: relative; display: flex; justify-content: center; }
.bot-hero { animation: drop 1.1s var(--spring) .2s both; }
.bot-hero .r-all { animation: bounce 2.6s ease-in-out 1.4s infinite; }
.bot-hero .r-top { transition: transform .5s var(--ease); transform: rotate(calc(var(--tilt, 0) * 1deg)); animation: none !important; }
.bot-hero .r-face { transform: translate(calc(var(--lx, 0) * 2.6px), calc(var(--ly, 0) * 1.6px)); transition: transform .25s var(--ease); }
.bot-hero .r-shades { transform-box: view-box; transition: transform .5s var(--spring); animation: shadesIn .7s var(--spring) 1.25s backwards; }
.bot-hero.peek .r-shades { transform: translateY(9px); }
.bot-hero.peek .r-eyes { animation: peekBlink 1.7s steps(1) 1; }
@keyframes peekBlink { 0%, 55%, 64%, 100% { transform: scaleY(1); } 58% { transform: scaleY(.1); } }
.bot-hero .r-shades .sweep { fill: #fff; opacity: .85; animation: glint 5s ease-in-out 2.4s infinite; }
@keyframes glint { 0%, 70% { transform: translateX(-30px); } 85%, 100% { transform: translateX(90px); } }
@keyframes bounce { 0%, 100% { transform: translateY(0) scaleY(1); } 45% { transform: translateY(-4px) scaleY(1.012); } 55% { transform: translateY(-4px); } 90% { transform: translateY(0) scaleY(.985); } }
.bot-hero.tilt-l { --tilt: -4; } .bot-hero.tilt-r { --tilt: 4; }
.bot-hero.nod .r-top { animation: nod .7s var(--ease) 1 !important; }
.thumb { position: absolute; top: 4%; right: 2%; width: 44px; height: 44px; opacity: 0; transform: translateY(14px) scale(.4) rotate(-14deg); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,60,.35)); }
.thumb.show { animation: thumbUp 1.5s var(--spring) forwards; }
@keyframes thumbUp { 15% { opacity: 1; transform: translateY(-6px) scale(1.1) rotate(6deg); } 30%, 80% { opacity: 1; transform: translateY(0) scale(1) rotate(0); } 100% { opacity: 0; transform: translateY(-20px) scale(.9); } }

/* 4 · "on ■base": "on" sits on the wordmark baseline */
.onbase { align-items: flex-end; gap: 7px; line-height: 1; }
.onbase .mono { font-size: 11px; line-height: 1; display: block; margin-bottom: -1px; }
.onbase img { height: 20px; display: block; }

html { overflow-x: clip; }
.versus, .check { overflow: hidden; }
@media (min-width: 960px) and (max-height: 860px) { .bot-hero { width: 205px; } .ticket-body { padding-bottom: 12px; } }

/* 6 · still hiring — chairs in normal flow, no overlap */
.hq-team { margin-bottom: 8px; }
.hiring { margin: 64px auto 0; padding-top: 8px; }
.hiring-t { margin: 0 0 22px; }
.chairs { gap: clamp(14px, 5vw, 56px); row-gap: 22px; align-items: flex-end; }
.chairs li { gap: 12px; }
.seat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ghost-bot { position: static; width: 40px; height: 34px; }
.chairs img { width: 50px; }
.ticker { margin-top: 64px; }

/* 7 · feed: full posts in their real aspect ratio, each tile links to its X post */
.feed-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.feed-col { display: contents; }
.tile { display: block; text-decoration: none; color: #fff; background: #000; aspect-ratio: var(--ar); grid-column: auto !important; grid-row: auto !important; }
.tile video, .tile img { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: contain; background: #000; }
.tile figcaption, .tile .cap { position: absolute; left: 10px; bottom: 10px; font-size: 9.5px; padding: 6px 10px; border-radius: 999px; background: rgba(5,15,58,.78); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tile .onx { position: absolute; top: 10px; right: 10px; padding: 7px 11px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--spring); }
.tile:hover .onx, .tile:focus-visible .onx { opacity: 1; transform: none; }
@media (hover: none) { .tile .onx { opacity: 1; transform: none; } }
.tile .kind { position: absolute; top: 10px; left: 10px; font: 700 9px/1 var(--mono); letter-spacing: .12em; padding: 6px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: var(--lime); }
@media (min-width: 700px) {
  .feed-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feed-col { display: grid; gap: 16px; align-content: start; }
}

/* CHANGE 2 · "Buy $SVAG" — main CTA (same o1 link everywhere) */
.btn-buy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: var(--lime); color: var(--ink); font: 800 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(182,245,105,.28), inset 0 -2px 0 rgba(0,0,0,.12); transition: transform .25s var(--ease), box-shadow .25s; }
.btn-buy span { transition: transform .3s var(--spring); }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(182,245,105,.4), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-buy:hover span { transform: translate(2px, -2px); }
.btn-ghost { display: inline-flex; align-items: center; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; white-space: nowrap;
  font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: background .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.ticket-actions { flex-wrap: wrap; height: auto; min-height: 62px; }
.t-buy { margin-left: auto; }
@media (max-width: 520px) {
  .ticket-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ticket-actions .ticket-copy { grid-column: 1 / -1; justify-content: center; }
  .ticket-actions .ticket-link { text-align: center; padding: 11px 6px; }
  .t-buy { grid-column: 1 / -1; margin-left: 0; padding: 14px 20px; }
}
.cabar-btn.buy { background: var(--lime); color: var(--ink); }
@media (max-width: 560px) { .cabar-scan, .cabar-tag { display: none; } .cabar-in { padding-left: 14px; } }

/* CHANGE · live chart (replaces the feed) */
.chart { padding: 100px 0 110px; background: radial-gradient(ellipse at 20% 0%, var(--night2), var(--night) 55%); }
.chart::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; z-index: 5; pointer-events: none;
  background: conic-gradient(var(--night) 25%, transparent 0 50%, var(--night) 0 75%, transparent 0) 0 0 / 28px 28px; }
.chart-card { position: relative; border-radius: 26px; padding: 18px 16px 14px; color: #fff;
  background: linear-gradient(180deg, rgba(10,63,204,.32), rgba(5,15,58,.6)); border: 1px solid rgba(138,187,251,.22);
  box-shadow: 0 30px 80px rgba(0,0,30,.45), inset 0 1px 0 rgba(255,255,255,.08); }
.cc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cc-price { display: grid; grid-template-columns: auto auto; gap: 6px 10px; align-items: center; }
.cc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--lime); }
.cc-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 0 3px rgba(182,245,105,.25); }
.cc-sym { font-size: 10px; color: rgba(255,255,255,.6); }
.cc-val { grid-column: 1 / -1; font: 700 clamp(30px, 7vw, 52px)/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cc-chg { grid-column: 1 / -1; justify-self: start; font-size: 11px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.cc-chg.up { background: rgba(182,245,105,.16); color: var(--lime); }
.cc-chg.down { background: rgba(252,64,31,.16); color: #FF8A73; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-tf { display: flex; align-items: center; gap: 6px; margin: 18px 0 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cc-tf::-webkit-scrollbar { display: none; }
.tf { flex: none; border: 1px solid rgba(255,255,255,.22); background: transparent; color: rgba(255,255,255,.8); border-radius: 999px; padding: 9px 14px; min-width: 52px; cursor: pointer;
  font: 700 11px/1 var(--mono); letter-spacing: .1em; transition: background .2s, color .2s, border-color .2s; }
.tf:hover { border-color: #fff; color: #fff; }
.tf[aria-selected="true"] { background: #fff; color: var(--pilltext); border-color: #fff; }
.cc-candle { margin-left: auto; margin-right: 92px; font-size: 9.5px; color: rgba(255,255,255,.5); white-space: nowrap; padding-left: 8px; }
@media (min-width: 760px) { .cc-candle { margin-right: 124px; } }
@media (max-width: 420px) { .cc-candle { display: none; } }
.cc-plot { position: relative; height: clamp(280px, 52vw, 440px); border-radius: 16px; background: rgba(0,0,20,.28); border: 1px solid rgba(138,187,251,.12); }
.cc-chart { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; transition: opacity .3s; }
.chart-card.swap .cc-chart { opacity: .45; }
.cc-skel, .cc-err { position: absolute; inset: 0; display: none; border-radius: 16px; }
.chart-card[data-state="loading"] .cc-skel { display: flex; align-items: flex-end; gap: 4%; padding: 10% 6% 8%; }
.cc-skel i { flex: 1; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06)); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
.cc-skel i:nth-child(odd) { height: 40%; } .cc-skel i:nth-child(3n) { height: 70%; } .cc-skel i:nth-child(4n) { height: 55%; } .cc-skel i:nth-child(5n) { height: 85%; } .cc-skel i:nth-child(even) { height: 30%; }
@keyframes skel { to { background-position: -200% 0; } }
.chart-card[data-state="error"] .cc-err { display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; background: rgba(5,15,58,.7); }
.cc-err p { margin: 0; font-weight: 700; font-size: 18px; }
.cc-peek { position: absolute; right: 18px; top: -58px; width: 74px; z-index: 2; pointer-events: none; }
.cc-src { margin: 12px 2px 0; font-size: 9.5px; font-weight: 500; letter-spacing: .08em; text-transform: none; color: rgba(255,255,255,.5); }
@media (min-width: 760px) { .chart-card { padding: 24px 24px 16px; } .cc-peek { width: 92px; top: -72px; right: 28px; } }

/* ===== Swap zone (Phase A) ===== */
.swapz::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; z-index: 5; pointer-events: none;
  background: conic-gradient(var(--deep) 25%, transparent 0 50%, var(--deep) 0 75%, transparent 0) 0 0 / 28px 28px; }
.swapz-grid { display: grid; gap: 32px; align-items: start; }
.swapz-copy { position: relative; }
.swapz .lead-t { color: rgba(255,255,255,.85); }
.swap-card { position: relative; border-radius: 26px; padding: 16px; color: #fff; width: 100%; max-width: 480px; justify-self: center;
  background: rgba(5,15,58,.72); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,40,.45), inset 0 1px 0 rgba(255,255,255,.1); }
.swap-card.success { box-shadow: 0 0 0 3px var(--lime), 0 30px 80px rgba(0,0,40,.45); }
.sw-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sw-title { font-size: 12px; }
.sw-ca { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; padding: 6px 9px; border-radius: 999px; background: rgba(182,245,105,.14); color: var(--lime); }
.sw-ca i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.sw-who { margin-left: auto; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 999px; padding: 7px 10px; font-size: 10px; cursor: pointer; }
.sw-who:hover { border-color: #FF8A73; color: #FF8A73; }
.sw-who:hover::after { content: " ×"; }
.sw-box { border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 12px 14px; }
.sw-box:focus-within { border-color: rgba(182,245,105,.6); }
.sw-box-top { display: flex; align-items: center; gap: 8px; font-size: 9.5px; color: rgba(255,255,255,.6); }
.sw-bal { margin-left: auto; font-size: 9.5px; letter-spacing: .04em; text-transform: none; }
.sw-max { border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 6px; padding: 4px 7px; font-size: 9px; cursor: pointer; }
.sw-box-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.sw-amt { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: 700 clamp(24px, 6vw, 30px)/1.2 var(--mono); letter-spacing: -.02em; }
.sw-amt::placeholder { color: rgba(255,255,255,.3); }
.swap-card.quoting #sw-out { opacity: .5; }
.sw-tok { flex: none; display: inline-flex; align-items: center; }
.sw-tok-sym { font: 700 13px/1 var(--mono); letter-spacing: .06em; padding: 10px 12px; border-radius: 999px; background: #fff; color: var(--pilltext); }
.sw-tok:has(.sw-picker) .sw-tok-sym { display: none; }
.sw-tok-sym { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px !important; }
.sw-tok-sym img, .sw-pick img { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.sw-picker { position: relative; display: inline-flex; }
.sw-picker select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sw-pick { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: 0; border-radius: 999px; padding: 6px 30px 6px 6px; color: var(--pilltext);
  font: 700 13px/1 var(--mono); letter-spacing: .06em; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230A3BC4' stroke-width='2'/%3E%3C/svg%3E") right 12px center no-repeat; }
.sw-pick:focus-visible, .sw-menu button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.sw-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; gap: 2px; min-width: 230px; padding: 6px; border-radius: 16px;
  background: #0B1A5C; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 20px 50px rgba(0,0,40,.55); animation: sheetIn .25s var(--spring); }
.sw-menu[hidden] { display: none; }
.sw-menu button { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 11px; background: transparent; color: #fff; cursor: pointer; }
.sw-menu button img { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; }
.sw-menu button b { font: 700 13px/1.2 var(--mono); letter-spacing: .06em; }
.sw-menu button small { font-size: 11.5px; color: rgba(255,255,255,.6); }
.sw-menu button:hover, .sw-menu button[aria-selected="true"] { background: rgba(255,255,255,.1); }
.sw-menu button[aria-selected="true"] b::after { content: " ✓"; color: var(--lime); }
.sw-select { appearance: none; -webkit-appearance: none; cursor: pointer; border: 0; border-radius: 999px; padding: 10px 30px 10px 12px; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230A3BC4' stroke-width='2'/%3E%3C/svg%3E") right 12px center no-repeat;
  color: var(--pilltext); font: 700 13px/1 var(--mono); letter-spacing: .06em; }
.sw-flip { display: grid; place-items: center; width: 40px; height: 40px; margin: -10px auto; position: relative; z-index: 2; border-radius: 12px; border: 3px solid #0B1A5C; background: var(--lime); color: var(--ink); font-size: 18px; cursor: pointer; transition: transform .35s var(--spring); }
.sw-flip:hover { transform: rotate(180deg); }
.sw-slip { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 0 6px; }
.sw-slip > .mono { font-size: 9.5px; color: rgba(255,255,255,.6); margin-right: 4px; }
.sw-slip button, .sw-slip input { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 999px; padding: 7px 10px; font: 700 11px/1 var(--mono); cursor: pointer; }
.sw-slip input { width: 84px; cursor: text; }
.sw-slip button[aria-pressed="true"] { background: #fff; color: var(--pilltext); border-color: #fff; }
.sw-details { margin: 8px 0 10px; display: grid; gap: 6px; font-size: 12.5px; }
.sw-row { display: flex; justify-content: space-between; gap: 12px; }
.sw-row dt { color: rgba(255,255,255,.6); } .sw-row dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 11.5px; }
.sw-row.warn dd { color: var(--yellow); } .sw-row.bad dd { color: #FF8A73; font-weight: 700; }
.sw-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.85); margin: 8px 0; cursor: pointer; }
.sw-check input { margin-top: 2px; accent-color: var(--lime); }
.sw-check a { color: var(--lime); }
.sw-btn { width: 100%; margin-top: 6px; padding: 16px; border: 0; border-radius: 16px; background: var(--lime); color: var(--ink); font: 800 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .2s var(--ease), opacity .2s; }
.sw-btn:hover:not(:disabled) { transform: translateY(-1px); }
.sw-btn:disabled { opacity: .45; cursor: not-allowed; }
.sw-msg { min-height: 20px; margin: 10px 2px 0; font-size: 12.5px; }
.sw-msg.bad { color: #FF8A73; } .sw-msg.ok { color: var(--lime); } .sw-msg a { color: inherit; }
.sw-check[hidden] { display: none; }
.swapz-grid > * { min-width: 0; }
.sw-row dd { min-width: 0; overflow-wrap: anywhere; }
.swap-card[data-region="error"] .sw-blocked { display: grid; }
.sw-blocked, .sw-loading { z-index: 6; }
.sw-blocked, .sw-loading { position: absolute; inset: 0; border-radius: 26px; display: none; place-content: center; text-align: center; padding: 28px; background: rgba(5,15,58,.94); }
.sw-blocked-t { font-weight: 800; font-size: 20px; margin: 0 0 10px; letter-spacing: -.02em; }
.sw-blocked p { margin: 0; } .sw-blocked a { color: var(--lime); }
.swap-card[data-region="checking"] .sw-loading { display: flex; justify-content: center; align-items: center; gap: 8px; }
.sw-loading i { width: 10px; height: 10px; background: var(--lime); animation: blink 1s steps(2) infinite; }
.sw-loading i:nth-child(2) { animation-delay: .2s; } .sw-loading i:nth-child(3) { animation-delay: .4s; }
.sw-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0,4,30,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sw-modal[hidden] { display: none; }
.sw-modal-card { width: min(100%, 380px); border-radius: 24px; padding: 18px; background: #0B1A5C; border: 1px solid rgba(255,255,255,.2); color: #fff; display: grid; gap: 10px; animation: sheetIn .35s var(--spring); }
.sw-modal-card > .mono { font-size: 10px; color: var(--lime); margin: 0 0 4px; }
.sw-wallet { display: grid; gap: 4px; text-align: left; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font-weight: 700; font-size: 16px; }
.sw-wallet small { font-weight: 500; font-size: 12px; color: rgba(255,255,255,.6); }
.sw-wallet-t { display: flex; align-items: center; gap: 10px; } .sw-wallet-t img { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.sw-wallet:hover { border-color: var(--lime); }
#sw-modal-list { display: grid; gap: 8px; }
.sw-modal-note { margin: 4px 0; font-size: 12px; color: rgba(255,255,255,.6); }
.sw-modal-card .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.sw-modal-card .btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
/* ===== campaign: trade $SVAG, earn stocks ===== */
:root { --antc: #D4A27F; --antc-d: #9C6A45; }
.swapz { padding: 110px 0 120px; isolation: isolate; }
.camp-glow { position: absolute; z-index: 0; left: 28%; top: 30%; width: 900px; height: 900px; margin: -450px 0 0 -450px; pointer-events: none;
  background: radial-gradient(circle, rgba(212,162,127,.38) 0%, rgba(182,245,105,.14) 28%, transparent 62%); }
/* floating real ANTc coins, 3 depth layers + scroll parallax (--py set by site.js) */
.coin-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cf { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  animation: coinFloat var(--t) ease-in-out var(--dl) infinite alternate; will-change: transform; }
.cf.z1 { opacity: .45; filter: blur(2px); translate: 0 calc(var(--py, 0) * -.4px); }
.cf.z2 { opacity: .75; filter: blur(.6px) drop-shadow(0 8px 14px rgba(0,0,40,.35)); translate: 0 calc(var(--py, 0) * -.9px); }
.cf.z3 { opacity: .95; filter: drop-shadow(0 12px 22px rgba(0,0,40,.45)); translate: 0 calc(var(--py, 0) * -1.6px); }
@keyframes coinFloat { from { transform: translateY(-14px) rotate(-14deg); } to { transform: translateY(14px) rotate(12deg); } }
/* glossy coin wrapper (edge + highlight) */
.hero-coin, .coin-sm, .promo-coin, .st-coin { position: relative; display: inline-block; border-radius: 50%; flex: none; }
.hero-coin img, .coin-sm img, .promo-coin img, .st-coin img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.hero-coin::after, .coin-sm::after, .promo-coin::after, .st-coin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.6) 0, rgba(255,255,255,.12) 26%, transparent 46%), linear-gradient(160deg, transparent 55%, rgba(80,40,10,.25)); }
.coin-sm, .promo-coin, .st-coin { box-shadow: 0 3px 0 var(--antc-d), 0 6px 14px rgba(0,0,40,.35); }
/* stage: big boss + hero coin + sticker */
.camp-stage { position: relative; height: 300px; max-width: 560px; margin: 4px 0 8px; }
.camp-robot { position: absolute; left: 0; bottom: 0; width: 230px; z-index: 2; filter: drop-shadow(0 24px 30px rgba(0,0,50,.45)); }
.hero-coin { position: absolute; left: 175px; top: 36px; width: 190px; height: 190px; z-index: 1; overflow: hidden;
  box-shadow: 0 7px 0 var(--antc-d), 0 0 0 6px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,40,.5), 0 0 80px rgba(212,162,127,.55);
  animation: heroCoin 6s ease-in-out infinite alternate; }
.hero-coin::before { content: ""; position: absolute; z-index: 2; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%);
  transform: translateX(-120%); animation: coinShine 4.5s ease-in-out 1s infinite; }
@keyframes heroCoin { from { transform: translateY(-6px) rotate(-8deg); } to { transform: translateY(8px) rotate(6deg); } }
@keyframes coinShine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.sticker { position: absolute; z-index: 3; left: 196px; top: 0; margin: 0; padding: 12px 16px 13px; background: #fff; color: var(--ink); border-radius: 18px;
  font-weight: 800; font-size: 19px; line-height: 1.1; transform: rotate(-5deg); box-shadow: 0 6px 0 rgba(0,0,40,.25), 0 18px 40px rgba(0,0,40,.35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; max-width: 360px; animation: stickerIn .7s var(--spring) both; }
.sticker::after { content: ""; position: absolute; left: 14px; bottom: -13px; border: 14px solid transparent; border-top-color: #fff; border-bottom: 0; transform: skewX(18deg); }
.st-dots { font-family: var(--mono); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--base); }
.st-box { padding: 1px 8px 3px; background: var(--base); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
@keyframes stickerIn { from { opacity: 0; transform: rotate(-12deg) scale(.6); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }
/* headline + ANTc badge */
.camp-h { margin: 0 0 18px; font-size: clamp(46px, 7.6vw, 96px); font-weight: 900; line-height: .94; letter-spacing: -.045em; color: #fff; text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0,0,60,.35); }
.camp-h em { font-style: normal; background: linear-gradient(95deg, var(--lime) 0%, #E9F7B0 45%, var(--antc) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.antc-badge { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; padding: 7px 18px 7px 7px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 30px rgba(0,0,40,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.coin-sm { width: 40px; height: 40px; }
.ab-t { font-weight: 800; font-size: 17px; color: #fff; } .ab-t i { font-style: normal; color: var(--antc); padding: 0 2px; }
.ab-k { font-size: 9.5px; color: rgba(255,255,255,.62); }
/* steps */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; max-width: 640px; }
.steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,20,80,.62), rgba(5,15,58,.5)); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.st-n { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--lime); color: var(--ink); font-size: 11px; letter-spacing: 0; box-shadow: 0 3px 0 #7FB83A; }
.st-n.st-coin { background: none; border-radius: 50%; box-shadow: 0 3px 0 var(--antc-d), 0 6px 14px rgba(0,0,40,.35); }
.steps p { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.25; }
.steps small { display: block; font-weight: 500; font-size: 12.5px; color: rgba(255,255,255,.66); }
.camp-stats { display: flex; gap: 22px; margin: 0 0 16px; }
.camp-stats[hidden] { display: none; }
.camp-stats b { display: block; font-size: 26px; font-weight: 900; color: var(--lime); }
.camp-stats .mono { font-size: 9.5px; color: rgba(255,255,255,.7); }
.elig-line { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.7); }
.elig-line a { color: var(--lime); white-space: nowrap; }
.swapz-side { min-width: 0; width: 100%; max-width: 480px; justify-self: center; display: flex; flex-direction: column; gap: 12px; }
.swapz-side > * { min-width: 0; }
.swapz-side .elig-line { text-align: center; padding: 0 8px; }
/* swap card: gradient ring to match */
.swapz .swap-card { border: 1px solid transparent;
  background: linear-gradient(rgba(7,17,66,.86), rgba(7,17,66,.86)) padding-box, linear-gradient(140deg, rgba(182,245,105,.85), rgba(255,255,255,.14) 38%, rgba(255,255,255,.1) 62%, rgba(212,162,127,.9)) border-box;
  box-shadow: 0 40px 90px rgba(0,0,40,.5), 0 0 60px rgba(182,245,105,.12); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
}
@media (max-width: 520px) {
  .camp-stage { height: 230px; }
  .camp-stage { height: 220px; }
  .camp-robot { width: 140px; }
  .hero-coin { left: 150px; top: 78px; width: 118px; height: 118px; }
  .sticker { left: 104px; top: 0; font-size: 15px; padding: 9px 12px 10px; max-width: 230px; }
  .cf { width: calc(var(--s) * .65); height: calc(var(--s) * .65); }
  .ab-k { display: none; }
}
/* promo banner (home, under the header) */
.promo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 6px 6px 8px; border-radius: 999px; text-decoration: none; color: var(--ink);
  background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.16), 0 14px 34px rgba(0,0,40,.35); position: relative; overflow: hidden; max-width: 100%;
  transition: transform .25s var(--spring), box-shadow .25s; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(182,245,105,.55) 50%, transparent 65%);
  transform: translateX(-120%); animation: coinShine 5s ease-in-out 2s infinite; pointer-events: none; }
.promo:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 4px rgba(182,245,105,.5), 0 18px 40px rgba(0,0,40,.4); }
.promo-bot { width: 36px; height: 36px; flex: none; padding: 4px; border-radius: 50%; background: var(--base); }
.promo-t { display: grid; text-align: left; line-height: 1.15; min-width: 0; }
.promo-t b { font-weight: 900; font-size: 14.5px; letter-spacing: -.01em; white-space: nowrap; }
.promo-s { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--base); white-space: nowrap; }
.promo-coin { width: 30px; height: 30px; animation: heroCoin 3s ease-in-out infinite alternate; }
.promo-go { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-weight: 900; }
@media (max-width: 380px) { .promo-coin { display: none; } .promo-t b { font-size: 13.5px; } }
/* nav earn pill */
.earn-pill { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 800 9px/1.2 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; position: relative; animation: earnPulse 2.2s ease-out infinite; }
@keyframes earnPulse { 0% { box-shadow: 0 0 0 0 rgba(182,245,105,.7); } 70%, 100% { box-shadow: 0 0 0 7px rgba(182,245,105,0); } }
@media (prefers-reduced-motion: reduce) { .cf, .hero-coin, .hero-coin::before, .promo::after, .promo-coin, .earn-pill, .sticker { animation: none !important; } .cf { translate: none; } }
@media (min-width: 960px) { .swapz-grid { grid-template-columns: 1fr 480px; gap: 56px; } .swap-card { justify-self: end; } }
/* desktop: card centred against the hero column, larger, reads as one composition (owner, 27.11) */
@media (min-width: 960px) {
  .swapz-grid { grid-template-columns: minmax(0, 1fr) minmax(440px, 520px); align-items: stretch; gap: clamp(40px, 5vw, 88px); }
  /* right column = exactly the hero column's height: card fills it, the extra space goes into the two amount boxes */
  .swapz-side { display: flex; flex-direction: column; gap: 12px; }
  .swapz-side .swap-card { flex: 1 1 auto; display: flex; flex-direction: column; }
  .swapz-side .sw-box { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; max-height: 150px; }
  .swapz-side .sw-btn { margin-top: auto; }
  .swapz-copy .steps { margin-bottom: 0; }
  .swapz-side .elig-line { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .swapz-side { width: 100%; max-width: 520px; justify-self: end; }
  .swapz .swap-card { max-width: none; padding: 18px 20px; border-radius: 28px; }
  .swapz .swap-card::before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 60px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(182,245,105,.18), rgba(212,162,127,.12) 55%, transparent); filter: blur(10px); }
  .swapz .sw-head { margin-bottom: 12px; }
  .swapz .sw-box { padding: 12px 16px; border-radius: 18px; }
  .swapz .sw-box-row { margin-top: 6px; }
  .swapz .sw-amt { font-size: 32px; }
  .swapz .sw-flip { width: 40px; height: 40px; }
  .swapz .sw-slip { margin: 12px 0 4px; }
  .swapz .sw-details { gap: 5px; font-size: 13px; margin: 8px 0 8px; }
  .swapz .sw-btn { padding: 17px; font-size: 15px; border-radius: 16px; }
  .camp-h { font-size: clamp(54px, 4.9vw, 84px); }
  .steps li { background: linear-gradient(180deg, rgba(8,20,80,.86), rgba(5,15,58,.8)); }
}
@media (min-width: 1440px) {
  .swapz-grid { grid-template-columns: minmax(0, 1fr) 560px; }
  .swapz-side { max-width: 560px; }
  .swapz .swap-card { padding: 20px 22px; }
  .swapz .sw-amt { font-size: 34px; }
}
@media (min-width: 1600px) { .swapz .wrap.swapz-grid { max-width: 1380px; } }

/* ---------- reduced motion: calm, static, everything visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .kinetic .w, .reveal-up, .vs-pills li { opacity: 1 !important; transform: none !important; filter: none !important; }
  .kinetic .pillword { transform: rotate(-2deg) !important; }
  .story { height: auto; }
  .story-pin { position: relative; height: auto; display: block; padding-bottom: 60px; }
  .story-lines { height: auto; } .sl { position: static; opacity: 1; transform: none; filter: none; margin-bottom: 14px; }
  .story-stage { height: 320px; } .story-progress, .rocket-wrap, .burst-px, .launch-tag, .wallet-box { display: none; }
  .bot-story { opacity: 1 !important; left: 50% !important; top: 0 !important; transform: translate(-50%, 0) scale(.7) !important; }
  .story-team .bot { opacity: 1 !important; transform: none !important; }
  .versus .vs-human, .versus .vs-agent { opacity: 1; transform: none; } .vs-mid { transform: translate(-50%, -50%) !important; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .track li { opacity: 1; } .track::after { transform: none !important; }
  .cabar { transition: none; }
}
