:root {
  --navy: #05072b; --navy-2: #0b0e3a; --navy-3: #14175a; --panel: #0a0d36;
  --purple: #6b2fd0; --purple-2: #8b5cf6; --mint: #8edda8; --gold: #ffc62e;
  --ink: #f4f1ea; --muted: #a9b1d6; --line: rgba(142, 221, 168, 0.2);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { background: var(--navy); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--sans); line-height: 1.55; min-height: 100vh;
  background: radial-gradient(1100px 480px at 85% -8%, rgba(107, 47, 208, 0.3), transparent 60%),
    radial-gradient(800px 380px at 0% 18%, rgba(142, 221, 168, 0.08), transparent 55%), var(--navy);
}
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(5, 7, 43, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 2px solid var(--gold); }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 4px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.nav ul a { display: block; color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.nav ul a:hover { color: var(--ink); background: var(--navy-3); }
.nav .btn { margin-left: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; background: var(--purple); color: #fff; border: 1px solid transparent; border-radius: 999px; padding: 8px 18px; font: 700 14px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--purple-2); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(107, 47, 208, 0.45); }
.btn.alt { background: transparent; color: var(--mint); border-color: var(--mint); }
.btn.alt:hover { background: var(--mint); color: var(--navy); box-shadow: none; }
.btn.gold { background: var(--gold); color: #1a1400; }
.btn.gold:hover { background: #ffd65c; color: #1a1400; box-shadow: 0 8px 22px rgba(255, 198, 46, 0.3); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 18%, rgba(5, 7, 43, 0.78) 55%, rgba(5, 7, 43, 0.35)), linear-gradient(0deg, var(--navy), transparent 40%); }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 28px; padding: 40px 0 44px; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.35fr 1fr; align-items: center; padding: 64px 0 72px; } }
.kicker { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin: 0 0 12px; }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 5.2vw, 3.6rem); margin-bottom: 14px; }
.hero h1 span { color: var(--gold); }
.lead { color: var(--muted); max-width: 60ch; margin: 0; font-size: 1.05rem; }
.panel { background: rgba(10, 13, 54, 0.88); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.ring-row { display: flex; align-items: center; gap: 20px; }
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--navy-3); stroke-width: 10; }
.ring .fill { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; }
.ring .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 2.1rem; line-height: 1; }
.ring .num small { display: block; font: 600 12px/1.4 var(--mono); color: var(--muted); }
.stats { display: grid; gap: 10px; margin: 0; flex: 1; }
.stats div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; font-size: 14px; }
.stats dt { color: var(--muted); }
.stats dd { margin: 0; font-weight: 700; font-family: var(--mono); text-align: right; }
.bar { margin-top: 18px; }
.bar svg { display: block; width: 100%; height: 12px; border-radius: 999px; background: var(--navy-3); overflow: hidden; }
.bar rect { fill: var(--mint); }
.bar p { display: flex; justify-content: space-between; margin: 6px 0 0; font: 500 11px/1 var(--mono); color: var(--muted); }

/* sections */
section { padding: 44px 0 8px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.sec-head p { margin: 0; color: var(--muted); font-size: 14px; }

/* roadmap grid */
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (min-width: 560px) { .roadmap { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 860px) { .roadmap { grid-template-columns: repeat(10, 1fr); gap: 10px; } }
.slot { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; text-decoration: none; }
.slot.empty { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, #080a2f, #080a2f 6px, #0c0f3e 6px, #0c0f3e 12px); border: 1px dashed rgba(169, 177, 214, 0.28); color: var(--muted); font: 600 12px/1 var(--mono); }
.slot.filled { border: 2px solid var(--gold); background: var(--navy-2); color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.slot.filled img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot.filled .tag { position: absolute; inset: auto 0 0 0; padding: 14px 6px 5px; background: linear-gradient(transparent, rgba(5, 7, 43, 0.95)); font: 700 10px/1.2 var(--mono); color: var(--gold); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot.filled .n { position: absolute; top: 4px; left: 5px; font: 700 10px/1 var(--mono); color: #fff; background: rgba(5, 7, 43, 0.75); padding: 3px 5px; border-radius: 6px; }
.slot.filled:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 28px rgba(255, 198, 46, 0.35); z-index: 2; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; border: 2px solid var(--gold); }
.legend i.up { border: 1px dashed rgba(169, 177, 214, 0.6); }

/* cards */
.cards { display: grid; gap: 16px; }
.card { display: grid; grid-template-columns: 1fr; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 14px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
@media (min-width: 600px) { .card { grid-template-columns: 168px 1fr; padding: 16px; } }
.card:hover, .card:focus-within { transform: translateY(-3px); border-color: var(--mint); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4); }
.card .art { width: 100%; max-width: 168px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.card h3 { font-size: 1.35rem; font-weight: 800; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--gold); }
.pill { display: inline-block; font: 700 12px/1 var(--mono); color: var(--gold); border: 1px solid rgba(255, 198, 46, 0.5); border-radius: 999px; padding: 4px 9px; margin: 6px 0; }
.meta { margin: 4px 0; color: var(--muted); font-size: 14px; }
.meta b { color: var(--ink); font-weight: 600; }
.ca-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.ca { font: 500 12px/1.4 var(--mono); word-break: break-all; background: var(--navy-3); border-radius: 10px; padding: 8px 10px; color: var(--ink); }
button.copy { font: 700 12px/1 var(--sans); background: transparent; color: var(--mint); border: 1px solid var(--mint); border-radius: 999px; padding: 9px 14px; min-height: 36px; cursor: pointer; transition: background .15s ease, color .15s ease; }
button.copy:hover, button.copy.done { background: var(--mint); color: var(--navy); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.links .btn { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* how */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; font: 800 15px/1 var(--mono); margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.rules { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.rules li::before { content: "\2713"; color: var(--mint); margin-right: 10px; font-weight: 800; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 18px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--navy); }
.timeline time { display: block; font: 600 12px/1 var(--mono); color: var(--mint); margin-bottom: 6px; }
.timeline p { margin: 0; max-width: 70ch; }

/* coin page */
.coin-banner { width: 100%; max-height: 300px; object-fit: cover; border-bottom: 1px solid var(--line); }
.crumb { font: 500 13px/1 var(--mono); margin: 20px 0 18px; color: var(--muted); }
.coin-hero { display: grid; gap: 24px; }
@media (min-width: 800px) { .coin-hero { grid-template-columns: 380px 1fr; align-items: start; } }
.coin-hero .art { width: 100%; border-radius: 24px; border: 2px solid var(--gold); box-shadow: 0 24px 70px rgba(107, 47, 208, 0.35); }
.coin-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.desc { color: var(--muted); max-width: 60ch; }
.note { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--muted); font-size: 14px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 150px); gap: 12px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; list-style: none; margin: 0; }
.strip li { scroll-snap-align: start; }
.strip a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.strip a:hover { transform: translateY(-3px); border-color: var(--gold); }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.strip span { display: block; padding: 8px 10px 10px; font-size: 12px; font-weight: 600; }
.strip span b { display: block; font: 700 11px/1.4 var(--mono); color: var(--gold); }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.empty-note { color: var(--muted); font-size: 14px; }
.page-404 { padding: 90px 0 110px; }
.page-404 h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; margin-bottom: 12px; }

footer.site { margin-top: 56px; border-top: 1px solid var(--line); padding: 30px 0 56px; color: var(--muted); font-size: 13px; }
footer.site p { max-width: 74ch; margin: 0 0 10px; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .ring .fill { animation: draw 1.2s ease-out both; }
  .bar rect { animation: grow 1.2s ease-out both; transform-origin: left; }
  .hero .wrap > * { animation: rise .6s ease-out both; }
  .hero .wrap > *:nth-child(2) { animation-delay: .12s; }
  @keyframes draw { from { stroke-dashoffset: 327; } }
  @keyframes grow { from { transform: scaleX(0); } }
  @keyframes rise { from { transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media (max-width: 480px) {
  .ring-row { flex-direction: column; align-items: stretch; }
  .ring { align-self: center; }
}

/* running stats */
.stat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 560px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.stat-card h3 { font: 600 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.stat-card .val { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.03em; margin: 10px 0 0; font-family: var(--mono); }
.stat-card .val.na { color: var(--muted); font-size: 1.15rem; font-weight: 600; }
.stat-card .when { margin: 8px 0 0; font: 500 11px/1.4 var(--mono); color: var(--muted); }
.spark { display: block; width: 100%; height: 48px; margin-top: 14px; }
.spark-area { fill: rgba(142, 221, 168, 0.16); }
.spark-line { fill: none; stroke: var(--mint); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.spark-dot { fill: var(--gold); }
.stat-board { margin: 0; display: grid; gap: 0 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 8px 18px 14px; }
@media (min-width: 560px) { .stat-board { grid-template-columns: 1fr 1fr; } }
.stat-board div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 10px 0 8px; font-size: 14px; }
.stat-board dt { color: var(--muted); }
.stat-board dd { margin: 0; font-weight: 700; font-family: var(--mono); text-align: right; }
.stat-foot { margin: 10px 0 0; font: 500 12px/1.4 var(--mono); color: var(--muted); }
