/* Bluebonnet Care Coordination landing page styles.
   Update color variables here first when adjusting the brand palette. */
:root {
  --navy: #09233d;
  --navy-soft: #123a5a;
  --medical-blue: #2f78aa;
  --soft-blue: #e7f4fb;
  --bluebonnet: #475fb8;
  --bluebonnet-dark: #263f93;
  --leaf: #547b62;
  --gold: #e7c15d;
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f5;
  --gray-200: #d9e2ea;
  --text: #1f3446;
  --muted: #5f7180;
  --shadow: 0 16px 40px rgba(9, 35, 61, 0.12);
  --shadow-soft: 0 10px 24px rgba(9, 35, 61, 0.08);
  --radius-card: 8px;
  --container: 1120px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 3.35rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.1rem;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 226, 234, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(71, 95, 184, 0.25);
  border-radius: 50%;
  background: var(--soft-blue);
}

.brand-petal,
.brand-center {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.brand-petal {
  width: 11px;
  height: 18px;
  background: var(--bluebonnet);
}

.petal-one {
  left: 15px;
  top: 5px;
}

.petal-two {
  left: 9px;
  top: 13px;
  transform: rotate(-42deg);
}

.petal-three {
  right: 9px;
  top: 13px;
  transform: rotate(42deg);
}

.brand-center {
  left: 17px;
  top: 23px;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.brand-text {
  display: grid;
  gap: 1px;
  color: var(--navy);
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--navy-soft);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: var(--soft-blue);
  color: var(--navy);
  outline: none;
}

.nav-menu .nav-cta {
  background: var(--navy);
  color: var(--white);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  background: var(--medical-blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy);
  border-radius: 999px;
}

.hero,
.section,
.cta-section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  display: grid;
  align-items: center;
  background: #f3fbff;
  border-bottom: 1px solid rgba(217, 226, 234, 0.82);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: min(880px, 76%);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 70px 0 120px rgba(255, 255, 255, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 86px 0 76px;
}

.eyebrow,
.section-kicker {
  color: var(--medical-blue);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 680px;
  margin-top: 22px;
  color: #365064;
  font-size: 1.15rem;
}

.service-area-statement {
  max-width: 680px;
  margin-top: 16px;
  color: var(--navy-soft);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--medical-blue);
  color: var(--white);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-200);
  box-shadow: 0 10px 24px rgba(9, 35, 61, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(47, 120, 170, 0.45);
  color: var(--medical-blue);
}

/* Decorative bluebonnet-inspired hero artwork built with CSS only. */
.hero-visual {
  position: absolute;
  right: max(-42px, calc((100vw - var(--container)) / 2 - 34px));
  bottom: 0;
  z-index: 1;
  width: min(50vw, 620px);
  height: 92%;
  pointer-events: none;
}

.field-line {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 190px;
  border-radius: 55% 0 0 0;
  background: rgba(84, 123, 98, 0.12);
}

.line-two {
  right: -80px;
  height: 145px;
  background: rgba(47, 120, 170, 0.11);
}

.bloom {
  position: absolute;
  bottom: 84px;
  width: 13px;
  height: 150px;
  border-radius: 999px;
  background: var(--leaf);
  opacity: 0.9;
}

.bloom::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -50px;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 45% 45%;
  background: var(--bluebonnet-dark);
  box-shadow:
    -10px 21px 0 -2px var(--bluebonnet),
    8px 22px 0 -1px var(--bluebonnet),
    -12px 44px 0 -2px #5d72c6,
    9px 45px 0 -2px #5d72c6,
    -7px 67px 0 -4px var(--gold),
    8px 67px 0 -5px var(--gold);
  transform: translateX(-50%);
}

.bloom::after {
  content: "";
  position: absolute;
  left: -30px;
  bottom: 42px;
  width: 44px;
  height: 12px;
  border-radius: 999px;
  background: rgba(84, 123, 98, 0.72);
  transform: rotate(-28deg);
}

.bloom-one {
  right: 64px;
}

.bloom-two {
  right: 170px;
  bottom: 42px;
  transform: scale(0.88);
}

.bloom-three {
  right: 292px;
  bottom: 24px;
  transform: scale(0.74);
  opacity: 0.7;
}

.bloom-four {
  right: 410px;
  bottom: 62px;
  transform: scale(0.64);
  opacity: 0.55;
}

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  color: var(--navy-soft);
  font-weight: 800;
}

.trust-item span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--medical-blue);
  font-size: 0.88rem;
}

.section {
  padding: 82px 0;
}

.section:nth-of-type(odd) {
  background: var(--gray-50);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

.section-kicker {
  margin-bottom: 12px;
}

.section-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.service-card,
.step-card,
.pilot-card,
.compliance-panel,
.compliance-list-wrap {
  border: 1px solid rgba(217, 226, 234, 0.9);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 24px;
  min-height: 236px;
}

.service-card h3,
.step-card h3 {
  margin-top: 18px;
}

.service-card p,
.step-card p,
.pilot-layout p,
.compliance-panel p {
  margin-top: 12px;
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--bluebonnet-dark);
  font-size: 1.2rem;
  font-weight: 900;
}

.process-section {
  background: #f6fafc;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  position: relative;
  padding: 24px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

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

.audience-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.audience-list li,
.check-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-soft);
  font-weight: 800;
}

.audience-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(231, 193, 93, 0.16);
}

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

.compliance-section h2,
.compliance-section .section-kicker {
  color: var(--white);
}

.compliance-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.compliance-panel,
.compliance-list-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.compliance-panel {
  padding: 30px;
}

.compliance-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.compliance-list-wrap {
  padding: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.18);
}

.pilot-section {
  background: var(--gray-50);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
}

.pilot-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.pilot-label {
  color: var(--medical-blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pilot-card strong {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.pilot-actions {
  display: grid;
  gap: 10px;
}

.pilot-actions .button {
  width: 100%;
}

.cta-section {
  padding: 62px 0;
  background: var(--soft-blue);
}

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

.cta-layout h2 {
  max-width: 720px;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.phi-warning {
  max-width: 760px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 120, 170, 0.28);
  border-left: 4px solid var(--medical-blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.site-footer {
  padding: 44px 0 34px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
}

.footer-contact {
  display: grid;
  gap: 6px;
  font-style: normal;
}

.footer-contact a {
  color: var(--white);
}

.footer-disclaimer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    width: 440px;
    opacity: 0.35;
  }

  .trust-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .compliance-layout,
  .pilot-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pilot-card {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 10px);
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    justify-content: center;
    width: 100%;
  }

  .hero-content {
    padding: 58px 0 52px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .hero-copy,
  .section-copy,
  .section-heading p:not(.section-kicker) {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .trust-grid,
  .service-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 8px;
  }

  .trust-item {
    min-height: 46px;
  }

  .service-card,
  .step-card,
  .pilot-card,
  .compliance-panel,
  .compliance-list-wrap {
    padding: 20px;
  }

  .hero-visual {
    right: -160px;
    width: 420px;
    opacity: 0.24;
  }

  .hero::before {
    width: 100%;
    box-shadow: none;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .service-card,
  .step-card {
    min-height: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
