:root {
  --bg: #07111f;
  --surface: #0d1b2d;
  --surface-2: #12243a;
  --surface-glass: rgba(13, 27, 45, 0.9);
  --text: #f4f8fc;
  --muted: #a8b8c9;
  --line: rgba(255,255,255,.1);
  --brand: #05a7e1;
  --brand-2: #046ae8;
  --success: #2dd4a8;
  --warning: #f6c85f;
  --shadow: 0 20px 55px rgba(0,0,0,.32);
  --radius: 20px;
  --max-width: 1180px;
}

body.light-theme {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #edf4fa;
  --surface-glass: rgba(255,255,255,.92);
  --text: #0b1725;
  --muted: #536577;
  --line: rgba(11,23,37,.12);
  --shadow: 0 18px 50px rgba(19,41,64,.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 4%, rgba(5,167,225,.15), transparent 28rem),
    radial-gradient(circle at 95% 14%, rgba(4,106,232,.12), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  transition: background .2s ease, color .2s ease;
}

img { max-width: 100%; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand);
  color: #001523;
  font-weight: 800;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 136px;
  height: auto;
  display: block;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 9px 14px;
  color: #fff;
  background: linear-gradient(135deg,var(--brand),var(--brand-2));
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(5,167,225,.16);
}

.button:hover {
  filter: brightness(1.07);
  text-decoration: none;
}

.button:focus-visible,
.section-heading:focus-visible,
.search-input:focus-visible {
  outline: 3px solid rgba(45,212,168,.65);
  outline-offset: 3px;
}

.button-secondary {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line);
  box-shadow: none;
}

.inline-button { width: fit-content; }

.hero { padding: 72px 0 44px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(5,167,225,.25);
  border-radius: 999px;
  background: rgba(5,167,225,.08);
  color: var(--brand);
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(3rem,8vw,6.6rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem,2vw,1.15rem);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .93rem;
}

.summary-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg,rgba(5,167,225,.11),rgba(4,106,232,.05)),var(--surface);
  box-shadow: var(--shadow);
}

.summary-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.summary-card ul {
  margin: 0;
  padding-left: 21px;
  color: var(--muted);
}

.summary-card li + li { margin-top: 8px; }

.page-grid {
  display: grid;
  grid-template-columns: 285px minmax(0,1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 80px;
}

.sidebar {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search-label {
  display: block;
  margin-bottom: 7px;
  font-size: .83rem;
  font-weight: 800;
  color: var(--muted);
}

.search-input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
}

.search-status {
  min-height: 1.3em;
  margin: 8px 2px 10px;
  color: var(--muted);
  font-size: .8rem;
}

.toc {
  display: grid;
  gap: 3px;
  max-height: calc(100vh - 225px);
  overflow: auto;
  padding-right: 3px;
}

.toc a {
  padding: 8px 9px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.28;
  text-decoration: none;
}

.toc a:hover,
.toc a.active {
  color: var(--text);
  background: var(--surface-2);
}

.policy { min-width: 0; }

.important-note {
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(246,200,95,.3);
  border-radius: 16px;
  background: rgba(246,200,95,.08);
  color: var(--muted);
}

.important-note strong { color: var(--warning); }

.policy-section {
  margin-bottom: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 105px;
}

.section-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 23px;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 820;
}

.section-heading:hover {
  background: rgba(255,255,255,.025);
}

.section-label {
  display: block;
  margin-bottom: 2px;
  color: var(--brand);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.chevron {
  font-size: 1.35rem;
  transition: transform .2s ease;
}

.policy-section.open .chevron {
  transform: rotate(180deg);
}

.section-content {
  display: none;
  padding: 2px 23px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.policy-section.open .section-content {
  display: block;
}

.section-content h3 {
  margin-top: 21px;
  color: var(--text);
}

.section-content strong { color: var(--text); }
.section-content li + li { margin-top: 6px; }

.data-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 18px 0;
}

.data-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-2);
}

.data-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.data-card p {
  margin: 0;
  font-size: .93rem;
}

.action-card,
.contact-card {
  margin-top: 15px;
  padding: 20px;
  border: 1px solid rgba(5,167,225,.24);
  border-radius: 17px;
  background: linear-gradient(145deg,rgba(5,167,225,.1),rgba(4,106,232,.05));
}

.action-card h3,
.contact-card h3 {
  margin-top: 0;
}

.small-copy { font-size: .87rem; }

mark {
  padding: 0 .1em;
  border-radius: 3px;
  color: inherit;
  background: rgba(246,200,95,.32);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.noscript-note {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 200;
  padding: 12px;
  border-radius: 10px;
  background: #fff3cd;
  color: #4c3d00;
  text-align: center;
}

@media (max-width: 920px) {
  .hero-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .toc {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 26px,var(--max-width));
  }

  .header-inner {
    align-items: flex-start;
    padding: 12px 0;
  }

  .brand img {
    width: 100px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .button {
    min-height: 38px;
    padding: 7px 9px;
    font-size: .79rem;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3rem,18vw,4.5rem);
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    padding: 18px;
  }

  .section-content {
    padding: 2px 18px 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}

@media print {
  :root {
    --text:#000;
    --muted:#222;
    --surface:#fff;
    --surface-2:#fff;
    --line:#bbb;
  }

  body {
    background:#fff;
    color:#000;
    font-size: 10pt;
  }

  .site-header,
  .sidebar,
  .summary-card,
  .important-note,
  .site-footer {
    display:none !important;
  }

  .hero {
    padding:0 0 20px;
  }

  .hero-grid,
  .page-grid {
    display:block;
  }

  .container {
    width:100%;
  }

  h1 {
    font-size:34pt;
    letter-spacing:-.03em;
  }

  .policy-section {
    break-inside:avoid;
    box-shadow:none;
    margin-bottom:10px;
  }

  .section-content {
    display:block !important;
    color:#222;
  }

  .chevron {
    display:none;
  }

  a {
    color:#000;
    text-decoration:underline;
  }
}