:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #5c6962;
  --paper: #f6f7f2;
  --card: #ffffff;
  --line: #d9ded8;
  --forest: #173f31;
  --forest-2: #245a45;
  --sage: #dce9df;
  --mint: #eff6f0;
  --gold: #c28c3c;
  --shadow: 0 18px 50px rgba(23, 63, 49, 0.08);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(220, 233, 223, 0.8), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--forest-2); text-underline-offset: 0.2em; }
a:hover { color: var(--forest); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(194, 140, 60, 0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 1.5rem 1.4rem;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 2.7rem;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 2.7rem;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.95rem; }
.brand small { color: var(--muted); font-size: 0.76rem; letter-spacing: 0.04em; }

.site-header nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-header nav a, .site-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

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

main { margin: 0 auto; max-width: var(--max); padding: 1rem 1.4rem 5rem; }

.hero {
  background: var(--forest);
  border-radius: 32px;
  box-shadow: var(--shadow);
  color: white;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 7vw, 6rem);
  position: relative;
}

.hero::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  height: 26rem;
  position: absolute;
  right: -9rem;
  top: -12rem;
  width: 26rem;
}

.eyebrow, .kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { color: #cce4d3; margin-bottom: 1.2rem; }
.kicker { color: var(--forest-2); margin: 0 0 0.55rem; }

h1, h2, h3 { line-height: 1.12; margin-top: 0; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 7vw, 5.4rem); letter-spacing: -0.045em; margin-bottom: 1.5rem; max-width: 15ch; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }

.lede { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 66ch; }
.hero .lede { color: #e1ede4; }

.status-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2rem; }
.status-row span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f3f8f4;
  font-size: 0.82rem;
  padding: 0.45rem 0.8rem;
}

.section { border-top: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 1.5fr); padding: 5rem 0; }
.section:first-of-type { border-top: 0; }
.section-heading h2 { margin-bottom: 0; }
.measure { max-width: 68ch; }
.prose p:first-child { margin-top: 0; }
.prose p { color: var(--muted); }

.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 13rem;
  padding: 1.5rem;
}
.card-index { color: var(--gold); display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; margin-bottom: 2rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.accent-card { background: var(--mint); border-color: #c9dbce; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: 9rem 1fr; padding: 1.25rem 0; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { color: var(--muted); }

.notice {
  align-items: center;
  background: var(--sage);
  border-radius: 28px;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 1rem 0 5rem;
  padding: clamp(1.7rem, 5vw, 3.5rem);
}
.notice h2 { margin-bottom: 0.7rem; }
.notice p { margin-bottom: 0; max-width: 60ch; }

.button {
  background: var(--forest);
  border-radius: 999px;
  color: white;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 750;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
}
.button:hover { background: var(--forest-2); color: white; }

.identity { padding-bottom: 2rem; }

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: var(--max);
  padding: 2.5rem 1.4rem 3rem;
}
.site-footer p { color: var(--muted); margin: 0.2rem 0; }
.site-footer .fine-print { font-size: 0.76rem; grid-column: 1 / -1; max-width: 75ch; }
.site-footer.compact { margin-top: 4rem; }

.document-shell { max-width: 980px; }
.document-header {
  background: var(--forest);
  border-radius: 28px;
  color: white;
  margin-bottom: 2rem;
  padding: clamp(2rem, 7vw, 5rem);
}
.document-header h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.document-header .lede { color: #e1ede4; }
.metadata { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin: 2.5rem 0 0; }
.metadata div { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 0.8rem; }
.metadata dt { color: #bcd7c4; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.metadata dd { margin: 0.3rem 0 0; }
.metadata a { color: white; }

.legal-document {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 6vw, 4.5rem);
}
.legal-document section { border-top: 1px solid var(--line); padding: 2.2rem 0; }
.legal-document section:first-child { border-top: 0; padding-top: 0; }
.legal-document section:last-child { padding-bottom: 0; }
.legal-document h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.legal-document p, .legal-document li { color: #46544c; }
.legal-document li + li { margin-top: 0.55rem; }
code { background: var(--mint); border-radius: 5px; color: var(--forest); font-size: 0.9em; padding: 0.1em 0.3em; }

.data-table { overflow-x: auto; }
table { border-collapse: collapse; font-size: 0.9rem; min-width: 720px; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 0.8rem; text-align: left; vertical-align: top; }
th { background: var(--mint); color: var(--forest); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .site-header nav { width: 100%; }
  .hero { border-radius: 22px; }
  .section { grid-template-columns: 1fr; padding: 3.4rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 0.25rem; }
  .notice { align-items: flex-start; flex-direction: column; }
  .metadata { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }

  .data-table { overflow: visible; }
  .data-table table,
  .data-table tbody,
  .data-table tr,
  .data-table td { display: block; min-width: 0; width: 100%; }
  .data-table thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  .data-table tr { border-bottom: 1px solid var(--line); padding: 1rem 0; }
  .data-table td { border: 0; padding: 0.35rem 0; }
  .data-table td::before {
    color: var(--forest-2);
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .data-table td:nth-child(1)::before { content: "Service"; }
  .data-table td:nth-child(2)::before { content: "Data"; }
  .data-table td:nth-child(3)::before { content: "Purpose"; }
}

@media print {
  .site-header, .site-footer, .button { display: none; }
  body { background: white; color: black; }
  main, .document-shell { max-width: none; padding: 0; }
  .document-header, .legal-document { box-shadow: none; }
  .document-header { background: white; color: black; padding: 0; }
  .document-header .lede, .metadata dt, .metadata a { color: black; }
}
