/* gramcoin.org — GRM showcase. Dark navy, one accent, Manrope. */
:root {
  --bg: #0f1520;
  --surf: #161f2d;
  --surf-2: #1e2a3b;
  --surf-3: #26344a;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.32);
  --ink: #e8eef6;
  --muted: #93a3b8;
  --acc: #22a7f0;
  --acc-hover: #1490d6;
  --acc-soft: rgba(34, 167, 240, 0.14);
  --neg: #f0645a;
  --neg-soft: rgba(240, 100, 90, 0.14);
  --pos: #3ccb7f;
  --pos-soft: rgba(60, 203, 127, 0.14);
  --seg-burn: #4a5b73;
  --seg-other: #93a3b8;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --radius: 20px;
  --radius-lg: 24px;
  --container: 1200px;
  --gutter: 20px;
  --section: 64px;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: absolute;
  top: -260px;
  right: 0;
  width: min(1100px, 100%);
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 167, 240, 0.2), rgba(34, 167, 240, 0));
  pointer-events: none;
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: #5cc0f5; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.top-anchor { position: absolute; top: 0; left: 0; width: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

/* icons */
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

/* buttons & pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--acc); color: #fff; }
.btn-primary:hover { background: var(--acc-hover); color: #fff; }
.btn-secondary { background: var(--surf-2); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { background: var(--surf-3); color: var(--ink); }
.btn-dashed { background: transparent; color: var(--muted); border: 1px dashed rgba(148, 163, 184, 0.4); }
.btn-dashed:hover { color: var(--ink); border-color: var(--border-strong); }
.btn-sm { padding: 9px 16px; font-size: 14px; gap: 6px; }
.btn-lg { padding: 15px 26px; font-size: 17px; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.pill-accent { color: var(--acc); background: var(--acc-soft); }
.pill-neg { color: var(--neg); background: var(--neg-soft); }
.pill-pos { color: var(--pos); background: var(--pos-soft); }
.pill-muted { color: var(--muted); background: var(--surf-2); font-size: 12px; }
.pill-h2 { vertical-align: middle; margin-left: 8px; font-size: 13px; }

/* cards */
.card { background: var(--surf); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s ease; }
.card:hover { border-color: var(--border-strong); }

/* header */
.nav { border-bottom: 1px solid var(--border); background: rgba(15, 21, 32, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 50%; }
.nav-links { display: none; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 700; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surf-2); border: 1px solid var(--border); }
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-links.is-open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; left: var(--gutter); right: var(--gutter); top: 68px;
  padding: 10px; background: var(--surf); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.nav-links.is-open a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
.nav-links.is-open a:hover { background: var(--surf-2); }

/* hero */
.hero { display: flex; flex-direction: column; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.hero-copy > .pill { align-self: flex-start; font-size: 12px; }
.h1 { font-size: clamp(38px, 8.4vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.028em; text-wrap: balance; }
.lead { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.cta-row { display: flex; flex-direction: column; gap: 12px; }
.cta-row .btn-lg { padding: 12px 20px; font-size: 15px; }
.contract-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.addr { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; color: var(--ink); font-weight: 700; letter-spacing: 0.01em; }
.addr .icon { color: var(--muted); }
.addr:hover .icon { color: var(--ink); }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--pos); font-weight: 700; }
.verified:hover { color: #6fdca0; }

/* price card */
.price-card { padding: 18px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-title { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.card-title img { width: 28px; height: 28px; border-radius: 50%; }
.card-title .muted { font-size: 13px; }
.live { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.live-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live-dot.is-live { background: var(--pos); box-shadow: 0 0 0 3px var(--pos-soft); }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.ranges { display: flex; gap: 2px; }
.ranges button { padding: 6px 8px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.ranges button:hover { color: var(--ink); }
.ranges button.is-active { background: var(--surf-2); color: var(--ink); }
.ranges button:disabled { opacity: .45; cursor: default; }
.chart { position: relative; touch-action: pan-y; }
.chart-svg { display: block; width: 100%; height: 170px; }
.chart-svg svg { display: block; width: 100%; height: 100%; overflow: visible; font-family: var(--font); }
.chart-svg .grid { stroke: var(--border); }
.chart-svg .lbl { fill: var(--muted); font-size: 11px; }
.chart-svg .line { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: opacity .2s ease; }
.chart.is-loading .line { opacity: 0.45; }
.chart-svg .xh-line { stroke: var(--muted); stroke-dasharray: 2 4; opacity: .8; }
.chart-svg .xh-dot { fill: var(--acc); stroke: var(--surf); stroke-width: 2; }
.chart-tip {
  position: absolute; pointer-events: none; padding: 8px 12px; border-radius: 8px;
  background: var(--surf); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  font-size: 11px; color: var(--muted); white-space: nowrap; z-index: 2;
}
.chart-tip strong { display: block; font-size: 14px; color: var(--ink); margin-top: 2px; }
.chart-tip em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.chart-tip .tip-burn { color: var(--neg); font-weight: 700; }
.chart-supply .chart-svg { height: 230px; }
.chart-svg .area-circ { fill: url(#sup-circ); }
.chart-svg .area-burn { fill: url(#sup-ash); }
.chart-svg .ash-line { stroke: var(--seg-burn); stroke-width: 1; opacity: .55; }
.chart-svg .glow { fill: url(#sup-glow); }
.chart-svg .sup-line { stroke-width: 2.2; transition: stroke-dashoffset 1.6s cubic-bezier(.22,.8,.3,1); }
.chart-svg .sup-fill, .chart-svg .cliff, .chart-svg .cliff-lbl { opacity: 0; transition: opacity .7s ease .9s; }
.chart-svg.is-in .sup-fill, .chart-svg.is-in .cliff, .chart-svg.is-in .cliff-lbl { opacity: 1; }
.chart-svg .cliff { stroke: var(--neg); stroke-dasharray: 3 4; }
.chart-svg .cliff-lbl { fill: var(--muted); font-size: 11px; }
.chart-svg .cliff-t { fill: var(--ink); font-weight: 800; font-size: 12px; }
.chart-svg .bday { fill: url(#sup-bar); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .5s cubic-bezier(.2,.9,.3,1.2); transition-delay: calc(.25s + var(--i, 0) * 2ms); }
.chart-svg .bday-big { filter: drop-shadow(0 0 6px rgba(240, 100, 90, .8)); }
.chart-svg.is-in .bday { transform: scaleY(1); }
.chart-svg .lbl-side { font-size: 10px; }
.chart-bar { display: flex; flex-direction: column; gap: 10px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-item i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.legend-circ i { background: var(--acc); }
.legend-burn i { background: repeating-linear-gradient(-45deg, var(--seg-burn) 0 1px, transparent 1px 3px); border: 1px solid var(--seg-burn); }
.legend-bars i { background: linear-gradient(#ffb37a, var(--neg)); width: 6px; border-radius: 2px; }
.legend-note { font-size: 13px; margin: -6px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .chart-svg .sup-line, .chart-svg .sup-fill, .chart-svg .cliff, .chart-svg .cliff-lbl, .chart-svg .bday { transition: none; }
  .chart-svg .bday { transform: none; }
  .chart-svg .sup-fill, .chart-svg .cliff, .chart-svg .cliff-lbl { opacity: 1; }
}
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.mini-stats div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-stats .muted { font-size: 13px; font-weight: 600; }
.mini-stats strong { font-size: 16px; font-weight: 800; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 24px; }
.stat { padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat-n { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 15px; font-weight: 700; }
.stat-s { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* sections */
.section { padding-top: var(--section); display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head-row { max-width: none; gap: 20px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.h2 { font-size: clamp(30px, 6vw, 42px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.sub { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.why-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; border-radius: var(--radius-lg); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--acc-soft); color: var(--acc); display: flex; align-items: center; justify-content: center; }
.why-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.why-card p { font-size: 16px; line-height: 1.55; color: var(--muted); }

.figure { padding: 20px; display: flex; flex-direction: column; gap: 18px; border-radius: var(--radius-lg); }
.figure-head { display: flex; flex-direction: column; gap: 12px; }
.figure-head > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.figure h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.figure .sub { font-size: 15px; }
.figure-total { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.figure-total .muted { font-size: 13px; font-weight: 600; }
.figure-total strong { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--surf); }
.bar-seg { display: block; flex: 0 0 auto; min-width: 3px; }
.seg-circ .bar-seg, .bar-seg.seg-circ { background: var(--acc); }
.bar-seg.seg-burn { background: var(--seg-burn); }
.bar-seg.seg-other { background: var(--seg-other); }
.bar-labels { display: flex; flex-direction: column; gap: 10px; }
.bar-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; min-width: 0; }
.bar-label strong { font-size: 14px; font-weight: 800; white-space: nowrap; order: 2; }
.bar-label span { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.bar-label i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.bar-label.seg-circ i { background: var(--acc); }
.bar-label.seg-burn i { background: var(--seg-burn); }
.bar-label.seg-other i { background: var(--seg-other); }

/* dex */
.dex-card { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; border-radius: 28px; }
.dex-copy { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.dex-copy h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.dex-copy p { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.dex-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dex-actions .btn { flex: 1 1 auto; }
.swap { background: var(--surf); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.swap-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 6px; font-size: 15px; }
.swap-box { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.swap-box .muted { font-size: 12px; font-weight: 700; }
.swap-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.swap-amt { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--surf-2); border: 1px solid var(--border); font-size: 14px; font-weight: 800; }
.chip img, .chip .token-mark { width: 24px; height: 24px; border-radius: 50%; }
.swap-arrow { display: flex; justify-content: center; margin: -18px 0; position: relative; z-index: 1; }
.swap-arrow span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surf-2); border: 1px solid var(--border); color: var(--muted); }
.swap-meta { display: flex; flex-direction: column; gap: 4px; padding: 4px 4px 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.swap-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 14px; row-gap: 4px; padding: 14px; border-radius: 999px; background: var(--surf-2); color: var(--muted); font-size: 15px; font-weight: 800; transition: background-color .15s ease, color .15s ease; }
.swap-cta > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.swap-cta-link { color: var(--acc); }
.swap-cta:hover { background: var(--surf-3); color: var(--ink); }
.swap-cta:hover .swap-cta-link { color: #5cc0f5; }
.contract-card { padding: 20px; display: flex; flex-direction: column; gap: 16px; border-radius: var(--radius-lg); }
.contract-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.addr-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.addr-full { font-size: 14px; font-weight: 700; letter-spacing: 0.01em; word-break: break-all; }
.icon-btn { display: inline-flex; padding: 6px; border-radius: 8px; background: none; border: 0; color: var(--muted); }
.icon-btn:hover { color: var(--ink); background: var(--surf-2); }
.contract-links { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 14px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; grid-column: 1; grid-row: 1 / span 2; }
.tl-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acc); flex-shrink: 0; margin-top: 4px; }
.tl-line { display: block; width: 2px; flex: 1 1 auto; background: var(--border); margin-top: 6px; }
.tl-year .tl-line { margin-top: 0; }
.tl-date { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.tl-body { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 8px; max-width: 720px; padding: 4px 0 28px; }
.tl-body h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.tl-body p { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.tl-body a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; margin-top: 2px; }
.tl-item.is-last .tl-body { padding-bottom: 0; }
.tl-year { padding-bottom: 20px; }
.tl-year:not(:first-child) { padding-top: 8px; }
.tl-year .tl-rail { grid-row: 1; }
.tl-y { grid-column: 2; grid-row: 1; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.tl-chapter { grid-column: 2; grid-row: 1; justify-self: start; align-self: baseline; margin-left: 70px; font-size: 15px; font-weight: 700; color: var(--muted); }

/* footer */
.footer { margin-top: var(--section); border-top: 1px solid var(--border); padding: 40px 0 36px; }
.foot-row { display: flex; flex-direction: column; gap: 24px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.foot-brand .brand { font-size: 20px; }
.foot-brand .brand img { width: 32px; height: 32px; }
.foot-brand p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--muted); font-size: 15px; font-weight: 700; }
.foot-links a:hover { color: var(--ink); }

/* the sign: days without a mint, and the mint button */
.sign {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 18px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--border);
  background-image:
    radial-gradient(circle at 11px 11px, rgba(148, 163, 184, 0.45) 2.5px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 11px) 11px, rgba(148, 163, 184, 0.45) 2.5px, transparent 3.2px),
    radial-gradient(circle at 11px calc(100% - 11px), rgba(148, 163, 184, 0.45) 2.5px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), rgba(148, 163, 184, 0.45) 2.5px, transparent 3.2px);
}
.sign-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sign-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sign-num {
  align-self: flex-start; padding: 6px 14px; border-radius: 10px; background: var(--surf-2); border: 1px solid var(--border-strong);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4); font-size: 34px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.sign-note { font-size: 13px; font-weight: 600; color: var(--muted); }
.sign-mint .btn { align-self: flex-start; }
.mint-out {
  margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--neg-soft); border: 1px solid rgba(240, 100, 90, 0.35);
  font-family: var(--mono); font-size: 13px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere;
}
.mint-out .muted { display: block; margin-top: 6px; font-size: 12px; }
.mint-out a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }
.btn.is-failed { background: var(--neg); animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
.btn.is-failed:hover { background: var(--neg); }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.sign-num.is-bump { animation: bump 0.5s ease; }
@keyframes bump { 30% { transform: scale(1.08); } }

/* mining museum */
.museum { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; border-radius: var(--radius-lg); }
.museum-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.museum-field { display: flex; flex-direction: column; gap: 10px; }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tiers button { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surf-2); text-align: left; min-width: 0; transition: border-color .15s ease, background-color .15s ease; }
.tiers button strong { font-size: 14px; }
.tiers button span { font-size: 12px; font-weight: 600; color: var(--muted); }
.tiers button:hover { border-color: var(--border-strong); }
.tiers button.is-active { border-color: var(--acc); background: var(--acc-soft); }
.tiers button:disabled { opacity: 0.55; cursor: default; }
.museum-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.museum-stats div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.museum-stats .wide { grid-column: 1 / -1; }
.museum-stats dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.museum-stats dd { margin: 0; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.museum-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.museum-actions .hint { font-size: 13px; font-weight: 600; }
#mu-start.is-running { background: var(--surf-3); color: var(--ink); }
#mu-start.is-running:hover { background: var(--surf-2); }
.term { display: flex; flex-direction: column; min-width: 0; background: #090d14; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.term-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--muted); }
.term-dots { display: inline-flex; gap: 6px; }
.term-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--surf-3); }
.term-log { flex: 1; margin: 0; padding: 16px; min-height: 200px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #a9e8b4; white-space: pre-wrap; overflow-wrap: anywhere; }
.term.is-running .term-log::after { content: '▌'; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.verdict { padding: 16px 18px; border-radius: 14px; background: var(--acc-soft); border: 1px solid rgba(34, 167, 240, 0.3); font-size: 15px; line-height: 1.55; color: var(--muted); }
.verdict strong { color: var(--ink); }
.verdict-note { display: block; margin-top: 8px; font-size: 13px; }
.verdict.is-found { background: var(--pos-soft); border-color: rgba(60, 203, 127, 0.4); }

@media (prefers-reduced-motion: reduce) {
  .btn.is-failed, .sign-num.is-bump, .term.is-running .term-log::after { animation: none; }
}

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); padding: 10px 16px; border-radius: 999px; background: var(--surf-2); border: 1px solid var(--border); color: var(--ink); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 30; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 399px) {
  .card-title .muted { display: none; }
}

/* ---------- tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; --section: 80px; --nav-h: 68px; }
  .nav-inner { height: 68px; }
  .brand { font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .hero { padding-top: 56px; padding-bottom: 32px; gap: 36px; }
  .hero-copy > .pill { font-size: 13px; }
  .lead { font-size: 18px; }
  .cta-row { flex-direction: row; align-items: center; }
  .cta-row .btn-lg { padding: 15px 26px; font-size: 17px; }
  .price-card { padding: 24px; }
  .price { font-size: 44px; }
  .chart-svg { height: 220px; }
  .chart-supply .chart-svg { height: 280px; }
  .chart-bar { flex-direction: row; justify-content: space-between; align-items: center; }
  .ranges button { padding: 6px 10px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .stat { padding: 24px 26px; }
  .stat-n { font-size: 36px; }
  .section { gap: 36px; }
  .section-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .section-head-row > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
  .head-actions { flex-shrink: 0; }
  .sub { font-size: 18px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .why-card { padding: 30px; }
  .figure { padding: 32px; gap: 22px; }
  .figure-head { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 32px; }
  .figure h3 { font-size: 26px; }
  .figure .sub { font-size: 16px; }
  .figure-total { text-align: right; }
  .figure-total strong { font-size: 16px; }
  .bar { height: 30px; }
  .bar-labels { flex-direction: row; gap: 0; }
  .bar-label { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; }
  .bar-label strong { order: 0; font-size: 15px; }
  .bar-label span { font-size: 13px; }
  .bar-label i { display: none; }
  .bar-label.seg-circ { flex: 0 0 48.7%; }
  .bar-label.seg-burn { flex: 1 1 auto; }
  .bar-label.is-end { flex: 0 0 auto; align-items: flex-end; text-align: right; }
  .sign { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; padding: 24px 26px; align-items: start; }
  .sign .mint-out { grid-column: 1 / -1; }
  .sign-num { font-size: 40px; }
  .museum { padding: 28px; }
  .term-log { font-size: 13px; min-height: 250px; }
  .dex-card { padding: 40px; gap: 40px; }
  .dex-copy { align-items: flex-start; }
  .dex-actions .btn { flex: 0 0 auto; }
  .dex-copy h3 { font-size: 34px; }
  .dex-copy p { font-size: 17px; }
  .swap-amt { font-size: 32px; }
  .swap-meta { flex-direction: row; justify-content: space-between; }
  .contract-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
  .addr-full { font-size: 16px; }
  .timeline li { grid-template-columns: 150px 24px minmax(0, 1fr); column-gap: 24px; }
  .tl-rail { grid-column: 2; grid-row: 1; }
  .tl-dot { margin-top: 5px; }
  .tl-date { grid-column: 1; grid-row: 1; text-align: right; padding-top: 6px; font-size: 13px; white-space: nowrap; }
  .tl-body { grid-column: 3; grid-row: 1; padding: 0 0 36px; }
  .tl-body h3 { font-size: 21px; }
  .tl-body p { font-size: 16px; }
  .tl-year { padding-bottom: 24px; }
  .tl-y { grid-column: 1; text-align: right; font-size: 30px; line-height: 1; }
  .tl-chapter { grid-column: 3; margin-left: 0; font-size: 17px; line-height: 1.7; }
  .footer { padding: 56px 0 48px; }
  .foot-row { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 40px; }
  .foot-links { justify-content: flex-end; gap: 12px 32px; padding-top: 6px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  :root { --section: 96px; --nav-h: 76px; }
  .nav-inner { height: 76px; }
  .nav-links { display: flex; gap: 32px; }
  .nav-toggle { display: none; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 540px); gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 48px; }
  .hero-copy { gap: 26px; align-items: flex-start; }
  .lead { font-size: 19px; }
  .stat-n { font-size: 40px; }
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .museum { grid-template-columns: 380px minmax(0, 1fr); gap: 28px; padding: 32px; }
  .museum .verdict { grid-column: 1 / -1; }
  .dex-card { grid-template-columns: minmax(0, 1.1fr) 420px; gap: 56px; }
}
@media (min-width: 1240px) {
  :root { --gutter: 24px; }
}
@media (max-width: 399px) {
  .card-title .hint { display: none; }
}
