:root {
  --bg: #fff;
  --fg: #000;
  --muted: rgba(0, 0, 0, .55);
  --pad-x: clamp(24px, 5.5vw, 80px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --fg: #fff;
    --muted: rgba(255, 255, 255, .6);
  }
}

* { box-sizing: border-box; margin: 0; }

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding: clamp(32px, 5vw, 72px) var(--pad-x) clamp(32px, 4vw, 56px);
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: clamp(19px, 1.2vw + 14.3px, 26px);
  line-height: 1.45;
  letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { max-width: 760px; }

h1 {
  font-size: inherit;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.1em;
}

p + p { margin-top: 1.1em; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
a:hover { color: var(--muted); }
a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-size: 15px;
  letter-spacing: 0;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(20px, 2vw, 28px);
  padding: 0;
  list-style: none;
}
footer span { color: var(--muted); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: color .15s ease; }
}
