:root {
  color-scheme: light dark;
  --bg: #fbfbf8;
  --text: #1f2320;
  --muted: #68706a;
  --line: #d9ddd6;
  --accent: #2f6f73;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111312;
    --text: #ededeb;
    --muted: #9aa29c;
    --line: #303633;
    --accent: #79bfc3;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

.page {
  width: min(100% - 40px, 720px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18vh 0 56px;
}

.intro {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.summary {
  max-width: 36rem;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.45;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 28px, 720px);
    padding-top: 14vh;
  }

  .links {
    margin-top: 56px;
  }
}
