:root {
  --ink: #08131f;
  --navy: #123a63;
  --navy2: #0d2843;
  --accent: #c2a15e;
  --accent-ink: #8a5b00;
  --accent2: #e4d4ae;
  --paper: #fbfaf8;
  --card: #ffffff;
  --line: #e7e3db;
  --muted: #5f6974;
  --body: #3d4854;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Scoutie Sans", "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:where(a, button):focus-visible { outline: 3px solid #2f7d6b; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: 600 13px/1 "DM Sans", system-ui, sans-serif;
  transform: translateY(-160%);
}

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

.review-line {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0 18%, #2f7d6b 18% 56%, var(--navy) 56%);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(8, 19, 31, .08);
  background: rgba(251, 250, 248, .94);
  backdrop-filter: blur(14px);
}

.header-inner,
.hero-inner,
.page-grid,
.footer-inner {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 4px; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { color: var(--ink); font: 700 16px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .11em; }
.brand-copy span { color: var(--muted); font: 500 8px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .18em; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions a { font: 600 13px/1 "DM Sans", system-ui, sans-serif; text-decoration: none; }
.header-actions .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 17px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40% -8% auto 48%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 125, 107, .26), transparent 68%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; padding-block: clamp(64px, 8vw, 104px); }
.eyebrow { margin: 0 0 20px; color: var(--accent2); font: 600 10px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .16em; }
.hero h1 { max-width: 15ch; margin: 0; font: 600 clamp(42px, 6vw, 72px)/1.02 "DM Sans", system-ui, sans-serif; letter-spacing: -.05em; text-wrap: balance; }
.hero-summary { max-width: 64ch; margin: 24px 0 0; color: rgba(255, 255, 255, .7); font-size: 17px; line-height: 1.7; }
.effective-date { display: inline-flex; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .52); font: 500 11px/1.4 "DM Sans", system-ui, sans-serif; letter-spacing: .06em; }

.page-grid {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 720px);
  justify-content: space-between;
  gap: clamp(48px, 8vw, 110px);
  padding-block: clamp(58px, 8vw, 104px);
}

.toc { align-self: start; position: sticky; top: 116px; }
.toc p { margin: 0 0 16px; color: var(--muted); font: 600 10px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .15em; }
.toc nav { display: grid; gap: 3px; }
.toc a { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--navy); }

.legal-copy { min-width: 0; }
.intro-note { margin: 0 0 44px; padding: 20px 22px; border: 1px solid #d9e2e7; border-left: 3px solid var(--navy); border-radius: 4px; background: #f3f7f9; color: var(--body); font-size: 14px; line-height: 1.7; }
.legal-copy section { scroll-margin-top: 112px; padding: 0 0 38px; }
.legal-copy section + section { padding-top: 38px; border-top: 1px solid var(--line); }
.legal-copy h2 { margin: 0 0 17px; color: var(--ink); font: 600 clamp(24px, 3vw, 32px)/1.15 "DM Sans", system-ui, sans-serif; letter-spacing: -.035em; }
.legal-copy h3 { margin: 25px 0 10px; color: var(--ink); font: 600 16px/1.35 "DM Sans", system-ui, sans-serif; }
.legal-copy p,
.legal-copy li { font-size: 15.5px; line-height: 1.78; }
.legal-copy p { margin: 0 0 16px; }
.legal-copy ul { margin: 16px 0 0; padding-left: 20px; }
.legal-copy li + li { margin-top: 9px; }
.contact-card { padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); box-shadow: 0 18px 42px -36px rgba(8, 19, 31, .7); }
.contact-card p:last-child { margin-bottom: 0; }

.site-footer { background: #050d16; color: rgba(255, 255, 255, .58); }
.footer-inner { padding-block: 44px 34px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-top p { max-width: 46ch; margin: 0; font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.footer-links a { color: rgba(255, 255, 255, .7); font: 500 12px/1.4 "DM Sans", system-ui, sans-serif; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .58); font-size: 11px; line-height: 1.55; }

@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .header-inner, .hero-inner, .page-grid, .footer-inner { width: min(100% - 36px, 1180px); }
  .header-inner { min-height: 74px; }
  .brand-copy span, .header-actions > a:first-child { display: none; }
  .page-grid { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; }
  .toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .hero-summary { font-size: 15.5px; }
  .legal-copy p, .legal-copy li { font-size: 15px; }
  .footer-top, .footer-bottom { display: grid; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .brand img { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 14px; }
  .header-actions .button { padding-inline: 13px; font-size: 12px; }
  .toc nav { grid-template-columns: 1fr; }
}

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

@media print {
  .site-header, .toc, .site-footer { display: none; }
  .hero { background: #fff; color: #000; }
  .hero::after { display: none; }
  .hero-inner, .page-grid { width: 100%; padding: 24px 0; }
  .hero-summary, .effective-date, .eyebrow { color: #333; }
  .page-grid { display: block; }
}
