:root {
  color-scheme: light dark;
  --bg: #fbfbfa;
  --text: #171717;
  --muted: #666;
  --line: #deded8;
  --link: #1c4f8a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --text: #ececea;
    --muted: #aaa;
    --line: #333;
    --link: #8dbcf2;
  }
}

* { box-sizing: border-box; }

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
}

main {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 15vh 0 56px;
}

header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.intro {
  max-width: 650px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.55;
}

section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 .75rem;
  font-size: 1rem;
}

p {
  margin: 0;
  line-height: 1.65;
}

footer {
  display: flex;
  gap: .65rem;
  align-items: center;
  padding-top: 2rem;
  color: var(--muted);
  font-size: .92rem;
}

a {
  color: var(--link);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  text-decoration-thickness: .12em;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 32px, 720px);
    padding-top: 11vh;
  }
}
