:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #c8102e;
  --border: #e4e4e4;
  --surface: #f6f6f6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #f0f0f0;
    --muted: #a8a8a8;
    --accent: #ff4d5e;
    --border: #2c2c2c;
    --surface: #1c1c1c;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: var(--accent);
  color: #fff;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.hero {
  padding: 48px 0 24px;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

.feed h2 {
  font-size: 1.25rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 24px;
  color: var(--muted);
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.875rem;
}
