:root {
  --navy: #06265c;
  --navy-2: #092e6f;
  --ink: #09245a;
  --text: #15305b;
  --muted: #52637a;
  --teal: #008d92;
  --teal-soft: #aee5e7;
  --surface: #f3f8fb;
  --surface-2: #eef6f9;
  --border: #cfe1ea;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(6, 38, 92, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section-pad { padding: 84px 0; }
.section-soft { background: transparent; }

.site-header {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: relative;
  z-index: 5;
}

.brand img { width: 160px; height: auto; }
.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  align-items: center;
  font-weight: 800;
  color: var(--ink);
}
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--teal); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 900;
  padding: 0 26px;
  white-space: nowrap;
}
.header-cta, .btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid #afc2d4;
}
.menu-toggle {
  display: none;
  justify-self: end;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
}

.hero {
  padding-top: 74px;
  background:
    radial-gradient(circle at 85% 18%, rgba(0, 141, 146, .18), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f6fbfd 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 60px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: .16em;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 900;
}
.eyebrow.light { color: #66f1f2; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .92;
  letter-spacing: -.055em;
  margin-bottom: 26px;
  max-width: 760px;
}
h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: 22px;
}
h3 { color: var(--ink); font-size: 1.16rem; line-height: 1.25; margin-bottom: 10px; }
.lead { font-size: 1.15rem; max-width: 640px; color: #1e365f; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 20px; }
.status-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 640px;
  color: #415778;
  font-size: .98rem;
}
.status-note span {
  width: 4px;
  min-height: 52px;
  display: inline-block;
  background: var(--teal);
  border-radius: 999px;
}

.hero-visual {
  min-height: 520px;
  background: linear-gradient(135deg, #f4f8fb 0%, #bfecee 100%);
  border: 1px solid #b8dce5;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.orbit-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1.5px solid rgba(0, 141, 146, .28);
  border-radius: 50%;
  right: 40px;
  top: 62px;
}
.pill {
  position: absolute;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(6, 38, 92, .12);
  padding: 13px 22px;
  font-weight: 900;
  z-index: 2;
}
.pill-appointments { top: 82px; left: 58px; }
.pill-eligibility { top: 48px; right: 235px; }
.pill-transportation { right: 56px; top: 210px; }
.pill-support { right: 92px; bottom: 136px; }
.coord-card {
  position: absolute;
  left: 54px;
  bottom: 54px;
  width: min(420px, calc(100% - 108px));
  background: rgba(255,255,255,.95);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 30px 70px rgba(6, 38, 92, .14);
  z-index: 1;
}
.checkmark {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: var(--white); font-weight: 900; margin-bottom: 28px;
}
.coord-card h2 { font-size: clamp(2rem, 3vw, 3.3rem); margin-bottom: 16px; }
.coord-card p { margin-bottom: 0; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}
.capability-grid article, .feature-card, .partner-grid article, .metric-grid article {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.capability-grid article { padding: 24px 24px 22px; }
.capability-grid span { color: var(--teal); font-weight: 900; letter-spacing: .08em; display: block; margin-bottom: 10px; }
.capability-grid p, .feature-card p { margin-bottom: 0; color: #364c6d; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
}
.align-start { align-items: start; }
.section-copy p { font-size: 1.06rem; max-width: 660px; }
.muted { color: var(--muted); }
.logo-card, .logo-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.platform-logo-card { width: 360px; max-width: 100%; padding: 16px 24px; margin-bottom: 34px; }
.platform-logo-card img { width: 230px; margin: 0 auto; }
.feature-grid { display: grid; gap: 20px; }
.two-by-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card { padding: 26px; min-height: 150px; }

.logo-panel { padding: 42px; display: grid; place-items: center; }
.logo-panel img { width: min(420px, 100%); }
.beacon-section { grid-template-columns: .9fr 1.1fr; }
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin-top: 28px;
  font-weight: 900;
  color: var(--ink);
}
.check-list span::before { content: "✓"; color: var(--teal); margin-right: 10px; }

.pilot-section { background: transparent; color: var(--text); }
.pilot-section .container {
  background: linear-gradient(135deg, var(--navy) 0%, #021936 100%);
  color: #dceafd;
  border-radius: 34px;
  padding: 68px 64px;
  box-shadow: 0 30px 70px rgba(6, 38, 92, .16);
}
.pilot-section h2, .pilot-section h3 { color: var(--white); }
.light-copy p { color: #dceafd; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.metric-grid article { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); padding: 26px; box-shadow: none; }
.metric-grid p { color: #c2d6f5; margin-bottom: 0; }

.partners-section h2 { margin-bottom: 14px; }
.section-intro { max-width: 820px; font-size: 1.08rem; }
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.partner-grid article { padding: 28px; text-align: center; font-weight: 900; color: var(--ink); min-height: 100px; display: grid; place-items: center; }

.contact-section { background: transparent; padding-top: 64px; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f5fafc 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 46px 52px;
}
.contact-card p { max-width: 760px; }
.site-footer {
  background: var(--white);
  color: #bed0ea;
  padding: 36px 0 48px;
}
.site-footer img { width: 190px; background: var(--white); border-radius: 16px; margin-bottom: 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(260px, .7fr);
  gap: 56px;
  align-items: start;
  background: #021936;
  border-radius: 32px 32px 0 0;
  padding: 52px 56px 30px;
}
.site-footer p { max-width: 980px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-weight: 800; color: var(--white); }
.footer-links strong, .footer-contact strong { color: var(--white); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-email { display: inline-flex; align-items: center; justify-content: center; width: fit-content; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: var(--white); border-radius: 999px; padding: 10px 18px; font-weight: 900; }
.footer-bottom { background: #021936; border-top: 1px solid rgba(255,255,255,.13); border-radius: 0 0 32px 32px; padding: 20px 56px 28px; display: flex; justify-content: space-between; gap: 24px; }
.footer-brand img { width: 150px; }
.footer-brand p, .footer-contact p { color: #bed0ea; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 180px auto auto; width: min(100% - 40px, 1160px); }
  .brand img { width: 145px; }
  .site-nav { gap: 18px; }
  .hero-grid, .two-column, .beacon-section { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero-visual { min-height: 460px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container, .site-header { width: calc(100% - 32px); }
  .section-pad { padding: 60px 0; }
  .site-header { grid-template-columns: 150px 1fr; gap: 12px; }
  .brand img { width: 132px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 18px; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: 0; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  h2 { font-size: 2.2rem; }
  .lead { font-size: 1rem; }
  .hero { padding-top: 48px; }
  .hero-visual { min-height: 420px; border-radius: 28px; }
  .orbit-ring { width: 260px; height: 260px; right: 18px; top: 78px; }
  .pill { font-size: .84rem; padding: 10px 14px; }
  .pill-appointments { top: 70px; left: 24px; }
  .pill-eligibility { top: 36px; right: 96px; }
  .pill-transportation { top: 150px; right: 18px; }
  .pill-support { right: 30px; bottom: 124px; }
  .coord-card { left: 24px; right: 24px; bottom: 28px; width: auto; padding: 26px; }
  .coord-card h2 { font-size: 2rem; }
  .checkmark { width: 44px; height: 44px; margin-bottom: 18px; }
  .capability-grid, .feature-grid.two-by-two, .metric-grid, .partner-grid, .check-list { grid-template-columns: 1fr; }
  .capability-grid { margin-top: 34px; }
  .logo-panel { padding: 28px; }
  .platform-logo-card { width: 100%; }
  .platform-logo-card img { width: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 390px; }
  .pill-eligibility { display: none; }
  .pill-support { bottom: 112px; }
  .coord-card { padding: 22px; }
}


/* Home optimization pass: compact, above-the-fold friendly, professional spacing */
.site-header {
  grid-template-columns: 160px 1fr auto;
  padding: 14px 0 12px;
  min-height: 96px;
}
.brand img { width: 128px; }
.site-nav { gap: 24px; }
.header-cta, .btn { min-height: 46px; padding: 0 22px; }

.hero.section-pad { padding: 42px 0 40px; }
.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .88fr);
  gap: 44px;
}
h1 {
  font-size: clamp(3rem, 4.8vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.052em;
  margin-bottom: 20px;
  max-width: 670px;
}
.lead { font-size: 1.04rem; max-width: 620px; }
.hero-actions { margin: 22px 0 16px; }
.status-note { font-size: .94rem; max-width: 600px; }
.status-note span { min-height: 44px; }

.hero-visual {
  min-height: 410px;
  border-radius: 32px;
}
.orbit-ring {
  width: 300px;
  height: 300px;
  right: 44px;
  top: 54px;
}
.pill { padding: 10px 18px; font-size: .95rem; }
.pill-appointments { top: 76px; left: 48px; }
.pill-eligibility { top: 48px; right: 190px; }
.pill-transportation { right: 42px; top: 180px; }
.pill-support { right: 42px; bottom: 94px; }
.coord-card {
  left: 48px;
  bottom: 44px;
  width: 365px;
  padding: 26px 28px;
  border-radius: 26px;
}
.checkmark { width: 46px; height: 46px; margin-bottom: 18px; }
.coord-card h2 { font-size: clamp(1.9rem, 2.5vw, 2.7rem); margin-bottom: 12px; }
.coord-card p { font-size: .94rem; }

.capability-grid {
  margin-top: 28px;
  gap: 16px;
}
.capability-grid article { padding: 18px 20px; }
.capability-grid span { margin-bottom: 8px; }
.capability-grid h3 { font-size: 1.02rem; margin-bottom: 8px; }
.capability-grid p { font-size: .94rem; line-height: 1.45; }

/* Compact following sections so the page reads as one continuous site, not isolated blocks */
.section-pad { padding: 68px 0; }
#platform.section-pad { padding-top: 62px; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 140px auto auto; min-height: 86px; }
  .brand img { width: 118px; }
  .hero.section-pad { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: clamp(2.9rem, 8vw, 4.2rem); }
  .hero-visual { min-height: 390px; max-width: 640px; width: 100%; margin: 0 auto; }
  .capability-grid { margin-top: 34px; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 118px 1fr; min-height: 78px; padding: 10px 0; }
  .brand img { width: 104px; }
  .hero.section-pad { padding: 38px 0 34px; }
  h1 { font-size: clamp(2.35rem, 11.5vw, 3.35rem); line-height: 1; }
  .hero-visual { min-height: 350px; border-radius: 24px; }
  .orbit-ring { width: 230px; height: 230px; right: 16px; top: 54px; }
  .pill { font-size: .78rem; padding: 8px 12px; }
  .pill-appointments { top: 60px; left: 20px; }
  .pill-eligibility { top: 34px; right: 88px; }
  .pill-transportation { top: 130px; right: 16px; }
  .pill-support { right: 22px; bottom: 96px; }
  .coord-card { left: 20px; right: 20px; bottom: 22px; width: auto; padding: 22px; }
  .coord-card h2 { font-size: 1.8rem; }
  .capability-grid article { padding: 18px; }
  .section-pad { padding: 56px 0; }
}

@media (max-width: 430px) {
  .hero-visual { min-height: 335px; }
  .pill-support { display: none; }
  .coord-card { padding: 20px; }
}


/* Polished motion system: subtle, accessible, and professional */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }

.btn, .header-cta, .feature-card, .capability-grid article, .partner-grid article, .metric-grid article, .logo-card, .logo-panel {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}
.btn:hover, .header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(6, 38, 92, 0.16);
}
.feature-card:hover, .capability-grid article:hover, .partner-grid article:hover, .metric-grid article:hover, .logo-card:hover, .logo-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(6, 38, 92, 0.13);
  border-color: #9bcad6;
}

.hero-visual {
  animation: heroGlow 7s ease-in-out infinite alternate;
}
.orbit-ring {
  animation: orbitBreathe 8s ease-in-out infinite;
}
.pill {
  animation: floatPill 5.5s ease-in-out infinite;
}
.pill-eligibility { animation-delay: .4s; }
.pill-transportation { animation-delay: .9s; }
.pill-support { animation-delay: 1.2s; }
.coord-card {
  animation: cardLift 6.5s ease-in-out infinite;
}
.checkmark {
  animation: checkPulse 2.8s ease-in-out infinite;
}

@keyframes heroGlow {
  from { box-shadow: 0 20px 55px rgba(6, 38, 92, 0.10); }
  to { box-shadow: 0 30px 75px rgba(0, 141, 146, 0.18); }
}
@keyframes orbitBreathe {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.035); opacity: 1; }
}
@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes cardLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes checkPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 141, 146, .22); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(0, 141, 146, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Professional site cohesion pass: consistent section surfaces, contained panels, better footer, smoother motion */
:root {
  --page-bg: #f7fbfd;
  --panel-bg: rgba(255,255,255,0.92);
}
body { background: var(--page-bg); }
.site-header { background: var(--white); }
main { background: var(--page-bg); }
.hero {
  background:
    radial-gradient(circle at 86% 14%, rgba(0, 141, 146, .14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--page-bg) 100%);
}
.section-soft, .partners-section, .contact-section {
  background: var(--page-bg) !important;
}
#platform, #beacon, #partners, #contact { background: var(--page-bg); }

/* Keep the dark pilot experience, but make it a contained panel instead of a full-page band. */
.pilot-section {
  background: var(--page-bg) !important;
  color: var(--text);
  padding-top: 38px;
  padding-bottom: 38px;
}
.pilot-section > .container {
  background: linear-gradient(135deg, var(--navy) 0%, #021936 100%);
  border-radius: 30px;
  padding: 54px;
  box-shadow: 0 24px 70px rgba(6, 38, 92, .16);
}
.pilot-section h2, .pilot-section h3 { color: var(--white); }
.pilot-section .light-copy p { color: #dceafd; }
.metric-grid article {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.075);
}

/* Make every section feel part of the same site rhythm. */
.section-pad { padding: 58px 0; }
#platform.section-pad, #beacon.section-pad, #partners.section-pad, #contact.section-pad { padding-top: 58px; padding-bottom: 58px; }
.logo-card, .logo-panel, .feature-card, .capability-grid article, .partner-grid article {
  background: var(--panel-bg);
}

/* Contact gets a professional contained card, not a loose full-width block. */
.contact-card {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 44px;
  box-shadow: var(--shadow);
}
.contact-section { padding-top: 38px; }

/* Footer: use width and hierarchy more efficiently. */
.site-footer {
  padding: 46px 0 28px;
  background: linear-gradient(135deg, #021936 0%, #041f49 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) minmax(150px, .45fr) minmax(280px, .8fr);
  gap: 54px;
  align-items: start;
}
.footer-brand img {
  width: 170px;
  padding: 10px;
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 18px;
}
.footer-brand p, .footer-contact p {
  color: #c7d8ef;
  margin-bottom: 0;
  max-width: 680px;
}
.footer-links, .footer-contact {
  display: grid;
  gap: 10px;
  color: #dceafd;
}
.footer-links strong, .footer-contact strong {
  color: var(--white);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-links a { color: #dceafd; font-weight: 800; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: #66f1f2; transform: translateX(2px); }
.footer-email {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  font-weight: 900;
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #9fb4d2;
}

/* Smoother visual motion. */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(.992);
  transition: opacity 820ms cubic-bezier(.22,1,.36,1), transform 820ms cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.delay-1 { transition-delay: 140ms; }
.delay-2 { transition-delay: 260ms; }

@media (max-width: 1040px) {
  .pilot-section > .container { padding: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section-pad { padding: 48px 0; }
  .pilot-section > .container, .contact-card { padding: 28px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: grid; }
  .footer-brand img { width: 150px; }
}

/* Final polish pass: clearer nav state, better brand balance, tighter hero, stronger status badge, richer capability rhythm */
.site-header {
  min-height: 84px;
  padding: 10px 0 10px;
  grid-template-columns: 170px 1fr auto;
}
.brand img { width: 142px; }
.site-nav a {
  position: relative;
  padding: 8px 0;
}
.site-nav a.active,
.site-nav a:hover {
  color: var(--teal);
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
}

h1 {
  font-size: clamp(2.85rem, 4.55vw, 4.05rem);
  max-width: 640px;
}
.hero.section-pad { padding-top: 38px; }
.status-note {
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(6, 38, 92, .07);
  color: var(--ink);
  font-weight: 800;
}
.status-note span {
  width: 9px;
  min-width: 9px;
  height: 9px;
  min-height: 9px;
  border-radius: 999px;
  background: var(--teal);
}

.capability-grid article {
  position: relative;
  overflow: hidden;
  min-height: 178px;
}
.capability-grid article::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -24px;
  top: -24px;
  border-radius: 999px;
  background: rgba(0, 141, 146, .075);
}
.capability-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cap-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin: 6px 0 14px;
  background: #e7f6f7;
  color: var(--teal);
  font-weight: 900;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}
.capability-grid h3,
.capability-grid p,
.capability-grid span {
  position: relative;
  z-index: 1;
}

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 150px auto auto; min-height: 78px; }
  .brand img { width: 128px; }
  h1 { font-size: clamp(2.65rem, 7.2vw, 3.9rem); }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 120px 1fr; min-height: 70px; }
  .brand img { width: 108px; }
  .site-nav a.active::after { display: none; }
  h1 { font-size: clamp(2.15rem, 10.5vw, 3.15rem); }
  .status-note {
    border-radius: 18px;
    align-items: flex-start;
    font-size: .9rem;
  }
  .status-note span { margin-top: 7px; }
  .capability-grid article { min-height: auto; }
}

/* Background containment fix: keep colored surfaces inside cards/panels, not full-width bands. */
body,
main {
  background: #ffffff !important;
}

.hero,
.section-soft,
.partners-section,
.contact-section,
#platform,
#beacon,
#partners,
#contact {
  background: #ffffff !important;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%) !important;
}

/* Keep the product visual itself softly colored while the page remains white. */
.hero-visual {
  background: linear-gradient(135deg, #f4f8fb 0%, #bfecee 100%);
}

/* Keep the pilot as a contained dark panel only. */
.pilot-section {
  background: #ffffff !important;
}

/* Keep the contact area as a contained card, not a full-width colored band. */
.contact-section {
  padding-top: 34px;
}
.contact-card {
  background: rgba(255,255,255,0.96);
}

/* Slightly separate large content blocks without using full-width background color. */
#platform,
#beacon,
#partners,
#contact {
  border-top: 1px solid rgba(207, 225, 234, 0.42);
}

@media (max-width: 760px) {
  #platform,
  #beacon,
  #partners,
  #contact {
    border-top-color: rgba(207, 225, 234, 0.55);
  }
}


/* Final contained-background refinement */
.section-pad + .section-pad { border-top: 0; }
#platform, #beacon, #partners, #contact { background: transparent; }

@media (max-width: 1040px) {
  .pilot-section .container { padding: 54px 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 42px 32px 26px; }
  .footer-bottom { padding: 20px 32px 28px; }
}

@media (max-width: 760px) {
  .pilot-section .container { padding: 38px 24px; border-radius: 26px; }
  .contact-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .footer-bottom { flex-direction: column; }
}


/* Final footer containment + faster menu-scroll refinement */
body,
main,
.site-footer {
  background: #ffffff !important;
}

.site-footer {
  padding: 42px 0 34px !important;
}

.footer-grid {
  background: linear-gradient(135deg, #021936 0%, #041f49 100%) !important;
  border-radius: 32px 32px 0 0 !important;
  padding: 48px 56px 30px !important;
  box-shadow: 0 26px 72px rgba(6, 38, 92, .14);
}

.footer-bottom {
  background: linear-gradient(135deg, #021936 0%, #041f49 100%) !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 0 0 32px 32px !important;
  margin-top: 0 !important;
  padding: 20px 56px 28px !important;
}

@media (max-width: 1040px) {
  .footer-grid { padding: 42px 32px 26px !important; }
  .footer-bottom { padding: 20px 32px 28px !important; }
}

@media (max-width: 760px) {
  .site-footer { padding: 34px 0 28px !important; }
  .footer-grid { border-radius: 26px 26px 0 0 !important; }
  .footer-bottom { border-radius: 0 0 26px 26px !important; }
}


/* Logo hierarchy update: no tagline in header, tagline logo in footer. */
.site-header {
  align-items: center !important;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
}
.brand img {
  width: 150px !important;
  max-height: 72px;
  object-fit: contain;
  transform: translateY(1px);
}
.footer-brand img {
  width: 168px !important;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 16px;
}
@media (max-width: 1040px) {
  .brand img { width: 132px !important; max-height: 64px; }
}
@media (max-width: 760px) {
  .brand img { width: 116px !important; max-height: 58px; }
  .brand { min-height: 56px; }
  .footer-brand img { width: 154px !important; }
}

/* Header/body grid alignment fix: keep navigation on the same content width as the page body. */
.site-header {
  width: min(var(--max), calc(100% - 64px)) !important;
  max-width: var(--max) !important;
  grid-template-columns: 150px minmax(0, 1fr) auto !important;
}

/* Keep the logo visually balanced after aligning the header to the main grid. */
.brand img {
  width: 138px !important;
  max-height: 70px;
}

@media (max-width: 1040px) {
  .site-header {
    width: min(var(--max), calc(100% - 40px)) !important;
    grid-template-columns: 130px minmax(0, 1fr) auto !important;
  }
  .brand img { width: 124px !important; }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 32px) !important;
    grid-template-columns: 112px 1fr !important;
  }
  .brand img { width: 104px !important; }
}

/* Header logo size refinement: make the horizontal/no-tagline company mark readable without widening the header grid. */
.site-header {
  grid-template-columns: 200px minmax(0, 1fr) auto !important;
}
.brand {
  min-height: 72px !important;
}
.brand img {
  width: 184px !important;
  max-height: 78px !important;
  object-fit: contain !important;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 168px minmax(0, 1fr) auto !important;
  }
  .brand img {
    width: 154px !important;
    max-height: 70px !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 138px 1fr !important;
  }
  .brand {
    min-height: 60px !important;
  }
  .brand img {
    width: 128px !important;
    max-height: 58px !important;
  }
}


/* Horizontal header logo update */
.site-header {
  grid-template-columns: 220px 1fr auto;
}
.brand img {
  width: 190px;
  height: auto;
}
@media (max-width: 1040px) {
  .site-header { grid-template-columns: 190px auto auto; }
  .brand img { width: 168px; }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 150px 1fr; }
  .brand img { width: 136px; }
}


/* Compact footer final: one contained panel, reduced height, no full-width color band. */
.site-footer.compact-footer {
  background: #ffffff !important;
  padding: 36px 0 32px !important;
}

.compact-footer .footer-panel {
  background: linear-gradient(135deg, #021936 0%, #041f49 100%) !important;
  border-radius: 30px !important;
  box-shadow: 0 22px 62px rgba(6, 38, 92, .14);
  overflow: hidden;
}

.compact-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 56px;
  align-items: center;
  padding: 34px 44px 26px;
}

.compact-footer .footer-brand img {
  width: 130px !important;
  max-height: 90px !important;
  object-fit: contain !important;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px;
  margin: 0 0 16px 0;
}

.compact-footer .footer-brand p,
.compact-footer .footer-contact p {
  color: #c7d8ef;
  margin: 0;
  line-height: 1.45;
}

.compact-footer .footer-contact {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.compact-footer .footer-contact strong {
  color: #ffffff;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.compact-footer .footer-email {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  color: #ffffff;
  font-weight: 900;
}

.compact-footer .footer-bottom {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 16px 44px 20px !important;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #9fb4d2;
}

@media (max-width: 760px) {
  .site-footer.compact-footer {
    padding: 28px 0 26px !important;
  }
  .compact-footer .footer-panel {
    border-radius: 24px !important;
  }
  .compact-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px 22px;
  }
  .compact-footer .footer-brand img {
    width: 120px !important;
    margin-bottom: 14px;
  }
  .compact-footer .footer-bottom {
    padding: 16px 24px 22px !important;
    display: grid;
    gap: 8px;
  }
}

/* Final responsive hero illustration fix: mobile/tablet uses real layout, not clipped absolute positioning. */
@media (max-width: 760px) {
  .hero-visual {
    min-height: 0 !important;
    height: auto !important;
    padding: 22px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: start;
    align-items: start;
    gap: 10px 10px;
    overflow: visible !important;
    border-radius: 26px !important;
  }

  .hero-visual .orbit-ring {
    display: none !important;
  }

  .hero-visual .pill,
  .hero-visual .pill-appointments,
  .hero-visual .pill-eligibility,
  .hero-visual .pill-transportation,
  .hero-visual .pill-support {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 9px 14px !important;
    font-size: .84rem !important;
    line-height: 1.1;
    transform: none !important;
    animation: none !important;
    white-space: nowrap;
    z-index: 2;
  }

  .hero-visual .coord-card {
    position: static !important;
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 0;
    margin: 6px 0 0 0 !important;
    padding: 22px !important;
    border-radius: 24px !important;
    transform: none !important;
    animation: none !important;
  }

  .hero-visual .checkmark {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 16px !important;
  }

  .hero-visual .coord-card h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem) !important;
    line-height: 1.05;
    margin-bottom: 12px !important;
  }

  .hero-visual .coord-card p {
    font-size: .94rem !important;
    line-height: 1.45;
  }
}

@media (max-width: 430px) {
  .hero-visual {
    padding: 18px !important;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .hero-visual .pill,
  .hero-visual .pill-appointments,
  .hero-visual .pill-eligibility,
  .hero-visual .pill-transportation,
  .hero-visual .pill-support {
    display: inline-flex !important;
    font-size: .78rem !important;
    padding: 8px 10px !important;
  }

  .hero-visual .coord-card {
    padding: 20px !important;
  }
}

/* Final mobile hero direction: keep the desktop-inspired visual composition on mobile,
   but scale it proportionally instead of switching to stacked chips. */
@media (max-width: 760px) {
  .hero-visual {
    position: relative !important;
    display: block !important;
    min-height: 360px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 28px !important;
  }

  .hero-visual .orbit-ring {
    display: block !important;
    position: absolute !important;
    width: 270px !important;
    height: 270px !important;
    right: 7% !important;
    top: 12% !important;
    transform: none !important;
    animation: orbitBreathe 8s ease-in-out infinite !important;
  }

  .hero-visual .pill,
  .hero-visual .pill-appointments,
  .hero-visual .pill-eligibility,
  .hero-visual .pill-transportation,
  .hero-visual .pill-support {
    position: absolute !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    padding: 9px 15px !important;
    font-size: .83rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    transform: none !important;
    animation: floatPill 5.5s ease-in-out infinite !important;
    z-index: 4 !important;
  }

  .hero-visual .pill-appointments {
    top: 16% !important;
    left: 11% !important;
  }

  .hero-visual .pill-eligibility {
    top: 10% !important;
    left: 43% !important;
  }

  .hero-visual .pill-transportation {
    top: 42% !important;
    right: 8% !important;
  }

  .hero-visual .pill-support {
    bottom: 22% !important;
    right: 9% !important;
  }

  .hero-visual .coord-card {
    position: absolute !important;
    left: 10% !important;
    right: 10% !important;
    bottom: 12% !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 23px 24px !important;
    border-radius: 24px !important;
    transform: none !important;
    animation: cardLift 6.5s ease-in-out infinite !important;
    z-index: 2 !important;
  }

  .hero-visual .checkmark {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 16px !important;
  }

  .hero-visual .coord-card h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 12px !important;
  }

  .hero-visual .coord-card p {
    font-size: .93rem !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 430px) {
  .hero-visual {
    min-height: 340px !important;
    border-radius: 26px !important;
  }

  .hero-visual .orbit-ring {
    width: 230px !important;
    height: 230px !important;
    right: 5% !important;
    top: 12% !important;
  }

  .hero-visual .pill,
  .hero-visual .pill-appointments,
  .hero-visual .pill-eligibility,
  .hero-visual .pill-transportation,
  .hero-visual .pill-support {
    font-size: .72rem !important;
    padding: 7px 10px !important;
  }

  .hero-visual .pill-appointments {
    top: 14% !important;
    left: 8% !important;
  }

  .hero-visual .pill-eligibility {
    top: 8% !important;
    left: 43% !important;
  }

  .hero-visual .pill-transportation {
    top: 41% !important;
    right: 5% !important;
  }

  .hero-visual .pill-support {
    bottom: 22% !important;
    right: 7% !important;
  }

  .hero-visual .coord-card {
    left: 8% !important;
    right: 8% !important;
    bottom: 12% !important;
    padding: 19px 20px !important;
  }

  .hero-visual .checkmark {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 14px !important;
  }

  .hero-visual .coord-card h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.05rem) !important;
  }

  .hero-visual .coord-card p {
    font-size: .86rem !important;
  }
}

@media (max-width: 360px) {
  .hero-visual {
    min-height: 326px !important;
  }

  .hero-visual .pill,
  .hero-visual .pill-appointments,
  .hero-visual .pill-eligibility,
  .hero-visual .pill-transportation,
  .hero-visual .pill-support {
    font-size: .68rem !important;
    padding: 6px 8px !important;
  }

  .hero-visual .coord-card {
    left: 7% !important;
    right: 7% !important;
    padding: 17px 18px !important;
  }
}

/* Final mobile hero overlap fix: keep desktop-inspired visual but prevent text/pill collisions. */
@media (max-width: 520px) {
  .hero-visual {
    min-height: 340px;
  }

  .coord-card {
    left: 7%;
    right: 7%;
    bottom: 12%;
    padding: 20px;
  }

  .coord-card h2 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.05;
    max-width: 78%;
  }

  .coord-card p {
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 78%;
  }

  .pill {
    font-size: 0.76rem;
    padding: 8px 13px;
  }

  .pill-appointments {
    top: 14%;
    left: 8%;
  }

  .pill-eligibility {
    top: 8%;
    left: 42%;
  }

  .pill-transportation {
    top: 40%;
    right: 5%;
  }

  .pill-support {
    bottom: 20%;
    right: 6%;
  }
}

@media (max-width: 430px) {
  .coord-card p {
    max-width: 72%;
  }

  .pill-support {
    display: none;
  }
}

/* Tablet header fix: switch to compact menu before nav collides with the horizontal logo. */
@media (max-width: 900px) {
  .site-header {
    width: min(var(--page-max), calc(100% - 32px)) !important;
    grid-template-columns: minmax(0, 210px) 1fr !important;
    gap: 16px !important;
    min-height: 78px !important;
    padding: 12px 0 !important;
    align-items: center !important;
  }

  .brand {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .brand img {
    width: min(175px, 100%) !important;
    height: auto !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
  }

  .header-cta {
    display: none !important;
  }

  .site-nav {
    display: none !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: stretch !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: var(--white) !important;
    box-shadow: 0 18px 44px rgba(6, 38, 92, 0.10) !important;
  }

  .site-nav.open {
    display: flex !important;
  }

  .site-nav a {
    padding: 14px 18px !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .site-nav a:last-child {
    border-bottom: 0 !important;
  }

  .site-nav a.active::after {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: minmax(0, 185px) 1fr !important;
  }

  .brand img {
    width: min(158px, 100%) !important;
  }
}
