:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: #242a31;
  background: #f2f4f6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 40px 20px 64px; }
a { color: #245b9b; text-underline-offset: 0.17em; overflow-wrap: anywhere; }
a:hover { color: #174472; }
a:focus-visible { outline: 2px solid #245b9b; outline-offset: 3px; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 2;
  padding: 10px 14px;
  background: #243a53;
  color: #fff;
}
.skip-link:focus { top: 10px; color: #fff; }

.document {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 68px 76px 58px;
  background: #fff;
  border: 1px solid #e0e4e8;
  box-shadow: 0 10px 36px rgb(23 33 44 / 7%);
}

.document-header { padding-bottom: 34px; border-bottom: 1px solid #d8dde2; }
.document-kicker {
  margin: 0 0 24px;
  color: #65717e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 { margin: 0; color: #1e2832; font-size: clamp(2.2rem, 5vw, 2.8rem); line-height: 1.15; letter-spacing: -0.035em; }
.document-intro { max-width: 610px; margin: 18px 0 0; color: #4a5560; line-height: 1.75; }
.document-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  margin: 33px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #e7eaed;
}
.document-meta div { min-width: 0; }
.document-meta dt { margin-bottom: 5px; color: #6b7681; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.document-meta dd { margin: 0; color: #26313c; font-size: 0.93rem; line-height: 1.5; }

.policy-copy { padding-top: 4px; }
.policy-copy section { padding-top: 31px; scroll-margin-top: 20px; }
.policy-copy section + section { margin-top: 31px; border-top: 1px solid #e5e8eb; }
.policy-copy h2 { display: flex; align-items: baseline; gap: 15px; margin: 0 0 17px; color: #1e2832; font-size: 1.31rem; line-height: 1.35; }
.policy-copy h2 span { flex: 0 0 24px; color: #7a8691; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; }
.policy-copy h3 { margin: 24px 0 9px; color: #303b46; font-size: 1rem; line-height: 1.45; }
.policy-copy p, .policy-copy li { font-size: 0.955rem; line-height: 1.82; }
.policy-copy p { margin: 0 0 15px; }
.policy-copy p:last-child { margin-bottom: 0; }
.policy-copy ul { margin: 0 0 18px; padding-left: 22px; }
.policy-copy li { padding-left: 3px; margin: 5px 0; }
code { overflow-wrap: anywhere; color: #26313c; font-size: 0.9em; }

.document-footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid #d8dde2; color: #6b7681; font-size: 0.77rem; }

@media (max-width: 650px) {
  :root { background: #fff; }
  body { padding: 0; }
  .document { width: 100%; padding: 34px 22px 40px; border: 0; box-shadow: none; }
  .document-kicker { margin-bottom: 19px; }
  .document-meta { grid-template-columns: 1fr; gap: 16px; }
  .policy-copy section { padding-top: 27px; }
  .policy-copy section + section { margin-top: 27px; }
  .policy-copy h2 { gap: 12px; }
  .policy-copy p, .policy-copy li { font-size: 0.96rem; }
}

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

@page { size: A4; margin: 18mm; }
@media print {
  :root { background: #fff; }
  body { padding: 0; }
  .document { width: 100%; padding: 0; border: 0; box-shadow: none; }
  .document-header { padding-bottom: 22px; }
  .policy-copy section { padding-top: 24px; }
  .policy-copy section + section { margin-top: 24px; }
  .policy-copy h2, .policy-copy h3 { break-after: avoid; }
  .policy-copy p, .policy-copy li { orphans: 2; widows: 2; }
  a { color: inherit; }
  .document-footer { margin-top: 30px; }
}
