:root {
  color-scheme: light dark;
  --paper: #f6f3ed;
  --ink: #1b2430;
  --muted: #66707c;
  --accent: #2f5d62;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 15%, rgba(47, 93, 98, .12), transparent 28rem),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

main {
  width: min(760px, calc(100% - 48px));
  margin: auto;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font: 600 .78rem/1.4 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.055em;
}

h1 span { color: var(--accent); }

.intro {
  max-width: 560px;
  margin: 32px 0;
  color: var(--muted);
  font: 400 clamp(1.05rem, 2.5vw, 1.25rem)/1.65 ui-sans-serif, system-ui, sans-serif;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 600 .88rem/1 ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  transition: .2s ease;
}

.button:hover {
  color: var(--paper);
  background: var(--accent);
}

footer {
  padding: 24px;
  color: var(--muted);
  font: 400 .78rem/1.4 ui-sans-serif, system-ui, sans-serif;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131819;
    --ink: #edf0eb;
    --muted: #abb4b3;
    --accent: #89b6ae;
  }
}
