:root {
  --navy: #001e2f;
  --navy-deep: #001726;
  --ink: #001d38;
  --teal: #0393b5;
  --cyan: #21c8d2;
  --paper: #f8f9f9;
  --line: #cad5da;
  --text: #172746;
  --soft: #3e4b60;
  --page-pad: clamp(24px, 4.36vw, 67px);
  --seam: 76%;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.teal {
  color: var(--teal);
}

.cyan {
  color: var(--cyan);
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  height: 87px;
  border-bottom: 1px solid #cfd7da;
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.logo img {
  width: auto;
  height: 65px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(36px, 4.3vw, 66px);
  padding-right: 23px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #00122d;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav > a::after,
.nav-item > a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.nav-item > a:hover::after {
  transform: scaleX(1);
}

.caret {
  width: 10px;
  height: 6px;
  opacity: 0.6;
  transition: transform 180ms ease;
}

/* Solutions dropdown */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 87px;
}

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% - 14px);
  left: 50%;
  min-width: 250px;
  padding: 10px 0;
  border: 1px solid #dde5e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 22, 56, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.dropdown a:hover {
  background: #f1f6f7;
}

.dropdown-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--c, var(--teal));
}
/* metallic bullet (STAR-Resolve) — needs a ring to read on the white menu */
.dropdown-dot--silver {
  background: radial-gradient(circle at 34% 30%, #ffffff, #cfd4da 42%, #8b929c 100%);
  box-shadow: inset 0 0 0 1px rgba(86, 94, 105, 0.6);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 34%, #fff 0 20%, rgba(255, 255, 255, 0.72) 43%, transparent 72%),
    linear-gradient(100deg, #f8f9fa 0%, #edf2f3 52%, #dbe5e8 76%);
}

.hero-dark {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--seam);
  /* anchored to the seam; bleeds to the viewport's right edge even when
     the container is capped and centered on wide screens */
  right: calc(50% - 50vw);
  z-index: 0;
  background:
    radial-gradient(circle at 25% 46%, rgba(0, 111, 150, 0.24), transparent 58%),
    linear-gradient(100deg, #002f44, var(--navy) 45%, var(--navy-deep));
}

/* faint dot-matrix "data wall" texture on the dark side, for depth */
.hero-dark::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(120, 200, 220, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  content: "";
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 78%);
  opacity: 0.7;
}

.hero-dark::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: #34e4ee;
  box-shadow: 0 0 18px 5px rgba(31, 211, 223, 0.55);
  content: "";
}

/* Inner pages tint the hero dark-zone to the page accent so the capsule,
   chart, and zone share one color family (the homepage keeps the navy above).
   Gap=deep gold, Adherence/Medicaid=deep green, Medicare=dark teal, etc. */
.page .hero-dark {
  --hd: var(--accent, #0c384f);
  background:
    radial-gradient(circle at 26% 44%, color-mix(in srgb, var(--hd) 50%, transparent), transparent 60%),
    linear-gradient(100deg,
      color-mix(in srgb, var(--hd) 42%, #05070b),
      color-mix(in srgb, var(--hd) 33%, #05070b) 46%,
      color-mix(in srgb, var(--hd) 25%, #05070b));
}
.page .hero-dark::after {
  background-image: radial-gradient(color-mix(in srgb, var(--hd) 30%, #fff) 1px, transparent 1.4px);
  opacity: 0.16;
}
.page .hero-dark::before {
  background: color-mix(in srgb, var(--hd) 52%, #fff);
  box-shadow: 0 0 18px 5px color-mix(in srgb, var(--hd) 55%, transparent);
}

.hero-layout {
  position: relative;
  z-index: 1;
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(44vw, 650px);
  padding-top: 56px;
}

.hero-copy h1 {
  color: var(--ink);
  font-size: clamp(61px, 5.99vw, 92px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.01;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy h1 .teal {
  color: #1298b7;
  transform: scaleX(0.9);
  transform-origin: left center;
}

.hero-copy h1 .teal.reveal {
  animation-name: rise-teal;
}

.hero-copy h1::after {
  display: block;
  width: 96px;
  height: 4px;
  margin-top: 27px;
  background: #1298b7;
  content: "";
}

.hero-lede {
  width: min(37vw, 565px);
  margin-top: 27px;
  color: #142c45;
  font-size: clamp(21px, 1.76vw, 29px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.hero-lede strong {
  color: #1298b7;
  font-weight: 700;
}

.hero-visual {
  position: static;
}

/* glowing chart that lives behind the capsule on the dark side */
.hero-bars {
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 6%;
  width: 19%;
  max-width: 290px;
  opacity: 0.9;
  color: #2bd9e5;
  pointer-events: none;
}

.hero-bars .bars rect {
  transform-origin: bottom;
  animation: grow-bar 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-bars .bars rect:nth-child(2) { animation-delay: 0.07s; }
.hero-bars .bars rect:nth-child(3) { animation-delay: 0.14s; }
.hero-bars .bars rect:nth-child(4) { animation-delay: 0.21s; }
.hero-bars .bars rect:nth-child(5) { animation-delay: 0.28s; }
.hero-bars .bars rect:nth-child(6) { animation-delay: 0.35s; }
.hero-bars .bars rect:nth-child(7) { animation-delay: 0.42s; }

@keyframes grow-bar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.trendline {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: draw-line 1.3s ease-out 0.45s forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* large product icon, centered on the seam, replacing the capsule on
   solution pages so the dark panel isn't left empty */
.hero-product-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--seam);
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 32px;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  color: var(--accent);
  filter: drop-shadow(0 14px 30px rgba(0, 22, 50, 0.35));
  pointer-events: none;
}

.hero-product-icon svg {
  width: 132px;
  height: 132px;
  stroke-width: 1.6;
}

/* glass variant: doubled box + content, glassmorphic surface */
.hero-product-icon--glass {
  width: 250px;
  height: 250px;
  border-radius: 47px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.95), transparent 9%),
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.75), transparent 48%),
    conic-gradient(from 200deg at 50% 50%,
      rgba(130, 210, 255, 0.12) 0deg,
      rgba(255, 255, 255, 0) 20deg,
      rgba(255, 170, 210, 0.1) 45deg,
      rgba(255, 255, 255, 0) 65deg,
      rgba(160, 255, 225, 0.1) 85deg,
      rgba(255, 255, 255, 0) 100deg,
      rgba(130, 210, 255, 0.12) 360deg),
    rgba(255, 255, 255, 68%);
  backdrop-filter: blur(25px) url(#liquidGlassRefraction);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1.5px rgba(180, 220, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 48px 22px rgba(255, 255, 255, 0.55);
}
.hero-product-icon--glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}
.hero-product-icon--glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent, rgba(255, 255, 255, 0.3));
}
.hero-product-icon--glass svg {
  width: 194px;
  height: 194px;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 18px rgba(255, 255, 255, .9));
}

/* non-square artwork (e.g. wide icons) needs a wider box so its
   visible ink fills the same relative height as the square icons above */
.hero-product-icon--wide svg {
  width: 125px;
  height: auto;
}

/* wide + glass together: keep the wide aspect ratio (don't force square) */
.hero-product-icon--glass.hero-product-icon--wide svg {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 18px rgba(255, 255, 255, .9));
}

/* transparent capsule, centered ON the seam so its glass halves
   line up with the light/dark divide. aspect-correct (no distortion). */
.hero-capsule {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--seam);
  width: 580px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 34px rgba(0, 22, 50, 0.3));
  pointer-events: none;
}

/* Mission band */
.band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(22, 142, 173, 0.17), transparent 38%),
    linear-gradient(100deg, #001b2c, #002e42 60%, #004054);
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 146px;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}

.band-text {
  color: #fff;
  font-size: clamp(28px, 2.9vw, 46px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

/* Solutions */
.solutions {
  padding: 72px 0 80px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.solutions-title {
  margin-bottom: 40px;
  color: var(--ink);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.solutions-title::after {
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--teal);
  content: "";
}

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

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid #e0e7ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 22, 56, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
}

.solution-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  content: "";
}

.solution-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(0, 22, 56, 0.12);
  transform: translateY(-5px);
}

.solution-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  color: var(--accent);
}

.solution-icon svg {
  width: 34px;
  height: 34px;
}

/* glass variant to match the product-page hero icons */
.solution-icon--glass {
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--accent) 22%, #eef1f4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.solution-icon--glass svg {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

.solution-card h3 {
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.solution-card h3 span {
  color: var(--ink);
  font-weight: 700;
}

.solution-card p {
  margin-top: 10px;
  margin-bottom: 22px;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.5;
}

.solution-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.solution-cta svg {
  width: 14px;
  height: 10px;
  transition: transform 200ms ease;
}

.solution-card:hover .solution-cta svg {
  transform: translateX(4px);
}

/* Pillars */
.pillars {
  border-bottom: 1px solid var(--line);
  background: #f9fafb;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 56px var(--page-pad) 50px;
}

.pillar {
  position: relative;
  padding: 0 30px;
  text-align: center;
}

.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; }

.pillar + .pillar {
  border-left: 0;
}

.pillar + .pillar::before {
  position: absolute;
  top: 11px;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #c9d3d8;
  content: "";
}

.pillar-icon {
  display: grid;
  width: 74px;
  height: 72px;
  margin: 0 auto 12px;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  color: var(--teal);
}

.pillar-icon svg {
  width: 98px;
  height: 98px;
  max-width: none;
  justify-self: center;
  stroke-width: 1.35;
  transform: translateY(-20px);
}

.pillar:nth-child(4) .pillar-icon svg {
  width: 102px;
  height: 102px;
  stroke-width: 0.9;
}

.pillar h3 {
  margin-bottom: 10px;
  color: #001431;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.pillar p {
  max-width: 220px;
  margin: 0 auto;
  color: #162e47;
  font-size: 16px;
  line-height: 1.4;
}

/* CSS-only tooltip for footnoted pillar copy */
.has-tooltip {
  position: relative;
  text-decoration: none;
  cursor: help;
}

.has-tooltip .tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 210px;
  max-width: 80vw;
  padding: 10px 14px;
  background: #015166;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(1, 30, 47, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.has-tooltip .tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #015166;
  transform: translateX(-50%);
}

.has-tooltip:hover .tooltip-bubble,
.has-tooltip:focus .tooltip-bubble,
.has-tooltip:focus-visible .tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Results / proof points */
.results {
  border-bottom: 1px solid var(--line);
  background: #f9fafb;
}

.results-inner {
  padding: 52px var(--page-pad) 44px;
}

.results-heading {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.results-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.results-note {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.5;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.result-stat {
  position: relative;
  padding: 0 23px;
  text-align: center;
}

.result-stat + .result-stat::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: #c9d3d8;
  content: "";
}

.result-value {
  color: var(--teal);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1;
}

.result-label {
  margin-top: 10px;
  color: #001431;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1px;
  text-transform: uppercase;
}

.result-sub {
  max-width: 210px;
  margin: 6px auto 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.4;
}

.results-source {
  margin-top: 30px;
  color: #7b8494;
  font-size: 14px;
  text-align: center;
}

/* Mission statement */
.mission {
  background:
    radial-gradient(circle at 67% 0, rgba(58, 185, 197, 0.08), transparent 42%),
    #eef5f6;
}

.mission-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.mission-text {
  color: var(--ink);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* Footer */
.site-footer {
  background: linear-gradient(100deg, #001b2c, var(--navy) 55%, var(--navy-deep));
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 32px;
}

.footer-logo {
  display: inline-block;
  line-height: 0;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 55px;
}

.footer-tag {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 15px;
  text-align: right;
}

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

.footer-phone {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-legal {
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 15px;
}

.footer-privacy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
}

.footer-privacy:hover {
  color: var(--cyan);
}

/* Motion */
.reveal {
  opacity: 0;
  animation: rise 600ms ease forwards;
  transform: translateY(12px);
}

.r2 {
  animation-delay: 80ms;
}

.r3 {
  animation-delay: 160ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-teal {
  from {
    opacity: 0;
    transform: translateY(12px) scaleX(0.9);
  }

  to {
    opacity: 1;
    transform: scaleX(0.9);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.in {
  opacity: 1;
  transform: none;
}

.solutions-grid .reveal-on-scroll:nth-child(2) { transition-delay: 70ms; }
.solutions-grid .reveal-on-scroll:nth-child(3) { transition-delay: 140ms; }
.solutions-grid .reveal-on-scroll:nth-child(4) { transition-delay: 210ms; }

/* Tablet and mobile */
@media (max-width: 1050px) {
  .main-nav {
    gap: 30px;
    padding-right: 0;
  }

  .main-nav a {
    font-size: 14px;
  }

  .hero-copy {
    width: 52vw;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 7vw, 72px);
  }

  .hero-lede {
    width: 45vw;
    font-size: 22px;
  }

  .hero {
    --seam: 72%;
  }

  .hero-capsule {
    width: min(500px, 52vw);
  }

  .hero-bars {
    width: 22%;
    right: 3%;
  }

  .band-inner {
    padding-left: var(--page-pad);
  }

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

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .result-stat:nth-child(3)::before {
    display: none;
  }

  .pillar {
    padding-inline: 12px;
  }

  .pillar p {
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 72px;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px var(--page-pad) 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
  }

  /* dropdown becomes an inline list inside the open menu */
  .nav-item {
    display: block;
    width: 100%;
    height: auto;
  }

  .nav-item > a {
    pointer-events: none;
  }

  .nav-item .caret {
    display: none;
  }

  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .dropdown a {
    padding: 10px 0 10px 18px;
    font-size: 14px;
  }

  .dropdown a:hover {
    background: transparent;
  }

  /* the desktop reveal transform (translateX(-50%)) shifts the open dropdown
     off-screen on mobile, where it's a static in-flow list; keep it in place */
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    transform: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--ink);
  }

  .hero {
    height: auto;
    padding-bottom: 0;
  }

  .hero-dark {
    display: none;
  }

  .hero-layout {
    height: auto;
    padding: 0;
  }

  .hero-copy {
    width: 100%;
    padding: 44px var(--page-pad) 35px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 10vw, 68px);
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-copy h1 .teal {
    transform: none;
  }

  .hero-copy h1 .teal.reveal {
    animation-name: rise;
  }

  .hero-lede {
    width: 100%;
    max-width: 620px;
    font-size: 22px;
  }

  .hero-lede br {
    display: none;
  }

  .hero-visual {
    position: relative;
    display: grid;
    min-height: 360px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #dbe7e9 0 7%, var(--navy) 58%);
  }

  /* inner pages tint the stacked mobile hero zone to the page accent too */
  .page .hero-visual {
    background: linear-gradient(180deg, #dbe7e9 0 7%,
      color-mix(in srgb, var(--accent, #0c384f) 33%, #05070b) 58%);
  }

  .hero-capsule {
    position: relative;
    z-index: 2;
    top: 6px;
    left: auto;
    width: min(560px, 92vw);
    height: auto;
    transform: none;
  }

  .hero-bars {
    z-index: 1;
    right: 6%;
    bottom: 8%;
    width: 58%;
    max-width: 360px;
    opacity: 0.5;
  }

  .band-inner {
    min-height: 130px;
    padding: 26px var(--page-pad);
  }

  .band-text {
    font-size: clamp(26px, 4.6vw, 36px);
  }

  .solutions {
    padding: 54px 0 60px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .result-stat::before {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 28px;
    padding-bottom: 28px;
    gap: 28px 0;
  }

  .pillar:nth-child(odd) {
    border-left: 0;
  }

  .pillar:nth-child(odd)::before {
    display: none;
  }

  .pillar p {
    font-size: 17px;
  }

  .mission-inner {
    min-height: 0;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-top: 36px;
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 540px) {
  .hero-copy {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-lede {
    font-size: 20px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-capsule {
    top: 0;
    width: 96vw;
    max-width: none;
  }

  .band-inner {
    flex-direction: column;
    text-align: center;
  }

  .band-text br {
    display: none;
  }

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

  .pillar + .pillar {
    border-left: 0;
  }

  .pillar::before {
    display: none;
  }

  .pillar {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }

  .pillar:last-child {
    border-bottom: 0;
  }

  .mission-text {
    font-size: 24px;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
