/* Hardcode · light. One spacing scale (4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 · 128), white surfaces, ink + lime. */
:root {
  --bg: #F6F7F4;
  --surface: #FFFFFF;
  --tint: #EEF1EA;
  --line: rgba(12,14,16,0.08);
  --line-strong: rgba(12,14,16,0.14);
  --ink: #0C0E10;
  --ink-2: #1A1D21;
  --muted: #565C63;
  --subtle: #868C93;
  --lime: #C6FF3D;
  --lime-hi: #D6FF73;
  --lime-text: #3F6B00;
  --lime-soft: #F1FFD2;
  --cyan: #0B7FBF;
  --red: #D23F3F;
  --red-soft: #FDECEC;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 14px;
  --radius-lg: 24px;
  --gutter: 20px;
  --section: var(--s8);
  --shadow-sm: 0 1px 2px rgba(12,14,16,0.06), 0 2px 6px rgba(12,14,16,0.04);
  --shadow: 0 1px 2px rgba(12,14,16,0.05), 0 12px 32px -8px rgba(12,14,16,0.12);
  --shadow-lg: 0 2px 4px rgba(12,14,16,0.04), 0 32px 64px -16px rgba(12,14,16,0.18);
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -0.02em; }
.muted { color: var(--subtle); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.ic {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- highlighter ---------- */
mark {
  color: inherit;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 0% 38%;
  padding: 0 0.06em;
  margin: 0 -0.06em;
  transition: background-size .9s var(--ease) .5s;
}
mark.red { background-image: linear-gradient(rgba(210,63,63,0.22), rgba(210,63,63,0.22)); }
.words-in mark, .in mark { background-size: 100% 38%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s5);
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2E33; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hi); }
.btn-outline { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: rgba(12,14,16,0.3); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.22); color: #fff; }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.45); }
.btn-sm { min-height: 44px; padding: 0 var(--s4); font-size: 14px; }

/* ---------- nav ---------- */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav-bar.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: none; gap: var(--s6); font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: var(--s2);
  height: 32px; padding: 0 var(--s3);
  margin-bottom: var(--s5);
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(12,14,16,0.15); }
.kicker-dot.red { background: var(--red); box-shadow: none; }
h2 { font-size: clamp(32px, 7.5vw, 52px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.section-sub { margin-top: var(--s5); max-width: 580px; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.section-head { margin-bottom: var(--s7); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- hero ---------- */
.hero { padding: var(--s7) 0 var(--section); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-title {
  font-size: clamp(44px, 11.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-wrap: balance;
}
.hero-sub { margin-top: var(--s5); max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ctas { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s6); }
.ctas.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6); font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { width: 16px; height: 16px; color: var(--lime-text); }

/* hero composition */
.hero-visual { position: relative; padding: var(--s8) var(--s4) var(--s8); }
.stage-bg {
  position: absolute; inset: 0;
  border-radius: 28px;
  background-color: var(--tint);
  background-image: radial-gradient(rgba(12,14,16,0.09) 1px, transparent 1px);
  background-size: 18px 18px;
}
.coin-card {
  position: relative;
  max-width: 400px; margin: 0 auto;
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.coin-head { display: flex; align-items: center; gap: var(--s3); }
.coin-avatar {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--ink); color: var(--lime); font-weight: 600;
}
.coin-titles { flex: 1; min-width: 0; }
.coin-name { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.coin-meta { font-size: 13px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 var(--s2);
  border-radius: 6px; background: var(--tint);
  font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.burn-block { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s5); padding: var(--s4); border-radius: var(--radius); background: var(--bg); }
.label { font-size: 13px; color: var(--subtle); }
.label-sm { font-size: 12px; color: var(--subtle); }
.big-num { font-size: 34px; font-weight: 500; line-height: 1.1; }
.label-sm .up { display: inline-block; padding: 1px 6px; border-radius: 5px; background: var(--lime); color: var(--ink); font-weight: 500; }
.bar { height: 8px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 8px; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(12,14,16,0.08); }
.rules { margin-top: var(--s3); }
.rules li { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 44px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rules li:last-child { border-bottom: 0; }
.rules b { font-weight: 500; color: var(--ink); }
.rules b.no { color: var(--lime-text); }

.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4) var(--s3) var(--s3);
  border-radius: 16px; background: var(--surface); box-shadow: var(--shadow);
  font-size: 14px;
}
.chip > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.chip .label { font-size: 12px; }
.chip b { font-weight: 600; }
.chip-a { top: 0; left: 0; }
.chip-b { bottom: var(--s4); right: 0; }
.ring { width: 36px; height: 36px; flex: none; }
.ring svg { width: 36px; height: 36px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--tint); stroke-width: 4; }
.ring .ring-fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 30; transition: stroke-dashoffset 1s linear; }
.chip-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--lime); color: var(--ink); }
.chip-icon .ic { width: 18px; height: 18px; }

/* seal */
.seal { position: absolute; z-index: 3; color: var(--ink); }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal-ring { fill: var(--lime); stroke: var(--ink); stroke-width: 2; }
.seal-text { font: 600 10.5px var(--mono); letter-spacing: 0.18em; fill: var(--ink); }
.seal-check { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.seal svg text { animation: spin 24s linear infinite; transform-origin: 60px 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal-hero { width: 92px; height: 92px; top: -14px; right: 4px; transform: rotate(-10deg); }

/* ---------- story ---------- */
.story { padding: var(--section) 0; }
.numbers {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-bottom: var(--s8);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--line); box-shadow: var(--shadow-sm);
}
.numbers > div { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s5) var(--s4); background: var(--surface); }
.num { font-size: 28px; font-weight: 500; line-height: 1.1; }
.numbers > div:first-child .num, .numbers > div:last-child .num { color: var(--red); }
.num-label { font-size: 13px; color: var(--subtle); }

.story-grid { display: grid; gap: var(--s7); }
.steps { display: flex; flex-direction: column; gap: var(--s4); }
.step {
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: opacity .4s var(--ease);
}
.step-num { display: block; font-size: 13px; color: var(--subtle); }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.step h3 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: var(--s4); }
.was, .now { font-size: 15px; line-height: 1.6; color: var(--muted); }
.now { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--ink); }
.was-label, .now-label { display: block; margin-bottom: var(--s1); font-size: 13px; font-weight: 600; }
.was-label { color: var(--red); }
.now-label { color: var(--lime-text); }

.sheet-col { display: none; }
.sheet {
  position: relative;
  padding: var(--s6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); }
.sheet-title { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.sheet-meta { margin-top: 2px; font-size: 14px; color: var(--subtle); }
.sheet-score { font-size: 36px; font-weight: 500; line-height: 1; }
.sheet-score .of { color: var(--subtle); }
.sheet-progress { height: 6px; margin: var(--s5) 0 var(--s2); border-radius: 6px; background: var(--red-soft); overflow: hidden; }
.sheet-progress span { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(12,14,16,0.08); transition: width .6s var(--ease); }
.sheet-rows li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 54px; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.sheet-rows li:last-child { border-bottom: 0; }
.row-label { color: var(--muted); transition: color .3s; }
li.current .row-label { color: var(--ink); font-weight: 500; }
.row-state { display: grid; justify-items: end; }
.row-state > span {
  grid-area: 1 / 1;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.row-state .ic { width: 14px; height: 14px; }
.row-state .bad { background: var(--red-soft); color: var(--red); }
.row-state .good { background: var(--lime); color: var(--ink); opacity: 0; transform: translateY(6px) scale(.96); }
li.fixed .row-state .bad, .step.fixed .row-state .bad { opacity: 0; transform: translateY(-6px); }
li.fixed .row-state .good, .step.fixed .row-state .good { opacity: 1; transform: none; }

.sheet-foot {
  display: grid; align-items: center;
  min-height: 56px; margin-top: var(--s2); padding: 0 var(--s4); padding-right: 104px;
  border-radius: var(--radius); background: var(--red-soft);
  font-size: 14px; font-weight: 500; color: var(--red);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.sheet-foot > span { grid-area: 1 / 1; transition: opacity .3s var(--ease); }
.verdict-good { opacity: 0; }
.sheet.done .sheet-foot { background: var(--lime-soft); color: var(--lime-text); }
.sheet.done .verdict-bad { opacity: 0; }
.sheet.done .verdict-good { opacity: 1; }
.seal-sheet {
  width: 112px; height: 112px; right: -24px; bottom: -28px;
  opacity: 0; transform: scale(1.8) rotate(-30deg);
  transition: opacity .25s ease, transform .45s cubic-bezier(.3,1.6,.5,1);
  pointer-events: none;
}
.sheet.done .seal-sheet { opacity: 1; transform: scale(1) rotate(-12deg); }

.evidence {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5);
  margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line);
  font-size: 14px; color: var(--subtle);
}
.evidence a { color: var(--muted); text-decoration: none; display: inline-flex; gap: var(--s2); min-height: 44px; align-items: center; }
.evidence a:hover { color: var(--ink); }
.evidence a .mono { color: var(--cyan); }

/* ---------- bands & cards ---------- */
.band { padding: var(--section) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec, .audience { padding: var(--section) 0; }
.audience { padding-top: 0; }

.flow { display: grid; gap: var(--s4); counter-reset: f; }
.flow-step { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: var(--radius-lg); background: var(--bg); }
.flow-num { position: absolute; top: var(--s5); right: var(--s5); font-size: 13px; color: var(--subtle); }
.flow-step p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.cards { display: grid; gap: var(--s4); }
.card {
  display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.audience .card { background: var(--surface); box-shadow: var(--shadow-sm); }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s2);
  border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink);
}
.audience .card-icon { background: var(--bg); box-shadow: none; }
.card-icon.ink { background: var(--ink); color: var(--lime); box-shadow: none; }
.card-icon .ic { width: 20px; height: 20px; }
.card-lg { padding: var(--s6); }
.card-lg h3 { font-size: 24px; letter-spacing: -0.03em; }
.card-ink { background: var(--ink) !important; color: #fff; box-shadow: none !important; }
.card-ink p { color: rgba(255,255,255,0.68); }
.card-ink .card-icon { background: rgba(255,255,255,0.08); color: var(--lime); }
.link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; margin-top: auto; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.card-ink .link { color: var(--lime); }
.link .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover .ic { transform: translateX(3px); }

/* ---------- spec ---------- */
.spec-grid { display: grid; gap: var(--s7); align-items: center; }
.ticks { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.ticks li { display: flex; gap: var(--s3); align-items: center; font-size: 15px; }
.ticks .ic { color: var(--lime-text); }
.doc {
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.doc-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.doc-title { font-weight: 600; letter-spacing: -0.02em; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 52px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.doc-row b { font-weight: 500; color: var(--ink); text-align: right; }
.doc-split { height: 8px; margin: -4px 0 var(--s3); border-radius: 8px; background: var(--tint); overflow: hidden; }
.doc-split span { display: block; height: 100%; background: var(--lime); }
.doc-foot { display: flex; align-items: center; gap: var(--s2); padding-top: var(--s4); font-size: 13px; color: var(--subtle); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 var(--section); }
.cta-box {
  padding: var(--s8) var(--s5);
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta-box p { margin: var(--s4) auto 0; max-width: 460px; font-size: 18px; color: rgba(255,255,255,0.68); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--s7) 0 var(--s8); }
.footer-inner { display: flex; flex-direction: column; gap: var(--s3); font-size: 14px; color: var(--muted); }
.footer .brand { color: var(--ink); margin-bottom: var(--s2); }

/* ---------- motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.1em; margin: 0 -0.04em -0.1em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
.words-in .w > span { transform: none; }

/* ---------- ≥ 640 ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; --section: var(--s9); }
  .ctas { flex-direction: row; }
  .hero-visual { padding: var(--s8) var(--s7); }
  .chip-a { top: var(--s4); left: var(--s4); }
  .chip-b { right: var(--s4); }
  .numbers { grid-template-columns: repeat(4, 1fr); }
  .numbers > div { padding: var(--s6) var(--s5); }
  .num { font-size: 32px; }
  .flow, .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .card, .flow-step { padding: var(--s6); }
  .flow-num { top: var(--s6); right: var(--s6); }
  .card-lg { padding: var(--s7); }
  .cta-box { padding: var(--s9) var(--s7); }
}

/* ---------- ≥ 1024 ---------- */
@media (min-width: 1024px) {
  :root { --section: var(--s10); }
  .nav-links { display: flex; }
  .hero { padding-top: var(--s8); }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s8); }
  .hero-visual { padding: var(--s9) var(--s7); }
  .seal-hero { width: 112px; height: 112px; top: 8px; right: 8px; }
  .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--s9); align-items: start; }
  .steps { gap: 0; }
  .step {
    min-height: 72vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0; background: none; box-shadow: none;
    opacity: 0.28;
  }
  .step.active { opacity: 1; }
  .step-head .row-state { display: none; }
  .step h3 { font-size: 36px; letter-spacing: -0.04em; }
  .was, .now { font-size: 18px; max-width: 520px; }
  .sheet-col { display: block; position: sticky; top: calc(50vh - 280px); }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: var(--s9); }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer .brand { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .w > span { opacity: 1; transform: none; transition: none; }
  mark { background-size: 100% 38%; }
  .seal svg text { animation: none; }
  * { transition: none !important; }
}
