/* Parity Finance. Design tokens.
   Brand is fixed by the approved avatar/banner: one saturated hot magenta, black line art.
   Corporate register comes from the SECTION RHYTHM, not from softening the brand:
   ink token bar, white sticky header, full-bleed magenta hero, paper and mist article
   sections, ink calculator slab, magenta closing band, ink footer.
   Pattern reference: ui-ux-pro-max "Real-Time / Operations Landing" (hero with live
   status, spec row, how it works, CTA). Its style/palette recommendation was overridden:
   the brand identity is locked.
   Type:  Sora 600/700/800  headlines and the wordmark (geometric, heavy, real presence)
          Inter 400/500/600/700  body and UI
          IBM Plex Mono 500/600/700  every number, ticker, CA, gauge, table figures
   Spacing scale: 4 8 12 16 24 32 48 64 96 px.  Radius: 4px chrome, 6px cards, 999px pills.
   Motion: one idiom, a 220ms cubic-bezier settle used by the needle and by every hover. */

:root {
  --magenta: #FA1DA6;
  --magenta-deep: #C4127F;
  --magenta-soft: #FFE3F4;
  --ink: #0B0B0F;
  --ink-soft: #1A1A22;
  --paper: #FFFFFF;
  --mist: #F4F4F7;
  --line: #E2E2E8;
  --line-strong: #0B0B0F;
  --body: #33333D;
  --body-mute: #6A6A78;
  --green: #0E9F5C;
  --amber: #E9A400;
  --red: #E0261B;

  --r-chrome: 4px;
  --r-card: 6px;
  --max-width: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-display: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.022em;
  line-height: 1.08;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

/* ---------- token bar ---------- */

.token-bar {
  background: var(--ink);
  color: var(--paper);
}

.token-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.token-ticker {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--magenta);
}

.token-ca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-chrome);
  padding: 6px 12px;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--font-mono);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.token-ca:hover {
  border-color: var(--magenta);
  background: rgba(250, 29, 166, 0.14);
}

.token-ca-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.token-ca-value {
  font-size: 12.5px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-ca-copied {
  display: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--magenta);
}

.token-ca.is-copied .token-ca-value { display: none; }
.token-ca.is-copied .token-ca-copied { display: inline; }

.chain-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
}

.clock {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.token-buy {
  margin-left: auto;
  background: var(--magenta);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: var(--r-chrome);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}

.token-buy:hover {
  background: #FF57C2;
  transform: translateY(-1px);
}

.token-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--r-chrome);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--paper);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.token-x:hover { border-color: var(--magenta); color: var(--magenta); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 34px; height: 34px;
  border-radius: var(--r-chrome);
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--magenta);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: var(--r-chrome);
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
  white-space: nowrap;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
}

.btn-dark:hover {
  background: var(--ink-soft);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--magenta);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 12px 22px;
}

.btn-ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-small { padding: 9px 16px; font-size: 13.5px; }
.btn-large { padding: 15px 26px; font-size: 16px; }

/* ---------- hero ---------- */

.hero {
  background: var(--magenta);
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 64px;
}

.hero-copy { flex: 1 1 auto; max-width: 660px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.tagline {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  max-width: 600px;
  margin-bottom: 18px;
  line-height: 1.42;
}

.hero-description {
  font-size: 16.5px;
  color: rgba(11, 11, 15, 0.82);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art {
  flex: 0 0 360px;
  margin: 0;
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid var(--ink);
  border-radius: var(--r-card);
}

.hero-art figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(11, 11, 15, 0.7);
  margin-top: 12px;
}

.spec-strip {
  list-style: none;
  margin: 0;
  padding: 0 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(11, 11, 15, 0.22);
  border: 1px solid rgba(11, 11, 15, 0.22);
  border-radius: var(--r-card);
  overflow: hidden;
  padding: 0;
  margin-bottom: 64px;
}

.spec-strip li {
  background: var(--magenta);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11, 11, 15, 0.6);
}

.spec-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.spec-note {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(11, 11, 15, 0.76);
}

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-paper { background: var(--paper); }
.section-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); }

.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-deep);
  margin-bottom: 20px;
}

.kicker-light { color: var(--magenta); }

.section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  max-width: 800px;
  margin-bottom: 20px;
}

.on-ink { color: var(--paper); }
.on-ink-muted { color: rgba(255, 255, 255, 0.72); }

.section-lead {
  font-size: 17.5px;
  max-width: 760px;
  margin-bottom: 48px;
  color: var(--body);
}

.lead { font-size: 17.5px; color: var(--body); }

/* ---------- problem split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.split-main p { max-width: 68ch; }

.split-main p + p { margin-top: 18px; }

.split-aside {
  margin: 0;
  position: sticky;
  top: 132px;
}

.split-aside img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
}

.split-aside figcaption {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body-mute);
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--magenta);
}

.glossary {
  margin: 28px 0 0;
  padding: 22px 22px 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.glossary dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-deep);
}

.glossary dd {
  margin: 4px 0 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
}

.glossary dd:last-child { margin-bottom: 0; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-card);
  padding: 28px 26px;
  transition: border-top-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.step:hover {
  border-top-color: var(--magenta);
  transform: translateY(-2px);
}

.step-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--magenta-deep);
  margin-bottom: 12px;
}

.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--body); }

/* ---------- diagram ---------- */

.diagram-figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px;
}

.diagram-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.diagram { width: 100%; height: auto; display: block; }

.dg-axis { stroke: var(--ink); stroke-width: 1.5; }
.dg-close { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: 0.55; }
.dg-ref { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.dg-ref-held { stroke-dasharray: 7 6; }
.dg-pool { fill: none; stroke: var(--magenta); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.dg-gap { fill: var(--magenta); opacity: 0.18; }
.dg-dot { fill: var(--magenta); }
.dg-dot-ref { fill: var(--ink); }

.dg-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  fill: var(--magenta-deep);
  text-anchor: end;
}

.dg-label-ref { fill: var(--ink); }

.dg-tag, .dg-axis-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: var(--body-mute);
}

.dg-axis-end { text-anchor: end; }

.diagram-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body-mute);
  margin-top: 20px;
  max-width: 76ch;
}

/* ---------- calculator ---------- */

.section-ink .section-lead { color: rgba(255, 255, 255, 0.72); }

.calc-card {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 40px;
  box-shadow: 0 0 0 1px rgba(250, 29, 166, 0.35), 0 24px 48px rgba(0, 0, 0, 0.45);
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.calc-field { display: block; }

.calc-field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--body-mute);
  margin-bottom: 10px;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--r-chrome);
  background: var(--paper);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.calc-input-wrap:focus-within {
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(250, 29, 166, 0.2);
}

.calc-prefix {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--body-mute);
  padding: 0 4px 0 14px;
}

.calc-field input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  padding: 13px 14px 13px 6px;
  border: 0;
  background: transparent;
}

.calc-field input:focus { outline: none; }

.calc-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 8px 0 28px;
}

.gauge-wrap { width: 290px; }
.gauge { width: 100%; height: auto; display: block; }

.band { fill: none; stroke-width: 15; stroke-linecap: butt; }
.band-green { stroke: var(--green); }
.band-amber { stroke: var(--amber); }
.band-red { stroke: var(--red); }

.needle { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.pivot { fill: var(--ink); }

#needle-group { transition: transform 0.22s var(--ease); }

.gauge-cap {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  fill: var(--body-mute);
}
.gauge-cap-mid { text-anchor: middle; }
.gauge-cap-end { text-anchor: end; }

.gauge-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--body-mute);
  margin-top: 6px;
}

.deviation-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.deviation-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--body-mute);
}

.deviation-value {
  font-family: var(--font-mono);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.deviation-status {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-top: 10px;
  border: 2px solid var(--ink);
}

.deviation-status.status-parity { background: var(--green); color: var(--paper); border-color: var(--green); }
.deviation-status.status-drifting { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.deviation-status.status-diverged { background: var(--red); color: var(--paper); border-color: var(--red); }
.deviation-status.status-invalid { background: var(--paper); color: var(--body-mute); border-color: var(--line); }

.deviation-detail {
  display: flex;
  gap: 28px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.deviation-detail div { text-align: center; }

.deviation-detail dt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-mute);
  margin-bottom: 4px;
}

.deviation-detail dd {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.calc-verdict {
  text-align: center;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--magenta-soft);
  border-radius: var(--r-chrome);
  padding: 14px 20px;
  margin-bottom: 20px;
}

.calc-formula {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.calc-note {
  text-align: center;
  font-size: 13px;
  color: var(--body-mute);
  max-width: 62ch;
  margin: 0 auto;
}

/* ---------- pairs table ---------- */

.pairs-block { margin-top: 72px; }

.pairs-block h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pairs-lead { font-size: 16px; max-width: 700px; margin-bottom: 28px; }

/* position:relative so the sr-only caption/labels inside are clipped by this
   scroll container instead of escaping it and widening the whole document. */
.table-scroll {
  overflow-x: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.pairs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  color: var(--paper);
}

.pairs-table th, .pairs-table td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.pairs-table thead th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 0;
}

.pairs-table tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
}

.pairs-table .num {
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.88);
}

.pairs-table tbody tr { transition: background 0.22s var(--ease); }
.pairs-table tbody tr:hover { background: rgba(250, 29, 166, 0.1); }

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}

.pill-green { background: rgba(14, 159, 92, 0.2); color: #4FE6A3; }
.pill-amber { background: rgba(233, 164, 0, 0.2); color: #FFCB4D; }
.pill-red { background: rgba(224, 38, 27, 0.22); color: #FF7A70; }

.act { text-align: right; }

.load-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-chrome);
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.load-btn:hover, .load-btn.is-active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--ink);
}

.pairs-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
  max-width: 80ch;
}

/* ---------- methodology ---------- */

.method-list {
  list-style: none;
  counter-reset: method;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.method-list li {
  counter-increment: method;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0 32px;
  align-content: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.method-list li::before {
  content: counter(method, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--magenta);
  line-height: 1;
}

/* The numeral occupies column 1; the heading and the body both sit in column 2,
   otherwise the paragraph wraps onto a second row inside the 88px numeral column. */
.method-list h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}

.method-list p {
  grid-column: 2;
  grid-row: 2;
  font-size: 15.5px;
  max-width: 74ch;
}

.method-list li::before { grid-column: 1; grid-row: 1 / span 2; }

/* ---------- faq ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--magenta);
  border-radius: var(--r-card);
  padding: 28px 28px;
}

.faq-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { font-size: 15px; }

/* ---------- cta band ---------- */

.cta-band {
  background: var(--magenta);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(26px, 3vw, 38px); max-width: 560px; }

.cta-band p {
  font-size: 16.5px;
  color: rgba(11, 11, 15, 0.82);
  max-width: 540px;
}

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding: 56px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-mark {
  width: 40px; height: 40px;
  border-radius: var(--r-chrome);
  display: block;
}

.footer-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.footer-chain {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.22s var(--ease);
}

.footer-nav a:hover { color: var(--magenta); }

.footer-social { display: flex; gap: 10px; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-chrome);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--paper);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.social-icon:hover { background: var(--magenta); border-color: var(--magenta); color: var(--ink); }

.footer-legal {
  width: 100%;
  order: 4;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
  margin: 12px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copy {
  width: 100%;
  order: 5;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 13.5px; }
  .hero-inner { gap: 40px; }
  .hero-art { flex: 0 0 280px; }
  .split { gap: 40px; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .section { padding: 72px 0; }

  .hero-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .hero-art { flex: 0 0 auto; width: 100%; max-width: 440px; }
  .hero-copy { max-width: none; }

  .split { grid-template-columns: 1fr; }
  .split-aside { position: static; max-width: 520px; }

  .steps { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-readout { flex-direction: column; gap: 32px; }
  .calc-card { padding: 28px 22px; }

  .method-list li { grid-template-columns: 1fr; gap: 10px; }
  .method-list li::before { font-size: 22px; grid-column: 1; grid-row: 1; }
  .method-list h3 { grid-column: 1; grid-row: 2; }
  .method-list p { grid-column: 1; grid-row: 3; }

  .token-buy { margin-left: 0; order: 6; }
  .clock { order: 5; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .spec-strip { grid-template-columns: 1fr; }
  .deviation-value { font-size: 44px; }
  .gauge-wrap { width: 100%; max-width: 280px; }
  .deviation-detail { gap: 18px; }
  .diagram-figure { padding: 20px 16px; }
  .token-ca-value { max-width: 170px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
