:root {
  color-scheme: light;
  --navy: #07132f;
  --navy-soft: #102044;
  --ink: #101828;
  --muted: #5d6678;
  --line: #e3e7ee;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --accent: #5648ee;
  --accent-dark: #4034c8;
  --focus: #2e90fa;
  --radius-large: 24px;
  --radius-medium: 16px;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.72;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(227, 231, 238, 0.9);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 7px 20px rgba(7, 19, 47, 0.16);
}

.support-link {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 780px);
  gap: clamp(42px, 7vw, 104px);
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) 0 96px;
}

.policy-summary {
  position: sticky;
  top: 96px;
  align-self: start;
}

.policy-summary h1 {
  margin: 6px 0 4px;
  color: var(--navy);
  font-size: clamp(2.35rem, min(4.3vw, 6.5vh), 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.effective-date {
  margin: clamp(8px, 1.8vh, 14px) 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.summary-copy {
  margin: clamp(12px, 2vh, 22px) 0 clamp(14px, 2.4vh, 24px);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.policy-summary nav {
  display: grid;
  gap: 2px;
  padding: clamp(6px, 1.2vh, 10px) 0;
  border-block: 1px solid var(--line);
}

.policy-summary nav a {
  padding: clamp(4px, 0.65vh, 7px) 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.policy-summary nav a:hover {
  color: var(--accent-dark);
}

.policy-content {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-content section {
  padding: clamp(28px, 5vw, 52px) clamp(24px, 6vw, 64px);
  scroll-margin-top: 96px;
}

.policy-content section + section {
  border-top: 1px solid var(--line);
}

.policy-intro {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(86, 72, 238, 0.18),
      transparent 40%
    ),
    var(--navy);
  color: #ffffff;
}

.policy-intro .eyebrow {
  color: #aaa5ff;
}

.policy-intro h2 {
  max-width: 650px;
  margin: 14px 0 18px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.policy-intro p:last-child {
  max-width: 660px;
  color: #d7dced;
  font-size: 1.04rem;
}

.policy-content h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.72rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.policy-content h3 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
}

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

.policy-content ul {
  display: grid;
  gap: 13px;
  margin: 20px 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.policy-content li::marker {
  color: var(--accent);
}

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

.contact-card {
  background: #f0efff;
}

.contact-card p {
  max-width: 570px;
}

.contact-card .contact-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 24px 0 18px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.contact-card .contact-button:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.contact-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer small {
  justify-self: end;
}

.footer-brand {
  font-size: 0.92rem;
}

@media (max-width: 850px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .policy-summary {
    display: contents;
  }

  .policy-summary nav {
    position: sticky;
    top: 76px;
    z-index: 10;
    display: flex;
    gap: 8px;
    margin-inline: -20px;
    padding: 12px 20px;
    overflow-x: auto;
    border-block: 1px solid var(--line);
    background: rgba(245, 247, 251, 0.96);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
  }

  .policy-summary nav::-webkit-scrollbar {
    display: none;
  }

  .policy-summary nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer small {
    justify-self: center;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .support-link {
    max-width: 130px;
    text-align: right;
  }

  .policy-layout {
    width: min(100% - 24px, 1240px);
    padding: 38px 0 64px;
  }

  .policy-summary nav {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .policy-content {
    border-radius: var(--radius-medium);
  }

  .policy-content section {
    padding: 28px 22px;
  }

  .policy-intro h2 {
    font-size: 2rem;
  }
}

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

@media print {
  body {
    background: #ffffff;
    font-size: 11pt;
  }

  .site-header,
  .policy-summary nav,
  footer {
    display: none;
  }

  .policy-layout {
    display: block;
    width: 100%;
    padding: 0;
  }

  .policy-summary {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 24px;
  }

  .policy-content {
    border: 0;
    box-shadow: none;
  }

  .policy-content section {
    break-inside: avoid;
    padding: 18px 0;
  }

  .policy-intro {
    background: #ffffff;
    color: var(--ink);
  }

  .policy-intro h2,
  .policy-intro p:last-child {
    color: var(--ink);
  }
}
