:root {
  color-scheme: light dark;
  --ink: #18201b;
  --muted: #5f6b62;
  --line: #dbe3dc;
  --surface: #f8faf7;
  --brand: #136f4a;
  --accent: #e7b94f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

header,
main,
footer {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  padding: 32px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  font-size: 22px;
  color: var(--brand);
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

main {
  padding: 56px 0;
}

.hero {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 44px 0 12px;
  font-size: 24px;
}

p,
li {
  font-size: 17px;
}

.lede {
  font-size: 21px;
  color: var(--muted);
  max-width: 680px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.notice {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #fffaf0;
}

section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 32px;
}

footer {
  padding: 24px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef5ef;
    --muted: #b8c4bb;
    --line: #34443a;
    --surface: #101612;
    --brand: #75d19e;
    --accent: #e7b94f;
  }

  .notice {
    background: #1e2118;
  }
}

@media (min-width: 760px) {
  h1 {
    font-size: 72px;
  }
}
