:root {
  color-scheme: light dark;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #17201d;
  --muted: #60706a;
  --line: #d9e1de;
  --accent: #0a8f6a;
  --accent-strong: #057654;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

nav { display: flex; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--text); font-weight: 650; }

.page-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 84px 0 96px;
}

.intro { padding-bottom: 58px; }
.intro.compact { padding-bottom: 34px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.16; letter-spacing: 0; }
h1 { margin: 0 0 20px; font-size: clamp(42px, 7vw, 68px); }
h2 { margin: 0 0 16px; font-size: 25px; }
p { margin: 0 0 20px; }

.content-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.content-section h2:not(:first-child) { margin-top: 42px; }
ul { padding-left: 22px; }
li + li { margin-top: 10px; }

.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.primary-action { background: var(--accent); color: #ffffff; }
.secondary-action { color: var(--accent-strong); }

footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111714;
    --surface: #18201d;
    --text: #eff5f2;
    --muted: #a8b7b1;
    --line: #2d3934;
    --accent: #35c99a;
    --accent-strong: #69ddb8;
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { align-items: flex-start; padding: 18px 0; }
  nav { gap: 14px; }
  .page-shell { padding: 56px 0 72px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}
