:root {
  --paper: #f4efe5;
  --ink: #20221e;
  --orange: #f28732;
  --orange-deep: #bb4e16;
  --blue: #293d83;
  --muted: #69645d;
  --stroke: #ded6c8;
  --font: 'DM Sans', Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-synthesis: none;
  color-scheme: light;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body.policy-page { margin: 0; background: var(--paper); }
a { color: inherit; }
img, svg { max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 2px; }
h1, h2, h3, h4, p, ul, ol { margin-top: 0; }

.site-header {
  max-width: 1440px;
  margin-inline: auto;
  padding: 24px max(4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}

.brand img { display: block; width: 56px; height: 56px; object-fit: contain; border-radius: 15px; }
.policy-navigation { display: flex; align-items: center; }
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 21px;
  border: 1px solid var(--stroke);
  border-radius: 99px;
  background: #ece4d6b5;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.home-link:hover { background: #e5d9c5; border-color: #cdbda3; }
.home-link svg, .policy-footer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.policy-main {
  width: min(100% - 64px, 1040px);
  margin-inline: auto;
  padding-block: 65px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px 278px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
  text-decoration: none;
}
.back-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.back-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .12em;
  font-weight: 700;
}

.policy-heading {
  padding-bottom: 43px;
  margin: 0 0 43px 278px;
  border-bottom: 1px solid var(--stroke);
}

.policy-heading > .eyebrow { display: flex; align-items: center; gap: 8px; }
.policy-heading > .eyebrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.policy-heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 6px;
  margin-top: 31px;
  border-radius: 99px;
  background: var(--orange);
}

.policy-heading h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(50px, 5.8vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.policy-heading h1 > span { color: var(--blue); }
.effective-date { margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.policy-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}
.policy-sidebar { position: sticky; top: 32px; padding-top: 5px; }
.policy-sidebar > .eyebrow { margin-bottom: 15px; }
.policy-toc { display: flex; flex-direction: column; gap: 3px; }
.policy-toc a {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 10px 11px;
  margin-left: -11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  transition: background .2s;
}
.policy-toc a:hover, .policy-toc a:focus-visible { background: #ece4d6; }
.toc-number { flex-shrink: 0; color: var(--orange-deep); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }

.policy-content {
  min-width: 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: #55564e;
  overflow-wrap: anywhere;
}

.publisher {
  padding: 0 0 1px 19px;
  border-left: 3px solid var(--orange);
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.7;
}
.publisher p { margin-bottom: 5px; }
.publisher p:last-child { margin-bottom: 0; }
.policy-lead { color: var(--ink); }
.policy-content section { scroll-margin-top: 32px; }
.policy-sources { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 4px 0 24px; font-size: 14px; }

.policy-content p { margin-bottom: 22px; }
.policy-content h2,
.policy-content h3,
.policy-content h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  scroll-margin-top: 32px;
}

.policy-content h2 { margin: 48px 0 18px; font-size: clamp(27px, 3vw, 32px); }
.policy-content h3 { margin: 36px 0 14px; font-size: 23px; }
.policy-content h4 { margin: 30px 0 12px; font-size: 20px; }
.policy-content > :first-child { margin-top: 0; }
.policy-content > :last-child { margin-bottom: 0; }
.policy-content strong { color: var(--ink); font-weight: 700; }
.policy-content a {
  color: var(--blue);
  text-decoration-line: underline;
  text-decoration-color: #293d8355;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color .2s;
}
.policy-content a:hover { text-decoration-color: var(--blue); }
.policy-content ul, .policy-content ol { margin-bottom: 24px; padding-left: 25px; }
.policy-content li { padding-left: 4px; margin-bottom: 8px; }
.policy-content li:last-child { margin-bottom: 0; }
.policy-content li::marker { color: var(--orange-deep); }
.policy-content blockquote {
  margin: 30px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--orange);
}
.policy-content blockquote p:last-child { margin-bottom: 0; }

.policy-footer {
  width: min(100% - 64px, 1040px);
  margin: 84px auto 0;
  padding: 27px 0 35px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.policy-footer p { margin: 0; }
.policy-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.policy-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.policy-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.policy-socials > span { color: var(--muted); font-weight: 400; }
.skip-link {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 100;
  transform: translateY(-200%);
  padding: 12px 20px;
  border-radius: 5px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 1000px) {
  .policy-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 36px; }
  .policy-heading { margin-left: 226px; }
  .back-link { margin-left: 226px; }
  .policy-heading h1 { font-size: 60px; }
}

@media (max-width: 800px) {
  .policy-main { max-width: 680px; }
  .policy-layout { grid-template-columns: 1fr; gap: 39px; }
  .policy-heading { margin-left: 0; }
  .back-link { margin-left: 0; }
  .policy-sidebar { position: static; padding: 0 0 29px; border-bottom: 1px solid var(--stroke); }
  .policy-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
  .policy-footer { max-width: 680px; }
}

@media (max-width: 700px) {
  .site-header { padding: 22px 24px; gap: 20px; }
  .brand img { width: 48px; height: 48px; border-radius: 13px; }
  .home-link { min-height: 42px; padding: 11px 15px; font-size: 11px; gap: 8px; }
  .home-link svg { width: 16px; height: 16px; }
  .policy-main { width: calc(100% - 48px); padding-top: 55px; }
  .policy-heading { padding-bottom: 32px; margin-bottom: 32px; }
  .policy-heading h1 { font-size: clamp(46px, 10vw, 66px); }
  .policy-heading::after { width: 52px; height: 5px; margin-top: 24px; }
  .back-link { margin-bottom: 28px; }
  .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .effective-date { margin-top: 20px; font-size: 12px; }
  .policy-layout { gap: 32px; }
  .policy-toc { display: flex; gap: 0; }
  .policy-toc a { padding-block: 8px; }
  .policy-sidebar { padding-bottom: 24px; }
  .policy-content { font-size: 16px; line-height: 1.75; }
  .publisher { font-size: 13px; margin-bottom: 24px; }
  .policy-content h2 { margin-top: 38px; font-size: 27px; }
  .policy-content h3 { margin-top: 30px; font-size: 22px; }
  .policy-content p { margin-bottom: 20px; }
  .policy-footer { width: calc(100% - 48px); margin-top: 60px; padding-bottom: 28px; font-size: 11px; gap: 18px; }
  .policy-socials { flex-basis: 100%; gap: 12px; }
  .policy-socials a { min-height: 44px; }
}

@media (max-width: 380px) {
  .site-header { padding-inline: 20px; gap: 14px; }
  .policy-main, .policy-footer { width: calc(100% - 40px); }
  .policy-main { padding-top: 44px; }
  .policy-heading h1 { font-size: 44px; }
  .policy-content { font-size: 15px; }
  .home-link { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
