:root {
  color-scheme: light dark;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #1f2a24;
  --muted: #5c675f;
  --line: #dfe4dc;
  --accent: #536d2c;
  --accent-strong: #1f4d3a;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 19px;
  font-weight: 750;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 650;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  flex: 1;
}

.hero {
  max-width: 860px;
  padding: 86px 0 58px;
}

.narrow {
  max-width: 760px;
  padding: 74px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

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

h2 {
  margin: 18px 0 10px;
  font-size: 22px;
}

p,
dd {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.lede {
  max-width: 680px;
  font-size: 21px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 0 74px;
}

article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tile-mark {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2f9e44;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 0;
}

.facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

dd {
  margin: 8px 0 0;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

@media (max-width: 760px) {
  .site-header,
  footer {
    flex-direction: column;
  }

  .hero,
  .narrow {
    padding-top: 54px;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111512;
    --surface: #171d19;
    --text: #eef4ef;
    --muted: #b8c4bc;
    --line: #2c3831;
    --accent: #b7d36b;
    --accent-strong: #8bd4c2;
  }
}
