:root {
  color-scheme: light;
  --navy-950: #061630;
  --navy-900: #08224a;
  --navy-800: #103769;
  --blue-600: #087bea;
  --blue-100: #e8f3ff;
  --orange-500: #ff8a00;
  --orange-100: #fff1dc;
  --ink: #12233d;
  --muted: #5b6d83;
  --line: #dbe5f0;
  --surface: #ffffff;
  --page: #f4f8fc;
  --shadow: 0 18px 50px rgb(8 34 74 / 10%);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgb(8 123 234 / 10%), transparent 32rem),
    radial-gradient(circle at 92% 12%, rgb(255 138 0 / 9%), transparent 26rem),
    var(--page);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue-600); }
a:hover { color: var(--navy-800); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-950);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid rgb(255 138 0 / 75%);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(219 229 240 / 85%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(18px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-950);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 14px 14px 14px 4px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 7px 18px rgb(8 123 234 / 25%);
}

.brand-text { display: grid; line-height: 1.15; }
.brand-text b { font-size: 16px; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: 11px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy-900);
  background: var(--blue-100);
}

.site-nav .admin-link { color: #975100; }

.page-shell { padding-block: 56px 72px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), #0b3f7e 72%, #0d64ad);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border: 46px solid rgb(255 138 0 / 18%);
  border-radius: 50%;
}

.hero > * { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 10px;
  color: #9ed1ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(31px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hero .lede {
  max-width: 760px;
  margin: 20px 0 0;
  color: #d8eaff;
  font-size: clamp(16px, 2vw, 19px);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  color: #afcce9;
  font-size: 13px;
  list-style: none;
}

.document-meta strong { color: #fff; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.summary-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 25px rgb(8 34 74 / 5%);
}

.summary-card b { display: block; color: var(--navy-900); }
.summary-card p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.content-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 10px 30px rgb(8 34 74 / 6%);
}

.toc h2 {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 7px 0; color: #8695a7; font-size: 13px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue-600); text-decoration: underline; }

.legal-article {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-article section {
  padding-top: 10px;
  scroll-margin-top: 100px;
}

.legal-article section + section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

h2, h3 { color: var(--navy-950); line-height: 1.25; }
.legal-article h2 { margin: 0 0 16px; font-size: clamp(22px, 3vw, 29px); letter-spacing: -.02em; }
.legal-article h3 { margin: 24px 0 8px; font-size: 18px; }
.legal-article p { margin: 12px 0; }
.legal-article ul,
.legal-article ol { padding-left: 24px; }
.legal-article li + li { margin-top: 8px; }
.legal-article a { text-underline-offset: 3px; }

.callout {
  margin: 20px 0;
  padding: 17px 19px;
  border-left: 4px solid var(--blue-600);
  border-radius: 4px 15px 15px 4px;
  background: var(--blue-100);
}

.callout.warning {
  border-left-color: var(--orange-500);
  background: var(--orange-100);
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.data-list {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(0, 2fr);
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.data-list dt,
.data-list dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.data-list dt { color: var(--navy-900); background: #f7faff; font-weight: 750; }
.data-list dd { color: #3d5068; }
.data-list dt:last-of-type,
.data-list dd:last-of-type { border-bottom: 0; }

.steps { counter-reset: step; padding: 0 !important; list-style: none; }
.steps > li { position: relative; min-height: 46px; padding-left: 58px; }
.steps > li + li { margin-top: 18px; }
.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--navy-900);
  font-weight: 800;
}

.contact-card {
  padding: 22px;
  border: 1px solid #bcdcff;
  border-radius: 18px;
  background: linear-gradient(145deg, #f5faff, #fff);
}

.contact-card p { margin: 5px 0; }
.contact-card a { font-weight: 750; }

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

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.copyright { margin: 0; font-size: 13px; text-align: right; }

@media (max-width: 900px) {
  .site-header { position: static; }
  .header-inner { padding-block: 13px; align-items: flex-start; }
  .site-nav { flex-wrap: wrap; }
  .content-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 30px; }
}

@media (max-width: 680px) {
  .header-inner,
  .page-shell,
  .footer-inner { width: min(100% - 24px, 1120px); }
  .header-inner { display: grid; gap: 10px; }
  .site-nav { justify-content: flex-start; margin-inline: -6px; }
  .site-nav a { padding: 6px; font-size: 12px; }
  .brand-text small { display: none; }
  .page-shell { padding-block: 24px 44px; }
  .hero { padding: 26px 22px; border-radius: 22px; }
  .summary-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .legal-article { padding: 24px 20px; border-radius: 20px; }
  .data-list { display: block; }
  .data-list dt { border-bottom: 0; }
  .data-list dd:last-of-type { border-bottom: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .copyright { text-align: left; }
}

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

@media print {
  body { background: #fff; font-size: 11pt; }
  .site-header, .toc, .site-footer, .skip-link { display: none; }
  .page-shell { width: 100%; padding: 0; }
  .hero, .legal-article { border: 0; box-shadow: none; }
  .hero { padding: 0 0 24px; color: #000; background: #fff; }
  .hero .lede, .document-meta, .eyebrow { color: #333; }
  .content-layout { display: block; margin: 0; }
  .legal-article { padding: 0; }
  a { color: #000; }
}
