:root {
  color-scheme: light;
  --background: #f7f5ef;
  --surface: #fffdf8;
  --text: #20231f;
  --muted: #62685f;
  --accent: #185c4a;
  --accent-dark: #104437;
  --border: #d9ddd4;
  --focus: #ef9f29;
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header,
.site-footer {
  padding-inline: max(1.25rem, env(safe-area-inset-left));
}

.header-inner,
.footer-inner,
.page {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

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

.brand {
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand span {
  color: var(--muted);
  font-weight: 500;
}

.site-nav ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.35em;
}

.page {
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
}

.policy h1 {
  max-width: none;
  font-size: clamp(2.35rem, 6vw, 3.6rem);
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

p,
ul {
  margin-top: 0;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

code {
  overflow-wrap: anywhere;
}

.lead {
  max-width: 68ch;
  color: #373c36;
  font-size: clamp(1.12rem, 2.5vw, 1.28rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.72rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 0.35rem;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

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

.text-link {
  font-weight: 700;
}

.section {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: var(--border);
}

.feature {
  padding: 1.35rem;
  background: var(--surface);
}

.feature p {
  color: var(--muted);
}

.callout {
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: #ecf3ef;
}

.policy-meta {
  margin-bottom: 2.5rem;
  color: var(--muted);
}

.policy section + section {
  margin-top: 2.6rem;
}

.policy ul {
  padding-left: 1.35rem;
}

.policy li + li {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding-block: 2rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 1rem 0 0;
}

@media (max-width: 620px) {
  .header-inner {
    display: block;
    padding-block: 1rem;
  }

  .site-nav {
    margin-top: 0.7rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
