:root {
  color-scheme: light;
  --background: #f5f7f8;
  --surface: #ffffff;
  --text: #18221f;
  --muted: #586762;
  --border: #dce4e1;
  --accent: #116149;
  --accent-dark: #0b4936;
  --notice: #ecf7f2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 0%, rgba(17, 97, 73, 0.09), transparent 28rem),
    var(--background);
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 3px solid rgba(17, 97, 73, 0.3);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.container {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(220, 228, 225, 0.9);
  background: rgba(255, 255, 255, 0.85);
}

.header-inner {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 45rem;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 4rem);
}

h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}

.lead {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.25rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.card {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 1rem 3rem rgba(24, 34, 31, 0.05);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.button {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  color: white;
  background: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  color: white;
  background: var(--accent-dark);
}

.document {
  padding-block: clamp(3rem, 8vw, 6rem);
}

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

.metadata {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  margin: 2rem 0 2.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid #c7e8db;
  border-radius: 0.75rem;
  background: var(--notice);
  color: #164c3c;
  font-weight: 650;
}

.document section {
  padding-block: 1.6rem;
  border-top: 1px solid var(--border);
}

.document section:first-of-type {
  border-top: 0;
}

.document p,
.document ul {
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.document li + li {
  margin-top: 0.45rem;
}

.site-footer {
  padding-block: 1.8rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

@media (max-width: 38rem) {
  .header-inner {
    min-height: 4.75rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
  }

  nav {
    gap: 0.85rem;
  }

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

  .card {
    min-height: 13rem;
  }
}
