:root {
  color-scheme: light;
  --night: #071c17;
  --deep: #123c34;
  --active: #2f8067;
  --agave: #69c69d;
  --mint: #d6f2e4;
  --soft: #f4fbf7;
  --paper: #ffffff;
  --ink-muted: #526660;
  --rule: #dbe8e2;
  --content-width: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--soft);
  color: var(--night);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--active); text-underline-offset: 0.18em; }
a:hover { color: var(--deep); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--night);
  border: 2px solid var(--active);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 92px;
  padding: 20px clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(142px, 1fr) auto minmax(124px, 1fr);
  align-items: center;
  gap: 24px;
  background: var(--night);
  color: var(--mint);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 142px;
  height: 42px;
  object-fit: cover;
  object-position: center;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-navigation a {
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--mint);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-navigation a:hover {
  background: rgba(105, 198, 157, 0.12);
  color: var(--agave);
}

.site-navigation a[aria-current="page"] {
  background: var(--deep);
  color: var(--agave);
}

.language-select {
  min-width: 124px;
  padding: 9px 32px 9px 11px;
  border: 1px solid rgba(214, 242, 228, 0.38);
  border-radius: 7px;
  background: var(--deep);
  color: var(--mint);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.language-select:hover { border-color: var(--agave); }
.language-select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--agave);
  outline-offset: 3px;
}

.page-shell {
  width: min(var(--content-width), calc(100% - 44px));
  margin: 0 auto;
}

.reader {
  min-width: 0;
  padding: 50px 0 96px;
}

.reader-cue {
  height: 3px;
  margin-bottom: 34px;
  background: var(--rule);
  overflow: hidden;
}
.reader-cue span {
  display: block;
  width: 112px;
  height: 100%;
  background: var(--active);
}

.policy-content h1 {
  max-width: 690px;
  margin: 0 0 18px;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.policy-content h2 {
  margin: 52px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.policy-content p { margin: 0 0 18px; }
.policy-content > p:first-of-type {
  margin-bottom: 28px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.policy-content ul {
  margin: 0 0 22px;
  padding-left: 1.25rem;
}
.policy-content li { margin: 7px 0; padding-left: 0.3rem; }
.policy-content li::marker { color: var(--active); }

.loading,
.status { color: var(--ink-muted); }
.status { min-height: 1.5em; margin: 28px 0 0; font-size: 0.88rem; }

.noscript {
  max-width: var(--content-width);
  margin: 24px auto;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 78px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 16px 20px;
  }
  .site-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
  .page-shell {
    width: min(100% - 36px, var(--content-width));
  }
  .reader { padding-top: 32px; }
  .reader-cue { margin-bottom: 26px; }
  .policy-content h2 { margin-top: 42px; }
}

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

@media print {
  body { background: white; color: black; }
  .site-header, .reader-cue, .status, .skip-link { display: none; }
  .page-shell { width: 100%; display: block; }
  .reader { padding: 0; }
  .policy-content h1 { font-size: 30pt; }
  .policy-content h2 { break-after: avoid; }
  .policy-content p, .policy-content li { orphans: 3; widows: 3; }
  a { color: black; }
}
