*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0A0A0A;
  --surface: #141414;
  --accent:  #E34E1A;
  --fg:      #F5F5F5;
  --fg-dim:  #8A8A8A;
  --line:    rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

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

header {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.back:hover { color: var(--fg); }

/* ── Main content ───────────────────── */

main {
  flex: 1;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--fg);
  margin-bottom: 8px;
}

.meta {
  font-size: 13px;
  color: var(--fg-dim);
  margin-bottom: 36px;
}

h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-top: 36px;
  margin-bottom: 10px;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 12px;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 32px 0 24px;
  margin-top: 64px;
  font-size: 12px;
  color: var(--fg-dim);
  border-top: 1px solid var(--line);
}

.dot { opacity: 0.4; }
