:root {
  color-scheme: light;
  --ink: #16212b;
  --muted: #64707c;
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --amber: #a16207;
  --amber-dark: #754600;
  --line: #ded4c5;
  --navy: #172a3a;
  --shadow: 0 24px 70px rgba(48, 38, 24, 0.12);
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(117, 70, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 70, 0, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: 32px 32px;
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 3px solid var(--amber);
  border-radius: 7px 14px 14px 7px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-family: "Avenir Next", sans-serif;
  font-size: 0.9rem;
  box-shadow: 4px 4px 0 rgba(161, 98, 7, 0.18);
}

.header-link {
  color: var(--amber-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.header-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 430px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 211, 133, 0.24), transparent 22%),
    linear-gradient(130deg, #102332 0%, #1c3445 62%, #a16207 160%);
  box-shadow: var(--shadow);
}

.hero-content {
  max-width: 770px;
  position: relative;
  z-index: 1;
  color: white;
}

.eyebrow,
.nav-title,
.section-number {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

.eyebrow {
  color: #f0ba61;
  margin: 0 0 1rem;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 2rem;
  color: #dbe4e9;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  color: #f7dba8;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-orbit-one {
  width: 370px;
  height: 370px;
  right: -90px;
  top: -150px;
}

.hero-orbit-two {
  width: 190px;
  height: 190px;
  right: 120px;
  top: 30px;
  border-color: rgba(240, 186, 97, 0.34);
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 2rem 0 4rem;
}

.policy-nav {
  position: sticky;
  top: 1.25rem;
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.76);
  backdrop-filter: blur(12px);
}

.nav-title {
  margin: 0 0 0.7rem;
  color: var(--amber);
}

.policy-nav a {
  border-radius: 9px;
  padding: 0.48rem 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.policy-nav a:hover {
  background: rgba(161, 98, 7, 0.08);
  color: var(--amber-dark);
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.plain-language {
  margin: clamp(1.5rem, 5vw, 3.5rem);
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--amber);
  border-radius: 0 16px 16px 0;
  background: rgba(161, 98, 7, 0.07);
}

.plain-language strong {
  color: var(--amber-dark);
}

.plain-language p {
  margin: 0.4rem 0 0;
}

.policy-card section {
  margin: 0 clamp(1.5rem, 5vw, 3.5rem);
  padding: clamp(2.3rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.section-number {
  margin-bottom: 0.65rem;
  color: var(--amber);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h3 {
  margin: 1.7rem 0 0.55rem;
  color: var(--navy);
  font-size: 1rem;
}

.policy-card p,
.policy-card li {
  color: #465461;
  font-size: 1rem;
  line-height: 1.75;
}

.policy-card strong {
  color: var(--navy);
}

.policy-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.policy-card li {
  padding-left: 0.35rem;
  margin-bottom: 0.45rem;
}

.policy-card li::marker {
  color: var(--amber);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.provider-grid div {
  min-height: 150px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #faf6ee;
}

.provider-grid strong,
.provider-grid span {
  display: block;
}

.provider-grid strong {
  margin-bottom: 0.55rem;
}

.provider-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact-section {
  background:
    radial-gradient(circle at 90% 20%, rgba(161, 98, 7, 0.1), transparent 28%),
    transparent;
}

.contact-link {
  display: inline-flex;
  border-bottom: 2px solid var(--amber);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  text-decoration: none;
}

.contact-link:hover {
  color: var(--amber-dark);
}

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 820px) {
  .hero {
    min-height: 390px;
    border-radius: 24px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-title {
    grid-column: 1 / -1;
  }

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

@media (max-width: 520px) {
  .site-header {
    min-height: 66px;
  }

  .header-link {
    display: none;
  }

  main {
    width: min(calc(100% - 1rem), 1180px);
  }

  .hero {
    min-height: 430px;
    padding: 1.5rem;
  }

  .policy-meta {
    display: grid;
  }

  .policy-nav {
    grid-template-columns: 1fr;
  }

  .policy-card {
    border-radius: 20px;
  }

  .plain-language,
  .policy-card section {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }

  footer {
    width: calc(100% - 2rem);
    display: grid;
  }
}

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