/* SPREAD — halftone / monochrome */
:root {
  --bg: #F4F4F2;
  --bg2: #ECECE9;
  --card: #FAFAF8;
  --ink: #0A0A0A;
  --ink2: #3A3A3A;
  --mute: #8C8C8A;
  --line: #D8D8D4;
  --line2: #E4E4E0;
  --inv: #F4F4F2;
  --ghost: .13;
  --display: 'Archivo', 'Arial Black', sans-serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 5vw, 80px);
  --max: 1440px;
}
:root[data-theme="dark"] {
  --bg: #0B0B0B;
  --bg2: #141414;
  --card: #111111;
  --ink: #F2F2EF;
  --ink2: #C9C9C5;
  --mute: #7C7C79;
  --line: #2A2A2A;
  --line2: #1E1E1E;
  --inv: #0B0B0B;
  --ghost: .16;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::before { opacity: .9; filter: invert(1); }
body > * { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; }
.muted { color: var(--mute); }
[hidden] { display: none !important; }

.kicker, .eyebrow, .mini-lab {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--mute);
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 50px; padding: 0 30px; border-radius: 999px; border: 1.5px solid var(--ink);
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap; transition: transform .15s, background .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: progress; }
.btn-ink { background: var(--ink); color: var(--inv); }
.btn-ink:hover { background: var(--ink2); border-color: var(--ink2); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--inv); }
.btn-paper { background: var(--inv); color: var(--ink); border-color: var(--inv); }
.btn-paper:hover { opacity: .9; }
.btn-lg { height: 58px; padding: 0 34px; }
.btn-sm { height: 42px; padding: 0 22px; font-size: 12px; gap: 10px; }
.btn .arr { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn .play { width: 16px; height: 16px; fill: currentColor; }

/* ---------------- header ---------------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gut);
  background: transparent; transition: background .25s, box-shadow .25s;
}
.top.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line2); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .14em; }
.brand-mark { width: 58px; height: 58px; color: var(--ink); margin: -8px -4px -8px -8px; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 44px); margin: 0 auto; }
.nav a {
  font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  padding: 6px 0; position: relative; white-space: nowrap;
}
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--ink); transition: right .25s; }
.nav-only-m { display: none; }
.nav-theme { background: none; border: 0; padding: 14px 0; text-align: left; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.nav a:hover::after, .nav a.on::after { right: 0; }
.top-r { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent; transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
#themeBtn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
#themeBtn .i-sun, :root[data-theme="dark"] #themeBtn .i-moon { display: none; }
:root[data-theme="dark"] #themeBtn .i-sun { display: block; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
body.side-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.side-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------- layout ---------------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.view { display: none; }
.view.show { display: block; }
.section { padding: 70px 0; }
.sec-head { margin-bottom: 40px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-head h2, .how-side h2, .cta h2, .modal-card h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 54px); line-height: .98; letter-spacing: -.01em; margin: 14px 0 0;
}

/* ---------------- hero ---------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: center; padding: 48px 0 40px; min-height: calc(100vh - 230px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: var(--mute); }
.hero h1 {
  font-family: var(--display); font-weight: 900; font-size: clamp(56px, 8vw, 124px);
  line-height: .86; letter-spacing: -.015em; margin: 22px 0 18px; margin-left: -.04em;
}
.tagline { font-size: clamp(15px, 1.8vw, 24px); font-weight: 500; letter-spacing: .5em; text-transform: uppercase; margin: 0 0 26px; }
.lead { font-size: clamp(16px, 1.45vw, 21px); color: var(--ink2); max-width: 520px; font-weight: 400; line-height: 1.5; margin: 0 0 36px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
.ca-line {
  display: flex; align-items: center; gap: 14px; margin: 40px 0 0; padding: 0; background: none; border: 0;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); max-width: 100%;
}
.ca-line .lab { color: var(--mute); font-weight: 600; }
.ca-line b { font-weight: 600; letter-spacing: .06em; text-transform: none; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-line.soon b { text-transform: uppercase; letter-spacing: .22em; color: var(--mute); }
.ca-line i { font-style: normal; font-weight: 600; border-bottom: 1.5px solid currentColor; }
.mini-lab { display: block; margin-top: 22px; font-size: 11.5px; }
.mini-lab::after { content: ''; display: block; width: 36px; height: 1.5px; background: var(--line); margin-top: 14px; }
.hero-viz { position: relative; margin-right: calc(var(--gut) * -.5); }
.viz { width: 100%; color: var(--ink); }
.viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz-cap { position: absolute; right: 0; bottom: -14px; font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); text-align: left; }
.viz-cap::after { content: ''; display: block; width: 36px; height: 1.5px; background: var(--line); margin-top: 12px; }

/* viz internals */
.sv-ghost { opacity: var(--ghost); }
.sv-link { fill: none; stroke: currentColor; stroke-linecap: round; }
.sv-link.ghost { opacity: var(--ghost); }
.sv-link.draw { animation: svDraw .6s ease-out both; }
@keyframes svDraw { from { opacity: 0; } to { opacity: 1; } }
.sv-node { transform-box: fill-box; transform-origin: center; }
.sv-node.pop { animation: svPop .55s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes svPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sv-root { transform-box: fill-box; transform-origin: center; transition: transform .14s; }
.sv-root-spin { transform-box: fill-box; transform-origin: center; animation: svBreath 6s ease-in-out infinite; }
@keyframes svBreath { 50% { transform: scale(1.025); } }
.sv-ring { fill: none; stroke: currentColor; stroke-linecap: round; }
.sv-ring-bg { fill: none; stroke: currentColor; stroke-linecap: round; opacity: var(--ghost); }
.sv-pulse { fill: currentColor; }
.sv-txt { fill: var(--mute); font-family: var(--sans); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.sv-num { fill: var(--mute); font-family: var(--sans); font-weight: 600; letter-spacing: .08em; text-anchor: middle; }
.sv-plus { fill: currentColor; font-family: var(--sans); font-weight: 700; letter-spacing: .18em; text-anchor: middle; animation: svPlus 1.2s ease-out forwards; }
@keyframes svPlus { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-14px); } }
.sv-img-ring { fill: none; stroke: var(--bg); }

/* ---------------- ticker ---------------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0 0; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-in { display: flex; gap: 46px; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker a { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--ink2); }
.ticker a::before { content: ''; width: 5px; height: 5px; background: var(--ink); border-radius: 50%; margin-right: 6px; }
.ticker img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------- steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.step-top { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.step-top em { font-style: normal; font-size: 24px; font-weight: 400; color: var(--mute); letter-spacing: .04em; min-width: 32px; }
.step-ico { width: 82px; height: 82px; color: var(--ink); flex: none; }
.step-line { flex: 1; height: 1px; background: var(--line); margin-left: 10px; }
.step h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink2); font-size: 14.5px; letter-spacing: .04em; max-width: 260px; }
.step .seq-num { font-weight: 600; color: var(--ink); letter-spacing: .1em; }

.how-viz { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px; margin-top: 90px; padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.how-side { display: flex; flex-direction: column; }
.seq { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; }
.seq-orig, .seq-item { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.seq-orig { display: inline-flex; align-self: flex-start; padding: 9px 16px; background: var(--ink); color: var(--inv); border-radius: 999px; }
.seq-item { display: flex; align-items: center; gap: 12px; color: var(--ink); animation: fadeIn .35s ease both; padding-left: 14px; }
.seq-item i { font-style: normal; color: var(--mute); }
.seq-item.fade { opacity: .35; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }
.how-net { min-width: 0; }
.how-cap { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.how-cap .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 60px; }
.facts > div { border-top: 1px solid var(--line); padding-top: 22px; }
.facts p { margin: 12px 0 0; color: var(--ink2); font-size: 15px; }
.facts b { color: var(--ink); font-weight: 600; }

/* ---------------- stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 10px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -.01em; }
.stat span { display: block; margin-top: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }

/* ---------------- CTA ---------------- */
.cta { display: none; position: relative; overflow: hidden; margin: 40px 0 80px; padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 80px); background: var(--ink); color: var(--inv); border-radius: 32px; }
.cta.show { display: block; }
.cta-bg { position: absolute; right: -8%; top: 50%; width: min(620px, 80vw); transform: translateY(-50%); color: var(--inv); opacity: .95; }
.cta-in { position: relative; max-width: 560px; }
.cta .kicker { color: color-mix(in srgb, var(--inv) 60%, transparent); }
.cta h2 { margin: 18px 0 34px; font-size: clamp(38px, 6vw, 80px); }

/* ---------------- footer ---------------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 30px var(--gut) 40px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.foot-l, .foot-r { display: flex; gap: 22px; font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--mute); }
.foot-r a:hover { color: var(--ink); }
.foot p { margin: 0; font-size: 12px; color: var(--mute); max-width: 520px; text-align: center; letter-spacing: .02em; flex: 1; }

/* ---------------- tabs ---------------- */
.tabs { display: flex; gap: 6px; padding: 5px; border: 1.5px solid var(--line); border-radius: 999px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.tabs button.on { background: var(--ink); color: var(--inv); }

/* ---------------- explore ---------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.ncard { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--card) 70%, transparent); transition: border-color .2s, transform .2s; }
.ncard:hover { border-color: var(--ink); transform: translateY(-3px); }
.ncard-top { display: flex; gap: 14px; align-items: center; }
.ncard-top img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; border: 1.5px solid var(--ink); }
.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; font-weight: 600; letter-spacing: .2em; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.dots { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; min-height: 40px; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.dots i { width: 7px; height: 7px; border-radius: 1.5px; background: var(--ink); }
.dots i.top { width: 16px; height: 16px; border-radius: 50%; }
.dots em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--mute); margin-left: 4px; }
.ncard .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink2); }
.ncard .row b { color: var(--ink); }
.bar-lab { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: -8px; }
.bar { height: 6px; border-radius: 6px; background: var(--line2); overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--ink); border-radius: 6px; transition: width .6s; background-image: radial-gradient(circle, var(--inv) 1px, transparent 1.4px); background-size: 6px 6px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.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(--mute); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.empty svg { width: 90px; height: 90px; margin-bottom: 18px; color: var(--ink); }

/* ---------------- leaderboard ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; }
.lb { width: 100%; border-collapse: collapse; min-width: 640px; }
.lb th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); padding: 18px 20px; border-bottom: 1px solid var(--line); }
.lb td { padding: 16px 20px; border-bottom: 1px solid var(--line2); font-size: 14px; }
.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(--bg2); }
.lb .rk { font-family: var(--display); font-weight: 800; font-size: 18px; width: 50px; }
.who { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

/* ---------------- network detail ---------------- */
.nd-head { display: flex; gap: 22px; align-items: center; }
.nd-head > img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); flex: none; }
.nd-head h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5vw, 60px); 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 14px; border-radius: 999px; border: 1.5px solid var(--line); background: none; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: border-color .2s; }
.chip:hover { border-color: var(--ink); }
.nd-desc { color: var(--ink2); max-width: 720px; margin: 22px 0 0; }
.nd-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: 34px 0; }
.nd-stats > div { padding: 22px 18px 4px 0; border-right: 1px solid var(--line); }
.nd-stats > div + div { padding-left: 22px; }
.nd-stats > div:last-child { border-right: 0; }
.nd-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); line-height: 1; }
.nd-stats span { display: block; margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.nd-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; }
.panel { border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: color-mix(in srgb, var(--card) 70%, transparent); min-width: 0; }
.panel h3 { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.next-box { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.next-box p { margin: 0; font-size: 13.5px; color: var(--ink2); }
.next-box .bar { height: 8px; }
.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 var(--line2); }
.clist .idx { font-size: 12px; font-weight: 700; color: var(--mute); }
.clist li.orig .idx { color: var(--ink); }
.clist .nm b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clist .nm small { color: var(--mute); font-size: 11.5px; }
.events li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.events li > span:last-child { color: var(--mute); white-space: nowrap; }
.events a { text-decoration: underline; color: var(--mute); }

/* ---------------- modal ---------------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px); overflow-y: auto; }
.modal-card { position: relative; width: min(620px, 100%); background: var(--bg); border: 1.5px solid var(--ink); border-radius: 28px; padding: 36px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.35); margin: auto; }
.modal-card h2 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 8px; }
.modal-card > .muted { margin: 0 0 24px; font-size: 14.5px; }
.x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: none; font-size: 22px; line-height: 1; }
.x:hover { border-color: var(--ink); }
form label { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
form label small { font-weight: 500; letter-spacing: .08em; text-transform: none; color: var(--mute); }
input, textarea { width: 100%; font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; outline: none; transition: border-color .2s; }
input:focus, textarea:focus { border-color: var(--ink); }
input.locked { color: var(--mute); background: var(--bg2); cursor: not-allowed; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 150px 1fr; gap: 18px; }
.img-drop { position: relative; height: 150px; border: 1.5px dashed var(--ink); border-radius: 20px; 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: 11px; }
#imgHint svg { width: 46px; height: 46px; color: var(--ink); }
#imgHint small { font-size: 9.5px; }
.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); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 4px 0 20px; }
.cost > div { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; color: var(--ink2); }
.cost > div b { color: var(--ink); }
.cost .total { font-size: 15px; font-weight: 700; color: var(--ink); border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.cost p { margin: 10px 0 0; font-size: 12.5px; color: var(--mute); }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.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: 13px; font-weight: 500; color: var(--mute); }
.progress-steps i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.progress-steps .on { color: var(--ink) !important; }
.progress-steps .on i { border-style: dashed; animation: spin 1s linear infinite; }
.progress-steps .done { color: var(--ink) !important; }
.progress-steps .done i { background: var(--ink); border-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 22px; border: 1.5px solid var(--ink); border-radius: 20px; margin-top: 8px; }
.success svg { width: 70px; height: 70px; color: var(--ink); }
.success h3 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.success .btns { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.err { margin: 16px 0 0; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 14px; font-size: 13px; background: var(--bg2); overflow-wrap: anywhere; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; background: var(--ink); color: var(--inv); padding: 12px 22px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* ---------------- responsive ---------------- */
@media (max-width: 1280px) {
  .top-r .icon-btn[data-x] { display: none; }
}
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .nav a { letter-spacing: .14em; font-size: 11.5px; }
  .hide-sm { display: none; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 76px; left: 12px; right: 12px; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border: 1.5px solid var(--ink); border-radius: 22px; padding: 10px 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 var(--line2); font-size: 13px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .top-r { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 20px; }
  .hero-viz { margin: 10px 0 30px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .step:nth-child(2) .step-line { display: none; }
  .how-viz { grid-template-columns: 1fr; padding: 26px; margin-top: 60px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts > div { padding-bottom: 22px; }
  .stats, .nd-stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2), .nd-stats > div:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .nd-stats > div:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3), .nd-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nd-main { grid-template-columns: 1fr; }
  .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 { font-size: 17px; gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .top-r { gap: 6px; }
  .icon-btn[data-x], #themeBtn { display: none; }
  .nav .nav-only-m:not([hidden]) { display: block; }
  .nav a.nav-only-m { border-bottom: 1px solid var(--line2); }
  #walletBtn { padding: 0 14px; font-size: 10.5px; letter-spacing: .12em; height: 40px; }
  #themeBtn, .burger { width: 40px; height: 40px; }
  .burger span:first-child { top: 15px; } .burger span:last-child { top: 22px; }
  .nav { top: 66px; }
  .tagline { letter-spacing: .3em; }
  .hero-btns .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .section { padding: 50px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .img-drop { height: 130px; }
  .two { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 20px; border-radius: 22px; }
  .modal-actions .btn { flex: 1; }
  .nd-head > img { width: 70px; height: 70px; }
  .cta { border-radius: 24px; }
  .cta-bg { right: -40%; opacity: .5; }
  .tabs { width: 100%; overflow-x: auto; }
  .tabs button { padding: 9px 12px; letter-spacing: .12em; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
