:root {
  --bg: #F4F3EE;
  --paper: #FFFFFF;
  --ink: #0B0B0B;
  --ink2: #2A2A28;
  --muted: #6B6A64;
  --line: #DEDCD3;
  --line2: #C9C6BB;
  --ghost: #0B0B0B14;
  --on-ink: #FFFFFF;
  --ink-hover: var(--ink-hover);
  --tint: #0B0B0B;
  --hdr: rgba(244, 243, 238, .86);
  --ok: #1A8F4E;
  --bad: #C8321F;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 18px;
  --shadow: 0 1px 0 #0000000a, 0 12px 32px -18px #00000040;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--sans); letter-spacing: -.035em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.kicker.light { color: color-mix(in srgb, var(--on-ink) 70%, transparent); }

/* ---------- header ---------- */
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--sans); font-weight: 900; font-size: 25px; letter-spacing: -.04em; }
.brand.small { font-size: 17px; gap: 8px; }
.brand-mark { width: 40px; height: 38px; fill: var(--ink); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.brand.small .brand-mark { width: 26px; height: 25px; }
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.06); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); border-radius: 99px; padding: 12px 22px; background: transparent; color: var(--ink); transition: transform .15s, background .15s, color .15s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-blue { background: var(--ink); color: var(--on-ink); box-shadow: 0 10px 24px -12px #000; }
.btn-blue:hover { background: var(--ink-hover); box-shadow: 0 16px 30px -14px #000; }
.btn-ghost { background: var(--paper); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: var(--on-ink); color: var(--ink-on-light, var(--ink)); border-color: var(--on-ink); }
.btn-white:hover { opacity: .9; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.arr { display: inline-block; transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- hero ---------- */
.view { display: none; }
.view.show { display: block; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: 36px clamp(16px, 5vw, 80px) 20px; max-width: 1440px; margin: 0 auto; min-height: calc(100vh - 200px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 7px 14px 7px 10px; border: 1px solid var(--line2); border-radius: 99px; background: var(--paper); margin-bottom: 26px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 #1A8F4E66; animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px #1A8F4E00; } 100% { box-shadow: 0 0 0 0 #1A8F4E00; } }
.hero h1 { font-size: clamp(48px, 7vw, 112px); font-weight: 900; line-height: .9; margin: 0 0 26px; letter-spacing: -.055em; }
.hero h1 em { display: block; font-size: 1.04em; letter-spacing: -.03em; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink2); max-width: 520px; margin: 0 0 32px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.flow-line { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.flow-line span { background: var(--paper); border: 1px solid var(--line); padding: 4px 11px; border-radius: 99px; color: var(--ink); }
.flow-line i { font-style: normal; font-weight: 800; color: var(--ink); }
.hero-viz { position: relative; }
.viz-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 18px 18px 8px; box-shadow: var(--shadow); background-image: radial-gradient(color-mix(in srgb, var(--tint) 7%, transparent) 1px, transparent 1.3px); background-size: 20px 20px; background-position: 10px 10px; }
.viz-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 2px 4px 6px; }
.viz-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; }
.viz-title b { width: 8px; height: 8px; background: var(--ink); border-radius: 2px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-top { background: var(--ink); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.lg-kid { background: var(--ink); }
.lg-slot { border: 1.5px dashed var(--line2); }
.viz-note { margin: 16px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.9vw, 26px); color: var(--ink2); }
.viz { width: 100%; }
.viz svg { width: 100%; height: auto; display: block; overflow: visible; color: var(--ink); }

/* org-chart svg pieces */
.nv-ghost { fill: var(--ghost); }
.nv-ghost-link { fill: none; stroke: color-mix(in srgb, var(--tint) 11%, transparent); stroke-dasharray: 3 5; }
.nv-link { fill: var(--ink); }
.nv-link.new { animation: linkIn .45s ease-out both; }
.nv-coin { transform-box: fill-box; transform-origin: 50% 100%; fill: var(--ink); }
.nv-coin.pop { animation: pop .55s cubic-bezier(.3, 1.7, .5, 1) both; }
.nv-orig { transform-box: fill-box; transform-origin: 50% 60%; transition: transform .18s; fill: var(--ink); }
.nv-num { font-family: var(--mono); font-weight: 800; fill: var(--on-ink); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.nv-lab { font-family: var(--mono); font-weight: 800; fill: var(--ink); text-anchor: middle; letter-spacing: .12em; }
.nv-sub { font-family: var(--mono); font-weight: 600; fill: var(--muted); text-anchor: middle; }
.nv-ring-bg { fill: none; stroke: var(--line); }
.nv-ring { fill: none; stroke: var(--ink); stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.nv-plus { font-family: var(--mono); font-weight: 800; fill: var(--ink); text-anchor: middle; animation: floatUp 1.1s ease-out forwards; }
.nv-pulse { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.nv-glow { fill: var(--ink); opacity: .05; }
.nv-crown { fill: var(--ink); }
.viz a { cursor: pointer; }
.viz a:hover .nv-coin { opacity: .75; }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes linkIn { from { opacity: 0; } }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }

/* ticker */
.ticker { margin: 28px 0 0; background: var(--ink); color: var(--on-ink); overflow: hidden; white-space: nowrap; }
.ticker-in { display: inline-flex; gap: 48px; padding: 13px 0; animation: marquee 44s linear infinite; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.ticker-in a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ticker-in a::before { content: '▲'; font-size: 9px; opacity: .55; margin-right: 6px; }
.ticker-in img { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--on-ink); object-fit: cover; }
.ticker:hover .ticker-in { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1440px; margin: 36px auto 10px; padding: 0 clamp(16px, 5vw, 80px); gap: 14px; }
.stat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.stat-k { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat b { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat svg { position: absolute; right: 18px; bottom: 16px; width: 46px; height: 46px; fill: var(--ink); opacity: .1; }
.stat svg.ln { fill: none; stroke: var(--ink); stroke-width: 1.6; opacity: .22; }

/* ---------- sections ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: 90px clamp(16px, 5vw, 60px) 40px; }
.sec-head { margin-bottom: 36px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(36px, 4.8vw, 66px); font-weight: 900; line-height: .95; margin: 0; letter-spacing: -.05em; }
.sec-head p { margin: 8px 0 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line2); }
.step em { font-style: normal; font-family: var(--mono); font-weight: 800; font-size: 12px; background: var(--ink); color: var(--on-ink); padding: 4px 9px; border-radius: 99px; align-self: flex-start; }
.step h3 { margin: 16px 0 4px; font-size: 22px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.step-art { height: 96px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px dashed var(--line); padding-top: 14px; }
.step-art svg { width: 50px; height: 56px; fill: var(--ink); }
.art-launch { flex-direction: column; gap: 4px; }
.art-launch svg { animation: bob 2.2s ease-in-out infinite; }
.art-launch i { width: 60px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--tint) 10%, transparent); animation: shadow 2.2s ease-in-out infinite; }
.art-fees { flex-direction: column; }
.art-fees .meter { width: 82%; height: 14px; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; background: var(--bg); padding: 2px; }
.art-fees .meter b { display: block; height: 100%; border-radius: 99px; background: var(--ink); animation: fill 2.6s ease-in-out infinite; }
.art-fees span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.art-auto .big { width: 54px; height: 60px; }
.art-auto span { font-size: 26px; font-weight: 800; }
.art-auto .pop { width: 38px; height: 42px; animation: popLoop 2.6s cubic-bezier(.3, 1.7, .5, 1) infinite; transform-origin: 50% 100%; }
.art-repeat svg { width: 28px; height: 32px; }
.art-repeat svg:nth-child(1) { animation: appear 3.2s infinite 0s; }
.art-repeat svg:nth-child(2) { animation: appear 3.2s infinite .4s; }
.art-repeat svg:nth-child(3) { animation: appear 3.2s infinite .8s; }
.art-repeat svg:nth-child(4) { animation: appear 3.2s infinite 1.2s; }
.art-repeat b { font-size: 26px; animation: spin 3.2s linear infinite; display: inline-block; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes shadow { 50% { transform: scaleX(.75); opacity: .6; } }
@keyframes fill { 0% { width: 4%; } 85% { width: 100%; } 100% { width: 100%; } }
@keyframes popLoop { 0%, 55% { transform: scale(0); } 75%, 100% { transform: scale(1); } }
@keyframes appear { 0% { opacity: 0; transform: translateY(6px); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.how-viz { margin-top: 18px; display: grid; grid-template-columns: 230px 1fr; gap: 24px; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); padding: 28px; align-items: center; background-image: radial-gradient(color-mix(in srgb, var(--tint) 6%, transparent) 1px, transparent 1.3px); background-size: 20px 20px; }
.seq { align-self: start; padding-top: 10px; display: flex; flex-direction: column; align-items: center; min-height: 360px; font-family: var(--mono); font-weight: 800; }
.seq-orig { background: var(--ink); color: var(--on-ink); border-radius: 99px; padding: 9px 18px; font-size: 13px; letter-spacing: .1em; }
.seq-item { display: flex; flex-direction: column; align-items: center; animation: seqIn .45s cubic-bezier(.3, 1.5, .5, 1) both; }
.seq-item i { font-style: normal; font-size: 18px; line-height: 1.5; }
.seq-item span { border: 1.5px dashed var(--ink); border-radius: 99px; padding: 6px 14px; font-size: 12.5px; background: var(--paper); }
.seq-item.fade { opacity: .3; }
@keyframes seqIn { from { opacity: 0; transform: translateY(-10px) scale(.85); } }
.how-net { display: flex; flex-direction: column; gap: 10px; }
.how-net .viz { max-width: 640px; margin: 0 auto; }
.how-cap { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.how-cap .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); vertical-align: -1px; }
.how-cap b { color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; font-size: 14.5px; }
.facts > div { border-top: 2px solid var(--ink); padding-top: 14px; color: var(--muted); }
.facts b { color: var(--ink); }

/* explore */
.tabs { display: flex; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 4px; }
.tabs button { font-family: var(--sans); font-weight: 700; font-size: 13.5px; background: none; border: 0; padding: 8px 15px; border-radius: 99px; cursor: pointer; color: var(--muted); transition: background .15s, color .15s; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--ink); color: var(--on-ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ncard { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line2); }
.ncard-top { display: flex; gap: 12px; align-items: center; }
.ncard-top img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); background: var(--bg); flex: none; }
.ncard h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncard .sym { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ncard .row { display: flex; justify-content: space-between; font-size: 13px; margin-top: 12px; font-family: var(--mono); }
.mini-pyr { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 16px; padding: 12px 0 10px; border-radius: 12px; background: var(--bg); min-height: 30px; }
.mini-pyr div { display: flex; gap: 3px; }
.mini-pyr i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.mini-pyr i.mini-pyr em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.bar { height: 8px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, var(--tint) 7%, transparent); margin-top: 6px; }
.bar b { display: block; height: 100%; border-radius: 99px; background: var(--ink); transition: width .6s; }
.bar-lab { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 10px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line2); border-radius: var(--r); color: var(--muted); background: var(--paper); }
.empty svg { width: 60px; height: 68px; display: block; margin: 0 auto 14px; fill: var(--ink); }

/* leaderboard */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.lb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.lb th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lb td { padding: 13px 18px; border-bottom: 1px solid var(--line); }
.lb tr:last-child td { border-bottom: 0; }
.lb tbody tr { cursor: pointer; transition: background .15s; }
.lb tbody tr:hover { background: var(--bg); }
.lb .rk { font-weight: 900; font-size: 20px; width: 56px; letter-spacing: -.04em; }
.lb tbody tr:nth-child(1) .rk::before { content: '▲ '; font-size: 12px; vertical-align: 3px; }
.lb .who { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.lb .who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--ink); }

/* network detail */
.nd-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nd-head > img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6.5px var(--ink); background: var(--paper); }
.nd-head h1 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin: 0; }
.nd-head .sym { font-family: var(--mono); color: var(--muted); font-weight: 600; }
.nd-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; border: 1px solid var(--line2); border-radius: 99px; padding: 5px 12px; background: var(--paper); text-decoration: none; cursor: pointer; color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.chip:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.badge { font-family: var(--mono); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--on-ink); text-transform: uppercase; }
.badge.launching { background: var(--paper) !important; color: var(--ink); border: 1.5px solid var(--ink); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .4; } }
.nd-desc { color: var(--muted); max-width: 760px; margin: 18px 0 0; }
.nd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; }
.nd-stats > div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--paper); }
.nd-stats b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.nd-stats span { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nd-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 22px; background: var(--paper); padding: 22px; min-width: 0; }
.panel h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.next-box { background: var(--bg); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.next-box .bar { height: 12px; }
.next-box p { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.clist { list-style: none; margin: 0; padding: 0; max-height: 440px; overflow: auto; }
.clist li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
.clist li:last-child { border-bottom: 0; }
.clist .idx { font-family: var(--mono); font-weight: 800; }
.clist .nm { overflow: hidden; }
.clist .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clist .nm small { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.clist li.orig { background: var(--ink); color: var(--on-ink); border-radius: 12px; border-bottom: 0; }
.clist li.orig small { color: color-mix(in srgb, var(--on-ink) 62%, transparent); }
.clist li.orig .chip { background: transparent; color: var(--on-ink); border-color: color-mix(in srgb, var(--on-ink) 38%, transparent); }
.events { list-style: none; margin: 0; padding: 0; font-size: 12.5px; max-height: 340px; overflow: auto; }
.events li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.events li span:last-child { color: var(--muted); white-space: nowrap; font-family: var(--mono); font-size: 11.5px; }

/* CTA + footer */
.cta { display: none; position: relative; overflow: hidden; margin: 80px clamp(16px, 4vw, 56px) 40px; border-radius: 32px; background: var(--ink); color: var(--on-ink); text-align: center; padding: clamp(60px, 9vw, 110px) 20px; }
.cta.show { display: block; }
.cta-bg { position: absolute; left: 50%; top: 50%; width: min(760px, 120%); height: auto; transform: translate(-50%, -46%); fill: var(--on-ink); opacity: .07; pointer-events: none; }
.cta-in { position: relative; }
.cta h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 900; line-height: .92; letter-spacing: -.05em; margin: 0 0 34px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px clamp(16px, 4vw, 56px); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.foot p { margin: 0; max-width: 620px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(11, 11, 11, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding: 30px 16px; overflow-y: auto; animation: fadeIn .2s; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: 100%; max-width: 620px; background: var(--paper); border-radius: 26px; box-shadow: 0 40px 80px -30px #000; padding: 30px; animation: rise .3s cubic-bezier(.3, 1.3, .5, 1); }
.modal-card .kicker { margin-bottom: 8px; }
.modal-card h2 { font-size: 38px; font-weight: 900; letter-spacing: -.05em; line-height: 1; margin: 0 0 8px; }
.modal-card > .muted { margin: 0; }
.modal-card .x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; line-height: 1; transition: background .15s, color .15s; }
.modal-card .x:hover { background: var(--ink); color: var(--on-ink); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }
form label { display: block; font-size: 13px; font-weight: 700; margin-top: 14px; }
form label small { color: var(--muted); font-weight: 500; }
input, textarea { width: 100%; margin-top: 6px; font-family: var(--sans); font-size: 15px; border: 1.5px solid var(--line2); border-radius: 12px; padding: 11px 13px; background: var(--paper); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tint) 7%, transparent); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 150px 1fr; gap: 18px; margin-top: 18px; }
.form-grid .fields label:first-child { margin-top: 0; }
.img-drop { margin: 0 !important; position: relative; aspect-ratio: 1; border: 1.5px dashed var(--line2); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; overflow: hidden; background: var(--bg); transition: border-color .15s; }
.img-drop:hover { border-color: var(--ink); }
.img-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.img-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-drop span { font-size: 12px; pointer-events: none; }
.img-drop span svg { width: 34px; height: 38px; display: block; margin: 0 auto 6px; fill: var(--ink); }
.img-drop small { font-weight: 400; color: var(--muted); font-size: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cost { margin-top: 20px; border-radius: 16px; padding: 16px 18px; background: var(--bg); font-size: 13.5px; }
.cost > div { display: flex; justify-content: space-between; padding: 3px 0; }
.cost b { font-family: var(--mono); font-size: 13px; }
.cost .total { border-top: 1px solid var(--line2); margin-top: 8px; padding-top: 10px; font-size: 15px; font-weight: 700; }
.cost .total b { background: var(--ink); color: var(--on-ink); padding: 2px 8px; border-radius: 6px; }
.cost p { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }
.cost p b { color: var(--ink); font-family: var(--sans); font-size: inherit; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.progress-steps { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; background: var(--paper); font-size: 13.5px; }
.progress-steps div { padding: 5px 0; display: flex; gap: 10px; align-items: center; }
.progress-steps i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line2); flex: none; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.progress-steps .on i { border-color: var(--ink); background: var(--ink); animation: blink 1s infinite; }
.progress-steps .done i { background: var(--ink); border-color: var(--ink); color: var(--on-ink); animation: none; }
.progress-steps .done i::after { content: '✓'; }
.success { text-align: center; padding: 10px 0 4px; }
.success svg { width: 64px; height: 72px; fill: var(--ink); animation: pop .6s cubic-bezier(.3, 1.7, .5, 1); transform-origin: 50% 100%; }
.success h3 { font-size: 28px; font-weight: 900; letter-spacing: -.04em; }
.success .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.err { color: var(--bad); font-size: 13px; font-weight: 700; margin: 12px 0 0; word-break: break-word; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--on-ink); padding: 11px 20px; border-radius: 99px; font-size: 13.5px; font-weight: 600; z-index: 200; animation: rise .25s; box-shadow: 0 16px 30px -12px #000; }

/* X + contract address */
.xbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); transition: transform .15s, background .15s; flex: none; }
.xbtn svg { width: 15px; height: 15px; fill: var(--on-ink); }
.xbtn:hover { transform: translateY(-2px); background: var(--ink-hover); }
.xbtn-sm { width: 30px; height: 30px; }
.xbtn-sm svg { width: 12px; height: 12px; }
.foot-l { display: flex; align-items: center; gap: 14px; }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 5px; border: 1px solid var(--line2); border-radius: 99px; background: var(--paper); font-family: var(--mono); font-size: 12px; font-weight: 600; cursor: pointer; color: var(--ink); transition: border-color .15s, transform .15s; }
.ca-chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.ca-chip .ca-lab { background: var(--ink); color: var(--on-ink); border-radius: 99px; padding: 4px 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; }
.ca-chip.soon .ca-val { color: var(--muted); font-style: italic; font-weight: 500; }
.ca-chip .ca-ico { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 2; }
.ca-hero { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; border: 1px dashed var(--line2); border-radius: 99px; background: var(--paper); padding: 6px 8px 6px 6px; font-family: var(--mono); font-size: 13px; color: var(--ink); cursor: pointer; transition: border-color .15s, border-style .15s; }
.ca-hero:hover { border-color: var(--ink); border-style: solid; }
.ca-hero span { font-weight: 800; font-size: 11px; letter-spacing: .06em; background: var(--ink); color: var(--on-ink); padding: 4px 10px; border-radius: 99px; }
.ca-hero b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 600; }
.ca-hero.soon b { color: var(--muted); font-weight: 500; font-style: italic; }
.ca-hero i { font-style: normal; font-size: 11px; font-weight: 800; border: 1px solid var(--ink); border-radius: 99px; padding: 2px 9px; }
.ca-chip.soon .ca-ico, [data-ca-copy][hidden] { display: none; }
input.locked { background: var(--bg); color: var(--muted); cursor: not-allowed; box-shadow: none !important; border-style: dashed; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-viz { max-width: 720px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nd-main { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
        .how-viz { grid-template-columns: 1fr; padding: 18px; }
  .seq { min-height: 0; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .nd-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .brand { font-size: 21px; }
  .brand-mark { width: 32px; height: 30px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .stat svg { width: 32px; height: 32px; right: 12px; bottom: 12px; }
  .hero-btns .btn { width: 100%; }
  .viz-card { padding: 12px 10px 4px; border-radius: 20px; }
  .legend { gap: 10px; }
  .cta { border-radius: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .img-drop { width: 150px; margin: 0 auto !important; }
  .two { grid-template-columns: 1fr; }
  .modal-card { padding: 24px 18px; }
  .modal-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------- night theme ---------- */
:root[data-theme="dark"] {
  --bg: #0D0D0C;
  --paper: #161615;
  --ink: #F1EFE8;
  --ink2: #D4D2CA;
  --muted: #8F8D85;
  --line: #262624;
  --line2: #3A3936;
  --ghost: #F1EFE814;
  --on-ink: #0D0D0C;
  --ink-hover: #FFFFFF;
  --tint: #F1EFE8;
  --hdr: rgba(13, 13, 12, .82);
  --ok: #3DD68C;
  --bad: #FF6B57;
  --shadow: 0 1px 0 #ffffff08, 0 18px 40px -20px #000000c0;
  color-scheme: dark;
}
:root[data-theme="dark"] .btn-blue { box-shadow: 0 10px 28px -14px #ffffff40; }
:root[data-theme="dark"] .btn-white { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
:root[data-theme="dark"] .ncard-top img, :root[data-theme="dark"] .lb .who img { border-color: var(--line2); }
:root[data-theme="dark"] .modal { background: rgba(0, 0, 0, .65); }
html { transition: background-color .25s; }
body, .top, .viz-card, .stat, .step, .ncard, .panel, .how-viz, .cta, .ticker { transition: background-color .25s, color .25s, border-color .25s; }

.theme-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: var(--paper); color: var(--ink); cursor: pointer; flex: none; transition: border-color .15s, transform .15s; }
.theme-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (max-width: 560px) { .theme-btn { width: 34px; height: 34px; } }

/* ---------- sidebar layout ---------- */
:root { --side-w: 256px; }
body { padding-left: var(--side-w); }
.side { position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: var(--side-w); display: flex; flex-direction: column; gap: 18px; padding: 22px 16px 16px; background: var(--paper); border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin; transition: background-color .25s, border-color .25s, transform .3s cubic-bezier(.3, 1, .4, 1); }
.side-brand { padding: 2px 8px 18px; border-bottom: 1px dashed var(--line2); }
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; font-weight: 700; color: var(--muted); padding: 11px 14px; border-radius: 12px; transition: background .15s, color .15s; }
.nav a .ni { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav a:hover { background: color-mix(in srgb, var(--tint) 6%, transparent); color: var(--ink); }
.nav a.on { background: var(--ink); color: var(--on-ink); }
.side-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px 14px 16px; text-align: center; background: var(--bg); background-image: radial-gradient(color-mix(in srgb, var(--tint) 8%, transparent) 1px, transparent 1.3px); background-size: 14px 14px; }
.side-card-art { width: 92px; height: 86px; fill: var(--ink); display: block; margin: 2px auto 12px; animation: bob 3.4s ease-in-out infinite; }
.side-card b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.side-card span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.side-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.side-bottom .ca-chip { width: 100%; justify-content: flex-start; border-radius: 12px; height: 42px; padding-right: 12px; }
.side-bottom .ca-chip .ca-val { flex: 1; text-align: left; }
.side-row { display: flex; gap: 8px; align-items: center; }
.net-pill { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 12px; font-family: var(--mono); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.side-row .xbtn, .side-row .theme-btn { border-radius: 12px; }
.side-btn { width: 100%; border-radius: 12px; padding: 11px 16px; font-size: 14px; }
.top { display: none; }
.side-scrim { display: none; }
.hero { min-height: calc(100vh - 120px); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

.hero h1 { font-size: clamp(44px, 5.3vw, 98px); }
@media (max-width: 1080px) { .hero h1 { font-size: clamp(44px, 9vw, 96px); } }
@media (max-width: 900px) {
  body { padding-left: 0; }
  .top { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; gap: 10px; padding: 12px 16px; background: var(--hdr); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
  .top .brand { margin-right: auto; }
  .burger { display: block; }
  .side { transform: translateX(-102%); box-shadow: 20px 0 50px -20px #00000060; width: min(300px, 86vw); }
  body.side-open .side { transform: none; }
  .side-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .4); display: block; opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.side-open .side-scrim { opacity: 1; pointer-events: auto; }
  body.side-open { overflow: hidden; }
  .hero { min-height: 0; }
}
@media (max-width: 560px) { .brand { font-size: 21px; } .brand-mark { width: 32px; height: 30px; } }
