:root {
  color-scheme: light dark;
  --background: #f6f4ee;
  --surface: #fffdf8;
  --text: #20201d;
  --muted: #66645c;
  --accent: #12664f;
  --accent-hover: #0b4e3b;
  --border: #ded9cb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(18, 102, 79, 0.12), transparent 36rem),
    var(--background);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main,
footer {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

main {
  padding-block: 5rem 3rem;
}

.hero {
  padding-bottom: 4rem;
  text-align: center;
}

.hero img {
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-top: 0;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.install {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.install:hover {
  background: var(--accent-hover);
}

.requirement {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

section {
  margin-bottom: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}

li + li {
  margin-top: 0.55rem;
}

a {
  color: var(--accent);
}

.document {
  max-width: 44rem;
}

.document h1 {
  font-size: clamp(2.2rem, 7vw, 3.8rem);
}

.document .lead {
  margin-inline: 0;
}

code {
  font-size: 0.92em;
}

footer {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding-block: 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #151816;
    --surface: #1d211e;
    --text: #f1f1eb;
    --muted: #aaa9a2;
    --accent: #79d6b6;
    --accent-hover: #97e5c9;
    --border: #383e39;
  }

  .install,
  .install:hover {
    color: #10241d;
  }
}
