/* CHAIN — mono / node network */
:root {
  --k: #050505;
  --k2: #0d0d0d;
  --k3: #161616;
  --w: #F2F2F0;
  --w2: #BDBDBA;
  --g: #7A7A78;
  --l: #ECECEA;
  --l2: #E2E2DF;
  --lk: #0B0B0B;
  --lk2: #4A4A48;
  --line-d: rgba(255,255,255,.16);
  --line-l: rgba(0,0,0,.14);
  --display: 'Saira', 'Arial Black', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gut: clamp(16px, 5.5vw, 110px);
  --max: 1560px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--k); color: var(--w); font-family: var(--mono); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; }
[hidden] { display: none !important; }
.muted { color: var(--g); }

/* tone helpers */
.dark { background: var(--k); color: var(--w); }
.light { background: var(--l); color: var(--lk); }

/* ---------- labels ---------- */
.label { display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.label .br { color: var(--g); letter-spacing: .2em; white-space: nowrap; }
.label .dash { display: block; width: 46px; height: 1px; background: currentColor; opacity: .55; }
.h-sm { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin: 14px 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 34px; border-radius: 4px; border: 1px solid currentColor;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .12s; background: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: progress; }
.btn .arr { width: 15px; height: 15px; flex: none; }
.btn-white { background: var(--w); color: var(--k); border-color: var(--w); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
.btn-white:hover { box-shadow: 0 0 28px rgba(255,255,255,.28); }
.btn-line { color: var(--w); border-color: rgba(255,255,255,.75); }
.btn-line:hover { background: var(--w); color: var(--k); }
.light .btn-line { color: var(--lk); border-color: var(--lk); }
.light .btn-line:hover { background: var(--lk); color: var(--l); }
.btn-lg { height: 56px; padding: 0 36px; min-width: 200px; }
.btn-sm { height: 42px; padding: 0 20px; font-size: 12px; border-radius: 8px; }
.btn-xs { height: 34px; padding: 0 16px; font-size: 11px; gap: 10px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gut); background: rgba(5,5,5,.0); transition: background .25s, box-shadow .25s;
}
.top.scrolled { background: rgba(5,5,5,.86); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-d); }
.brand { display: flex; align-items: center; gap: 22px; font-family: var(--mono); font-weight: 600; font-size: 19px; letter-spacing: .5em; }
.brand-mark { width: 46px; height: 46px; color: var(--w); flex: none; }
.brand-mark.sm { width: 28px; height: 28px; }
.nav { display: flex; gap: clamp(20px, 3.4vw, 54px); margin: 0 auto; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; position: relative; white-space: nowrap; color: var(--w); }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--w); transition: right .25s; }
.nav a:hover::after, .nav a.on::after { right: 0; }
.nav-only-m { display: none; }
.top-r { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line-d); transition: border-color .2s; }
.icon-btn:hover { border-color: var(--w); }
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.burger { display: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line-d); background: none; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--w); transition: transform .2s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
body.side-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.side-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- rail ---------- */
.rail { position: absolute; left: clamp(16px, 2.6vw, 44px); top: 38%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 34px; }
.rail::before { content: ''; position: absolute; left: 37px; top: 30px; bottom: -10px; width: 1px; background: rgba(255,255,255,.5); }
.rail a { position: relative; font-size: 11.5px; letter-spacing: .1em; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 12px; width: 60px; }
.rail a.on { color: #fff; }
.rail a.on::after { content: ''; width: 14px; height: 1px; background: #fff; }

/* ---------- layout ---------- */
main { display: block; }
.view { display: none; }
.view.show { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: center; padding: 30px var(--gut) 0; min-height: calc(100vh - 78px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 72% 62%, rgba(255,255,255,.06), transparent 70%); }
@media (min-width: 1281px) { .hero { padding-left: calc(var(--gut) + clamp(0px, 4vw, 70px)); } }
.hero-copy { position: relative; z-index: 2; padding: 30px 0 90px; }
.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 3.9vw, 72px); white-space: nowrap;
  line-height: .93; letter-spacing: -.01em; margin: 34px 0 30px; color: #fff;
  text-shadow: 0 0 34px rgba(255,255,255,.18);
}
.lead { font-size: clamp(14px, 1.15vw, 17px); color: var(--w2); max-width: 520px; margin: 0 0 38px; line-height: 1.55; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
.ca-line { display: flex; align-items: center; gap: 14px; margin: 34px 0 0; padding: 0; background: none; border: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--w); max-width: 100%; }
.ca-line .lab { color: var(--g); font-weight: 600; letter-spacing: .2em; }
.ca-line b { font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-line.soon b { color: var(--g); text-transform: uppercase; letter-spacing: .16em; }
.ca-line i { font-style: normal; font-weight: 600; border-bottom: 1px solid currentColor; }
.hero-viz { position: relative; z-index: 1; align-self: stretch; display: flex; align-items: center; margin-right: calc(var(--gut) * -.6); }
.cviz { position: relative; width: 100%; }
.cviz canvas { display: block; width: 100%; }
.cviz .lvl { position: absolute; right: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--w2); line-height: 1.6; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.35); transform: translateY(-50%); white-space: nowrap; pointer-events: none; }
.cviz .lvl b { display: block; font-weight: 500; color: var(--g); }
.cviz .lvl.orig { border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 14px; }
.cviz .lvl.orig::before { content: ''; width: 70px; height: 1px; background: rgba(255,255,255,.35); }
.cviz .viz-sub { position: absolute; left: 0; top: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); pointer-events: none; }
.cviz .viz-fee { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--w2); white-space: nowrap; pointer-events: none; }

/* ticker */
.ticker { grid-column: 1 / -1; overflow: hidden; margin: 0 calc(var(--gut) * -1); border-top: 1px solid var(--line-d); padding: 13px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-in { display: flex; gap: 52px; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker a { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--w2); }
.ticker a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; margin-right: 4px; }
.ticker img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- how ---------- */
.how { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px; padding: 54px var(--gut) 40px; }
.how-head { border-right: 1px solid var(--line-l); padding-right: 30px; }
.steps { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr; gap: 18px; align-items: start; }
.step-top { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.step-top em { font-style: normal; font-size: 12px; color: var(--lk2); letter-spacing: .08em; }
.step-ico { width: 48px; height: 48px; color: var(--lk); flex: none; }
.step h3 { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 10px; }
.step p { margin: 0; font-size: 13px; color: var(--lk2); max-width: 240px; }
.chev { display: block; width: 10px; height: 10px; border-right: 1.5px solid var(--lk); border-top: 1.5px solid var(--lk); transform: rotate(45deg); margin-top: 42px; opacity: .8; }
.facts { grid-column: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--line-l); }
.facts > div { padding: 16px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--lk2); }
.facts b { font-size: 12.5px; font-weight: 600; }

/* ---------- stats + map ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.stats-pane { padding: 54px clamp(16px, 4vw, 70px) 50px var(--gut); background: linear-gradient(180deg, var(--l2), var(--l)); }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin-top: 40px; }
.stat { padding: 0 22px; border-left: 1px solid var(--line-l); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 38px); line-height: 1; letter-spacing: -.01em; }
.stat span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--lk2); white-space: nowrap; }
.bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 3px; height: 96px; margin-top: 54px; }
.bars i { flex: 1; max-width: 3px; min-width: 1px; background: rgba(0,0,0,.3); height: 4%; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.bars i.hi { background: rgba(0,0,0,.7); }
.bars-lab { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--lk2); }
.map-pane { position: relative; padding: 50px var(--gut) 34px clamp(16px, 4vw, 70px); overflow: hidden; }
.map-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.wmap { position: relative; margin-top: 22px; }
.wmap canvas { display: block; width: 100%; cursor: default; }
.map-note { margin: 10px 0 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }

/* ---------- buyback & burn ---------- */
.burn { padding: 64px var(--gut) 70px; border-top: 1px solid var(--line-d); background: radial-gradient(70% 60% at 85% 0%, rgba(255,255,255,.05), transparent 70%), var(--k); }
.burn-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.burn-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 70px); line-height: .95; margin: 18px 0 0; text-shadow: 0 0 30px rgba(255,255,255,.15); }
.burn-lead { margin: 0; color: var(--w2); font-size: 14px; max-width: 560px; }
.burn-lead b { color: var(--w); }
.burn-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); margin: 40px 0 28px; }
.burn-stats > div { padding: 24px 20px; border-left: 1px solid var(--line-d); }
.burn-stats > div:first-child { border-left: 0; padding-left: 0; }
.burn-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 40px); line-height: 1; }
.burn-stats span { display: block; margin-top: 12px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--g); }
.lb.burns td { font-size: 12.5px; }
.lb .tx a { color: var(--g); text-decoration: underline; margin-right: 10px; }
.lb .tx a:hover { color: var(--w); }
.fire { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; margin-right: 8px; vertical-align: middle; }
.nd-burn { margin-top: 18px; }
.nd-burn .burn-stats { margin: 0 0 18px; }
.nd-burn .burn-stats b { font-size: clamp(18px, 2vw, 28px); }
.nd-burn p { margin: 0 0 16px; font-size: 12.5px; color: var(--w2); }

/* ---------- pages ---------- */
.page { padding: 60px var(--gut) 90px; min-height: 70vh; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.page-head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5vw, 72px); line-height: .95; margin: 18px 0 0; }
.tabs { display: flex; border: 1px solid var(--line-d); border-radius: 6px; overflow: hidden; }
.tabs button { border: 0; background: none; padding: 11px 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.tabs button + button { border-left: 1px solid var(--line-d); }
.tabs button.on { background: var(--w); color: var(--k); }

/* explore cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.ncard { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line-d); border-radius: 8px; background: var(--k2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ncard:hover { border-color: rgba(255,255,255,.6); box-shadow: 0 0 40px rgba(255,255,255,.06); transform: translateY(-2px); }
.ncard-top { display: flex; gap: 14px; align-items: center; }
.ncard-top img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 0 18px rgba(255,255,255,.15); }
.ncard h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 17px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sym { font-size: 12px; letter-spacing: .14em; color: var(--g); display: flex; gap: 8px; align-items: center; }
.mini { display: block; width: 100%; height: 64px; border-top: 1px dashed var(--line-d); border-bottom: 1px dashed var(--line-d); }
.ncard .row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--w2); }
.ncard .row b { color: var(--w); }
.bar-lab { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); margin-bottom: -8px; }
.bar { height: 4px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.bar b { display: block; height: 100%; background: var(--w); box-shadow: 0 0 10px #fff; transition: width .6s; }
.badge { display: inline-block; padding: 2px 9px; border: 1px solid currentColor; border-radius: 3px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--w); }
.badge.launching { border-style: dashed; }
.empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 20px; color: var(--g); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; gap: 10px; }
.empty svg { width: 60px; height: 60px; color: var(--w); margin-bottom: 10px; }

/* leaderboard */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-d); border-radius: 8px; }
.lb { width: 100%; border-collapse: collapse; min-width: 640px; }
.lb th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--g); padding: 16px 20px; border-bottom: 1px solid var(--line-d); }
.lb td { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 13.5px; }
.lb tr:last-child td { border-bottom: 0; }
.lb tbody tr[data-href] { cursor: pointer; transition: background .15s; }
.lb tbody tr[data-href]:hover { background: var(--k3); }
.lb .rk { font-family: var(--display); font-weight: 800; font-size: 17px; width: 50px; }
.who { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* chain detail */
.nd-head { display: flex; gap: 22px; align-items: center; }
.nd-head > img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 1px solid #fff; box-shadow: 0 0 34px rgba(255,255,255,.22); flex: none; }
.nd-head h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5vw, 64px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.nd-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 4px; border: 1px solid var(--line-d); background: none; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s; color: var(--w); }
.chip:hover { border-color: var(--w); }
.nd-desc { color: var(--w2); max-width: 720px; margin: 22px 0 0; }
.nd-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); margin: 34px 0; }
.nd-stats > div { padding: 22px 18px; border-left: 1px solid var(--line-d); }
.nd-stats > div:first-child { border-left: 0; padding-left: 0; }
.nd-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 32px); line-height: 1; }
.nd-stats span { display: block; margin-top: 10px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--g); }
.nd-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.panel { border: 1px solid var(--line-d); border-radius: 8px; padding: 24px; background: var(--k2); min-width: 0; }
.panel h3 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.next-box { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.next-box p { margin: 0; font-size: 12.5px; color: var(--w2); }
.next-box .bar { height: 5px; }
.clist, .events { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.clist li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.clist .idx { font-size: 11.5px; font-weight: 600; color: var(--g); }
.clist li.orig .idx { color: var(--w); }
.clist .nm b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clist .nm small { color: var(--g); font-size: 11px; }
.events li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 12.5px; }
.events li > span:last-child { color: var(--g); white-space: nowrap; }
.events a { text-decoration: underline; color: var(--g); }

/* ---------- footer ---------- */
.foot { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: space-between; padding: 28px var(--gut) 36px; border-top: 1px solid var(--line-d); background: var(--k); }
.foot-l, .foot-r { display: flex; align-items: center; gap: 22px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--g); }
.foot-r a:hover { color: var(--w); }
.foot p { margin: 0; font-size: 11.5px; color: var(--g); max-width: 520px; text-align: center; flex: 1; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); overflow-y: auto; }
.modal-card { position: relative; width: min(620px, 100%); background: var(--k2); border: 1px solid rgba(255,255,255,.4); border-radius: 10px; padding: 34px; box-shadow: 0 0 80px rgba(255,255,255,.06); margin: auto; }
.modal-card h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 4vw, 42px); line-height: 1; margin: 18px 0 10px; }
.modal-card > .muted { margin: 0 0 24px; font-size: 13px; }
.x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--line-d); background: none; font-size: 20px; line-height: 1; }
.x:hover { border-color: var(--w); }
form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
form label small { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--g); }
input, textarea { width: 100%; font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--w); background: var(--k); border: 1px solid var(--line-d); border-radius: 5px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { border-color: var(--w); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
input.locked { color: var(--g); background: var(--k3); cursor: not-allowed; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 148px 1fr; gap: 18px; }
.img-drop { position: relative; height: 148px; border: 1px dashed rgba(255,255,255,.5); border-radius: 8px; display: grid; place-items: center; overflow: hidden; cursor: pointer; margin: 0; }
.img-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.img-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#imgHint { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 10.5px; }
#imgHint svg { width: 38px; height: 38px; color: var(--w); margin-bottom: 4px; }
#imgHint small { font-size: 9px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two:has(.x-field[hidden]) { grid-template-columns: 1fr; }
.cost { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: 14px 0; margin: 4px 0 20px; }
.cost > div { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; color: var(--w2); }
.cost > div b { color: var(--w); }
.cost .total { font-size: 14px; font-weight: 700; color: var(--w); border-top: 1px dashed var(--line-d); margin-top: 6px; padding-top: 10px; }
.cost p { margin: 10px 0 0; font-size: 11.5px; color: var(--g); }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.modal-actions .btn { height: 48px; }
.progress-steps { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.progress-steps > div:not(.success) { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--g); }
.progress-steps i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.progress-steps .on { color: var(--w) !important; }
.progress-steps .on i { border-style: dashed; animation: spin 1s linear infinite; }
.progress-steps .done { color: var(--w) !important; }
.progress-steps .done i { background: var(--w); border-color: var(--w); box-shadow: 0 0 8px #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 22px; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; margin-top: 8px; }
.success svg { width: 54px; height: 54px; color: var(--w); }
.success h3 { font-family: var(--display); font-weight: 800; font-size: 22px; }
.success .btns { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.err { margin: 16px 0 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; font-size: 12.5px; background: var(--k3); overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; background: var(--w); color: var(--k); padding: 11px 20px; border-radius: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 0 30px rgba(255,255,255,.25); }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .rail { display: none; }
  .top-r .icon-btn[data-x] { display: none; }
  .nav { gap: 24px; }
}
@media (max-width: 1100px) {
  .how { grid-template-columns: 1fr; row-gap: 30px; }
  .how-head { border-right: 0; padding-right: 0; }
  .facts { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .burn-head { grid-template-columns: 1fr; gap: 18px; }
  .burn-stats { grid-template-columns: 1fr 1fr; }
  .burn-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .burn-stats > div:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .stats-pane, .map-pane { padding-left: var(--gut); padding-right: var(--gut); }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 74px; left: 12px; right: 12px; flex-direction: column; gap: 0; margin: 0;
    background: var(--k2); border: 1px solid rgba(255,255,255,.4); border-radius: 10px; padding: 8px 22px;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s;
  }
  body.side-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12.5px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav .nav-only-m:not([hidden]) { display: block; }
  .top-r { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 10px; }
  .hero-copy { padding-bottom: 10px; }
  .hero-viz { margin: 0 -10px 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .chev { display: none; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .nd-main { grid-template-columns: 1fr; }
  .nd-stats { grid-template-columns: 1fr 1fr; }
  .nd-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .nd-stats > div:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot p { text-align: left; }
}
@media (max-width: 560px) {
  .top { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .brand { gap: 12px; font-size: 15px; letter-spacing: .36em; }
  .brand-mark { width: 30px; height: 30px; }
  #walletBtn { padding: 0 12px; font-size: 10.5px; letter-spacing: .08em; height: 40px; gap: 8px; }
  #walletBtn .arr { display: none; }
  .burger { width: 40px; height: 40px; }
  .nav { top: 64px; }
  .hero h1 { font-size: clamp(32px, 9.5vw, 52px); white-space: normal; }
  .hero-viz { margin: 0 0 20px; }
  .cviz .lvl { right: 4px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .cviz .lvl { font-size: 9px; letter-spacing: .08em; padding-left: 8px; }
  .cviz .lvl.orig::before { width: 24px; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .stats-pane, .map-pane, .how { padding-top: 40px; padding-bottom: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .img-drop { height: 120px; }
  .two { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 18px; }
  .modal-actions .btn { flex: 1; }
  .nd-head > img { width: 64px; height: 64px; }
  .page { padding-top: 40px; }
  .tabs { width: 100%; overflow-x: auto; }
  .tabs button { padding: 10px 12px; white-space: nowrap; }
  .map-head .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
