/* NPV theme: technical and modern, forest and sand, system fonts, automatic dark mode. */
:root {
  --forest: #1f3d2b;
  --forest-2: #2d5a3f;
  --accent: #2e7049;
  --sand: #faf7f2;
  --sand-2: #f0eadf;
  --ink: #1a1f1c;
  --muted: #5b6660;
  --line: #e2dbcd;
  --bg: var(--sand);
  --surface: #ffffff;
  --text: var(--ink);
  --header-bg: var(--forest);
  --header-text: var(--sand);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111814;
    --surface: #18221c;
    --text: #e8e4dc;
    --muted: #a3ada6;
    --line: #2a3a30;
    --accent: #6cc28f;
    --header-bg: #0c120e;
    --header-text: #e8e4dc;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.site-header { background: var(--header-bg); color: var(--header-text); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; flex-wrap: wrap; }
.wordmark { color: var(--header-text); text-decoration: none; font-weight: 800; font-size: 1.5rem; letter-spacing: 0.06em; }
.wordmark .dot { color: #7fd3a0; }
.site-header nav a { color: var(--header-text); text-decoration: none; margin-left: 1.5rem; font-size: 0.95rem; opacity: 0.85; }
.site-header nav a:hover { opacity: 1; text-decoration: underline; }
.site-header a:focus-visible { outline-color: #7fd3a0; }

main.wrap { padding: 3rem 1.5rem 4rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.1rem); margin: 0.25rem 0 1rem; font-weight: 750; }
h2 { font-size: 1.5rem; margin-top: 3rem; }

.hero { padding: 1.5rem 0 1rem; max-width: 44rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin: 0; }
.lede { font-size: 1.15rem; color: var(--muted); }
.button {
  display: inline-block; margin-top: 0.5rem; padding: 0.7rem 1.2rem;
  background: var(--forest); color: var(--sand); text-decoration: none;
  border-radius: 6px; font-weight: 600;
}
.button:hover { background: var(--forest-2); }
@media (prefers-color-scheme: dark) { .button { background: var(--accent); color: #0c120e; } .button:hover { background: #8bd5a8; } }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 8px; padding: 1.25rem 1.25rem 0.5rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.card p { margin: 0 0 0.75rem; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.site-footer .wrap { padding-top: 1.5rem; padding-bottom: 2rem; }

@media (max-width: 34rem) {
  .cards { grid-template-columns: 1fr; }
  .site-header nav a { margin-left: 0; margin-right: 1.1rem; }
  main.wrap { padding-top: 2rem; }
}
