*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --fg: var(--c-text);
  --dim: color-mix(in srgb, var(--c-text) 66%, var(--c-bg));
  --border: color-mix(in srgb, var(--c-azure) 20%, var(--c-void));
  --sans: "Geist", system-ui, sans-serif;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --std: cubic-bezier(.4, 0, .2, 1);
  --head: 132px;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--fg); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(60rem 40rem at 78% -10%, color-mix(in srgb, var(--c-violet) 32%, transparent), transparent 60%),
    radial-gradient(50rem 36rem at -10% 40%, color-mix(in srgb, var(--c-electric) 8%, transparent), transparent 60%),
    var(--c-void);
  background-attachment: fixed;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
section[id] { scroll-margin-top: calc(var(--head) + 8px); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 20px; }
.sec { padding-block: 96px; position: relative; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; }
.eyebrow { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-lilac); }
.h1 { margin-top: 24px; font-size: clamp(2rem, 8vw, 3.4rem); line-height: .95; }
.h2 { margin-top: 16px; font-size: 36px; line-height: .98; }
.h2-tall, .h2-big { font-size: 48px; line-height: .95; }
.h2-big { line-height: .92; }
.h2-huge { font-size: 48px; line-height: .92; }
.h3 { margin-top: 40px; font-size: 30px; line-height: 1.2; }
.h4 { margin-top: 12px; font-size: 20px; }
.lead { margin-top: 24px; font-size: 18px; line-height: 1.625; color: var(--dim); max-width: 36rem; }
.head { max-width: 48rem; }
.head .lead { max-width: none; }
.grad { background: linear-gradient(100deg, var(--c-headline), var(--c-lilac) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.accent { color: var(--c-accent); }
.lilac { color: var(--c-lilac); }
.ice { color: var(--c-ice); }
.dim { color: var(--dim); }
.small { font-size: 14px; line-height: 1.625; }
.micro { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.micro-note { margin-top: 16px; font-size: 12px; color: var(--dim); }
.center { text-align: center; }
.num { font-family: var(--mono); font-size: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glyph { width: 16px; height: 16px; flex: none; }
.glyph.big { width: 24px; height: 24px; }
.panel { background: linear-gradient(180deg, color-mix(in srgb, var(--c-surface) 90%, transparent), color-mix(in srgb, var(--c-void) 90%, transparent)); border: 1px solid var(--border); border-radius: 24px; }
.hairline { margin-top: 32px; width: 96px; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c-accent) 70%, transparent), color-mix(in srgb, var(--c-lilac) 70%, transparent), transparent); }
.grid-bg, .grid-fill { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(color-mix(in srgb, var(--c-lilac) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--c-lilac) 9%, transparent) 1px, transparent 1px); background-size: 64px 64px; }
.grid-bg { -webkit-mask-image: radial-gradient(ellipse at 60% 30%, black 20%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 30%, black 20%, transparent 70%); }
.grid-bg.faint { opacity: .6; }
.glow { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; filter: blur(40px); background: radial-gradient(circle, color-mix(in srgb, var(--c-lilac) 45%, transparent), color-mix(in srgb, var(--c-accent) 12%, transparent) 50%, transparent 70%); }

/* progress + header */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--c-electric), var(--c-accent), var(--c-lilac)); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 90; min-height: 44px; padding: 12px; border-radius: 4px; background: var(--c-accent); color: var(--c-void); }
.skip:focus { top: 12px; }
.top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; padding-bottom: 8px; }
.top.is-solid, .top.is-open { background: color-mix(in srgb, var(--c-void) 85%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-color: var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; font-size: 22px; font-weight: 700; }
.brand img { width: 32px; height: 32px; object-fit: contain; scale: 1.25; }
.brand-foot { font-size: 20px; }
.brand-foot img { width: 28px; height: 28px; }
.nav { display: none; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--dim); transition: color .15s var(--std), background-color .15s var(--std); }
.nav-link:hover, .nav-link.is-current { color: var(--fg); background: var(--c-raise); }
.actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.socials { display: flex; gap: 4px; }
.social, .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); }
.social svg { width: 18px; height: 18px; }
.social:not(.is-inert):hover { border-color: var(--c-accent); color: var(--c-accent); }
.social.is-inert { opacity: .45; cursor: default; }
.menu-btn .glyph { width: 22px; height: 22px; }
.drawer { display: flex; flex-direction: column; gap: 4px; padding: 8px 20px 12px; max-height: calc(100dvh - var(--head)); overflow-y: auto; }
.drawer-link { display: flex; align-items: center; min-height: 48px; padding: 12px; border-radius: 8px; font-size: 18px; }
.drawer-link:hover { background: var(--c-raise); }
.ca { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; width: 100%; min-height: 52px; padding: 10px 16px; text-align: left; border: 1px solid color-mix(in srgb, var(--c-accent) 40%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--c-surface) 70%, transparent); transition: border-color .15s var(--std), background-color .15s var(--std); }
.ca:disabled { cursor: default; border-style: dashed; border-color: var(--border); }
.ca:not(:disabled):hover { border-color: var(--c-accent); }
.ca.is-copied { background: color-mix(in srgb, var(--c-accent) 18%, var(--c-void)); border-color: var(--c-ice); }
.ca-label { font-family: var(--mono); font-size: 13px; color: var(--c-accent); }
.ca-value { flex: 1 1 0; min-width: 0; font-family: var(--mono); font-size: clamp(1.0625rem, 4.6vw, 1.375rem); line-height: 1.35; overflow-wrap: anywhere; word-break: break-all; user-select: all; }
.ca:disabled .ca-value { color: var(--dim); user-select: none; word-break: normal; }
.ca-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* hero */
.hero { position: relative; overflow: hidden; }
.mesh { position: absolute; inset: -10%; pointer-events: none; }
.mesh i { position: absolute; width: 42rem; height: 42rem; border-radius: 50%; filter: blur(70px); opacity: .5; background: radial-gradient(closest-side, var(--c-electric), transparent); animation: drift 18s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { left: -14rem; top: -12rem; opacity: .28; }
.mesh i:nth-child(2) { right: -10rem; top: 4rem; background: radial-gradient(closest-side, var(--c-violet), transparent); animation-duration: 23s; animation-delay: -7s; }
.mesh i:nth-child(3) { left: 30%; bottom: -24rem; opacity: .25; background: radial-gradient(closest-side, var(--c-accent), transparent); animation-duration: 29s; animation-delay: -11s; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; pointer-events: none; fill: none; stroke-width: .6; }
.lines .l1 { stroke: color-mix(in srgb, var(--c-accent) 50%, transparent); }
.lines .l2 { stroke: color-mix(in srgb, var(--c-lilac) 50%, transparent); }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-grid > * { min-width: 0; }
.hero-lead { margin-top: 32px; max-width: 36rem; font-size: 18px; line-height: 1.625; color: var(--dim); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.center-row { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-size: 14px; transition: transform .15s var(--std), border-color .15s var(--std); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-primary { background: linear-gradient(100deg, var(--c-accent), var(--c-ice)); color: var(--c-void); font-weight: 600; }
a.btn-primary:hover { transform: translateY(-2px); }
a.btn-primary:hover .glyph { transform: translateY(2px); }
.btn .glyph { transition: transform .15s var(--std); }
.btn-primary.is-inert { opacity: .55; cursor: default; }
.btn-ghost { border: 1px solid var(--border); font-size: 14px; }
.btn-ghost.btn-lg { padding-inline: 24px; }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--c-lilac) 60%, transparent); }
.btn-ghost:hover .glyph { transform: translateY(2px); }
.status { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 24px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--c-void) 55%, transparent); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-lilac); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
[data-feed="live"] .dot { background: var(--c-ice); }
[data-feed="error"] .dot { background: var(--c-violet); }
.orb-col { position: relative; width: 100%; max-width: 24rem; margin-inline: auto; }
.orb-col > .glow { bottom: 25%; }
.orb { position: relative; width: 75%; margin-inline: auto; }
.ring { position: absolute; left: -16px; top: -16px; width: calc(100% + 32px); height: auto; aspect-ratio: 1; max-width: none; opacity: .6; pointer-events: none; }
.ring-path { fill: none; stroke: color-mix(in srgb, var(--c-lilac) 50%, transparent); stroke-width: .4; stroke-dasharray: 2 6; }
.ring-dot { fill: var(--c-accent); }
.spin-slow { animation: spin-slow 40s linear infinite; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.holo { position: relative; aspect-ratio: 1; }
.holo img, .holo canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.holo img { transition: opacity .7s ease-out; }
.holo.is-live img { opacity: 0; }
.hero-holo { scale: 1.3; filter: drop-shadow(0 0 28px color-mix(in srgb, var(--c-electric) 55%, transparent)); }
.voice { display: block; width: 100%; max-width: 160px; margin: 12px auto 0; fill: var(--c-accent); }
.voice rect { transform-box: fill-box; transform-origin: center; transform: scaleY(.2); }
.voice.is-speaking rect { animation: bar 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * 80ms); }
.art-note { position: relative; margin-top: 8px; text-align: center; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.say { position: relative; margin-top: 16px; min-height: 88px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--border); background: color-mix(in srgb, var(--c-void) 70%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.say-text { margin-top: 4px; font-size: 20px; transition: opacity .35s, transform .35s; }
.say-text.is-out { opacity: 0; transform: translateY(-8px); }
.say-text.is-in { opacity: 0; transform: translateY(8px); transition: none; }
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--border); padding-block: 16px; background: color-mix(in srgb, var(--c-void) 60%, transparent); }
.marquee { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.tick { display: inline-flex; align-items: center; gap: 10px; padding-right: 48px; font-family: var(--mono); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; white-space: nowrap; color: var(--dim); }
.tick b { font-weight: 500; color: var(--fg); }
.tick::after { content: ""; width: 4px; height: 4px; margin-left: 38px; margin-right: -48px; translate: -14px 0; border-radius: 50%; background: var(--c-accent); }

.up { color: var(--c-ice); }
.down { color: var(--c-lilac); }

/* board */
.board { margin-top: 48px; padding: 12px; overflow: hidden; }
.board-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 12px; }
.board-top .status { margin-top: 0; }
.board-note { font-size: 12px; color: var(--dim); }
.row-head { display: none; }
.rows { display: flex; flex-direction: column; gap: 4px; }
.row { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); }
.row-body { position: relative; z-index: 1; display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "rank token token price" ". change volume liquidity"; gap: 8px; align-items: center; min-height: 64px; padding: 12px; }
a.row-body:hover { background: color-mix(in srgb, var(--c-raise) 45%, transparent); }
.c-rank { grid-area: rank; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.c-token { grid-area: token; display: flex; align-items: center; gap: 12px; min-width: 0; }
.c-price { grid-area: price; text-align: right; }
.c-change { grid-area: change; }
.c-volume { grid-area: volume; }
.c-liquidity { grid-area: liquidity; text-align: right; }
.cell[data-label], .row a .cell { min-width: 0; }
.cell b { font-family: var(--mono); font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; border-radius: 4px; overflow-wrap: anywhere; }
.c-change::before, .c-volume::before, .c-liquidity::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--c-raise); font-family: var(--display); font-weight: 700; color: var(--c-frost); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.names { display: flex; flex-direction: column; min-width: 0; }
.names b { font-family: var(--display); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.names small { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.own { border-left: 2px solid var(--color-accent); animation: ownPulse 2.4s ease-in-out infinite; }
.row.enter { animation: enter .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.flash-up { animation: flashUp .9s ease-out; }
.flash-down { animation: flashDown .9s ease-out; }
.sk { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--c-surface), var(--c-grid), var(--c-surface)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-dot { width: 40px; height: 40px; border-radius: 12px; }
.sk-a { width: 72px; height: 12px; }
.sk-b { width: 112px; max-width: 100%; height: 9px; margin-top: 8px; }
.sk-num { display: inline-block; width: 56px; max-width: 100%; height: 12px; }
.sk-tick { width: 96px; height: 12px; }
.c-price .sk-num, .c-liquidity .sk-num { margin-left: auto; }

/* spotlight */
[data-spot] { position: relative; }
[data-spot]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c-accent) 16%, transparent), transparent 70%); }
[data-spot]:hover::before { opacity: 1; }
.lift { transition: transform .35s var(--ease), border-color .35s; }
.lift:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c-lilac) 45%, transparent); }

/* why */
.band { position: relative; overflow: hidden; border-block: 1px solid var(--border); }
.band.deep { background: color-mix(in srgb, var(--c-void) 60%, transparent); }
.glow.side { inset: -96px -192px auto auto; width: 36rem; height: 36rem; opacity: .3; }
.why-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.why-fig { order: 2; padding: 6px; border-radius: 28px; overflow: hidden; }
.why-text { order: 1; }
.why-text .lead { margin-top: 20px; max-width: 36rem; }
.why-text .hairline + .lead { margin-top: 32px; }
.why-stage { position: relative; aspect-ratio: 1024 / 509; border-radius: 22.4px; overflow: hidden; background: linear-gradient(180deg, var(--c-void), var(--c-bg) 60%, var(--c-indigo)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-accent) 18%, transparent); }
.why-stage img { position: absolute; left: 50%; top: -12%; height: 124%; width: auto; max-width: none; translate: -50% 0; }
.why-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--c-void) 55%, transparent)); }
.horizon { position: absolute; left: 0; right: 0; bottom: 14%; height: 2px; background: linear-gradient(90deg, transparent, var(--c-ice), transparent); box-shadow: 0 0 32px 6px color-mix(in srgb, var(--c-electric) 70%, transparent); }
.goal { display: grid; gap: 24px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.goal-text { font-size: 30px; line-height: 1.05; }
.goal-note { align-self: end; font-size: 12px; line-height: 1.625; color: var(--dim); }

/* flow */
.flow-grid { display: grid; gap: 48px; align-items: center; }
.flow-grid > * { min-width: 0; }
.steps { margin-top: 40px; border-top: 1px solid var(--border); }
.step { position: relative; border-bottom: 1px solid var(--border); }
.step button { display: flex; align-items: baseline; gap: 20px; width: 100%; min-height: 56px; padding-block: 16px; text-align: left; }
.step .num { color: var(--dim); }
.step.is-on .num { color: var(--c-lilac); }
.step-title { font-size: 24px; color: color-mix(in srgb, var(--fg) 45%, var(--c-void)); transition: color .15s var(--std); }
.step.is-on .step-title { color: var(--fg); }
.step-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s, opacity .4s; }
.step.is-on .step-body { grid-template-rows: 1fr; opacity: 1; }
.step-body > div { overflow: hidden; }
.step-body p { padding: 0 0 20px 40px; max-width: 28rem; line-height: 1.625; color: var(--dim); }
.step-bar { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; transform-origin: left; transform: scaleX(0); background: var(--c-lilac); }
.step.is-done .step-bar { transform: scaleX(1); background: var(--c-accent); }
.step.is-on .step-bar { transform: scaleX(1); }
.step.is-on.is-running .step-bar { animation: fill 5.2s linear both; }
.text-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.text-btn:hover { color: var(--fg); }
.play-mark { width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.is-playing .play-mark { clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
#iso-caption { font-size: 11px; margin-top: 8px; }
.iso-col { position: relative; }
.glow.soft { inset: 12%; opacity: .5; }
.iso { position: relative; width: 100%; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c-lilac) 60%, transparent)); }
.iso .cube { transition: transform .6s var(--ease), opacity .6s var(--ease); opacity: .55; }
.iso .cube.lit { transform: translateY(-10px); opacity: 1; }
.iso polygon { stroke: color-mix(in srgb, var(--c-frost) 55%, transparent); stroke-width: .7; }
.iso .f-left { fill: var(--c-surface); }
.iso .f-right { fill: var(--c-raise); }
.iso .f-top { fill: var(--c-grid); transition: fill .4s; }
.iso .lit .f-top { fill: color-mix(in srgb, var(--c-lilac) 75%, var(--c-void)); }
.iso .plate { fill: color-mix(in srgb, var(--c-void) 60%, transparent); }
.iso .edge { fill: none; stroke: color-mix(in srgb, var(--c-frost) 35%, transparent); stroke-width: .8; }
.iso .beam { stroke: var(--c-accent); stroke-width: .9; stroke-dasharray: 4 6; animation: dash 2.4s linear infinite; }
.iso .halo { fill: none; stroke: var(--c-accent); stroke-width: 1; }
.iso .core { fill: var(--c-ice); }

/* demo */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pill-tab, .chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; transition: color .15s var(--std), border-color .15s var(--std), background-color .15s var(--std); }
.pill-tab { color: var(--dim); }
.pill-tab:hover, .chip:hover { color: var(--fg); border-color: color-mix(in srgb, var(--c-lilac) 55%, transparent); }
.pill-tab[aria-selected="true"] { color: var(--fg); border-color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 10%, transparent); }
.chip { padding: 8px 16px; }
.chip:disabled { opacity: .4; cursor: default; }
.chip.solid { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-void); font-weight: 600; }
.demo { margin-top: 24px; padding: 16px; }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 24px; }
.pipe-line { display: block; height: 1px; background: var(--border); overflow: hidden; }
.pipe-line i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); transition: transform .5s; background: linear-gradient(90deg, var(--c-accent), var(--c-lilac)); }
.pipe li.is-on i { transform: scaleX(1); }
.pipe p { margin-top: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.pipe li.is-on p { color: var(--fg); }
.pipe-name { display: none; }
.demo-grid { display: grid; gap: 24px; }
.demo-left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.utter { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); }
.mini-holo { width: 64px; flex: none; scale: 1.3; }
.mini-holo + div { min-width: 0; }
.utter-text { margin-top: 4px; font-size: 20px; line-height: 1.25; }
.caret::after { content: ""; display: inline-block; width: 8px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--c-accent); animation: blink 1s steps(1) infinite; }
#demo-detail { display: flex; flex-direction: column; gap: 16px; min-height: 300px; }
#demo-detail:empty { min-height: 300px; }
.box { padding: 16px; border-radius: 16px; border: 1px solid var(--border); font-family: var(--mono); font-size: 12px; animation: enter .4s var(--ease) both; }
.plan { display: flex; flex-direction: column; gap: 8px; }
.plan li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); font-size: 14px; animation: slide .35s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
.plan li.now { border-color: color-mix(in srgb, var(--c-lilac) 55%, transparent); background: color-mix(in srgb, var(--c-lilac) 8%, transparent); }
.plan li > span:nth-child(2) { flex: 1; }
.plan li.next > span:nth-child(2) { color: var(--dim); }
.mark { width: 10px; height: 10px; flex: none; border-radius: 50%; border: 1px solid var(--dim); }
.done .mark { background: var(--c-accent); border-color: var(--c-accent); }
.approval { padding: 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c-lilac) 60%, transparent); background: color-mix(in srgb, var(--c-violet) 14%, transparent); animation: enter .4s var(--ease) both; }
.approval p + p { margin-top: 4px; font-size: 14px; }
.approval div { display: flex; gap: 8px; margin-top: 12px; }
.verdict { padding: 16px; border-radius: 16px; border: 1px solid var(--border); font-size: 14px; animation: enter .4s var(--ease) both; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#demo-side { display: flex; flex-direction: column; gap: 16px; }
#demo-side:empty { display: none; }
.screen { aspect-ratio: 16 / 10; width: 100%; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--c-void); }
.grid-fill.faint { opacity: .6; }
.screen-body { position: absolute; inset: 12px; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; animation: pop .4s var(--std) both; }
.view.leave { animation: popOut .4s var(--std) both; }
.dock { display: flex; gap: 8px; margin: auto auto 0; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); background: color-mix(in srgb, var(--c-raise) 60%, transparent); }
.dock i { width: 20px; height: 20px; border-radius: 4px; background: var(--c-accent); opacity: .5; }
.dock i:nth-child(2) { background: var(--c-lilac); }
.dock i:nth-child(3) { background: var(--c-electric); }
.dock i:nth-child(4) { background: var(--c-ice); }
.window { flex: 1; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: var(--c-surface); }
.window-bar { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 30%, transparent); }
.window-bar span { flex: 1; margin-left: 8px; padding: 4px 12px; border-radius: 999px; background: var(--c-raise); font-family: var(--mono); font-size: 10px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { position: relative; flex: 1; display: grid; align-content: center; gap: 8px; padding: 12px; text-align: center; font-family: var(--mono); font-size: 13px; }
.cursor { position: absolute; top: 20%; width: 16px; height: 16px; animation: grow .35s var(--ease) both; }
.cursor::after { content: ""; position: absolute; inset: 0; background: var(--c-ice); clip-path: polygon(0 0, 100% 45%, 55% 55%, 45% 100%); }
.cursor i { position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--c-lilac); animation: breathe 3.2s ease-in-out infinite; }
.stamp { position: absolute; right: 12px; bottom: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* desks */
.desks { position: relative; overflow: hidden; padding-block: 112px; }
.desks .wrap { position: relative; }
.desk-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.desk-head { display: grid; gap: 32px; align-items: end; }
.desk-head .lead { max-width: 32rem; }
.desk-head .h2 { margin-top: 0; }
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.badge-accent, .badge-wait { border-color: color-mix(in srgb, var(--c-lilac) 60%, transparent); background: color-mix(in srgb, var(--c-lilac) 10%, transparent); color: var(--c-lilac); }
.badge-go { border-color: color-mix(in srgb, var(--c-accent) 55%, transparent); color: var(--c-accent); }
.badge-no { border-color: var(--c-violet); background: color-mix(in srgb, var(--c-violet) 35%, transparent); color: var(--c-white); }
.badge-dashed { border-style: dashed; color: var(--c-lilac); }
.desk-grid { display: grid; gap: 16px; margin-top: 56px; }
.desk-grid > * { min-width: 0; }
.stage { position: relative; overflow: hidden; border-radius: 16px; min-height: 480px; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.scene.is-on { opacity: 1; }
.scene-0 { --s1: var(--c-electric); --s2: var(--c-indigo); }
.scene-1 { --s1: var(--c-accent); --s2: var(--c-grid); }
.scene-2 { --s1: var(--c-violet); --s2: var(--c-raise); }
.scene-3 { --s1: var(--c-lilac); --s2: var(--c-indigo); }
.scene-4 { --s1: var(--c-azure); --s2: var(--c-line); }
.scene-art, .thumb { background: radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--s1) 60%, transparent), transparent 55%), linear-gradient(140deg, var(--s2), var(--c-void)); }
.scene-art { position: absolute; inset: 0; }
.scene-art i { position: absolute; right: 8%; height: 14px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--s1) 80%, transparent); background: color-mix(in srgb, var(--s1) 22%, transparent); animation: floaty 6s ease-in-out infinite; }
.scene-art i:nth-child(1) { top: 20%; width: 46%; }
.scene-art i:nth-child(2) { top: 28%; width: 30%; animation-delay: -1.5s; }
.scene-art i:nth-child(3) { top: 36%; width: 40%; animation-delay: -3s; }
.scene-art i:nth-child(4) { top: 44%; width: 18%; animation-delay: -4.5s; }
.shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--c-void), color-mix(in srgb, var(--c-void) 35%, transparent) 55%, transparent); }
.stage-tags { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c-void) 80%, transparent); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.stage-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.stage-text > div { animation: rise .7s var(--ease) both; }
.stage-text h3 { margin-top: 4px; font-size: 36px; line-height: 1.1; }
.stage-text .scope { margin-top: 8px; font-size: 14px; max-width: 36rem; }
.says { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mic { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--c-accent); stroke-width: 2; stroke-linecap: round; }
.says span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--c-accent) 35%, transparent); background: color-mix(in srgb, var(--c-void) 70%, transparent); font-family: var(--mono); font-size: 12px; }
.rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.thumb { display: flex; flex-direction: column; justify-content: flex-end; min-height: 80px; padding: 8px 12px; text-align: left; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.thumb:last-child { grid-column: span 2; }
.thumb { position: relative; }
.thumb > span { position: relative; z-index: 1; }
.thumb::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--c-void) 65%, transparent); transition: background-color .15s var(--std); }
.thumb:hover::after { background: color-mix(in srgb, var(--c-void) 45%, transparent); }
.thumb[aria-selected="true"]::after { background: color-mix(in srgb, var(--c-void) 35%, transparent); }
.thumb[aria-selected="true"] { border-color: color-mix(in srgb, var(--c-accent) 80%, transparent); }
.thumb .display { font-size: 16px; }
.thumb .micro { font-size: 9px; }
.cells { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 24px; background: var(--border); }
.cells.four { margin-top: 64px; border-radius: 16px; }
.cell-card, .stack-card, .agent { background: var(--c-void); }
.cell-card { background: var(--c-bg); }
.cell-card { padding: 24px; }
.cell-card p.small { margin-top: 8px; }
.more { margin-top: 24px; border-radius: 16px; }
.more > button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 24px; text-align: left; font-size: 20px; }
.more > button .glyph { width: 20px; height: 20px; transition: transform .15s var(--std); }
.more > button[aria-expanded="true"] .glyph { transform: rotate(180deg); }
.more-body { display: grid; gap: 32px; padding: 0 24px 32px; }
.talk, .rules { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; font-size: 14px; }
.talk { font-family: var(--mono); }
.rules li { display: flex; gap: 10px; }
.rules li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--c-accent); }
.stopline { display: inline-block; margin-top: 20px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); font-family: var(--mono); font-size: 12px; }
.foot-note { margin-top: 24px; font-size: 14px; color: var(--dim); }

/* stack, guard, horizon */
.cells.two { margin-top: 56px; }
.stack-card { display: flex; flex-direction: column; min-height: 240px; padding: 32px; }
.stack-card p.dim { margin-top: 12px; line-height: 1.625; }
.underline { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; transform-origin: left; transform: scaleX(0); transition: transform .5s; background: linear-gradient(90deg, var(--c-accent), var(--c-lilac)); }
.stack-card:hover .underline { transform: scaleX(1); }
.guard { display: grid; gap: 56px; align-items: start; }
.guard > * { min-width: 0; }
.keybox { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 20px; border-radius: 16px; border: 1px solid var(--border); }
kbd { padding: 8px 12px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--c-lilac) 60%, transparent); font-family: var(--mono); font-size: 14px; color: var(--c-lilac); }
.modes { padding: 24px; }
.segment { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid var(--border); }
.segment button { position: relative; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--c-raise); transition: transform .4s var(--ease); }
.mode-rows { margin-top: 24px; }
.mode-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--border); }
.mode-rows li:last-child { border-bottom: 0; }
.mode-rows li.swap .badge { animation: slideBack .3s var(--ease) both; }
.banner { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; padding: 24px; border-radius: 16px; }
.cells.three { margin-top: 24px; }
.agent { display: flex; flex-direction: column; padding: 32px; }
.agent .agent-icon { width: 28px; height: 28px; margin-top: 40px; color: var(--dim); }
.agent .h3 { margin-top: 20px; }
.agent > p.dim { margin-top: 12px; line-height: 1.625; }
.agent figure { margin-top: 32px; padding: 16px; border-radius: 12px; border: 1px dashed var(--border); background: color-mix(in srgb, var(--c-raise) 35%, transparent); }
.agent blockquote { margin-top: 8px; font-size: 14px; font-style: italic; }
.agent .rule { margin-top: auto; padding-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }

/* close + footer */
.join-wrap { padding-bottom: 32px; }
.join { position: relative; overflow: hidden; padding: 40px 20px; border-radius: 32px; border: 1px solid var(--border); text-align: center; }
.join > * { position: relative; }
.join > .grid-bg, .join > .glow { position: absolute; }
.glow.under { inset: auto 0 -160px; margin-inline: auto; width: min(34rem, 100%); height: 34rem; }
.join-logo { width: 56px; height: 56px; margin-inline: auto; scale: 1.3; }
.join .h2 { margin-top: 32px; }
.join-lead { max-width: 28rem; margin: 24px auto 0; color: var(--dim); }
.foot { margin-top: 96px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; gap: 40px; padding-block: 56px; }
.about { max-width: 24rem; margin-top: 16px; }
.foot .eyebrow { margin-bottom: 8px; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 14px; color: var(--dim); }
.foot li a:hover { color: var(--fg); }
.foot dl div { display: flex; gap: 12px; padding-block: 8px; font-size: 14px; }
.foot dt { color: var(--dim); min-width: 64px; }

/* motion */
.rise { animation: rise .7s var(--ease) both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes bar { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -40; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(7rem, 4rem, 0) scale(1.15); } }
@keyframes ping { from { transform: scale(1); opacity: .8; } 80%, to { transform: scale(2.8); opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes slideBack { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes popOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(1.02); } }
@keyframes grow { from { scale: 0; } to { scale: 1; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ownPulse { 0%, 100% { box-shadow: inset 0 0 0 0 transparent; background-color: color-mix(in srgb, var(--c-accent) 5%, transparent); } 50% { box-shadow: inset 24px 0 40px -24px color-mix(in srgb, var(--color-accent) 55%, transparent); background-color: color-mix(in srgb, var(--c-accent) 13%, transparent); } }
@keyframes flashUp { from { background-color: color-mix(in srgb, var(--c-ice) 45%, transparent); } to { background-color: transparent; } }
@keyframes flashDown { from { background-color: color-mix(in srgb, var(--c-violet) 80%, transparent); } to { background-color: transparent; } }

/* breakpoints */
@media (max-width: 639px) {
  .ca-hint { flex-basis: 100%; }
}
@media (max-width: 399px) {
  .brand .display { font-size: 19px; }
  .bar { gap: 8px; }
}
@media (min-width: 640px) {
  .h1 { font-size: 48px; }
  .pipe-name { display: inline; }
  .rail { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .thumb:last-child { grid-column: auto; }
  .stage { min-height: 420px; }
}
@media (min-width: 768px) {
  :root { --head: 136px; }
  .wrap { padding-inline: 32px; }
  .sec { padding-block: 128px; }
  .h1 { font-size: 60px; }
  .h2, .h2-tall { font-size: 60px; }
  .h2-big { font-size: 72px; }
  #flow-title { line-height: .95; }
  .h2-huge { font-size: 96px; }
  .hero-grid { padding-top: 96px; }
  .hero-lead { font-size: 20px; }
  .row-head, .row-body { grid-template-columns: 32px minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 16px; }
  .row-head { display: grid; padding: 8px 13px 8px 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
  .row-head span:nth-child(n+3) { text-align: right; }
  .row-body { grid-template-areas: "rank token price change volume liquidity"; }
  .c-change, .c-volume { text-align: right; }
  .c-change::before, .c-volume::before, .c-liquidity::before { display: none; }
  .board { padding: 24px; }
  .goal { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 96px; padding-top: 56px; }
  .goal-text { grid-column: span 9; font-size: 48px; }
  .screen-body { inset: 20px; }
  .goal-note { grid-column: span 3; }
  .step-title { font-size: 30px; }
  .demo { padding: 24px; }
  .pipe { gap: 12px; }
  .pipe p { font-size: 11px; }
  .utter-text { font-size: 24px; }
  .desks { padding-block: 144px; }
  .stage { aspect-ratio: 16 / 8; min-height: 0; }
  .stage-text { padding: 32px; }
  .stage-text h3 { font-size: 60px; }
  .cells.four, .cells.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-card { padding: 40px; }
  .more-body { grid-template-columns: 1fr 1fr; }
  .banner { flex-direction: row; align-items: center; padding: 28px; }
  .banner p { padding-left: 20px; border-left: 1px solid var(--border); }
  .join { padding: 80px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn, .drawer { display: none; }
  .actions { margin-left: 0; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .why-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px; }
  .why-fig { order: 1; grid-column: span 7; }
  .why-text { order: 2; grid-column: span 5; }
  .flow-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .demo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .desk-head { grid-template-columns: 1.2fr 1fr; }
  .desk-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .rail { grid-template-columns: 1fr; }
  .thumb { min-height: 80px; }
  .stage { align-self: stretch; }
  .cells.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cells.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agent { padding: 36px; }
  .guard { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .h1 { font-size: 72px; }
  .h2-tall { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .row.own { animation: none; }
  .lift:hover, a.btn-primary:hover { transform: none; }
}
