:root {
  color-scheme: light;
  --navy: #003459;
  --navy-deep: #00263f;
  --gold: #b8860b;
  --ink: #243746;
  --muted: #526879;
  --paper: #ffffff;
  --canvas: #f4f6f7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page {
  width: min(100% - 32px, 1120px);
  margin: 20px auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(0, 38, 63, 0.08);
}

.masthead {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(22px, 5vw, 64px);
  background: var(--paper);
}

.brand img {
  display: block;
  width: min(100%, 300px);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.masthead-contact,
.masthead-home {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.masthead-contact:hover,
.masthead-contact:focus-visible,
.masthead-home:hover,
.masthead-home:focus-visible { color: var(--gold); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 76px) clamp(22px, 7vw, 80px);
  background: var(--navy);
  color: var(--paper);
}

.hero::after {
  position: absolute;
  top: -150px;
  right: -80px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e2c36f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.12;
}

.section {
  padding: clamp(34px, 5vw, 54px) clamp(22px, 7vw, 80px);
  border-bottom: 1px solid #e8edef;
}

.section-heading {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}

.legal-content {
  color: var(--muted);
}

.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }

.legal-content h2 {
  margin: 28px 0 8px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.legal-content li {
  margin: 0 0 8px;
  padding-left: 4px;
}

.legal-content li::marker { color: var(--gold); }

.legal-content strong { color: var(--navy); }

.legal-content a {
  color: var(--navy);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.legal-content a:hover,
.legal-content a:focus-visible { color: var(--gold); }

.last-updated {
  margin-top: 30px !important;
  color: #738391;
  font-size: 14px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  padding: 22px clamp(22px, 5vw, 64px);
  background: var(--navy-deep);
}

.legal-links a {
  color: #f2d784;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible { text-decoration: underline; }

@media (max-width: 560px) {
  .page { width: 100%; margin: 0; }
  .masthead { gap: 14px; padding-right: 18px; padding-left: 18px; }
  .brand { min-width: 0; }
  .brand img { width: min(100%, 205px); height: 48px; }
  .masthead-actions { flex-direction: column; align-items: flex-end; gap: 6px; }
  .masthead-contact,
  .masthead-home { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
