:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #17191c;
  --muted: #5e6570;
  --border: #dfe3e8;
  --accent: #2e5f9e;
  --accent-soft: #eaf1fa;
  --max: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111316;
    --surface: #181b20;
    --text: #f1f3f5;
    --muted: #aeb5bf;
    --border: #30353d;
    --accent: #8db8ed;
    --accent-soft: #1d2a3a;
  }
}
* { box-sizing: border-box; }
html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}
body { margin: 0; }
main, header, footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
header { padding: 4.5rem 0 2rem; }
main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.4rem, 4vw, 2.75rem);
  box-shadow: 0 8px 32px rgba(0,0,0,.04);
}
footer {
  padding: 2rem 0 4rem;
  color: var(--muted);
  font-size: .9rem;
}
h1, h2 { line-height: 1.2; }
h1 {
  margin: 0 0 .4rem;
  font-size: clamp(2rem, 7vw, 3.1rem);
  letter-spacing: -.035em;
}
h2 { margin-top: 2.1rem; font-size: 1.18rem; }
p, ul { margin: .8rem 0; }
ul { padding-left: 1.35rem; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.subtitle, .updated { color: var(--muted); }
.updated { font-size: .92rem; margin-top: .5rem; }
.notice {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.card {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}
.card:hover { border-color: var(--accent); }
.card strong { display: block; margin-bottom: .25rem; }
.card span { color: var(--muted); font-size: .95rem; }
nav { margin-bottom: 1.25rem; font-size: .92rem; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}
