:root {
  color-scheme: light;
  --text: #17201b;
  --muted: #56635c;
  --line: #d7ded9;
  --surface: #ffffff;
  --background: #f6f8f7;
  --primary: #24745b;
  --primary-dark: #15543f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--primary-dark);
}

.site-header,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  min-height: 72px;
}

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  font-weight: 500;
}

.hero,
.section,
.article {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
}

.hero > div {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 74px);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: 30px;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

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

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

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

.button.small {
  min-height: 36px;
  padding: 8px 14px;
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

article {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

article p,
.section p,
li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.checklist {
  margin: 0;
  padding-left: 22px;
}

.source-callout {
  display: flex;
  align-items: center;
  gap: 12px;
}

.source-callout img {
  flex: 0 0 auto;
}

.article {
  max-width: 840px;
  padding: 40px 0 64px;
}

.article h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.article h2 {
  margin-top: 34px;
  font-size: 24px;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #e8eeea;
}

footer {
  min-height: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer a {
  margin-left: 16px;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 0;
    padding: 34px 0 48px;
  }

  .grid,
  .split {
    grid-template-columns: 1fr;
  }
}
