
/* Overpass (OFL) is a variable font: one file covers every weight. Latin subset, self-hosted. */
@font-face {
  font-family: Overpass; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/overpass-v19-latin.woff2) format('woff2');
}
@font-face {
  font-family: "Overpass Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/overpass-mono-v21-latin.woff2) format('woff2');
}
:root {
  --paper: #e7ecf0;
  --face: #f9fbfc;
  --ink: #13212c;
  --muted: #4f5f6c;
  --rule: #b6c2cc;
  --amber: #f2a900;
  --amber-ink: #13212c;
  --focus: #1f5fbf;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1922;
    --face: #172430;
    --ink: #e4ebf0;
    --muted: #9aabb8;
    --rule: #2f4150;
    --focus: #7fb2ff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Overpass, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, input:focus-visible, .chip input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; max-width: 14ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0; }

.masthead, main, .footer { width: min(1120px, 100% - 32px); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.brandmark { width: 26px; height: 26px; display: block; }
.masthead-nav { display: flex; gap: 20px; }
.masthead-nav a, .footer-nav a { color: var(--muted); }
.masthead-nav a:hover, .footer-nav a:hover { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero: copy on the left, the meter is the one loud thing on the page. */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px; align-items: center; padding: 48px 0 88px;
}
.hero-copy { display: grid; gap: 24px; }
.lede { font-size: 1.1875rem; color: var(--muted); max-width: 38em; }

.meter { margin: 0; }
.meter-face {
  background: var(--face); border: 2px solid var(--ink); border-radius: 28px 28px 8px 8px;
  padding: 28px 28px 24px; display: grid; gap: 10px;
}
.meter-name { color: var(--muted); font-size: 0.9375rem; }
.meter-reading {
  display: flex; align-items: baseline; gap: 6px;
  font: 600 clamp(2.1rem, 5vw, 3.4rem)/1 "Overpass Mono", ui-monospace, monospace;
}
.currency { color: var(--muted); }
.odometer { display: inline-flex; }
.odo-cell {
  display: inline-block; height: 1.1em; overflow: hidden; line-height: 1.1;
  padding: 0 0.04em; border-bottom: 3px solid var(--amber);
}
.odo-cell + .odo-cell { margin-left: 0.06em; }
.odo-sep { line-height: 1.1; padding: 0 0.02em; }
.strip { display: flex; flex-direction: column; animation: roll 2.6s cubic-bezier(0.16, 0.8, 0.2, 1) both; }
.strip span { height: 1.1em; }
/* Children include the "," and "." separators, so digit positions are 1, 3, 4, 5, 7, 8. Low digits settle last. */
.odo-cell:nth-child(1) .strip { animation-duration: 2.2s; }
.odo-cell:nth-child(3) .strip { animation-duration: 2.5s; }
.odo-cell:nth-child(4) .strip { animation-duration: 2.8s; }
.odo-cell:nth-child(5) .strip { animation-duration: 3.1s; }
.odo-cell:nth-child(7) .strip { animation-duration: 3.4s; }
.odo-cell:nth-child(8) .strip { animation-duration: 3.7s; }
.d0 { transform: translateY(0); }
.d1 { transform: translateY(-1.1em); }
.d2 { transform: translateY(-2.2em); }
.d3 { transform: translateY(-3.3em); }
.d4 { transform: translateY(-4.4em); }
.d5 { transform: translateY(-5.5em); }
.d6 { transform: translateY(-6.6em); }
.d7 { transform: translateY(-7.7em); }
.d8 { transform: translateY(-8.8em); }
.d9 { transform: translateY(-9.9em); }
@keyframes roll { from { transform: translateY(0); } }
.meter-rate { font-weight: 600; }
.meter-alarm {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  background: var(--amber); color: var(--amber-ink); font-weight: 600;
  padding: 12px 18px; border-radius: 8px;
}
.alarm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber-ink); flex: none; }

/* Forms */
.waitlist { display: grid; gap: 14px; max-width: 560px; }
.field-label { font-weight: 600; }
.waitlist-row { display: flex; gap: 8px; }
.waitlist input[type=email] {
  flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--face);
  border: 2px solid var(--ink); border-radius: 8px; padding: 12px 14px;
}
.button-primary {
  font: 600 1rem/1 Overpass, "Helvetica Neue", Arial, sans-serif; color: var(--amber-ink);
  background: var(--amber); border: 2px solid var(--ink); border-radius: 8px;
  padding: 14px 18px; cursor: pointer; white-space: nowrap;
}
.button-primary:hover { filter: brightness(1.06); }
.platforms { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms legend { color: var(--muted); font-size: 0.9375rem; padding: 0; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; border: 1px solid var(--rule); border-radius: 999px;
  padding: 5px 12px; font-size: 0.9375rem; color: var(--muted);
}
.chip input:checked + span { border-color: var(--ink); color: var(--ink); background: var(--face); font-weight: 600; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sections */
.section { padding: 72px 0; border-top: 2px solid var(--ink); display: grid; gap: 24px; }
.section-lede { color: var(--muted); max-width: 40em; }
.footnote { color: var(--muted); font-size: 0.875rem; }

.ledger, .plans { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td, .plans th, .plans td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger thead th, .plans thead th { color: var(--muted); font-weight: 600; font-size: 0.9375rem; border-bottom: 2px solid var(--ink); }
.ledger .num { text-align: right; padding-right: 0; }
.ledger td.num { font: 600 1.125rem/1.6 "Overpass Mono", ui-monospace, monospace; }
.table-scroll { overflow-x: auto; }
.plans { min-width: 640px; }
.plans tbody th { font-weight: 600; width: 20%; }
.plans thead th:not(:first-child) { color: var(--ink); font-size: 1.125rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 40px;
  background: var(--ink); color: var(--paper); font-weight: 800;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.steps p, .roadmap p { color: var(--muted); }

.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.roadmap > div { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 1px solid var(--rule); }
.roadmap > div:first-child { border-top: 4px solid var(--amber); }

.founding {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--face); border: 2px solid var(--ink); border-radius: 8px; padding: 24px;
}
.founding > div { display: grid; gap: 6px; max-width: 40em; }
.founding p { color: var(--muted); }
.founding form { margin: 0; }
.founding-soon { font-weight: 600; color: var(--ink); max-width: 18em; }

.faq { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 40px; }
.faq dt { font-weight: 600; }
.faq dd { margin: 0; color: var(--muted); }

.message { padding: 96px 0 120px; display: grid; gap: 16px; max-width: 40em; }
.message h1 { max-width: none; font-size: clamp(2rem, 4vw, 2.75rem); }

.footer { border-top: 2px solid var(--ink); padding: 28px 0 48px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 0.9375rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Articles and indexes */
.article-page { padding: 32px 0 96px; display: grid; gap: 28px; max-width: 46rem; }
.article-page > h1 { font-size: clamp(2rem, 4vw, 2.75rem); max-width: none; }
.breadcrumbs { color: var(--muted); font-size: 0.9375rem; }
.article { display: grid; gap: 32px; }
.article-header { display: grid; gap: 14px; }
.article-header h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); max-width: none; }
.article-meta { color: var(--muted); font-size: 0.9375rem; }
.facts { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--ink); border-radius: 8px; background: var(--face); }
.facts > div { padding: 12px 18px; border-right: 1px solid var(--rule); flex: 1 1 8rem; }
.facts > div:last-child { border-right: 0; }
.facts dt { color: var(--muted); font-size: 0.8125rem; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.facts-amount { font-family: "Overpass Mono", ui-monospace, monospace; }
.prose { display: grid; gap: 18px; font-size: 1.0625rem; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose h3 { margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; }
.prose code { font-family: "Overpass Mono", ui-monospace, monospace; font-size: 0.9em; background: var(--face); border: 1px solid var(--rule); border-radius: 4px; padding: 0 4px; }
.prose pre { margin: 0; background: var(--face); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; overflow-x: auto; }
.prose pre code { border: 0; padding: 0; background: none; }
.prose blockquote { margin: 0; padding-left: 16px; border-left: 4px solid var(--amber); color: var(--muted); }
.sources { border-top: 1px solid var(--rule); padding-top: 20px; display: grid; gap: 10px; }
.sources h2 { font-size: 1.125rem; }
.sources ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; }
.cta { background: var(--face); border: 2px solid var(--ink); border-radius: 8px; padding: 24px; display: grid; gap: 10px; }
.cta h2 { font-size: 1.375rem; }
.cta p { color: var(--muted); }
.cta .button-primary { display: inline-block; text-decoration: none; }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.guide-list p { color: var(--muted); margin-top: 4px; }
.back-link { color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 64px; }
  .steps, .roadmap { grid-template-columns: 1fr; gap: 24px; }
  .faq { grid-template-columns: 1fr; gap: 6px; }
  .faq dd { margin-bottom: 16px; }
  .founding { flex-direction: column; align-items: flex-start; }
  .footer { flex-direction: column; }
}
@media (max-width: 480px) {
  .masthead-nav { gap: 14px; font-size: 0.9375rem; }
  .waitlist-row { flex-direction: column; }
  .ledger th:first-child, .ledger td:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .strip { animation: none; }
}
