/* Critical tokens + self-hosted fonts (sync) — main stylesheet loads async */
:root {
  --bg: #0f0f13;
  --surface: #17171f;
  --surface-2: #1e1e28;
  --surface-3: #25252f;
  --border: #2a2a38;
  --border-soft: #21212b;
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --text-dim: #7f7f9f;
  --accent: #ff4655;
  --accent-btn: #e22b3e;
  --accent-2: #ff7043;
  --accent-soft: rgba(255, 70, 85, 0.12);
  --accent-line: rgba(255, 70, 85, 0.30);
  --upvote: #4caf7d;
  --downvote: #ff4655;
  --font-display: "Space Mono", ui-monospace, monospace;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 999px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

header[data-site-header] { display: block; min-height: 80px; }

.hero__copy { opacity: 1; transform: none; }

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-400-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-700-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
