/* ============================================================
   HealthBook 2026 Homepage Stylesheet
   ------------------------------------------------------------
   Namespaced under .hb26 so it cannot conflict with the
   existing site stylesheet. Drop in via:
       <link rel="stylesheet" href="{{ asset('css/healthbook-2026.css') }}">

   Visual language matches healthbookme.com:
   - Deep medical blue primary
   - Generous whitespace
   - Clean photo-led cards
   - Calm, institutional tone (not flashy)

   The new content extends to:
   - Three-actor positioning (Agency / Person / Caregiver)
   - Founding-story serif moment
   - Dark Engage section for partnership CTAs
   ============================================================ */

.hb26 {
  /* ----- Design tokens ----- */
  --hb-blue-900: #0b2a4a;     /* deepest, used for headings on light bg */
  --hb-blue-800: #133a66;     /* primary brand blue */
  --hb-blue-700: #1d4f87;     /* hovers, secondary headings */
  --hb-blue-500: #2e7dd1;     /* accent / link blue */
  --hb-blue-100: #d6e4f5;     /* soft blue, used on chips */
  --hb-blue-50:  #eef4fb;     /* tinted background */

  --hb-teal:     #16a3a3;     /* care/peer-support accent */
  --hb-gold:     #c9a544;     /* voucher / dollars accent */

  --hb-ink:      #1a2233;     /* body text */
  --hb-ink-2:    #455064;     /* muted body text */
  --hb-ink-3:    #6b7689;     /* captions */

  --hb-paper:    #ffffff;
  --hb-bone:     #f7f9fc;     /* section alt background */
  --hb-line:     #e2e8f0;     /* hairline dividers */

  --hb-dark-bg:   #0b2a4a;    /* dark Engage section */
  --hb-dark-bg-2: #133a66;

  --hb-radius-sm: 6px;
  --hb-radius:    12px;
  --hb-radius-lg: 20px;

  --hb-shadow-sm: 0 1px 2px rgba(11, 42, 74, .06), 0 1px 3px rgba(11, 42, 74, .04);
  --hb-shadow:    0 4px 14px rgba(11, 42, 74, .08), 0 2px 4px rgba(11, 42, 74, .04);
  --hb-shadow-lg: 0 18px 40px rgba(11, 42, 74, .14), 0 4px 10px rgba(11, 42, 74, .06);

  --hb-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --hb-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* ----- Reset (scoped) ----- */
  font-family: var(--hb-sans);
  color: var(--hb-ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hb26 *,
.hb26 *::before,
.hb26 *::after {
  box-sizing: border-box;
}

.hb26 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hb26 a {
  color: var(--hb-blue-700);
  text-decoration: none;
  transition: color .15s ease;
}
.hb26 a:hover { color: var(--hb-blue-500); }

/* ============================================================
   Layout primitives
   ============================================================ */
.hb26 .hb-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hb26 .hb-section {
  padding: 96px 0;
}
.hb26 .hb-section--tight  { padding: 64px 0; }
.hb26 .hb-section--alt    { background: var(--hb-bone); }
.hb26 .hb-section--dark {
  background: linear-gradient(160deg, var(--hb-dark-bg) 0%, var(--hb-dark-bg-2) 100%);
  color: #e6efff;
}
.hb26 .hb-section--dark h1,
.hb26 .hb-section--dark h2,
.hb26 .hb-section--dark h3 { color: #ffffff; }
.hb26 .hb-section--dark .hb-eyebrow { color: #8db4e6; }

.hb26 .hb-eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--hb-blue-700);
  margin: 0 0 16px;
}

/* ============================================================
   Typography
   ============================================================ */
.hb26 h1, .hb26 h2, .hb26 h3, .hb26 h4 {
  color: var(--hb-blue-900);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.hb26 .hb-h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  letter-spacing: -.02em;
}

.hb26 .hb-h2 {
  font-size: clamp(1.6rem, 2.4vw + .6rem, 2.4rem);
}

.hb26 .hb-h3 {
  font-size: 1.25rem;
}

.hb26 .hb-lede {
  font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem);
  color: var(--hb-ink-2);
  max-width: 60ch;
  line-height: 1.6;
  margin: 0 0 28px;
}

.hb26 .hb-section-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.hb26 .hb-section-intro .hb-eyebrow { display: inline-block; }

/* ============================================================
   Buttons
   ============================================================ */
.hb26 .hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.hb26 .hb-btn--primary {
  background: var(--hb-blue-800);
  color: #ffffff;
  box-shadow: var(--hb-shadow-sm);
}
.hb26 .hb-btn--primary:hover {
  background: var(--hb-blue-700);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--hb-shadow);
}

.hb26 .hb-btn--ghost {
  background: transparent;
  color: var(--hb-blue-800);
  border-color: var(--hb-blue-800);
}
.hb26 .hb-btn--ghost:hover {
  background: var(--hb-blue-800);
  color: #ffffff;
}

.hb26 .hb-section--dark .hb-btn--ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,.5);
}
.hb26 .hb-section--dark .hb-btn--ghost:hover {
  background: #ffffff;
  color: var(--hb-blue-900);
  border-color: #ffffff;
}

.hb26 .hb-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   Hero
   ============================================================ */
.hb26 .hb-hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(46,125,209,.08), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(22,163,163,.06), transparent 50%),
    #ffffff;
  border-bottom: 1px solid var(--hb-line);
}

.hb26 .hb-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hb26 .hb-hero__copy {
  max-width: 540px;
}

/* The hero photo — large, prominent, the emotional anchor.
   Uses background-image so a missing file shows as a tinted placeholder
   rather than a broken-image icon. */
.hb26 .hb-hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e8eff8; /* placeholder tint */
  border-radius: var(--hb-radius-lg);
  box-shadow:
    0 30px 60px -20px rgba(11, 42, 74, .25),
    0 18px 36px -18px rgba(11, 42, 74, .15);
  /* slight upward bias so it sits a touch above the text baseline */
  transform: translateY(-8px);
}

/* Legacy class kept for backwards compat in case anything still references it */
.hb26 .hb-hero__diagram { width: 100%; }

.hb26 .hb-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.hb26 .hb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hb-blue-50);
  color: var(--hb-blue-800);
  border: 1px solid #d6e4f5;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.hb26 .hb-chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hb-teal);
}

@media (max-width: 920px) {
  .hb26 .hb-hero { padding: 64px 0 56px; }
  .hb26 .hb-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hb26 .hb-hero__photo {
    transform: none;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* ============================================================
   Architecture section (the diagram, now standalone)
   ============================================================ */
.hb26 .hb-architecture {
  background: var(--hb-bone);
}

.hb26 .hb-architecture__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* Two-column layout: diagram left, value pillars right */
.hb26 .hb-architecture__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .hb26 .hb-architecture__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ============================================================
   Animated architecture diagram (v3 — symmetric triangle)
   ----------------------------------------------------------------
   Geometry:
     - .hb-arch is a square (1:1)
     - Center at (50%, 50%)
     - Three nodes positioned at top:8%/left:50%, top:75%/left:11%, top:75%/left:89%
     - Each node uses transform: translate(-50%, -50%) to center on those points
     - Photo is the .hb-arch__node-photo; title + subtitle flow below it
     - Subtitles extend below the square boundary by ~60-80px; .hb-architecture
       section padding handles the room.
   ============================================================ */
.hb26 .hb-arch {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

/* Connecting lines layer — fills the square */
.hb26 .hb-arch__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

/* Solid thin lines, not dashed — cleaner */
.hb26 .hb-arch__line {
  fill: none;
  stroke: url(#hb-arch-line-grad);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: .9;
}

/* Animated dot that travels along each line — the actual "data flow" */
.hb26 .hb-arch__pulse {
  fill: var(--hb-blue-500);
  r: 4.5;
  filter: drop-shadow(0 0 4px rgba(46, 125, 209, .55));
  animation: hb-pulse-travel 3s ease-in-out infinite;
}
.hb26 .hb-arch__pulse--org       { animation-delay: 0s; }
.hb26 .hb-arch__pulse--person    { animation-delay: -1s; }
.hb26 .hb-arch__pulse--caregiver { animation-delay: -2s; }

@keyframes hb-pulse-travel {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Center: HealthBook orchestration core ----------------- */
.hb26 .hb-arch__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26%;
  aspect-ratio: 1 / 1;
  z-index: 5;
}

.hb26 .hb-arch__center-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220%;
  height: 220%;
  border: 1px solid var(--hb-blue-500);
  border-radius: 50%;
  opacity: .1;
  animation: hb-ring-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hb-ring-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.98); opacity: .08; }
  50%      { transform: translate(-50%, -50%) scale(1.02); opacity: .15; }
}

.hb26 .hb-arch__center-core {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, #1a3f6e 0%, var(--hb-blue-900) 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 14px 40px -10px rgba(11, 42, 74, .45),
    0 6px 14px -4px rgba(11, 42, 74, .22),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  z-index: 2;
}

.hb26 .hb-arch__symbol {
  width: 64%;
  height: 64%;
  display: block;
  animation: hb-symbol-spin 80s linear infinite;
  transform-origin: center;
}

.hb26 .hb-arch__ray {
  transform-origin: 400px 400px;
  animation: hb-ray-pulse 4s ease-in-out infinite;
  animation-delay: calc(var(--ray) * 0.18s);
}

@keyframes hb-ray-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .72; }
}

@keyframes hb-symbol-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hb26 .hb-arch__center-label { display: none; }

/* Actor nodes — true triangle geometry --------------------------
   Center is at (50%, 50%) of the .hb-arch container.
   Node radius from center: 38% of container width.
   Positions:
     Organization: angle  90° (top)         → x = 50%,                y = 50% - 38% = 12%
     Person:       angle 210° (bottom-left) → x = 50% - 33%  = 17%,   y = 50% + 19% = 69%
     Caregiver:    angle 330° (bottom-right)→ x = 50% + 33%  = 83%,   y = 50% + 19% = 69%
   Node size: 27% of container width.
   Translate negative 50% on each axis to center the node on its position.
   ----------------------------------------------------------------- */

.hb26 .hb-arch__node {
  position: absolute;
  width: 24%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease;
}

.hb26 .hb-arch__node--org {
  top: 18%; left: 50%;
  transform: translate(-50%, -50%);
}
.hb26 .hb-arch__node--org:hover {
  transform: translate(-50%, -50%) translateY(-3px);
}

.hb26 .hb-arch__node--person {
  top: 76%; left: 18%;
  transform: translate(-50%, -50%);
}
.hb26 .hb-arch__node--person:hover {
  transform: translate(-50%, -50%) translateY(-3px);
}

.hb26 .hb-arch__node--caregiver {
  top: 76%; left: 82%;
  transform: translate(-50%, -50%);
}
.hb26 .hb-arch__node--caregiver:hover {
  transform: translate(-50%, -50%) translateY(-3px);
}

/* Circular photo — clean single ring */
.hb26 .hb-arch__node-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--hb-blue-50);
  box-shadow:
    0 10px 28px -10px rgba(11, 42, 74, .35),
    0 3px 8px -2px rgba(11, 42, 74, .15);
  margin-bottom: 10px;
}

/* Role-specific accent: single thin ring just outside the photo edge */
.hb26 .hb-arch__node-photo::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: .55;
  pointer-events: none;
}

.hb26 .hb-arch__node--org       { color: var(--hb-blue-700); }
.hb26 .hb-arch__node--person    { color: var(--hb-teal); }
.hb26 .hb-arch__node--caregiver { color: var(--hb-gold); }

/* Top node (Organization): photo sits BELOW the label block so the label
   reads on the outside edge. The HTML order is title, subtitle, photo. */
.hb26 .hb-arch__node--org .hb-arch__node-photo {
  margin-bottom: 0;
  margin-top: 10px;
}

.hb26 .hb-arch__node-title {
  margin: 0 0 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hb-blue-900);
  letter-spacing: -.005em;
  line-height: 1.2;
}

.hb26 .hb-arch__node-sub {
  margin: 0;
  font-size: 11px;
  color: var(--hb-ink-3);
  line-height: 1.3;
  letter-spacing: .01em;
  max-width: 130px;
}

/* Reduced-motion fallback */
@media (prefers-reduced-motion: reduce) {
  .hb26 .hb-arch__pulse,
  .hb26 .hb-arch__center-ring,
  .hb26 .hb-arch__symbol,
  .hb26 .hb-arch__ray {
    animation: none !important;
  }
  .hb26 .hb-arch__pulse { opacity: 0; }
}

/* On narrower screens, scale the whole composition down gracefully */
@media (max-width: 540px) {
  .hb26 .hb-arch {
    max-width: 100%;
  }
  .hb26 .hb-arch__node-title  { font-size: 13px; }
  .hb26 .hb-arch__node-sub    { font-size: 11px; }
}

/* ============================================================
   Value pillars (right-side panel of architecture section)
   ============================================================ */
.hb26 .hb-pillars__heading {
  font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem);
  color: var(--hb-blue-900);
  margin: 0 0 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.hb26 .hb-pillars__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hb26 .hb-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  padding: 18px 20px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hb26 .hb-pillar:hover {
  transform: translateY(-2px);
  box-shadow: var(--hb-shadow);
  border-color: #cfdcef;
}

.hb26 .hb-pillar__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hb26 .hb-pillar__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hb26 .hb-pillar__icon--voucher  { background: rgba(201,165,68,.14); color: #8a6f1c; }
.hb26 .hb-pillar__icon--peer     { background: rgba(22,163,163,.12); color: #0c7c7c; }
.hb26 .hb-pillar__icon--crisis   { background: rgba(217,75,75,.12);  color: #a33333; }
.hb26 .hb-pillar__icon--outcomes { background: rgba(29,79,135,.12);  color: var(--hb-blue-700); }

.hb26 .hb-pillar__copy {
  flex: 1;
}

.hb26 .hb-pillar__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--hb-blue-900);
  margin: 0 0 4px;
}

.hb26 .hb-pillar__body {
  font-size: 14px;
  color: var(--hb-ink-2);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   The three lenses
   ============================================================ */
.hb26 .hb-lenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hb26 .hb-lens {
  background: #ffffff;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.hb26 .hb-lens:hover {
  transform: translateY(-3px);
  box-shadow: var(--hb-shadow-lg);
  border-color: #cfdcef;
}

/* ---- Optional photo at top of lens card ----
   Uses background-image so a missing file shows as a tinted placeholder
   instead of a broken-image icon. The tint matches each role color. */
.hb26 .hb-lens__photo {
  /* Pull out to card edges, sit above all other content */
  margin: -36px -30px 24px -30px;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--hb-blue-50);
  border-bottom: 1px solid var(--hb-line);
}
.hb26 .hb-lens--agency    .hb-lens__photo { background-color: #e8eff8; }
.hb26 .hb-lens--person    .hb-lens__photo { background-color: #e0f3f3; }
.hb26 .hb-lens--caregiver .hb-lens__photo { background-color: #f5edda; }

.hb26 .hb-lens__role {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hb-blue-700);
  margin: 0 0 6px;
}

.hb26 .hb-lens__title {
  font-size: 1.4rem;
  color: var(--hb-blue-900);
  margin: 0 0 14px;
  font-weight: 700;
}

.hb26 .hb-lens__body {
  color: var(--hb-ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 22px;
  flex-grow: 1;
}

.hb26 .hb-lens__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hb26 .hb-lens__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--hb-ink);
}
.hb26 .hb-lens__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--hb-blue-500);
}

.hb26 .hb-lens--agency .hb-lens__list li::before    { background: var(--hb-blue-700); }
.hb26 .hb-lens--person .hb-lens__list li::before    { background: var(--hb-teal); }
.hb26 .hb-lens--caregiver .hb-lens__list li::before { background: var(--hb-gold); }

.hb26 .hb-lens__cta {
  margin-top: auto;
}

.hb26 .hb-lens__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(2px);
}
.hb26 .hb-lens__badge--live {
  background: rgba(245,255,253,.88);
  color: #0c7c7c;
  border: 1px solid rgba(22,163,163,.45);
}
.hb26 .hb-lens__badge--soon {
  background: rgba(255,250,238,.88);
  color: #8a6f1c;
  border: 1px solid rgba(201,165,68,.5);
}

@media (max-width: 980px) {
  .hb26 .hb-lenses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hb26 .hb-lenses { grid-template-columns: 1fr; }
}

/* ============================================================
   Founding story
   ============================================================ */
.hb26 .hb-story {
  background: var(--hb-bone);
}

.hb26 .hb-story__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* Optional photographic accent above the quote.
   Round, small, low-key. If file is missing, shows as a subtle tinted
   circle — looks intentional, not broken. */
.hb26 .hb-story__photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #e7ecf4;
  border: 1px solid var(--hb-line);
  box-shadow: 0 2px 10px rgba(11,42,74,.06);
}

.hb26 .hb-story__quote {
  font-family: var(--hb-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 1.8vw + 1rem, 2.1rem);
  line-height: 1.45;
  color: var(--hb-blue-900);
  margin: 0 0 28px;
}

.hb26 .hb-story__rule {
  width: 56px;
  height: 2px;
  background: var(--hb-blue-700);
  margin: 0 auto 24px;
  border: 0;
}

.hb26 .hb-story__caption {
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hb-ink-3);
}

/* ============================================================
   Mechanics row (how the orchestration works) + voucher phone
   ============================================================ */
.hb26 .hb-mechanics-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
}

.hb26 .hb-mechanics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: hb-step;
}

.hb26 .hb-mech--settle {
  border-color: rgba(201, 165, 68, .45);
  background: linear-gradient(180deg, #ffffff 0%, #fdf8ed 100%);
}

.hb26 .hb-voucher {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(11, 42, 74, .18))
          drop-shadow(0 6px 12px rgba(11, 42, 74, .08));
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.hb26 .hb-voucher:hover {
  transform: rotate(-1deg) translateY(-4px);
}

.hb26 .hb-mech {
  background: #ffffff;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  padding: 28px 24px;
  position: relative;
}

.hb26 .hb-mech__num {
  font-family: var(--hb-serif);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: var(--hb-blue-500);
  margin: 0 0 14px;
  font-weight: 400;
}

.hb26 .hb-mech--settle .hb-mech__num { color: var(--hb-gold); }

.hb26 .hb-mech__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hb-blue-900);
  margin: 0 0 8px;
}

.hb26 .hb-mech__body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--hb-ink-2);
  margin: 0;
}

@media (max-width: 980px) {
  .hb26 .hb-mechanics-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hb26 .hb-voucher { max-width: 240px; margin-top: 8px; }
}
@media (max-width: 560px) {
  .hb26 .hb-mechanics { grid-template-columns: 1fr; }
}

/* ============================================================
   Partners
   ============================================================ */
.hb26 .hb-partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hb26 .hb-partner {
  background: #ffffff;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.hb26 .hb-partner__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hb-blue-50);
  margin: 0 0 4px;
}
.hb26 .hb-partner__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--hb-blue-800);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hb26 .hb-partner--clinical .hb-partner__icon  { background: rgba(46,125,209,.10); }
.hb26 .hb-partner--clinical .hb-partner__icon svg { stroke: var(--hb-blue-700); }
.hb26 .hb-partner--econ     .hb-partner__icon  { background: rgba(22,163,163,.10); }
.hb26 .hb-partner--econ     .hb-partner__icon svg { stroke: var(--hb-teal); }
.hb26 .hb-partner--sister   .hb-partner__icon  { background: rgba(201,165,68,.12); }
.hb26 .hb-partner--sister   .hb-partner__icon svg { stroke: #8a6f1c; }
.hb26 .hb-partner--vets     .hb-partner__icon  { background: rgba(11,42,74,.08); }
.hb26 .hb-partner--vets     .hb-partner__icon svg { stroke: var(--hb-blue-900); }
.hb26 .hb-partner--justice  .hb-partner__icon  { background: rgba(46,125,209,.10); }
.hb26 .hb-partner--justice  .hb-partner__icon svg { stroke: var(--hb-blue-700); }
.hb26 .hb-partner--intl     .hb-partner__icon  { background: rgba(22,163,163,.10); }
.hb26 .hb-partner--intl     .hb-partner__icon svg { stroke: var(--hb-teal); }

.hb26 .hb-partner__cat {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hb-blue-700);
}

.hb26 .hb-partner__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hb-blue-900);
  margin: 0;
}

.hb26 .hb-partner__body {
  font-size: 14px;
  color: var(--hb-ink-2);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 920px) {
  .hb26 .hb-partners { grid-template-columns: 1fr; }
}

/* ============================================================
   Engage (dark) section
   ============================================================ */
.hb26 .hb-engage__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hb26 .hb-engage__col h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 2.4vw + .6rem, 2.6rem);
}

.hb26 .hb-engage__col p {
  color: #c8d6ec;
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 50ch;
  margin: 0 0 26px;
}

.hb26 .hb-engage__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--hb-radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
}
.hb26 .hb-engage__card h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0 0 8px;
}
.hb26 .hb-engage__card p {
  color: #b9c9e3;
  font-size: 14.5px;
  margin: 0 0 16px;
}

.hb26 .hb-engage__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hb26 .hb-engage__form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
}
.hb26 .hb-engage__form input[type="email"]::placeholder {
  color: rgba(255,255,255,.55);
}
.hb26 .hb-engage__form input[type="email"]:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255,255,255,.14);
}
.hb26 .hb-engage__form button {
  background: #ffffff;
  color: var(--hb-blue-900);
  border: 0;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform .15s ease;
  font-family: inherit;
}
.hb26 .hb-engage__form button:hover { transform: translateY(-1px); }

.hb26 .hb-engage__success {
  margin-top: 14px;
  font-size: 14px;
  color: #9fe3c4;
}

@media (max-width: 920px) {
  .hb26 .hb-engage__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   Diagram styling (the SVG inside hero)
   ============================================================ */
.hb26 .hb-diagram {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: block;
}

.hb26 .hb-diagram .hb-d-core-bg     { fill: var(--hb-blue-800); }
.hb26 .hb-diagram .hb-d-core-ring   { stroke: var(--hb-blue-500); stroke-width: 1.5; fill: none; opacity: .35; }
.hb26 .hb-diagram .hb-d-core-text   { fill: #ffffff; font-family: var(--hb-sans); font-weight: 700; }
.hb26 .hb-diagram .hb-d-core-sub    { fill: rgba(255,255,255,.75); font-family: var(--hb-sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.hb26 .hb-diagram .hb-d-node {
  fill: #ffffff;
  stroke: var(--hb-line);
  stroke-width: 1.25;
}
.hb26 .hb-diagram .hb-d-node--agency    { stroke: var(--hb-blue-700); }
.hb26 .hb-diagram .hb-d-node--person    { stroke: var(--hb-teal); }
.hb26 .hb-diagram .hb-d-node--caregiver { stroke: var(--hb-gold); }

.hb26 .hb-diagram .hb-d-node-title {
  fill: var(--hb-blue-900);
  font-family: var(--hb-sans);
  font-weight: 700;
  font-size: 13px;
}
.hb26 .hb-diagram .hb-d-node-sub {
  fill: var(--hb-ink-3);
  font-family: var(--hb-sans);
  font-size: 10.5px;
  letter-spacing: .04em;
}

.hb26 .hb-diagram .hb-d-edge {
  stroke: var(--hb-blue-500);
  stroke-width: 1.25;
  fill: none;
  opacity: .55;
  stroke-dasharray: 4 4;
}

.hb26 .hb-diagram .hb-d-icon {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hb26 .hb-diagram .hb-d-icon--agency    { stroke: var(--hb-blue-700); }
.hb26 .hb-diagram .hb-d-icon--person    { stroke: var(--hb-teal); }
.hb26 .hb-diagram .hb-d-icon--caregiver { stroke: var(--hb-gold); }

/* ============================================================
   Utilities
   ============================================================ */
.hb26 .hb-center { text-align: center; }
.hb26 .hb-mt-32  { margin-top: 32px; }
.hb26 .hb-mt-48  { margin-top: 48px; }

/* ============================================================
   Mobile-only sticky caregiver capture bar
   ============================================================ */
.hb26 .hb-sticky {
  display: none;
}

@media (max-width: 720px) {
  .hb26 .hb-sticky {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
    background: rgba(11, 42, 74, .96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.12);
    z-index: 100;
    box-shadow: 0 -8px 24px rgba(0,0,0,.16);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(0);
    transition: transform .25s ease, opacity .25s ease;
  }
  .hb26 .hb-sticky--hidden { transform: translateY(110%); }

  .hb26 .hb-sticky__text {
    flex: 1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
  }
  .hb26 .hb-sticky__text small {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    font-weight: 400;
    margin-top: 2px;
  }

  .hb26 .hb-sticky__btn {
    background: #ffffff;
    color: var(--hb-blue-900);
    border: 0;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }

  .hb26 .hb-sticky__close {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.6);
    font-size: 18px;
    padding: 4px 6px;
    cursor: pointer;
    line-height: 1;
  }

  /* Push body content up so footer/last section doesn't hide behind bar */
  .hb26 .hb-section:last-of-type { padding-bottom: 140px; }
}

/* ============================================================
   Partner logo placeholders (typography wordmarks)
   ============================================================ */
.hb26 .hb-partner__wordmark {
  font-family: var(--hb-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  color: var(--hb-blue-900);
  margin: 0 0 2px;
  line-height: 1.1;
}
.hb26 .hb-partner__wordmark--italic {
  font-style: italic;
  letter-spacing: -.02em;
}
.hb26 .hb-partner__wordmark em {
  color: var(--hb-blue-500);
  font-style: normal;
  font-weight: 800;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hb26 * {
    transition: none !important;
    animation: none !important;
  }
}
