:root {
  color-scheme: light;
  --ink: #10161f;
  --muted: #5f6976;
  --line: rgba(16, 22, 31, 0.12);
  --paper: #f5f2ec;
  --panel: #fffaf1;
  --teal: #0a8f86;
  --teal-deep: #0c615b;
  --cobalt: #2457d6;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: calc(100% - 48px);
  margin: 18px 24px 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(250, 252, 251, 0.88);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(9, 22, 38, 0.12);
}

.brand,
.site-header nav,
.policy-meta,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: linear-gradient(145deg, var(--teal-deep), var(--cobalt));
}

.site-header nav {
  gap: 4px;
  justify-content: center;
}

.site-header nav a,
.header-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #2d3744;
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a:hover,
.header-action:hover {
  background: rgba(10, 143, 134, 0.11);
}

.header-action {
  justify-self: end;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.policy-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 32px 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
}

.policy-meta {
  gap: 20px;
  flex-wrap: wrap;
  color: #4b5562;
  font-size: 14px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 70px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px 96px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.policy-nav p {
  margin-bottom: 8px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-nav a {
  padding: 7px 8px;
  border-radius: 5px;
  color: #4b5562;
  font-size: 13px;
  line-height: 1.25;
}

.policy-nav a:hover {
  color: var(--teal-deep);
  background: rgba(10, 143, 134, 0.09);
}

.policy-content {
  min-width: 0;
}

.policy-content section {
  scroll-margin-top: 112px;
  padding: 0 0 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.policy-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  margin: 30px 0 12px;
  font-size: 21px;
  line-height: 1.25;
}

.policy-content p,
.policy-content li {
  color: #46515f;
  font-size: 16px;
  line-height: 1.75;
}

.policy-content p {
  margin-bottom: 18px;
}

.policy-content ul {
  margin: 0 0 22px;
  padding-left: 24px;
}

.policy-content li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.policy-content strong {
  color: var(--ink);
}

.policy-content a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(12, 97, 91, 0.35);
  text-underline-offset: 3px;
}

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid rgba(10, 143, 134, 0.24);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  color: #34414b;
  background: var(--panel);
  font-size: 16px;
  line-height: 1.65;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  border-top: 1px solid var(--line);
  color: #4b5562;
  background: white;
}

.footer-brand {
  color: var(--ink);
}

.footer > a:last-child {
  color: var(--teal-deep);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    width: auto;
    margin: 12px;
  }

  .site-header nav {
    justify-content: start;
    overflow-x: auto;
  }

  .header-action {
    justify-self: start;
  }

  .policy-hero {
    padding: 68px 22px 52px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 22px 72px;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-nav p {
    grid-column: 1 / -1;
  }

  .policy-content section {
    scroll-margin-top: 20px;
  }

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

@media (max-width: 560px) {
  h1 {
    font-size: 48px;
  }

  .policy-nav {
    grid-template-columns: 1fr;
  }
}
