/* Rodspan static site — token values mirror frontend/src/styles/tokens.css (Direction Baseline, locked). */

:root {
  --bg: #18181b;
  --surface: #27272a;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-medium: rgba(255, 255, 255, 0.08);
  --accent: #d97706;
  --radius-md: 8px;
  --font-stack: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0 auto;
  max-width: 720px;
  padding: 40px 24px 48px;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-stack);
  font-size: 17px;
  line-height: 1.65;
}

header {
  margin-bottom: 56px;
}

.wordmark {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 0 12px;
}

article h1 {
  font-size: 26px;
}

.tagline {
  color: var(--text-secondary);
  font-size: 19px;
  margin: 0 0 40px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

article h2 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

em {
  font-style: italic;
}

.canonical {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-size: 19px;
  line-height: 1.5;
  margin: 32px 0;
}

.key-line {
  margin: 24px 0 8px;
}

.status {
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 40px 0;
}

.status h2 {
  margin: 0 0 12px;
}

.status ul {
  margin: 0;
}

.status li:last-child {
  margin-bottom: 0;
}

.effective {
  color: var(--text-tertiary);
  font-size: 15px;
  margin: 0 0 40px;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border-medium);
  color: var(--text-tertiary);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer nav,
footer p {
  margin: 0;
}

footer a {
  color: var(--text-secondary);
}

footer a:hover {
  color: var(--text-primary);
}

@media (max-width: 480px) {
  body {
    padding: 28px 16px 40px;
  }

  header {
    margin-bottom: 40px;
  }

  h1 {
    font-size: 27px;
  }

  article h1 {
    font-size: 23px;
  }
}
