:root {
  color-scheme: light;
  --ink: #172b4d;
  --muted: #44546f;
  --subtle: #626f86;
  --line: #dcdfe4;
  --surface: #ffffff;
  --surface-soft: #f7f8f9;
  --brand: #0c66e4;
  --brand-dark: #0747a6;
  --brand-soft: #e9f2ff;
  --success: #216e4e;
  --success-soft: #dcfff1;
  --warning: #7f5f01;
  --warning-soft: #fff7d6;
  --shadow: 0 18px 45px rgba(9, 30, 66, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(12, 102, 228, 0.1), transparent 30rem),
    var(--surface-soft);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--brand-dark);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

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

a:focus-visible,
button:focus-visible {
  border-radius: 0.25rem;
  outline: 3px solid #85b8ff;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

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

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(125deg, #0b1f3a 0%, #09326c 62%, #0c66e4 145%);
  color: #ffffff;
}

.header-inner,
.page-shell,
.site-footer {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.header-inner {
  padding-block: 1.1rem 4.25rem;
}

.brand-row,
.page-nav,
.footer-inner,
.support-actions {
  display: flex;
  align-items: center;
}

.brand-row {
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.05rem;
}

.page-nav {
  gap: 0.35rem;
}

.page-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  color: #deebff;
  font-size: 0.9rem;
  text-decoration: none;
}

.page-nav a:hover,
.page-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero {
  max-width: 49rem;
  padding-top: 4.3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #b3d4ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 46rem;
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lede {
  max-width: 43rem;
  margin-bottom: 1.25rem;
  color: #deebff;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.effective-date {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 650;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: 3.25rem 5rem;
}

.toc {
  align-self: start;
  position: sticky;
  top: 1.5rem;
}

.toc-title {
  margin-bottom: 0.7rem;
  color: var(--subtle);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li + li {
  margin-top: 0.3rem;
}

.toc a {
  display: block;
  padding: 0.35rem 0.55rem;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  border-left-color: var(--brand);
  color: var(--brand-dark);
}

.content {
  min-width: 0;
}

.content section {
  scroll-margin-top: 1.5rem;
}

.content section + section {
  margin-top: 3.25rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.content p,
.content li {
  color: var(--muted);
}

.content ul {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
}

.content li + li {
  margin-top: 0.45rem;
}

.summary-card,
.notice,
.support-card {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(9, 30, 66, 0.06);
}

.summary-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.summary-card strong {
  color: var(--ink);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.fact {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface);
}

.fact p {
  margin: 0;
  font-size: 0.94rem;
}

.notice {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-color: #b8acf6;
  background: #f3f0ff;
}

.notice.retention {
  border-color: #7ee2b8;
  background: var(--success-soft);
}

.notice.warning {
  border-color: #f5cd47;
  background: var(--warning-soft);
}

.notice p {
  margin-bottom: 0;
  color: var(--ink);
}

.data-table {
  width: 100%;
  margin-top: 1.25rem;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.data-table td {
  color: var(--muted);
  font-size: 0.93rem;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.support-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-color: #85b8ff;
  background: linear-gradient(145deg, var(--surface) 0%, var(--brand-soft) 140%);
}

.support-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 0.45rem;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: inherit;
  text-decoration: none;
}

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

.button.secondary {
  border: 1px solid #85b8ff;
  background: var(--surface);
  color: var(--brand-dark);
}

.button.secondary:hover {
  background: var(--brand-soft);
}

.copy-status {
  min-height: 1.65em;
  margin: 0.6rem 0 0;
  color: var(--success);
  font-size: 0.88rem;
  font-weight: 650;
}

.site-footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  justify-content: space-between;
  gap: 1rem;
  color: var(--subtle);
  font-size: 0.85rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 47.99rem) {
  .header-inner {
    padding-bottom: 3rem;
  }

  .brand-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-nav {
    flex-wrap: wrap;
  }

  .page-nav a:first-child {
    padding-left: 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .page-shell {
    grid-template-columns: 1fr;
    padding-top: 2.25rem;
  }

  .toc {
    position: static;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    background: var(--surface);
  }

  .toc ol {
    columns: 2;
    column-gap: 1rem;
  }

  .toc li {
    break-inside: avoid;
  }

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

  .data-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 31rem) {
  .toc ol {
    columns: 1;
  }

  .support-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }
}

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

@media print {
  body {
    background: #ffffff;
  }

  .skip-link,
  .page-nav,
  .toc,
  .support-actions,
  .footer-links {
    display: none;
  }

  .site-header {
    border-bottom: 2px solid #172b4d;
    background: #ffffff;
    color: #172b4d;
  }

  .brand,
  .lede,
  .eyebrow {
    color: #172b4d;
  }

  .effective-date {
    border-color: #172b4d;
    background: #ffffff;
    color: #172b4d;
  }

  .page-shell {
    display: block;
    width: 100%;
    padding-block: 2rem;
  }

  .content section + section {
    break-before: auto;
  }

  .summary-card,
  .notice,
  .support-card,
  .fact {
    box-shadow: none;
  }
}
