@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-soft: #555;
  --rule: #111111;
  --rule-soft: #cfcfcf;
  --accent: #0d7fe5;
  --accent-ink: #ffffff;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --measure: 880px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --shadow-press: 0 0 0 var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --ink: #e8e8e8;
    --ink-soft: #a0a0a0;
    --rule: #e8e8e8;
    --rule-soft: #3a3a3a;
    --accent: #5fb0f8;
    --accent-ink: #0a1726;
    --shadow: 4px 4px 0 var(--ink);
    --shadow-lg: 6px 6px 0 var(--ink);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

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

@media (max-width: 600px) {
  .container { padding: 0 16px; }
}

main > section.container {
  padding-top: 32px;
  padding-bottom: 32px;
}

@media (min-width: 720px) {
  main > section.container { padding-top: 40px; padding-bottom: 40px; }
}

/* ── Header ─────────────────────────────────── */

.site-header {
  border-bottom: 2px solid var(--rule);
}

.site-header-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header-inner img {
  height: 40px;
  width: auto;
}

.wordmark {
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
  line-height: 1;
}

.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.site-header nav a:hover { border-bottom-color: var(--accent); }
.site-header nav a.cta { color: var(--accent); }

.site-header nav a.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.1s, box-shadow 0.1s;
  padding-bottom: 8px;
}
.site-header nav a.btn-github:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--ink);
}
.site-header nav a.btn-github:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-press);
}
.site-header nav a.btn-github svg {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .site-header-inner { padding: 16px; gap: 16px; }
  .site-header-inner img { height: 32px; }
  .wordmark { font-size: 1.4rem; }
  .site-header nav { gap: 16px; font-size: 11px; }
}

/* ── Eyebrow labels ─────────────────────────────────── */

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

/* ── Section headings ─────────────────────────────────── */

main h2 {
  font-family: var(--sans);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.05;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--rule);
}

main h2 .accent { color: var(--accent); }

/* ── Hero ─────────────────────────────────── */

.hero {
  padding-top: 64px;
  padding-bottom: 32px;
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.hero h1 .accent { color: var(--accent); }

.hero .lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  max-width: 640px;
  margin: 0 0 32px;
  color: var(--ink);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 16px 24px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-press);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--ink);
}

.hero-meta {
  font-size: 13px;
  margin-top: 16px;
}

.hero-meta a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}
.hero-meta a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Figures ─────────────────────────────────── */

figure {
  margin: 24px auto;
  max-width: var(--measure);
  padding: 0 24px;
}

@media (max-width: 600px) {
  figure { padding: 0 16px; margin: 16px auto; }
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

figcaption {
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

.fig-num {
  display: inline;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-right: 8px;
}

/* ── Pitch sections ─────────────────────────────────── */

section.pitch p {
  margin: 0 0 16px;
  max-width: 720px;
}
section.pitch p:last-child { margin-bottom: 0; }

/* ── Where to find characters ─────────────────────────────────── */

.sources {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.sources li {
  border: 2px solid var(--ink);
  border-bottom-width: 0;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
}

.sources li:last-child { border-bottom-width: 2px; }

.sources li a {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.sources li a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.sources li span {
  color: var(--ink-soft);
  font-size: 13px;
  flex: 1;
  min-width: 200px;
}

/* ── Honest section ─────────────────────────────────── */

.honest .beta-inline {
  display: block;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.honest .beta-inline strong {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

/* ── Footer ─────────────────────────────────── */

.site-footer {
  border-top: 2px solid var(--rule);
  padding: 32px 0 24px;
  margin-top: 64px;
  font-size: 13px;
}

.site-footer-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 600px) {
  .site-footer-inner { padding: 0 16px; }
}

.footer-tagline {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0 0 8px;
}

.footer-disclosure {
  color: var(--ink-soft);
  font-size: 11px;
  margin: 0 0 24px;
}

.footer-disclosure a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  font-weight: 500;
}
.footer-disclosure a:hover { color: var(--accent); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}

.site-footer .wordmark {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.footer-meta .copy,
.footer-meta .build {
  color: var(--ink-soft);
}

.footer-meta .build {
  font-variant-numeric: tabular-nums;
}

.site-footer nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.site-footer nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.site-footer nav a:hover { border-bottom-color: var(--accent); }

/* ── Sub-page (releases / disclaimer) ─────────────────────────────────── */

.sub-page main {
  padding-top: 48px;
}

.sub-page main h1 {
  font-family: var(--sans);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--rule);
}

.last-updated {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 32px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}
.back-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Disclaimer */

.sub-page article h2 {
  font-family: var(--sans);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rule);
}

.sub-page article p {
  margin: 0 0 16px;
}
