/* Kyma — stone, ink and water. */
:root {
  --bg: #E6E4DF;
  --paper: #F7F6F2;
  --paper-2: #EFEDE8;
  --ink: #141412;
  --ink-2: #4D4A44;
  --ink-3: #87837A;
  --line: rgba(20, 20, 18, .10);
  --line-2: rgba(20, 20, 18, .18);
  --up: #1D7A52;
  --down: #B23F38;
  --up-bg: rgba(29, 122, 82, .10);
  --down-bg: rgba(178, 63, 56, .10);
  --r: 22px;
  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1180px;
  --gut: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--ink-3); }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- background stone ---------- */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
#stage.ready { opacity: 1; }
.stone-fallback { position: fixed; inset: 0; z-index: -2; display: none; background: url('https://images.unsplash.com/photo-1581710515207-e12b6e176779?w=2200&q=72&auto=format&fit=crop') center / cover; }
.stone-fallback::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .36); }
.no-gl .stone-fallback { display: block; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; letter-spacing: .02em; color: var(--ink); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
h1 { font-weight: 500; font-size: clamp(52px, 7.6vw, 112px); line-height: .94; letter-spacing: -.048em; }
h2 { font-weight: 500; font-size: clamp(38px, 4.9vw, 66px); line-height: .98; letter-spacing: -.04em; text-wrap: balance; margin-top: 18px; }
h3 { font-weight: 500; font-size: 20px; letter-spacing: -.02em; line-height: 1.15; }
.sub { margin-top: 20px; max-width: 440px; font-size: 18px; line-height: 1.45; color: var(--ink-2); letter-spacing: -.01em; }
.lede { margin-top: 26px; max-width: 470px; font-size: 19px; line-height: 1.45; color: var(--ink-2); letter-spacing: -.012em; }

/* split-word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transform: translate3d(0, 108%, 0) rotate(3deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--base, 0ms)); will-change: transform; }
.split.in .wi { transform: none; }
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-in { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 150ms); }
.loaded .hero-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); will-change: transform; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2A2925; }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); background: rgba(247, 246, 242, .55); }
.btn-line:hover { border-color: var(--ink); background: var(--paper); }
.roll { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.btn:hover .roll > span { transform: translateY(-100%); }
.btn .arr { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(230, 228, 223, .82); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); border-bottom-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.03em; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; color: var(--ink); transition: transform .8s var(--ease); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.04); }
.links { display: flex; gap: 4px; margin-left: 18px; }
.links a { position: relative; padding: 8px 12px; font-size: 14.5px; color: var(--ink-2); border-radius: 999px; transition: color .3s, background-color .3s; }
.links a:hover { color: var(--ink); background: rgba(20, 20, 18, .05); }
.links a.on { color: var(--ink); }
.links a.on::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(247, 246, 242, .6); font-size: 13px; color: var(--ink-2); }
.chip-logo { width: 16px; height: 16px; display: block; }
.mini-logo { width: 15px; height: 15px; border-radius: 50%; vertical-align: -3px; margin-right: 7px; }
.eyebrow-logo { width: 16px; height: 16px; }
.book-logo { width: 24px; height: 24px; border-radius: 50%; align-self: center; }
.desk-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.desk-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.desk-link:hover svg { transform: translateX(3px); }
.tile .tl { display: inline-flex; align-items: center; gap: 10px; }
.tile .tl img { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.chip b { font-weight: 500; color: var(--ink); font-size: 12.5px; min-width: 9ch; }
.tick { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--up); flex: none; }
.tick::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--up); opacity: 0; transform: scale(.4); }
.tick.beat::after { animation: beat .9s var(--ease); }
@keyframes beat { 0% { opacity: .8; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }

/* ---------- hero ---------- */
/* centred hero: one big headline, a balanced two-line lede, buttons, and a centred stats rail */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(112px, 15vh, 148px) 0 40px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; }
/* the strata sphere (hero3d.js) rises out of the bottom of the hero, under the words */
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.live-band { position: relative; padding: 18px 0 0; }
.live-band .hero-foot { margin-top: 0; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1000px; }
.hero-copy .eyebrow { padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(247, 246, 242, .55); }
.hero-h { margin-top: 26px; font-size: clamp(46px, 7.4vw, 112px); line-height: .9; letter-spacing: -.056em; }
.hero-h .wi { --base: 120ms; }
.hero-copy .lede { margin: 30px auto 0; max-width: 560px; font-size: 20px; line-height: 1.5; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-copy .cta { justify-content: center; margin-top: 38px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-foot { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 920px; margin: 52px auto 0; border-top: 1px solid var(--line-2); }
.hstat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px 0; }
.hstat > span { font-size: 12px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.hstat b { font-size: 17px; font-weight: 500; }

/* odometer */
.odo { display: inline-flex; align-items: flex-start; line-height: 1; height: 1em; overflow: hidden; }
.odo-col { display: inline-block; height: 1em; overflow: hidden; }
.odo-inner { display: block; transition: transform .38s var(--ease); will-change: transform; }
.odo-inner > span { display: block; height: 1em; line-height: 1; }
.odo-sep { display: inline-block; }
.odo-gap { display: inline-block; width: .22em; }
.odo-inner.odo-last { transition: none; }
.hstat .odo { height: 1.06em; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 150px 0; }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head.center .sub { max-width: 520px; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.card { background: rgba(247, 246, 242, .92); border: 1px solid var(--line); border-radius: var(--r); }

/* ---------- 03 vaults ---------- */
.vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.vcard { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; transition: transform .7s var(--ease), border-color .4s; }
.vcard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.vc-top { position: relative; width: 76px; height: 76px; }
.vc-coin { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #FBFAF7; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px rgba(30, 26, 20, .08); }
.vc-coin img { width: 46px; height: 46px; border-radius: 50%; }
.vc-badge { position: absolute; right: -8px; bottom: -4px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(30, 26, 20, .1); }
.vc-badge img { width: 22px; height: 22px; }
.vcard h3 { margin-top: 22px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.vc-sub { margin-top: 4px; font-size: 14.5px; color: var(--ink-3); }
.vc-price { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.vc-price span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-right: auto; }
.vc-price b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.vc-price em { font-style: normal; font-size: 14px; color: var(--ink-2); }
.vcard dl { margin: 16px 0 22px; display: grid; gap: 10px; }
.vcard dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.vcard dt { color: var(--ink-3); }
.vcard dd { margin: 0; color: var(--ink); text-align: right; }
.vcard dd.open::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--up); vertical-align: 1px; }
.vcard .btn { margin-top: auto; justify-content: center; }

/* ---------- 04 fees ---------- */
.feepath { margin-top: 56px; padding: 26px 26px 0; overflow: hidden; }
#feeSvg { display: block; width: 100%; height: auto; }
.fp-track { fill: none; stroke: rgba(20, 20, 18, .22); stroke-width: 1.4; stroke-dasharray: 3 6; }
.fp-coin { fill: #FBFAF7; stroke: rgba(20, 20, 18, .12); }
.fp-k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; fill: var(--ink-3); }
.fp-v { font-family: var(--font); font-size: 17px; font-weight: 600; fill: var(--ink); }
.fp-router { fill: var(--ink); }
.fp-router-t { font-family: var(--font); font-size: 17px; font-weight: 500; fill: var(--paper); }
.fp-fee { fill: #E9E2D6; stroke: rgba(20, 20, 18, .12); }
.fp-fee-t { font-family: var(--mono); font-size: 13px; fill: var(--ink); }
.fp-spark { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fp-stack-side { fill: #F3F1EC; stroke: rgba(20, 20, 18, .16); }
.fp-stack-top { fill: #FBFAF7; stroke: rgba(20, 20, 18, .16); }
.fp-sand-side { fill: #B5A68F; }
.fp-sand-top { fill: #CDBFA9; }
.fp-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px -26px 0; border-top: 1px solid var(--line); }
.fp-stats > div { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px 24px; }
.fp-stats > div + div { border-left: 1px solid var(--line); }
.fp-stats b { font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.fp-stats span { font-size: 14px; color: var(--ink-3); }

/* ---------- 09 start ---------- */
.start-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start-steps li { position: relative; display: flex; flex-direction: column; padding: 24px 26px 28px; }
.start-steps .sn { font-size: 12px; color: var(--ink-3); }
.start-steps b { margin-top: 22px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.start-steps p { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.sv { position: relative; height: 150px; margin-top: 14px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(20, 20, 18, .03); }
.sv-wallet { flex-direction: column; gap: 12px; }
.sv-btn { position: relative; display: grid; height: 44px; min-width: 176px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14.5px; font-weight: 500; overflow: hidden; }
.sv-btn > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .7s var(--ease), opacity .5s; }
.sv-on { transform: translateY(100%); opacity: 0; }
.sv-on i { width: 7px; height: 7px; border-radius: 50%; background: #5BD39A; }
.sv-wallet.on .sv-off { transform: translateY(-100%); opacity: 0; }
.sv-wallet.on .sv-on { transform: none; opacity: 1; }
.sv-chain { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); background: var(--paper); }
.sv-chain img { width: 15px; height: 15px; }
.sv-pick { gap: 16px; }
.sv-pick > span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #FBFAF7; box-shadow: inset 0 0 0 1px var(--line), 0 8px 18px rgba(30, 26, 20, .07); transition: transform .6s var(--ease); }
.sv-pick > span img { width: 36px; height: 36px; border-radius: 50%; }
.sv-pick > span.on { transform: translateY(-6px); }
.sv-ring { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform .6s var(--ease); pointer-events: none; }
.sv-hold svg { width: 118px; height: 118px; }
.sv-disc { fill: #FBFAF7; stroke: rgba(20, 20, 18, .12); }
.sv-spin { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
.sv-spin text { font-family: var(--mono); font-size: 8.4px; letter-spacing: .2em; fill: var(--ink-2); }
.start-cta { display: flex; justify-content: center; margin-top: 40px; }

/* 01 shares */
.shares-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.morph { margin-top: 34px; max-width: 470px; }
/* 3D stages (scenes3d.js); the flat drawings stay as the fallback until a stage is running */
.stage3d { position: relative; width: 100%; display: none; }
.stage3d.stage-on { display: block; }
.stage3d .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vault3d { aspect-ratio: 560 / 350; max-height: 58vh; }
/* the share coin sits over the morph drawing: its price range stays, its flat coin and links go */
.morph { position: relative; }
.share3d { position: absolute; inset: 0; z-index: 1; }
.share3d.stage-on { display: block; }
.how-right.has-3d #vault, .morph.has-3d .m-token { display: none; }
.morph.has-3d { max-width: 560px; }
.s3-label { position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.s3-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.s3-pill { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; }
.s3-chip { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--ink); box-shadow: 0 6px 18px rgba(20, 20, 18, .06); }
.s3-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.s3-lines path { fill: none; stroke: rgba(20, 20, 18, .32); stroke-width: 1.2; }
.morph svg { display: block; width: 100%; height: auto; overflow: visible; }
.morph text { font-family: var(--font); font-size: 13px; font-weight: 500; fill: var(--ink); }
.morph .m-lbl { font-family: var(--mono); font-size: 11px; font-weight: 400; fill: var(--ink-3); }
.m-pill text { font-size: 12px; fill: var(--paper); }
.m-sym { fill: var(--ink) !important; font-size: 16px !important; font-weight: 600 !important; }
.m-range, .m-band, .m-price, .m-coin, .m-dest > g, .m-links path { transition: transform 1s var(--ease), opacity .7s var(--ease), stroke-dashoffset 1s var(--ease); }
.m-band { transform-origin: 260px 152px; transform-box: view-box; }
.m-price { stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-coin { transform-origin: 170px 150px; transform-box: view-box; transform: scale(.4) rotate(-40deg); opacity: 0; }
.m-links path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.m-dest > g { opacity: 0; }
.morph[data-side="1"] .m-band { transform: scaleY(0); opacity: 0; }
.morph[data-side="1"] .m-price { opacity: 0; transform: translateX(-60px); }
.morph[data-side="1"] .m-grid { opacity: .5; }
.morph[data-side="1"] .m-pill { opacity: 0; }
.m-pill, .m-grid { transition: opacity .6s var(--ease); }
.morph[data-side="1"] .m-coin { transform: none; opacity: 1; transition-delay: .15s; }
.morph[data-side="1"] .m-links path { stroke-dashoffset: 0; transition-delay: .45s; }
.morph[data-side="1"] .m-links path:nth-child(2) { transition-delay: .55s; }
.morph[data-side="1"] .m-links path:nth-child(3) { transition-delay: .65s; }
.morph[data-side="1"] .m-dest > g { opacity: 1; }
.morph[data-side="1"] .m-dest > g:nth-child(1) { transition-delay: .8s; }
.morph[data-side="1"] .m-dest > g:nth-child(2) { transition-delay: .9s; }
.morph[data-side="1"] .m-dest > g:nth-child(3) { transition-delay: 1s; }

.compare { padding: 10px; }
.seg, .side-seg, .filters { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: rgba(20, 20, 18, .06); isolation: isolate; }
.seg button, .side-seg button, .filters button { position: relative; z-index: 1; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .4s var(--ease); }
.seg button[aria-selected="true"], .side-seg button.on, .filters button.on { color: var(--paper); }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.rows { margin-top: 8px; }
.rows li { position: relative; display: grid; grid-template-columns: 96px 1fr 28px; align-items: center; height: 64px; padding: 0 16px; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows .k { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.rows .v { position: relative; height: 26px; overflow: hidden; font-size: 18px; letter-spacing: -.015em; }
.rows .v em { position: absolute; inset: 0; font-style: normal; white-space: nowrap; transition: transform .75s var(--ease), opacity .55s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.rows .v em:first-child { color: var(--ink-3); }
.rows .v em:last-child { transform: translateY(100%); opacity: 0; color: var(--ink); }
.compare[data-side="1"] .v em:first-child { transform: translateY(-100%); opacity: 0; }
.compare[data-side="1"] .v em:last-child { transform: none; opacity: 1; }
.mk { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); justify-self: end; transition: background-color .5s var(--ease), border-color .5s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.mk::before, .mk::after { content: ''; position: absolute; left: 50%; top: 50%; height: 1.5px; background: var(--ink-3); border-radius: 2px; transition: all .6s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.mk::before { width: 10px; transform: translate(-50%, -50%) rotate(45deg); }
.mk::after { width: 10px; transform: translate(-50%, -50%) rotate(-45deg); }
.compare[data-side="1"] .mk { background: var(--ink); border-color: var(--ink); }
.compare[data-side="1"] .mk::before { width: 5px; background: var(--paper); transform: translate(-5px, 1px) rotate(45deg); }
.compare[data-side="1"] .mk::after { width: 10px; background: var(--paper); transform: translate(-2px, -1px) rotate(-50deg); }
.card-note { padding: 14px 16px 8px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); }

/* 02 how — one jar that plays on its own */
.how { position: relative; padding: 120px 0 110px; }
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.how-right { margin-top: 28px; }
.steps { margin-top: 40px; display: grid; gap: 4px; }
.steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 16px 0 18px; cursor: pointer; }
.steps .sn { font-size: 12px; color: var(--ink-3); padding-top: 4px; transition: color .5s var(--ease); }
.steps b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.025em; color: var(--ink-3); transition: color .5s var(--ease); }
.steps li:hover b { color: var(--ink-2); }
.steps p { max-width: 380px; margin-top: 4px; font-size: 15px; color: var(--ink-2); line-height: 1.45; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .7s var(--ease), opacity .5s var(--ease); }
.steps li.on p { max-height: 90px; opacity: 1; }
.steps li.on b, .steps li.on .sn { color: var(--ink); }
.steps .bar { position: absolute; left: 40px; right: 0; bottom: 0; height: 1px; background: var(--line); overflow: hidden; }
.steps .bar > i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.how-right { padding: 22px 18px 0; }
#vault { display: block; width: 100%; height: auto; max-height: 58vh; }
#vault text { font-family: var(--font); }
.v-glass { fill: rgba(247, 246, 242, .6); stroke: var(--ink); stroke-width: 1.5; }
.v-rim { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.v-pool-t { fill: var(--paper); font-size: 13px; font-weight: 500; }
.v-chip-t { fill: var(--paper); font-family: var(--mono) !important; font-size: 12px; }
.v-lbl { font-family: var(--mono) !important; font-size: 11px; fill: var(--ink-3); letter-spacing: .06em; }
.v-liq { fill: var(--paper); font-family: var(--mono) !important; font-size: 19px; font-weight: 500; }
.v-liq-s { fill: rgba(247, 246, 242, .55); font-family: var(--mono) !important; font-size: 10px; letter-spacing: .06em; }
.v-tok circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.v-drop { fill: var(--ink); }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px -18px 0; border-top: 1px solid var(--line); }
.ledger > div { padding: 16px 18px 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ledger > div:first-child { border-left: 0; }
.ledger span { font-size: 11.5px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.ledger b { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* small jar scenes (js/jars.js), shared with the app */
.jx { display: block; width: 100%; height: auto; overflow: visible; }
.jx text { font-family: var(--mono); }
.jx-glass { fill: rgba(247, 246, 242, .6); stroke: var(--ink); stroke-width: 1.4; }
.jx-rim { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.jx-liq { fill: var(--ink); }
.jx-coin-ring { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.jx-chip rect { fill: var(--ink); }
.jx-chip text { fill: var(--paper); font-size: 10.5px; }
.jx-chip-ghost { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 3 3; }
.jx-lbl { fill: var(--ink-3); font-size: 10.5px; letter-spacing: .05em; }
.jx-ink { fill: var(--ink); }
.jx-val { fill: var(--ink); font-size: 13px; font-weight: 500; }
.jx-big { font-size: 18px; letter-spacing: -.02em; }
.jx-in { fill: var(--paper); font-size: 13px; font-weight: 500; }
.jx-track { stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; }
.jx-fill { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.jx-wall { fill: var(--ink); }
.jx-zone { stroke: var(--line); }
.jx-knob { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.jx-push { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.jx-hatch-bg { fill: var(--paper); }
.jx-hatch-ln { stroke: var(--ink-3); stroke-width: 1.3; }
.jx-layer { stroke: none; }
.jx-fly { stroke: var(--ink-3); stroke-width: 1; }
.jx-lead { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 2; }
.jx-owed { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; }
.jx-virtual { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 3 3; }
.jx-path { fill: none; stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 2 4; stroke-linecap: round; }
.jx-pill { fill: var(--ink); }
.jx-pill-t { fill: var(--paper); font-family: var(--font) !important; font-size: 12.5px; font-weight: 500; }
.jx-drop { fill: var(--ink); }

/* 03 routing desk */
.desk { margin-top: 64px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; }
.book { padding: 22px 24px 18px; border-right: 1px solid var(--line); }
.book-head { display: flex; align-items: center; justify-content: space-between; }
.book-head > div { display: flex; align-items: baseline; gap: 10px; }
.book-head b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.book-head .muted { font-size: 13px; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.book-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 18px; padding: 0 10px 8px; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.book-cols span:not(:first-child), .lvl span:not(:nth-of-type(1)) { text-align: right; }
.lvl { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; height: 24px; align-items: center; padding: 0 10px; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; border-radius: 4px; }
.lvl .bg { position: absolute; top: 2px; bottom: 2px; right: 0; width: 0; border-radius: 4px; transition: width .6s var(--ease), background-color .4s; }
.lvl span { position: relative; }
.asks .lvl span:nth-of-type(1) { color: var(--down); }
.bids .lvl span:nth-of-type(1) { color: var(--up); }
.asks .bg { background: var(--down-bg); }
.bids .bg { background: var(--up-bg); }
.lvl.hit::before { content: ''; position: absolute; inset: 1px 0; border-radius: 4px; background: rgba(20, 20, 18, .06); }
.lvl.hit span:nth-of-type(1) { font-weight: 500; }
.lvl.flash { animation: lvlflash .7s var(--ease); }
@keyframes lvlflash { 0% { background: rgba(20, 20, 18, .08); } 100% { background: transparent; } }
.mid { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 10px; margin: 6px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mid b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.mid b.up { color: var(--up); }
.mid b.down { color: var(--down); }
.mid b { transition: color .6s var(--ease); }
.mid .muted { font-size: 12px; }

.ticket { padding: 22px 26px 22px; display: flex; flex-direction: column; }
.side-seg { width: 100%; }
.side-seg[data-side="sell"] .seg-pill { background: var(--ink); }
.size-lbl { margin-top: 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.size-row { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.size-val { font-size: 40px; font-weight: 500; letter-spacing: -.035em; }
.size-usd { margin-left: auto; font-size: 13px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 10px 0 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--fill, 50%) 100% no-repeat, var(--line-2); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); transition: transform .3s var(--ease); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(20, 20, 18, .12); }
.quote { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-top: 1px solid var(--line); }
.quote > div { padding: 14px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
.quote > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.quote span { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.quote b { font-size: 19px; font-weight: 500; }
.route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; }
.route li { position: relative; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-3); transition: color .4s var(--ease); }
.route li i { position: relative; display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-right: 6px; }
.route li i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .32s linear; }
.route li.on { color: var(--ink); }
.route li.on i::after { transform: scaleX(1); }
.ticket-note { margin-top: auto; padding-top: 16px; font-size: 12.5px; }

/* 04 markets */
.filters { grid-auto-columns: auto; flex: none; }
.filters button { height: 38px; font-size: 14px; }
.tiles { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { position: relative; padding: 18px 18px 14px; border-radius: 18px; background: rgba(247, 246, 242, .92); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s var(--ease), transform .6s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile.gone { display: none; }
.tile header { display: flex; align-items: center; justify-content: space-between; }
.tile header b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.tile .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.tile .nm { margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.tile .px { margin-top: 16px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; border-radius: 4px; transition: color .9s var(--ease); }
.tile .px.up { color: var(--up); transition: none; }
.tile .px.down { color: var(--down); transition: none; }
.tile .chg { font-size: 12.5px; margin-top: 2px; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.spark { display: block; width: calc(100% + 36px); height: 44px; margin: 10px -18px -14px; clip-path: inset(0 100% 0 0); transition: clip-path 1.7s var(--ease); }
.spark .line { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark .area { fill: rgba(20, 20, 18, .05); }
.tile.drawn .spark { clip-path: inset(0 0 0 0); }
.src { margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.tile.sk .px, .tile.sk .chg { color: transparent; background: rgba(20, 20, 18, .06); border-radius: 4px; }

/* 05 dark */
.dark { position: relative; padding: 150px 0 130px; color: #EDEBE6; isolation: isolate; overflow: hidden; }
.dark-bg { position: absolute; inset: 0; z-index: -1; background: #131311 url('https://images.unsplash.com/photo-1585314062340-f1a5a7c9328d?w=1800&q=70&auto=format&fit=crop') center / cover; }
.dark-bg::after { content: ''; position: absolute; inset: 0; background: rgba(14, 14, 13, .35); }
.dark .eyebrow { color: rgba(237, 235, 230, .7); }
.dark .eyebrow .num { color: #EDEBE6; border-color: rgba(237, 235, 230, .25); }
.dark .sub { color: rgba(237, 235, 230, .62); }
.dark-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.dark-head .sub { max-width: 380px; }
.odo-big { margin-top: 70px; padding-top: 22px; border-top: 1px solid rgba(237, 235, 230, .14); }
.odo-cap { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(237, 235, 230, .5); }
.odo-big .odo { margin-top: 18px; font-family: var(--font); font-weight: 500; font-size: clamp(72px, 13.5vw, 196px); letter-spacing: -.055em; font-variant-numeric: tabular-nums; height: 1em; line-height: 1; }
.odo-big .odo-sep { color: rgba(237, 235, 230, .3); }
.dstats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 46px; border-top: 1px solid rgba(237, 235, 230, .14); }
.dstats > div { padding: 20px 20px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.dstats > div + div { padding-left: 20px; border-left: 1px solid rgba(237, 235, 230, .14); }
.dstats span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(237, 235, 230, .5); }
.dstats b { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.flow { margin-top: 70px; }
.flow svg { display: block; width: 100%; height: auto; }
.fl-lines line { stroke: rgba(237, 235, 230, .22); stroke-width: 1.2; stroke-dasharray: 3 5; }
.fl-dot { fill: #EDEBE6; }
.fl-node rect { fill: rgba(237, 235, 230, .04); stroke: rgba(237, 235, 230, .22); }
.fl-node.on rect { fill: #EDEBE6; stroke: #EDEBE6; }
.fl-t { font-family: var(--font); font-size: 19px; font-weight: 500; fill: #EDEBE6; letter-spacing: -.02em; }
.fl-s { font-family: var(--mono); font-size: 11.5px; fill: rgba(237, 235, 230, .55); }
.fl-node.on .fl-t { fill: var(--ink); }
.fl-node.on .fl-s { fill: rgba(20, 20, 18, .6); }
.fl-l { font-family: var(--mono); font-size: 11px; fill: rgba(237, 235, 230, .5); letter-spacing: .03em; }
.dark ::selection { background: #EDEBE6; color: var(--ink); }

/* 06 guards */
.guards { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.guard { padding: 24px 22px 26px; min-height: 270px; display: flex; flex-direction: column; transition: transform .7s var(--ease), border-color .4s; }
.guard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.g-viz { margin: -6px -8px 18px; }
.guard h3 { margin-top: auto; }
.guard p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; min-height: 5.8em; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.qa button i { position: relative; width: 14px; height: 14px; flex: none; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .5s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa.open button i::after { transform: rotate(0deg); }
.qa.open button i::before { transform: rotate(180deg); }
.ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.ans > p { overflow: hidden; color: var(--ink-2); font-size: 16.5px; max-width: 560px; opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa.open .ans > p { opacity: 1; transform: none; padding-bottom: 24px; }

/* CTA */
.end { padding: 120px 0 150px; }
.end-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.end-h { font-size: clamp(48px, 7vw, 104px); line-height: .95; letter-spacing: -.05em; }
.end .cta { justify-content: center; }

/* footer */
.foot { position: relative; background: var(--paper); border-top: 1px solid var(--line); padding: 60px 0 26px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; }
.foot-brand p { margin-top: 12px; font-size: 14.5px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 150px); gap: 20px; }
.foot-cols div { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.foot-cols b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.foot-cols a { color: var(--ink-2); transition: color .3s; }
.foot-cols a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }
.foot-base a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-2); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .links { display: none; }
}
@media (max-width: 960px) {
  :root { --gut: 22px; }
  .sec { padding: 110px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: 1fr 1fr; row-gap: 18px; margin-top: 40px; }
  .vcards, .start-steps { grid-template-columns: 1fr; margin-top: 36px; }
  .feepath { margin-top: 36px; padding: 14px 10px 0; }
  .fp-stats { grid-template-columns: 1fr; margin: 6px -10px 0; }
  .fp-stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .fp-stats > div { padding: 16px 18px; }
  .hstat { padding: 14px 6px 0; min-width: 0; }
  .hero-copy .lede { font-size: 18px; }
  .shares-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .how { padding: 84px 0 70px; }
  .how-grid { grid-template-columns: 1fr; gap: 18px; }
  .how-left h2 { font-size: 34px; margin-top: 10px; }
  .steps { margin-top: 12px; }
  .steps li { display: none; padding: 8px 0 12px; }
  .steps li.on { display: grid; }
  .how-right { padding: 10px 10px 0; margin-top: 8px; }
  #vault { max-height: 46vh; }
  .ledger { margin: 6px -10px 0; }
  .ledger > div { padding: 10px 12px; }
  .ledger span { font-size: 10px; white-space: normal; }
  .ledger b { font-size: 15px; }
  .desk { grid-template-columns: 1fr; }
  .book { border-right: 0; border-bottom: 1px solid var(--line); }
  .sec-head.row, .dark-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .dstats, .guards { grid-template-columns: 1fr 1fr; }
  .dstats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .foot-in { flex-direction: column; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .hero-h { font-size: 15.4vw; }
  .chip .chip-label { display: none; }
  .chip { padding: 0 10px; }
  .filters { width: 100%; overflow-x: auto; }
  .filters button { padding: 0 12px; font-size: 13px; }
  .tiles { gap: 8px; }
  .tile { padding: 14px 14px 12px; }
  .spark { width: calc(100% + 28px); margin: 8px -14px -12px; }
  .tile .px { font-size: 18px; }
  .rows li { grid-template-columns: 74px 1fr 26px; padding: 0 8px; }
  .rows .v { font-size: 16px; }
  .flow { display: none; }
  .guards { grid-template-columns: 1fr; }
  .guard { min-height: 0; }
  .guard p { min-height: 0; }
  .g-viz { max-width: 320px; }
  .guard { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
}
