:root {
  --bg: #FFFEFA;
  --ink: #0E0E0E;
  --muted: #5d5a52;
  --line: #ECE8DC;
  --y: #FFD000;
  --y2: #FFC400;
  --y-deep: #E9A400;
  --card: #FFFFFF;
  --ok: #19a15a;
  --bad: #d63b2f;
  --shadow: 4px 4px 0 var(--ink);
  --pixel: 'Silkscreen', monospace;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --hand: 'Caveat', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.pixel { font-family: var(--pixel); font-weight: 700; letter-spacing: .01em; line-height: .98; }
.y { color: var(--y2); text-shadow: 3px 3px 0 var(--ink); }
.hand { font-family: var(--hand); }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 56px); background: rgba(255, 254, 250, .9); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--pixel); font-weight: 700; font-size: 26px; letter-spacing: .02em; }
.brand.small { font-size: 16px; }
.brand img { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav { margin-left: auto; display: flex; gap: 34px; }
.nav a { text-decoration: none; font-size: 14px; position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 3px; background: var(--y); transition: right .2s; }
.nav a:hover::after, .nav a.on::after { right: 0; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 3px; background: var(--ink); margin: 4px 0; }

/* ---------- buttons ---------- */
.btn { --s: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; border: 2.5px solid var(--ink); border-radius: 12px; padding: 12px 20px; background: #fff; color: var(--ink); box-shadow: var(--s) var(--s) 0 var(--ink); transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--s) + 2px) calc(var(--s) + 2px) 0 var(--ink); }
.btn:active { transform: translate(var(--s), var(--s)); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-yellow { background: var(--y); }
.btn-yellow:hover { background: #FFDA2E; }
.btn-ghost { background: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; --s: 3px; }
.btn-lg { padding: 18px 30px; font-size: 18px; border-radius: 14px; }
.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.08fr; gap: 20px; align-items: center; padding: 30px clamp(16px, 5vw, 80px) 10px; max-width: 1440px; margin: 0 auto; min-height: calc(100vh - 220px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 96px); margin: 0 0 26px; }
.lead { font-size: clamp(15px, 1.35vw, 18px); max-width: 520px; margin: 0 0 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.flow-line { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.flow-line span { background: #fff; border: 1.5px solid var(--line); padding: 4px 10px; border-radius: 99px; color: var(--ink); }
.flow-line i { font-style: normal; font-weight: 800; color: var(--y-deep); }
.hero-viz { position: relative; }
.viz { width: 100%; }
.viz svg { width: 100%; height: auto; display: block; overflow: visible; }
.note { position: absolute; top: 0; right: 0; max-width: 14ch; font-size: clamp(22px, 2.1vw, 30px); line-height: 1; color: var(--y-deep); transform: rotate(-8deg); text-align: right; z-index: 2; pointer-events: none; }
.note-arrow { position: absolute; top: 13%; right: 17%; width: 96px; fill: none; stroke: var(--y-deep); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; z-index: 2; pointer-events: none; }

/* network svg pieces */
.nv-link { stroke: var(--ink); stroke-opacity: .16; stroke-width: 1.6; stroke-dasharray: 4 5; fill: none; }
.nv-link.new { stroke: var(--y-deep); stroke-opacity: .9; stroke-width: 2.2; }
.nv-coin { transform-box: fill-box; transform-origin: center; }
.nv-coin.pop { animation: pop .55s cubic-bezier(.3, 1.7, .5, 1) both; }
.nv-coin.hit { animation: hit .35s ease-out; }
.nv-orig { transform-box: fill-box; transform-origin: center; transition: transform .2s; }
.nv-num { font-family: var(--mono); font-weight: 800; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.nv-lab { font-family: var(--pixel); font-weight: 700; fill: var(--ink); text-anchor: middle; }
.nv-ring-bg { fill: none; stroke: var(--line); }
.nv-ring { fill: none; stroke: var(--y2); stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.nv-plus { font-family: var(--pixel); font-weight: 700; fill: var(--ink); text-anchor: middle; animation: floatUp 1.1s ease-out forwards; }
.nv-pulse { fill: var(--y2); stroke: var(--ink); stroke-width: 1.2; }
.nv-glow { fill: var(--y); opacity: .22; }
.viz a { cursor: pointer; }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes hit { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }

/* ticker */
.ticker { margin: 10px clamp(16px, 5vw, 80px) 0; border: 2px solid var(--ink); border-radius: 12px; background: var(--y); overflow: hidden; white-space: nowrap; }
.ticker-in { display: inline-flex; gap: 40px; padding: 10px 0; animation: marquee 40s linear infinite; font-size: 13px; font-weight: 700; }
.ticker-in a { text-decoration: none; }
.ticker-in img { width: 20px; height: 20px; border-radius: 50%; vertical-align: -5px; margin-right: 6px; border: 1.5px solid var(--ink); object-fit: cover; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1440px; margin: 26px auto 10px; padding: 0 clamp(16px, 5vw, 80px); }
.stat { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-left: 1.5px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 1.8; flex: none; }
.stat b { display: block; font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: 70px clamp(16px, 5vw, 60px) 40px; }
.sec-head { margin-bottom: 30px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4.5vw, 58px); margin: 0 0 8px; }
.sec-head p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 22px 22px 18px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.step:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.step em { font-style: normal; font-family: var(--pixel); font-weight: 700; font-size: 15px; background: var(--ink); color: var(--y); padding: 3px 9px; border-radius: 8px; align-self: flex-start; }
.step h3 { margin: 14px 0 4px; font-size: 20px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.step-art { height: 90px; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.step-art svg { width: 56px; height: 56px; }
.art-launch { flex-direction: column; gap: 0; }
.art-launch svg { animation: bob 2.2s ease-in-out infinite; }
.art-launch i { width: 70px; height: 10px; border-radius: 50%; background: #0001; border: 2px solid var(--ink); }
.art-fees { flex-direction: column; }
.art-fees .meter { width: 80%; height: 20px; border: 2.5px solid var(--ink); border-radius: 8px; overflow: hidden; background: #fff; }
.art-fees .meter b { display: block; height: 100%; background: var(--y); animation: fill 2.6s ease-in-out infinite; border-right: 2.5px solid var(--ink); }
.art-fees span { font-size: 12px; color: var(--muted); }
.art-auto .big { width: 60px; height: 60px; }
.art-auto span { font-family: var(--pixel); font-size: 26px; font-weight: 700; }
.art-auto .pop { width: 40px; height: 40px; animation: popLoop 2.6s cubic-bezier(.3, 1.7, .5, 1) infinite; }
.art-repeat svg { width: 30px; height: 30px; }
.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: 28px; animation: spin 3.2s linear infinite; display: inline-block; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@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: scale(.4); } 15%, 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.how-viz { margin-top: 30px; display: grid; grid-template-columns: 260px 1fr; gap: 24px; border: 2px solid var(--ink); border-radius: 22px; background: #fff; padding: 28px; box-shadow: var(--shadow); align-items: center; }
.seq { align-self: start; padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 0; min-height: 360px; justify-content: flex-start; font-family: var(--pixel); font-weight: 700; }
.seq-orig { background: var(--y); border: 2.5px solid var(--ink); border-radius: 10px; padding: 10px 16px; font-size: 16px; }
.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: 20px; line-height: 1.4; color: var(--y-deep); }
.seq-item span { border: 2px dashed var(--ink); border-radius: 10px; padding: 6px 14px; font-size: 14px; background: #fff; }
.seq-item.fade { opacity: .35; }
@keyframes seqIn { from { opacity: 0; transform: translateY(-10px) scale(.8); } }
.how-net { display: flex; flex-direction: column; gap: 10px; }
.how-net .viz { max-width: 680px; margin: 0 auto; }
.how-cap { text-align: center; font-size: 13px; color: var(--muted); }
.how-cap .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--y2); border: 1.5px solid var(--ink); vertical-align: -1px; }

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

/* explore */
.tabs { display: flex; gap: 6px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 4px; }
.tabs button { font-family: var(--mono); font-weight: 700; font-size: 13px; background: none; border: 0; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.tabs button.on { background: var(--y); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ncard { display: block; text-decoration: none; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.ncard:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.ncard-top { display: flex; gap: 12px; align-items: center; }
.ncard-top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--ink); background: var(--y); flex: none; }
.ncard h3 { margin: 0; font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncard .sym { font-size: 13px; color: var(--muted); }
.ncard .row { display: flex; justify-content: space-between; font-size: 13px; margin-top: 12px; }
.coins-dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 12px; min-height: 14px; }
.coins-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--y2); border: 1.5px solid var(--ink); }
.coins-dots i:first-child { background: var(--ink); }
.coins-dots em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 4px; }
.bar { height: 12px; border: 2px solid var(--ink); border-radius: 7px; overflow: hidden; background: #fff; margin-top: 6px; }
.bar b { display: block; height: 100%; background: var(--y); transition: width .6s; }
.bar-lab { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 10px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 2px dashed #0003; border-radius: 18px; color: var(--muted); }
.empty svg { width: 70px; height: 70px; display: block; margin: 0 auto 12px; }

/* leaderboard */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.lb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.lb th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 14px 16px; border-bottom: 2px solid var(--ink); }
.lb td { padding: 12px 16px; 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: #FFF8D6; }
.lb .rk { font-family: var(--pixel); font-weight: 700; font-size: 18px; width: 50px; }
.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: 2px 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: var(--shadow); background: var(--y); }
.nd-head h1 { font-size: clamp(30px, 4vw, 50px); margin: 0; }
.nd-head .sym { color: var(--muted); font-weight: 700; }
.nd-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border: 2px solid var(--ink); border-radius: 99px; padding: 5px 12px; background: #fff; text-decoration: none; cursor: pointer; font-family: var(--mono); transition: background .15s; }
.chip:hover { background: var(--y); }
.badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; border: 2px solid var(--ink); background: var(--y); text-transform: uppercase; }
.badge.launching { background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .4; } }
.nd-desc { color: var(--muted); max-width: 760px; margin: 16px 0 0; }
.nd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.nd-stats > div { border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; background: #fff; }
.nd-stats b { display: block; font-size: 24px; font-weight: 800; }
.nd-stats span { font-size: 12px; color: var(--muted); }
.nd-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.panel { border: 2px solid var(--ink); border-radius: 18px; background: #fff; padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.panel h3 { margin: 0 0 12px; font-size: 15px; font-weight: 800; }
.next-box { background: #FFFBE5; border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.next-box .bar { height: 18px; }
.next-box p { margin: 8px 0 0; font-size: 12px; 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: 9px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.clist li:last-child { border-bottom: 0; }
.clist .idx { font-family: var(--pixel); font-weight: 700; }
.clist .nm { overflow: hidden; }
.clist .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clist .nm small { color: var(--muted); font-size: 11px; }
.clist li.orig { background: #FFF8D6; border-radius: 10px; }
.events { list-style: none; margin: 0; padding: 0; font-size: 12px; max-height: 340px; overflow: auto; }
.events li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.events li span:last-child { color: var(--muted); white-space: nowrap; }

/* CTA + footer */
.cta { display: none; text-align: center; padding: 70px 20px 80px; }
.cta.show { display: block; }
.cta h2 { font-size: clamp(34px, 5vw, 66px); margin: 0 0 30px; }
.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: 12px; color: var(--muted); }
.foot p { margin: 0; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(14, 14, 14, .45); 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(--bg); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); padding: 28px; animation: rise .3s cubic-bezier(.3, 1.4, .5, 1); }
.modal-card h2 { font-size: 30px; margin: 0 0 6px; }
.modal-card .x { position: absolute; top: 14px; right: 16px; font-size: 28px; border: 0; background: none; cursor: pointer; line-height: 1; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.97); } }
form label { display: block; font-size: 13px; font-weight: 700; margin-top: 14px; }
form label small { color: var(--muted); font-weight: 400; }
input, textarea { width: 100%; margin-top: 6px; font-family: var(--mono); font-size: 14px; border: 2px solid var(--ink); border-radius: 10px; padding: 10px 12px; background: #fff; outline: none; transition: box-shadow .15s; }
input:focus, textarea:focus { box-shadow: 3px 3px 0 var(--y2); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 150px 1fr; gap: 18px; margin-top: 14px; }
.form-grid .fields label:first-child { margin-top: 0; }
.img-drop { margin: 0 !important; position: relative; aspect-ratio: 1; border: 2.5px dashed var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; overflow: hidden; background: #fff; transition: background .15s; }
.img-drop:hover { background: #FFF8D6; }
.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: 40px; height: 40px; display: block; margin: 0 auto 4px; }
.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: 18px; border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; background: #fff; font-size: 13px; }
.cost > div { display: flex; justify-content: space-between; padding: 3px 0; }
.cost .total { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 8px; font-size: 15px; }
.cost .total b { background: var(--y); padding: 0 6px; border-radius: 4px; }
.cost p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.cost p b { color: var(--ink); }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.progress-steps { margin-top: 18px; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; background: #fff; font-size: 13px; }
.progress-steps div { padding: 4px 0; display: flex; gap: 10px; align-items: center; }
.progress-steps i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); flex: none; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.progress-steps .on i { background: var(--y); animation: blink 1s infinite; }
.progress-steps .done i { background: var(--ink); color: var(--y); animation: none; }
.progress-steps .done i::after { content: '✓'; }
.success { text-align: center; padding: 8px 0 4px; }
.success svg { width: 80px; height: 80px; animation: pop .6s cubic-bezier(.3, 1.7, .5, 1); }
.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: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px; z-index: 200; animation: rise .25s; }

/* ---------- 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); }
  .stat:nth-child(3) { border-left: 0; }
  .nd-main { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 2px solid var(--ink); padding: 8px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; }
  .burger { display: block; }
  .top-actions [data-open-launch] { display: none; }
  .how-viz { grid-template-columns: 1fr; padding: 18px; }
  .seq { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
  .nd-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .top { gap: 10px; padding: 12px 16px; }
  .brand { font-size: 20px; }
  .brand img { width: 34px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1.5px solid var(--line); padding: 16px 4px; }
  .stat:first-child { border-top: 0; }
  .hero-btns .btn { width: 100%; }
  .note { position: static; max-width: none; text-align: center; transform: rotate(-3deg); font-size: 24px; margin: 10px 0 4px; }
  .note-arrow { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .img-drop { width: 150px; margin: 0 auto !important; }
  .two { grid-template-columns: 1fr; }
  .modal-card { padding: 22px 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; }
}

/* X + contract address */
.xbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--ink); box-shadow: 3px 3px 0 var(--y2); transition: transform .12s, box-shadow .12s, background .15s; flex: none; }
.xbtn svg { width: 17px; height: 17px; fill: var(--y); transition: fill .15s; }
.xbtn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--y2); }
.xbtn:hover svg { fill: #fff; }
.xbtn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--y2); }
.xbtn-sm { width: 30px; height: 30px; border-radius: 8px; border-width: 2px; box-shadow: 2px 2px 0 var(--y2); }
.xbtn-sm svg { width: 13px; height: 13px; }
.foot-l { display: flex; align-items: center; gap: 14px; }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 4px; border: 2.5px solid var(--ink); border-radius: 10px; background: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .15s; }
.ca-chip:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: #FFF8D6; }
.ca-chip .ca-lab { background: var(--y); border: 2px solid var(--ink); border-radius: 6px; padding: 2px 6px; font-family: var(--pixel); font-size: 11px; }
.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: 2px dashed var(--ink); border-radius: 12px; background: #fff; padding: 8px 12px; font-family: var(--mono); font-size: 13px; cursor: pointer; transition: background .15s, border-style .15s; }
.ca-hero:hover { background: #FFF8D6; border-style: solid; }
.ca-hero span { font-family: var(--pixel); font-weight: 700; background: var(--ink); color: var(--y); padding: 2px 7px; border-radius: 6px; }
.ca-hero b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.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; background: var(--y); border: 1.5px solid var(--ink); border-radius: 6px; padding: 1px 7px; }
@media (max-width: 1080px) { .top-actions .ca-chip { display: none; } }
@media (max-width: 560px) { .top-actions .xbtn { width: 34px; height: 34px; } #walletBtn { display: none; } }
.ca-chip.soon .ca-ico, [data-ca-copy][hidden] { display: none; }

input.locked { background: #F4F1E6; color: var(--muted); cursor: not-allowed; box-shadow: none !important; }
