@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap");

:root {
  --navy: #10203d;
  --blue: #1764f6;
  --blue-dark: #0e49c7;
  --blue-soft: #e8f0ff;
  --orange: #ff5a1f;
  --orange-soft: #fff0e8;
  --mint: #36b791;
  --mint-soft: #e6f8f2;
  --cream: #fbf7f1;
  --paper: #ffffff;
  --muted: #68748a;
  --line: #e9e2d8;
  --shadow: 0 22px 60px rgba(16, 32, 61, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  color: white;
  background: var(--blue);
  border-radius: 14px 14px 14px 5px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 5px 0 var(--blue-dark);
}

.brand strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 800;
}

.top-nav > a:not(.nav-button):hover {
  color: var(--blue);
}

.nav-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: white;
  background: var(--navy);
  border-radius: 13px;
  box-shadow: 0 5px 0 #071329;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-button {
  min-height: 42px;
  padding: 0 20px;
}

.nav-button:hover,
.primary-button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #071329;
}

.hero-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 540px;
  margin: 18px auto 0;
  padding: 72px clamp(34px, 7vw, 86px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,.11) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 72%, rgba(255,255,255,.08) 0 2px, transparent 3px),
    linear-gradient(125deg, #10295a 0%, #1646a8 58%, #1764f6 100%);
  background-size: 38px 38px, 54px 54px, auto;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-shell::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -250px;
  bottom: -270px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.pill,
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pill {
  padding: 9px 14px;
  color: #dbe7ff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.hero-copy h1 {
  max-width: 660px;
  margin: 25px 0 18px;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-copy h1 em {
  color: #ffc928;
  font-style: normal;
}

.hero-copy > p {
  max-width: 530px;
  margin: 0 0 32px;
  color: #dce6fa;
  font-size: 17px;
  line-height: 1.7;
}

.primary-button {
  min-height: 52px;
  padding: 0 22px;
  background: var(--orange);
  box-shadow: 0 5px 0 #d8420e;
  font-size: 14px;
  font-weight: 900;
}

.primary-button:hover {
  box-shadow: 0 3px 0 #d8420e;
}

.hero-art {
  position: relative;
  height: 390px;
}

.paper-card {
  position: absolute;
  border-radius: 24px;
  box-shadow: 0 26px 54px rgba(5, 22, 60, .26);
}

.paper-back {
  width: 230px;
  height: 285px;
  top: 68px;
  left: 48%;
  padding: 42px 28px;
  background: #f0f4fc;
  transform: translateX(-28%) rotate(8deg);
}

.paper-back span {
  display: block;
  width: 74%;
  height: 9px;
  margin-bottom: 14px;
  background: #d7e1f4;
  border-radius: 9px;
}

.paper-front {
  width: 270px;
  height: 320px;
  top: 25px;
  left: 41%;
  padding: 36px;
  color: var(--navy);
  background: white;
  transform: translateX(-50%) rotate(-7deg);
}

.paper-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: white;
  background: var(--blue);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--blue-dark);
  font-size: 26px;
  font-weight: 900;
}

.paper-front strong {
  display: block;
  margin-bottom: 24px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.paper-line {
  display: block;
  width: 78%;
  height: 9px;
  margin-bottom: 12px;
  background: #dfe6f3;
  border-radius: 9px;
}

.paper-line.long { width: 100%; }
.paper-line.short { width: 52%; }

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

.orbit-one {
  width: 350px;
  height: 350px;
  top: 0;
  left: 7%;
}

.orbit-two {
  width: 270px;
  height: 270px;
  top: 39px;
  left: 15%;
}

.spark {
  position: absolute;
  color: #ffc928;
  font-weight: 900;
}

.spark-one {
  top: 26px;
  right: 9%;
  font-size: 34px;
}

.spark-two {
  bottom: 42px;
  left: 2%;
  color: #ff7a47;
  font-size: 18px;
}

.resources {
  width: min(1180px, calc(100% - 40px));
  margin: 106px auto;
}

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.kicker {
  color: var(--blue);
}

.section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(35px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 320px;
  color: var(--muted);
  font-size: 15px;
  text-align: right;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resource-card {
  min-height: 380px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 25px;
  box-shadow: 0 8px 0 rgba(16,32,61,.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 0 rgba(16,32,61,.07);
}

.card-top {
  margin-bottom: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-number,
.arrow {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.card-number {
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 14px;
  font-size: 12px;
}

.arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
}

.card-eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 6px 0 9px;
  font-size: 28px;
  letter-spacing: -.035em;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.resource-card.orange .card-number { color: var(--orange); background: var(--orange-soft); }
.resource-card.orange .card-eyebrow { color: var(--orange); }
.resource-card.mint .card-number { color: var(--mint); background: var(--mint-soft); }
.resource-card.mint .card-eyebrow { color: var(--mint); }

.trust-strip {
  width: min(1180px, calc(100% - 40px));
  min-height: 138px;
  margin: 0 auto 100px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  color: white;
  background: var(--navy);
  border-radius: 24px;
}

.trust-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--blue);
  border-radius: 18px;
  font-size: 26px;
  font-weight: 900;
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip p {
  margin: 4px 0 0;
  color: #b9c4d9;
  font-size: 13px;
}

.trust-strip > a {
  color: #ffc928;
  font-size: 13px;
  font-weight: 900;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.footer-brand p strong {
  color: var(--navy);
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: #8b94a7;
  font-size: 11px;
}

.document-main {
  min-height: 100vh;
}

.document-hero {
  padding: 74px 20px 90px;
  text-align: center;
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--cream) 100%);
}

.document-hero.orange {
  background: linear-gradient(180deg, var(--orange-soft) 0%, var(--cream) 100%);
}

.document-hero.mint {
  background: linear-gradient(180deg, var(--mint-soft) 0%, var(--cream) 100%);
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.document-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -.055em;
}

.document-hero p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.updated {
  display: inline-block;
  margin-top: 20px;
  padding: 7px 12px;
  color: var(--blue);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.document-layout {
  width: min(980px, calc(100% - 40px));
  margin: -42px auto 90px;
  padding: clamp(28px, 6vw, 62px);
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.document-section {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.document-section:first-child { padding-top: 0; }
.document-section:last-child { padding-bottom: 0; border-bottom: 0; }

.section-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.document-section h2 {
  margin: 3px 0 8px;
  font-size: 20px;
}

.document-section p,
.document-section li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.document-section p { margin: 0; }

.support-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.support-callout {
  margin-top: 34px;
  padding: 24px;
  color: var(--navy);
  background: var(--blue-soft);
  border-radius: 18px;
}

.support-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.support-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.support-callout a {
  display: inline-flex;
  margin-top: 16px;
  color: white;
  background: var(--blue);
  padding: 12px 17px;
  border-radius: 11px;
  box-shadow: 0 4px 0 var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.legal-summary {
  margin-bottom: 34px;
  padding: 26px;
  color: var(--navy);
  background: var(--blue-soft);
  border: 1px solid #cddcff;
  border-radius: 20px;
}

.legal-summary.orange-summary {
  background: var(--orange-soft);
  border-color: #ffd4c4;
}

.legal-summary strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 900;
}

.legal-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.legal-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-list li {
  margin-bottom: 10px;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.document-section a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 14px !important;
  padding: 15px 17px;
  color: var(--navy) !important;
  background: var(--cream);
  border-left: 4px solid var(--orange);
  border-radius: 8px 14px 14px 8px;
}

.provider-list {
  margin-bottom: 16px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px !important;
}

.inline-actions a {
  display: inline-flex;
  padding: 10px 13px;
  color: white;
  background: var(--blue);
  border-radius: 10px;
  text-decoration: none;
}

@media (max-width: 820px) {
  .top-nav > a:not(.nav-button) {
    display: none;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding-top: 54px;
    text-align: center;
  }

  .hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-art {
    height: 330px;
    margin-top: 26px;
  }

  .paper-front { left: 48%; }
  .paper-back { left: 53%; }
  .orbit-one { left: 24%; }
  .orbit-two { left: 31%; }

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

  .resource-card {
    min-height: 330px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading > p {
    text-align: left;
  }

  .trust-strip {
    grid-template-columns: auto 1fr;
  }

  .trust-strip > a {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-shell,
  .resources,
  .trust-strip,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-shell {
    min-height: 0;
    margin-top: 5px;
    padding: 44px 22px 30px;
    border-radius: 25px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-art {
    height: 285px;
    transform: scale(.86);
  }

  .paper-front { left: 40%; }
  .paper-back { left: 48%; }

  .resources {
    margin: 72px auto;
  }

  .trust-strip {
    padding: 24px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-icon {
    margin: 0 auto;
  }

  .trust-strip > a {
    grid-column: auto;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .document-hero {
    padding-top: 46px;
  }

  .document-layout {
    width: calc(100% - 24px);
    margin-bottom: 50px;
    padding: 26px 22px;
  }

  .document-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
