:root {
  --bg: #fbfaf8;
  --fg: #1d1d1f;
  --muted: #6b6b70;
  --rule: #e3e1dc;
  --accent: #2f6f4e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131315;
    --fg: #ececee;
    --muted: #9a9aa0;
    --rule: #2c2c30;
    --accent: #7fc4a0;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: clamp(2rem, 8vw, 6rem) 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 34rem;
  margin: 0 auto;
}

h1 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.tagline {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.tagline::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  margin-right: 0.65rem;
  vertical-align: 0.3em;
  background: var(--accent);
}

hr {
  margin: clamp(2rem, 6vw, 3rem) 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

section p {
  margin: 0 0 1.15rem;
  text-wrap: pretty;
}

section p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

footer {
  margin-top: clamp(3rem, 10vw, 5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}
