/* ==========================================================================
   VITA — design tokens
   Source of truth: VITA_landing_page_brief.md, section 3.
   Approved pairings only: Vital Blue on Clinical White · Chart Ink on
   Pure White · Clinical White on Chart Ink.
   ========================================================================== */

:root {
  --vital-blue:     #2563EB; /* primary / hero / CTAs / links */
  --stable-green:   #10B981; /* status only — never decorative */
  --alert-amber:    #F59E0B; /* status only — never decorative */
  --critical-red:   #EF4444; /* status only — never decorative */
  --clinical-white: #F8FAFC; /* primary background */
  --pure-white:     #FFFFFF; /* card / surface */
  --chart-ink:      #0F172A; /* text / dark sections / reversed lockups */

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --hairline: rgba(15, 23, 42, 0.12);
  --hairline-dark: rgba(248, 250, 252, 0.16);

  --radius-card: 12px;
  --max-width: 1120px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overscroll-behavior-x: none; }
body {
  margin: 0;
  overscroll-behavior-x: none;
  background: var(--clinical-white);
  color: var(--chart-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, blockquote { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--chart-ink);
  color: var(--clinical-white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Numerals, IDs, monospace meta */
.mono { font-family: var(--font-mono); }

/* ==========================================================================
   Shared
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vital-blue);
  margin: 0 0 1rem;
}
.eyebrow--dark { color: var(--clinical-white); opacity: 0.72; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.75rem 1.375rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.btn--primary {
  background: var(--vital-blue);
  color: var(--pure-white);
}
.btn--primary:hover { opacity: 0.88; }
.btn--ghost {
  background: transparent;
  color: var(--chart-ink);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--chart-ink); }
.btn--small { padding: 0.55rem 1.125rem; font-size: 0.875rem; }

/* Status dots — semantic motif, used only where meaningful */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--green { background: var(--stable-green); }
.status-dot--amber { background: var(--alert-amber); }
.status-dot--red { background: var(--critical-red); }
.status-dot--blue { background: var(--vital-blue); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.65);
}

/* ==========================================================================
   Nav — floating pill capsule (brief section 4): inset margin on all sides,
   Pure White surface, soft shadow, sits above the hero photo. Not a
   full-width bar stuck to the top edge.
   ========================================================================== */

.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: max-content;
  max-width: calc(100vw - 2.5rem);
  border-radius: 999px;
  background: var(--pure-white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
}
.nav__inner {
  padding: 0.625rem 0.75rem 0.625rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}
.nav__mark { width: 26px; height: 26px; object-fit: contain; }
.nav__word {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--chart-ink);
}
.nav__links {
  display: flex;
  gap: 1.75rem;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--chart-ink);
  opacity: 0.75;
  white-space: nowrap;
}
.nav__links a:hover { opacity: 1; }

/* Our Solutions dropdown — sits inline with the other nav links, opens a
   Pure White panel below it on hover/focus (desktop only; mobile gets
   flat links inside .mobile-menu instead, see below). Exactly 3 items:
   Clinics, Hospitals, Pharmacies — see VITA_Session_Update_Nav_and_
   Clinics_Features.md section 1. */
.nav__dropdown {
  position: relative;
  display: flex;
}
.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--chart-ink);
  opacity: 0.75;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav__dropdown-trigger:hover,
.nav__dropdown-trigger[aria-expanded="true"] { opacity: 1; }
.nav__dropdown-caret {
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.nav__dropdown-trigger[aria-expanded="true"] .nav__dropdown-caret {
  transform: rotate(180deg);
}

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 0.875rem);
  left: 50%;
  display: flex;
  flex-direction: column;
  width: 220px;
  max-width: calc(100vw - 2.5rem);
  background: var(--pure-white);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 0.5rem;
  gap: 0.125rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 40;
}
.nav__dropdown:hover .nav__dropdown-panel,
.nav__dropdown:focus-within .nav__dropdown-panel,
.nav__dropdown.is-open .nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
}
.nav__dropdown-item:hover { background: var(--clinical-white); }
.nav__dropdown-item[aria-current="page"] { background: var(--clinical-white); }
.nav__dropdown-item[aria-current="page"] .nav__dropdown-name { color: var(--vital-blue); }
.nav__dropdown-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--chart-ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav__whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--chart-ink);
  opacity: 0.75;
  white-space: nowrap;
}
.nav__whatsapp:hover { opacity: 1; color: var(--vital-blue); }

/* Nav CTA only: fully rounded to match the pill container it sits inside.
   Every other button on the page keeps the base .btn border-radius. */
.nav__actions .btn--primary { border-radius: 999px; }

/* Hamburger toggle — hidden by default, shown below tablet width where
   the pill can no longer fit links + WhatsApp + CTA (brief section 13). */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--chart-ink);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Dropdown panel opened by the hamburger. Same pill-family surface as
   .nav (Pure White, soft shadow, rounded), stacked links + repeated CTA. */
.mobile-menu {
  display: none;
  position: fixed;
  top: 4.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 29;
  flex-direction: column;
  background: var(--pure-white);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 0.25rem 1.25rem 1.25rem;
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100vh - 5.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
}
.mobile-menu__links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--chart-ink);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu__links a:last-child { border-bottom: none; }
.mobile-menu__group-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
  padding: 0.875rem 0 0.25rem;
}
.mobile-menu__cta {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .nav { top: 0.75rem; max-width: calc(100vw - 1.5rem); }
  .nav__inner { padding: 0.5rem 0.5rem 0.5rem 1.25rem; gap: 0.75rem; }
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* Anchor targets clear the floating nav on jump-scroll */
#who-we-are, #how-we-work, #solutions, #hospitals, #pharmacies {
  scroll-margin-top: 6rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

/* Full-bleed photo (assets/hero.png, the 21:9 desktop crop) with a
   Chart Ink gradient overlay carrying the text. Swapped for a dedicated
   4:5 portrait crop (assets/hero-mobile.jpg) at tablet width and below
   — see the max-width: 768px block. --chart-ink background-color is a
   fallback in case a file is ever removed: same tone as the gradients,
   so the section still reads correctly (dark, white text) without a
   photo loaded. */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 8rem 1.5rem 5rem;
  background-color: var(--chart-ink);
  background-image: url('../assets/hero.png');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.75), transparent 60%);
  pointer-events: none;
}
/* Below tablet width, swap in the dedicated 4:5 portrait crop
   (assets/hero-mobile.jpg) instead of stretching the 21:9 desktop
   photo — same subject, framed for a tall viewport. The text column
   also runs near full-bleed here (no room reserved at the right for
   the subject the way desktop has), so the left-to-right gradient
   alone won't guarantee contrast under text that wraps toward the
   right edge. Switch to a top-to-bottom wash instead — the mobile
   layout stacks text below/above the image rather than beside it. */
@media (max-width: 768px) {
  .hero {
    background-image: url('../assets/hero-mobile.jpg');
    background-size: cover;
    background-position: center;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.32) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.88) 100%);
  }
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__inner .eyebrow {
  color: var(--clinical-white);
  opacity: 0.8;
}
.hero__headline {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--clinical-white);
  margin-bottom: 1.25rem;
}
.hero__subhead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.82);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}
.hero__ctas .btn--ghost {
  color: var(--clinical-white);
  border-color: rgba(248, 250, 252, 0.35);
}
.hero__ctas .btn--ghost:hover { border-color: var(--clinical-white); }

/* ==========================================================================
   Who We Are — the one contrast break, mid-page
   ========================================================================== */

.who {
  background: var(--chart-ink);
  color: var(--clinical-white);
  padding: 6rem 1.5rem;
}
.who__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.who__quote {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.who__quote .accent { color: var(--vital-blue); }
.who__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.78);
  max-width: 62ch;
  margin-bottom: 2.5rem;
}
.who__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.85);
}
.who__labels li:not(:last-child)::after {
  content: '·';
  margin-left: 1.25rem;
  color: rgba(248, 250, 252, 0.35);
}
.who__labels li { display: inline-flex; }

/* ==========================================================================
   How We Work — Heva's numbered-card device, rebuilt in VITA tokens:
   Clinical White section, Pure White cards, hairline borders (not a solid
   fill), low-opacity mono numeral, Vital Blue status dot on the tag line.
   ========================================================================== */

.how {
  padding: 6.5rem 1.5rem;
  background: var(--clinical-white);
}
.how__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.how__headline {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin-bottom: 3.5rem;
}
.how__headline .accent { color: var(--vital-blue); }

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
/* Row straight to a single stacked column below tablet width — no 2x2
   intermediate stop (brief section 13: "not squeezed into 2x2"). */
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; }
}

.how-card {
  background: var(--pure-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.how-card__num {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--chart-ink);
  opacity: 0.14;
  line-height: 1;
}
.how-card__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--chart-ink);
}
.how-card__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.7);
}
.how-card__tag {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.62);
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--hairline);
}

/* ==========================================================================
   Our Solutions
   ========================================================================== */

.solutions {
  padding: 6.5rem 1.5rem 7rem;
  background: var(--clinical-white);
}
.solutions__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.solutions__headline {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 20ch;
  margin-bottom: 1rem;
}
.solutions__subhead {
  font-size: 1.0625rem;
  color: rgba(15, 23, 42, 0.68);
  max-width: 60ch;
  margin-bottom: 3.5rem;
}

/* For Clinics — five feature cards, same visual language as .how-card
   (Pure White, hairline border, --radius-card). Full-width block inside
   Our Solutions; Hospitals/Pharmacies sit below in .solutions__sub-grid. */
.clinic-features { margin-bottom: 4rem; }
.clinic-features__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.875rem 1.25rem;
  margin-bottom: 1.75rem;
}
.clinic-features__head h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.375rem;
}

.clinic-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.clinic-feature-card {
  background: var(--pure-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.clinic-feature-card__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--chart-ink);
}
.clinic-feature-card__hook {
  font-style: italic;
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(15, 23, 42, 0.6);
}
.clinic-feature-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.75);
}
.clinic-feature-card__pros {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
}
.clinic-feature-card__pros li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.78);
}
.clinic-feature-card__pros li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vital-blue);
}
.clinic-features__more { margin-top: 1.75rem; }
.clinic-features__more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vital-blue);
}
.clinic-features__more-link:hover { text-decoration: underline; }

/* Hospitals / Pharmacies — unchanged card content, now a 2-up row below
   the For Clinics block instead of sharing a 3-column grid with it. */
.solutions__sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) {
  .solutions__sub-grid { grid-template-columns: 1fr; }
}

.solution-card {
  background: var(--pure-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.solution-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--hairline);
}
.solution-card__head h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.1875rem;
}
.solution-card__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.solution-card__list li {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.78);
}
.solution-card__list strong {
  display: block;
  color: var(--chart-ink);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.solutions__close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--hairline);
}
.solutions__close-line {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Feature page — one per item in the /features nav dropdown. Template:
   hero, problem, solution, why-it-matters, closing quote, pagination.
   Same nav/footer chrome as the rest of the site.
   ========================================================================== */

.feature-hero {
  padding: 10rem 1.5rem 4rem;
  background-color: var(--clinical-white);
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--hairline);
}
.feature-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.feature-hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 0.875rem;
}
.feature-hero__hook {
  font-style: italic;
  font-weight: 500;
  font-size: 1.125rem;
  color: rgba(15, 23, 42, 0.62);
  max-width: 46ch;
}

.feature-block {
  padding: 4.5rem 1.5rem;
  background: var(--clinical-white);
}
.feature-block--alt {
  background: var(--pure-white);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.feature-block__inner {
  max-width: 720px;
  margin: 0 auto;
}
.feature-block__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.78);
}

.feature-why {
  padding: 4.5rem 1.5rem;
  background: var(--clinical-white);
}
.feature-why__inner {
  max-width: 720px;
  margin: 0 auto;
}
.feature-why__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.feature-why__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.8);
}
.feature-why__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vital-blue);
}

.feature-closing {
  background: var(--chart-ink);
  color: var(--clinical-white);
  padding: 5.5rem 1.5rem;
  text-align: center;
}
.feature-closing__inner {
  max-width: 660px;
  margin: 0 auto;
}
.feature-closing__quote {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
}
.feature-closing__quote .accent { color: var(--vital-blue); }

.feature-pagination {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.feature-pagination__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  flex: 1 1 0;
  min-width: 0;
  background: var(--pure-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.125rem 1.375rem;
  transition: border-color 0.15s ease;
}
.feature-pagination__link:hover { border-color: var(--vital-blue); }
.feature-pagination__next {
  align-items: flex-end;
  text-align: right;
}
.feature-pagination__link-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.5);
}
.feature-pagination__link-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--chart-ink);
}
.feature-pagination__link:hover .feature-pagination__link-name { color: var(--vital-blue); }
.feature-pagination > .btn {
  flex: 0 0 auto;
  align-self: center;
}

/* ==========================================================================
   Features index (/features/) — flat directory of all 12, grouped the
   same way as the nav dropdown. Reachable from the landing page's
   "See all 12 features" link.
   ========================================================================== */

.features-index {
  padding: 4.5rem 1.5rem 6rem;
  background: var(--clinical-white);
}
.features-index__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.features-index__group:not(:last-of-type) { margin-bottom: 2.75rem; }
.features-index__group-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vital-blue);
  margin-bottom: 1.25rem;
}
.features-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.features-index-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: var(--pure-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}
.features-index-card:hover { border-color: var(--vital-blue); }
.features-index-card__body { min-width: 0; }
.features-index-card__body strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--chart-ink);
  margin-bottom: 0.25rem;
}
.features-index-card__body small {
  display: block;
  font-style: italic;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.6);
}
/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 1.5rem;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(15, 23, 42, 0.6);
}
.footer__mark { width: 20px; height: 20px; object-fit: contain; opacity: 0.8; }
.footer__word { font-family: var(--font-sans); font-weight: 800; color: var(--chart-ink); font-size: 0.9375rem; }
.footer__sep { opacity: 0.4; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(15, 23, 42, 0.6);
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__links a:hover { color: var(--vital-blue); }
.footer__meta {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.45);
  order: 3;
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding: 6.5rem 1.25rem 3rem; }
  .hero__headline { margin-bottom: 1rem; }
  .hero__subhead { margin-bottom: 1.75rem; }
  .hero__ctas { margin-bottom: 0; }

  .who { padding: 3.5rem 1.25rem; }
  .who__quote { margin-bottom: 1.5rem; }
  .who__body { margin-bottom: 1.75rem; }

  .how { padding: 3.5rem 1.25rem; }
  .how__headline { margin-bottom: 2.25rem; }
  .how__grid { gap: 1rem; }
  .how-card { padding: 1.375rem 1.25rem; }

  .solutions { padding: 3.5rem 1.25rem 4rem; }
  .solutions__headline { margin-bottom: 0.75rem; }
  .solutions__subhead { margin-bottom: 2.25rem; }
  .clinic-features { margin-bottom: 3rem; }
  .clinic-features__grid { gap: 1rem; }
  .clinic-feature-card { padding: 1.25rem 1.125rem; }
  .solutions__sub-grid { gap: 1rem; margin-bottom: 3rem; }
  .solution-card { padding: 1.375rem 1.25rem; gap: 1rem; }
  .solutions__close { flex-direction: column; align-items: flex-start; padding-top: 2rem; gap: 1.125rem; }

  .feature-hero { padding: 7rem 1.25rem 3rem; }
  .feature-block, .feature-why { padding: 3rem 1.25rem; }
  .feature-closing { padding: 3.5rem 1.25rem; }
  .feature-pagination { padding: 2.5rem 1.25rem; flex-direction: column; align-items: stretch; text-align: center; }
  .feature-pagination__link { text-align: center; }
  .feature-pagination__next { text-align: center; align-items: center; }

  .features-index { padding: 3.5rem 1.25rem 4rem; }
  .features-index__group:not(:last-of-type) { margin-bottom: 2rem; }
  .features-index__grid { gap: 1rem; }
}

/* Slightly relax section rhythm on very small phones (< 400px) so
   nothing feels cramped against the edges. */
@media (max-width: 400px) {
  .hero, .who, .how, .solutions,
  .feature-hero, .feature-block, .feature-why, .feature-closing, .feature-pagination {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
