:root {
  color-scheme: light dark;
  --bg: #f6f1e7;
  --ink: #1d1a16;
  --muted: #5d554a;
  --accent: #b3261e;
  --rule: #d9cfbd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --ink: #f2ece1;
    --muted: #a99f90;
    --accent: #ef6b5e;
    --rule: #3a342c;
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 14vh, 9rem) 1rem 3rem;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.75rem, 11vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 0.35rem;
  margin-top: 1.25rem;
  background: var(--accent);
  border-radius: 999px;
}

.lede {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 4.5vw, 1.5rem);
  line-height: 1.4;
}

.soon {
  margin: 0;
  color: var(--muted);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

footer {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}
