:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #1f2a32;
  --muted: #5b6872;
  --line: #d9ddd8;
  --accent: #186b5d;
  --accent-dark: #0f4f45;
  --accent-soft: #e4f1ed;
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--accent-dark);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.hero {
  padding: 64px 0 52px;
  border-top: 1px solid var(--line);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

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

.lead.compact {
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--accent-dark);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent-dark);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

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

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

.card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card p,
.note p,
.links-panel p,
.page p,
.page li {
  color: var(--muted);
}

.note,
.links-panel {
  max-width: 820px;
}

.page {
  max-width: 840px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

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

.page section:first-of-type {
  margin-top: 24px;
}

.updated {
  color: var(--muted);
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

.site-footer {
  max-width: 1120px;
  margin: 56px auto 0;
  padding: 28px 24px 36px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

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

  .hero {
    padding-top: 44px;
  }
}
