:root {
  color-scheme: light dark;
  --bg: #f6f7f4;
  --text: #17201c;
  --muted: #5c6761;
  --panel: #ffffff;
  --line: #dce2dd;
  --accent: #26705c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121715;
    --text: #edf2ef;
    --muted: #b6c1ba;
    --panel: #1b2320;
    --line: #2e3a35;
    --accent: #78d0b1;
  }
}

* {
  box-sizing: border-box;
}

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

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

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

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

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

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

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

.links a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.hero,
.content {
  padding: 48px 0 34px;
}

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

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

h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.lead {
  font-size: 1.18rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

article {
  min-height: 150px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

article p {
  margin-top: 0;
}

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

  .grid {
    grid-template-columns: 1fr;
  }
}
