:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --panel: #ffffff;
  --ink: #151713;
  --muted: #5e655d;
  --line: #dfe4dc;
  --accent: #1f6f5b;
  --accent-dark: #154c3e;
  --accent-soft: #dcebe5;
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  align-items: center;
  background: rgba(246, 247, 244, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 56px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.92rem;
  height: 34px;
  justify-content: center;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

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

main {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 clamp(18px, 5vw, 56px) 56px;
}

.hero {
  align-items: flex-end;
  display: grid;
  min-height: 440px;
  padding: 80px 0 44px;
}

.hero-copy {
  max-width: 760px;
}

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

h1,
h2 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 5rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

p {
  color: var(--muted);
  font-size: 1rem;
  margin: 14px 0 0;
}

.hero p:not(.eyebrow) {
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  max-width: 720px;
}

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

.content-grid article,
.policy-callout,
.legal-page section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-grid article {
  padding: 24px;
}

.content-grid h2 {
  font-size: 1.18rem;
}

.policy-callout {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 28px;
}

.button-link {
  background: var(--accent);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-width: 210px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
}

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

.legal-page {
  max-width: 900px;
  padding-top: 62px;
}

.legal-page > p {
  font-size: 1.08rem;
}

.legal-page section {
  margin-top: 18px;
  padding: 24px;
}

.legal-page h2 {
  font-size: 1.22rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  padding: 24px clamp(18px, 5vw, 56px);
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

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

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

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 360px;
    padding-top: 56px;
  }

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

  .policy-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-link {
    min-width: 0;
    width: 100%;
  }
}
