:root {
  --paper: #eef3f0;
  --ink: #15241f;
  --muted: #55665f;
  --bottle: #1d6b50;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #102019;
    --ink: #e6efe9;
    --muted: #9db1a7;
    --bottle: #6fcfa6;
  }
}

* {
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.5;
}

main {
  max-width: 40rem;
  padding-bottom: 12vh;
}

h1 {
  font-size: clamp(4rem, 18vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--bottle);
}

p {
  margin-top: 1.5rem;
  max-width: 28ch;
  font-size: 1.375rem;
  color: var(--muted);
}

a {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: var(--bottle);
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.3em;
}

a:hover {
  color: var(--bottle);
}

a:focus-visible {
  outline: 3px solid var(--bottle);
  outline-offset: 4px;
}

@media (min-width: 48rem) {
  body {
    padding: 4rem;
  }
}
