:root {
  --navy: #00144c;
  --green: #36b33f;
  --graphite: #202833;
  --muted: #68727c;
  --mint: #eaf6ec;
  --offwhite: #f7f9f8;
  --line: #d9e0e5;
  --white: #ffffff;
  --content: 940px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3, .eyebrow, .nav-link, .button {
  font-family: Montserrat, Arial, sans-serif;
}

h1, h2, h3, p { margin-top: 0; }
a { color: var(--navy); }

a:hover, a:focus-visible { color: #217d2a; }

.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(217, 224, 229, 0.7);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.header-inner,
.footer-inner {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  width: 286px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 86px 0 70px;
  border-bottom: 10px solid var(--green);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1;
}

.legal-hero p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: #dce5ef;
  font-size: 20px;
}

.legal-content { padding: 0 0 90px; }

.legal-section {
  padding: 42px 0 12px;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type { border-top: 0; }

.legal-section h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.2;
}

.legal-section h3 {
  margin: 30px 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.3;
}

.legal-section p,
.legal-section ul { max-width: 820px; }

.legal-section ul { padding-left: 24px; }
.legal-section li + li { margin-top: 7px; }

.address {
  margin-bottom: 24px;
  font-style: normal;
}

.source-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer {
  padding: 34px 0;
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--green); }

@media (max-width: 900px) {
  .site-header nav .nav-link { display: none; }
  .brand img { width: 220px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .legal-inner { width: min(100% - 32px, var(--content)); }
  .legal-hero { padding: 64px 0 54px; }
  .legal-hero p:last-child { font-size: 18px; }
  .legal-section { padding-top: 34px; }
}

@media (max-width: 560px) {
  .site-header { height: 66px; }
  .header-inner, .footer-inner { width: min(100% - 32px, var(--shell)); }
  .header-inner { gap: 12px; }
  .brand img { width: 154px; }
  .site-header .button { min-height: 40px; padding: 0 11px; font-size: 13px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
