:root {
  color-scheme: light;
  --background: #f9faf7;
  --surface: #fff;
  --text: #18261f;
  --muted: #415349;
  --accent: #176241;
  --border: #d9e3da;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

body {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 4rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

a { color: var(--accent); text-underline-offset: 0.16em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wordmark { color: var(--text); font-weight: 750; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
nav a { font-size: 0.95rem; }

main { padding-top: clamp(2rem, 7vw, 4rem); }
h1, h2 { line-height: 1.13; }
h1 { margin: 0 0 1.1rem; letter-spacing: -0.045em; font-size: clamp(2.15rem, 6vw, 4.2rem); }
h2 { margin: 0 0 0.65rem; font-size: 1.2rem; }
p { margin: 0 0 1.15rem; color: var(--muted); }
.home h1 { max-width: 14ch; }
.intro { max-width: 37rem; font-size: clamp(1rem, 2.5vw, 1.22rem); }

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 54rem;
  margin: 2rem 0;
}

.features section {
  background: var(--surface);
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.features p { margin: 0; }
.setup { max-width: 37rem; }
.document { max-width: 43rem; }
.document h2 { margin-top: 1.85rem; }
.updated { font-size: 0.9rem; }

@media (max-width: 40rem) {
  .features { grid-template-columns: 1fr; }
}
