.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a[aria-current="page"]::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 5px;
  background: var(--blue-light);
  content: "";
}

.source-note {
  max-width: var(--max);
  margin: 38px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
  text-align: center;
}

.source-note a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.section--audiences {
  border-block: 1px solid var(--soft-line);
  background: var(--white);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.audience-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(107, 159, 212, 0.08), transparent 44%),
    var(--paper);
  padding: 34px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.audience-card:hover,
.audience-card:focus-visible {
  border-color: rgba(107, 159, 212, 0.7);
  box-shadow: 0 22px 52px rgba(10, 16, 32, 0.1);
  outline: 0;
  transform: translateY(-3px);
}

.audience-card > span,
.program-grid article > span,
.feature-card > span {
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.audience-card h3 {
  max-width: 310px;
  font-size: 1.45rem;
  font-weight: 450;
  line-height: 1.28;
}

.audience-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.audience-card strong {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audience-card strong span {
  color: var(--blue);
  font-size: 1rem;
}

.section--programs {
  background:
    linear-gradient(180deg, rgba(107, 159, 212, 0.07), transparent 44%),
    var(--paper);
}

.program-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.program-grid article,
.feature-card {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 12px 40px rgba(10, 16, 32, 0.045);
}

.program-grid article > span,
.feature-card > span {
  display: block;
  margin-bottom: 42px;
}

.program-grid p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 690px;
  overflow: hidden;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(107, 159, 212, 0.13), transparent 42%),
    radial-gradient(circle at 82% 38%, rgba(42, 155, 128, 0.16), transparent 26%),
    var(--void);
  padding: 158px 24px 96px;
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 186, 232, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 186, 232, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 92%);
}

.page-hero__mark {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  width: clamp(180px, 26vw, 380px);
  opacity: 0.18;
  filter: drop-shadow(0 0 52px rgba(107, 159, 212, 0.4));
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: min(790px, 100%);
  max-width: var(--max);
  margin-inline: auto;
}

.page-hero h1 {
  max-width: 800px;
  font-size: clamp(3.7rem, 7vw, 5.5rem);
}

.page-hero__lead {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(232, 237, 245, 0.86);
  font-size: 1.16rem;
  line-height: 1.8;
}

.page-hero__note {
  max-width: 720px;
  margin-top: 34px;
  border-top: 1px solid rgba(139, 186, 232, 0.42);
  padding-top: 18px;
  color: rgba(232, 237, 245, 0.68);
  font-size: 0.82rem;
  line-height: 1.7;
}

.page-hero--image {
  background-color: var(--void);
  background-position: center;
  background-size: cover;
}

.page-hero--image::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 16, 0.97) 0%, rgba(5, 5, 16, 0.88) 36%, rgba(5, 5, 16, 0.34) 68%, rgba(5, 5, 16, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 5, 16, 0.12) 0%, rgba(5, 5, 16, 0.62) 100%);
  content: "";
}

.page-hero--image .page-hero__mark {
  display: none;
}

.page-hero--image .page-hero__content {
  width: min(690px, calc(100vw - 48px));
  margin-inline-start: max(24px, calc((100vw - var(--max)) / 2));
  margin-inline-end: auto;
}

.page-hero--providers {
  background-image: url("assets/providers-team.png");
}

.page-hero--payers {
  background-image: url("assets/payers-partners.png");
}

.page-hero--patients {
  background-image: url("assets/patients-families.png");
}

.section--white {
  background: var(--white);
}

.section--ink {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(139, 186, 232, 0.08), transparent 34%),
    var(--void);
  color: var(--white);
}

.section--ink .section__header h2,
.section--ink h3 {
  color: var(--white);
}

.section--ink .section__header p:not(.eyebrow),
.section--ink .feature-card p {
  color: rgba(232, 237, 245, 0.74);
}

.section--ink .feature-card {
  border-color: rgba(139, 186, 232, 0.2);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.feature-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card h3 {
  font-size: 1.16rem;
  line-height: 1.4;
}

.content-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}

.content-layout__intro {
  position: sticky;
  top: 116px;
}

.content-layout__intro h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.1;
}

.content-layout__intro p:not(.eyebrow) {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.8;
}

.content-stack {
  display: grid;
  gap: 14px;
}

.content-stack article {
  border-top: 1px solid var(--line);
  padding: 24px 0 10px;
}

.content-stack article:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.content-stack p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 22px;
  color: var(--slate);
}

.plain-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.choice-panel {
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  padding: 34px 38px;
  box-shadow: 0 18px 54px rgba(10, 16, 32, 0.06);
}

.choice-panel h3 {
  font-size: 1.3rem;
}

.choice-panel p {
  margin-bottom: 0;
  color: var(--slate);
  line-height: 1.78;
}

.callout {
  background:
    linear-gradient(120deg, rgba(107, 159, 212, 0.18), rgba(42, 155, 128, 0.1)),
    var(--navy);
  padding: 76px 24px;
  color: var(--white);
}

.callout__inner {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.callout h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.site-footer--compact {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.compact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.compact-links a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .audience-grid,
  .program-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .content-layout__intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .audience-grid,
  .program-grid,
  .feature-grid,
  .feature-grid--three,
  .feature-grid--two {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 300px;
    padding: 28px;
  }

  .page-hero {
    min-height: 680px;
    padding: 126px 18px 72px;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .page-hero__lead {
    font-size: 1.02rem;
  }

  .page-hero__mark {
    right: -52px;
    width: 260px;
  }

  .page-hero--image {
    background-position: 66% center;
  }

  .page-hero--image::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 16, 0.74) 0%, rgba(5, 5, 16, 0.76) 48%, rgba(5, 5, 16, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 5, 16, 0.9), rgba(5, 5, 16, 0.4));
  }

  .page-hero--image .page-hero__content {
    width: min(354px, calc(100vw - 36px));
    margin-inline: 0;
  }

  .content-layout__intro h2 {
    font-size: 2.25rem;
  }

  .choice-panel {
    padding: 28px 24px;
  }

  .callout {
    padding: 58px 18px;
  }

  .callout__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .callout .button {
    width: 100%;
  }

  .site-footer--compact {
    grid-template-columns: 1fr;
  }

  .compact-links {
    justify-content: flex-start;
  }
}
