:root {
  color-scheme: dark;
  --bg: #0c0f14;
  --bg-elev: #141a22;
  --bg-card: #171e28;
  --border: #2a3444;
  --text: #e8edf5;
  --muted: #9aa8bc;
  --accent: #d4a017;
  --accent-dim: #a67c0f;
  --link: #7eb6ff;
  --danger: #e07a6a;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, #1a2433 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #1e1608 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.75rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38em;
}

.context {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.context h2,
.news h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.context p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.updated {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--mono);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.status.error {
  color: var(--danger);
  border-style: solid;
}

.card {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--accent-dim);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card .summary {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  font-size: 0.85rem;
}

.card .source {
  color: var(--muted);
}

.card .source a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.card .source a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card .date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p {
  margin: 0 0 0.75rem;
}

.footer .disclaimer {
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer .meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .page {
    padding: 1.75rem 1rem 3rem;
  }
}
