:root {
  color-scheme: light dark;
  --bg: #f7f2e8;
  --text: #192229;
  --muted: #53606a;
  --line: #d8cec0;
  --panel: #fffaf1;
  --accent: #0d6f7a;
  --accent-strong: #084d58;
}

* {
  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;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

.page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.topnav {
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 36px 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.15rem;
}

.updated {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--panel);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.content {
  padding-top: 34px;
}

.content > p,
.content li {
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10171b;
    --text: #edf4f5;
    --muted: #adbac1;
    --line: #2f3b41;
    --panel: #172125;
    --accent: #66d4d8;
    --accent-strong: #97eeee;
  }
}
