:root {
  color-scheme: light;
  --background: #f7f5ef;
  --surface: #ffffff;
  --text: #1d2428;
  --muted: #58646b;
  --border: #d9d3c6;
  --accent: #176b5f;
  --accent-strong: #0f4f47;
}

* { box-sizing: border-box; }

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

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav,
.content,
.footer-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.content { padding: 52px 0 64px; }

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

h1 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.35rem;
  margin: 36px 0 10px;
}

p, li { font-size: 1rem; }

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

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 28px 0;
  padding: 22px;
}

.panel h2:first-child { margin-top: 0; }

.link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 28px;
}

.link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 18px;
  text-decoration: none;
}

.link-card strong {
  display: block;
  margin-bottom: 6px;
}

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

.site-footer { border-top: 1px solid var(--border); }

.footer-inner {
  color: var(--muted);
  padding: 24px 0;
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .content { padding-top: 36px; }
}
