/* =========================================================
   On Target ABA — shared styles
   Tailwind handles utility classes via CDN; this file adds
   custom tokens, scroll animations, decorative effects.
   ========================================================= */

/* =========================================================
   Self-hosted fonts (Latin subset).
   Files live in /assets/fonts/ and are fetched at build time
   by scripts/setup-fonts.sh. Both families are variable
   fonts; we still ship per-weight filenames so each
   @font-face has a stable preload target.
   ========================================================= */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Plus Jakarta Sans'), url('../fonts/plus-jakarta-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Plus Jakarta Sans'), url('../fonts/plus-jakarta-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Plus Jakarta Sans'), url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Plus Jakarta Sans'), url('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Plus Jakarta Sans'), url('../fonts/plus-jakarta-sans-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Fraunces'), url('../fonts/fraunces-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Fraunces'), url('../fonts/fraunces-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Fraunces'), url('../fonts/fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Fraunces'), url('../fonts/fraunces-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Fraunces'), url('../fonts/fraunces-800.woff2') format('woff2');
}

:root {
  /* ====== On Target ABA brand palette (2026 nudge) ======
     Tokens follow the designer's 2026 palette: deep teal #08424C ink,
     coral #F55050, teal #6CBCAF, yellow #F2C50C, cream #FBFAEA.
     Tokens that carry text keep WCAG AA: --c-coral / --c-teal are the
     brand hues darkened until white text passes 4.5:1. The pure brand
     coral and teal live in the -bright tokens, used only for decoration
     (blobs, rings, dots, glows) and never behind or as body text.
  */
  --c-ink:          #08424C;
  --c-ink-soft:     #2D5257;
  --c-teal:         #36776D;
  --c-teal-bright:  #6CBCAF;
  --c-teal-deep:    #0B5961;
  --c-teal-soft:    #DAEEEB;
  --c-coral:        #C73636;
  --c-coral-bright: #F55050;
  --c-coral-btn:    #C73636;
  --c-coral-deep:   #A62C2C;
  --c-coral-soft:   #FDEFEE;
  --c-sun:          #F2C50C;
  --c-sun-soft:     #FCF0C2;
  --c-sage:         #C5E0D5;
  --c-sage-soft:    #E6F1EB;
  --c-cream:        #FBFAEA;
  --c-paper:        #FFFFFF;
  --c-mute:         #52676B;
  --c-line:         #E6E1CC;

  --shadow-soft:  0 1px 2px rgba(8,66,76,.04), 0 8px 24px rgba(8,66,76,.06);
  --shadow-pop:   0 1px 2px rgba(8,66,76,.06), 0 18px 48px rgba(8,66,76,.12);
  --shadow-coral: 0 16px 40px rgba(245,80,80,.28);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.font-display {
  font-family: 'Fraunces', 'Plus Jakarta Sans', Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}

/* =========== Decorative target rings (used in hero/marks) ===========
   The CENTER of the bullseye is a large solid coral disk so overlay
   text reads cleanly. Rings sit in the outer half — they still read as
   a target without the white bands cutting through the type. */
.target-mark {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 999px;
  background: radial-gradient(circle at center,
    var(--c-coral-bright) 0%, var(--c-coral-bright) 50%,
    #ffffff           50%, #ffffff           58%,
    var(--c-sun)      58%, var(--c-sun)      68%,
    #ffffff           68%, #ffffff           76%,
    var(--c-teal-bright) 76%, var(--c-teal-bright) 86%,
    #ffffff           86%, #ffffff           100%);
  box-shadow: var(--shadow-pop);
}

/* Helper for text content that sits ON TOP of a .target-mark.
   Constrains text to the coral center disk so it never overlaps a ring. */
.target-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}
.target-overlay > * {
  max-width: 56%;   /* keep type inside the solid coral center */
}
.target-overlay .tm-kicker {
  font-size: clamp(.7rem, 1.1vw, .85rem);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(8,66,76,.25);
  margin-bottom: .35rem;
}
.target-overlay .tm-figure {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(8,66,76,.25);
  font-size: clamp(3.5rem, 9vw, 7rem);
}
.target-overlay .tm-foot {
  font-size: clamp(.75rem, 1.2vw, .95rem);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(8,66,76,.25);
  margin-top: .35rem;
}

/* =========== Subtle blob backgrounds =========== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.blob-coral { background: var(--c-coral-bright); }
.blob-sun   { background: var(--c-sun); }
.blob-teal  { background: var(--c-teal-bright); }

/* =========== Scroll-reveal =========== */
/* `.reveal` is no longer hidden by default. app.js stamps `.r-hide` on
   elements that are below the fold at first paint, then the observer
   removes it via `.in`. Above-the-fold content paints immediately. */
.reveal {
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.r-hide {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .float, .pulse-ring, .marquee-track { animation: none !important; }
  /* Defense-in-depth: neutralize any CSS animation/transition that JS
     might trigger (counter tweens, scroll reveals, leadbot fades, etc.)
     so motion-sensitive users get a still UI even if a JS path forgets
     to check matchMedia('(prefers-reduced-motion: reduce)'). */
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========== Floating decorations =========== */
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}
.float { animation: float-y 7s ease-in-out infinite; }
.float.delay-1 { animation-delay: 1.2s; }
.float.delay-2 { animation-delay: 2.4s; }

/* =========== Pulsing bullseye =========== */
@keyframes pulse-ring {
  0%   { transform: scale(0.92); opacity: .6; }
  100% { transform: scale(1.6);  opacity: 0; }
}
.pulse-ring::before,
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--c-coral-bright);
  animation: pulse-ring 2.6s cubic-bezier(.2,.7,.2,1) infinite;
}
.pulse-ring::after { animation-delay: 1.3s; }

/* =========== Marquee (insurance logos / locations) =========== */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* =========== Soft card hover =========== */
.lift {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}

/* =========== Underline link =========== */
.link-uline {
  position: relative;
  display: inline-block;
}
.link-uline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.link-uline:hover::after { transform: scaleX(1); }

/* =========== Buttons =========== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background-color .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-coral {
  background: var(--c-coral-btn); color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover { background: var(--c-coral-deep); transform: translateY(-2px); }
.btn-ink {
  background: var(--c-ink); color: #fff;
}
.btn-ink:hover { background: var(--c-teal-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--c-ink);
  border: 1.5px solid rgba(8,66,76,.18);
}
.btn-ghost:hover { background: rgba(8,66,76,.05); }
.btn-sun {
  background: var(--c-sun); color: var(--c-ink);
}
.btn-sun:hover { background: #F6D33F; transform: translateY(-2px); }

/* =========== Section labels (eyebrow) =========== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .8rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-teal-deep);
  background: var(--c-teal-soft);
  border-radius: 999px;
}
.eyebrow .dot {
  width: .5rem; height: .5rem; border-radius: 999px;
  background: var(--c-coral-bright);
}

/* =========== Hero gradient background =========== */
.hero-bg {
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(242,197,12,.28), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(245,80,80,.12), transparent 60%),
    radial-gradient(40% 60% at 50% 50%, rgba(197,224,213,.30), transparent 70%),
    linear-gradient(180deg, #FDFDF3 0%, var(--c-cream) 100%);
}

/* Big yellow sun behind hero subject — Figma signature device */
.hero-sun {
  position: absolute;
  border-radius: 999px;
  background: var(--c-sun);
  z-index: 0;
}

/* Curved squiggle underline — Figma decoration */
.headline-wave {
  position: relative;
  display: inline-block;
}
.headline-wave::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -.5rem;
  height: .5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 C 50 1, 150 1, 198 8' stroke='%23E84F3B' stroke-width='4' stroke-linecap='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* =========== FAQ accordion =========== */
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-ink);
  cursor: pointer;
}
.faq-q .chev {
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--c-teal-soft);
  color: var(--c-teal-deep);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .35s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .chev {
  transform: rotate(45deg);
  background: var(--c-coral);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.2,.7,.2,1), padding-bottom .3s ease;
  color: var(--c-mute);
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding-bottom: 1.5rem;
}

/* =========== Pretty bullets =========== */
.bullet-coral li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  color: var(--c-ink-soft);
  line-height: 1.6;
}
.bullet-coral li::before {
  content: '';
  position: absolute;
  left: 0; top: .55rem;
  width: .55rem; height: .55rem; border-radius: 999px;
  background: var(--c-coral-bright);
  box-shadow: 0 0 0 4px var(--c-coral-soft);
}

/* =========== Sticky nav scroll style ===========
   The header keeps a solid background at every scroll position so the
   nav stays readable over any underlying section. Cream at top blends
   into the page bg; white-with-shadow on scroll signals lift-off. */
.nav-bar {
  background: var(--c-cream);
}
.nav-bar.scrolled {
  background: #ffffff;
  border-color: var(--c-line);
  box-shadow: var(--shadow-soft);
}

/* =========== Mobile nav slide =========== */
.mnav {
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mnav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* =========== Subtle grid background =========== */
.grid-bg {
  background-image:
    linear-gradient(rgba(8,66,76,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,66,76,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}

/* =========== Focus =========== */
:focus-visible {
  outline: 3px solid var(--c-sun);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========== Skip-to-content link (a11y) =========== */
/* Skip-to-content link — truly invisible until focused, regardless of
   ancestor positioning/transforms. The clip technique collapses the
   element to a 1px box; focus restores it as a real button at top-left. */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: normal;
  z-index: 1000;
  background: var(--c-ink);
  color: #fff;
  padding: .75rem 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  outline: 3px solid var(--c-sun);
  outline-offset: 2px;
  box-shadow: var(--shadow-pop);
}

/* =========== Typography rhythm =========== */
.prose-soft p { color: var(--c-ink-soft); line-height: 1.72; }
.prose-soft h2 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.02em; }
.prose-soft h3 { font-weight: 700; }

/* =========== Spinner =========== */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* Jotform loading state: app.js turns the "Loading…" placeholder into this
   overlay and removes it once the form reports its first height. */
[data-jotform-id] { position: relative; }
.jot-loading {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .9rem; padding: 2rem 1rem; text-align: center;
  background: #fff; color: var(--c-mute);
  transition: opacity .25s ease;
}
.jot-loading.is-done { opacity: 0; pointer-events: none; }
.jot-spinner {
  width: 48px; height: 48px; border-radius: 9999px;
  border: 4px solid var(--c-sage-soft); border-top-color: var(--c-coral-bright);
  animation: spin .9s linear infinite;
}
.jot-loading-label { font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .jot-spinner { animation-duration: 3s; } }

/* === Scrolling review marquee === */
.review-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.review-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
  animation: review-scroll var(--dur, 60s) linear infinite;
}
.review-track.reverse { animation-direction: reverse; }
.review-marquee:hover .review-track { animation-play-state: paused; }

/* ============================================================
   Lead-bot intake widget
   Floating chat-style helper bottom-right. Routes parents to
   the appropriate Jotform with prefilled context.
   ============================================================ */
.lb-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: .65rem;
  pointer-events: none;
}
@media (min-width: 640px) {
  .lb-launcher { bottom: 32px; right: 32px; }
}
.lb-bubble {
  pointer-events: auto;
  background: #fff;
  color: var(--c-ink);
  font-size: .9rem;
  font-weight: 600;
  padding: .75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--c-line);
  max-width: 220px;
  line-height: 1.35;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.lb-bubble.show {
  opacity: 1;
  transform: translateY(0);
}
.lb-bubble::after {
  content: '';
  position: absolute;
  right: -6px; bottom: 14px;
  width: 12px; height: 12px;
  background: #fff;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  transform: rotate(-45deg);
}
.lb-bubble .lb-close {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-size: 14px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
  cursor: pointer;
}
.lb-avatar {
  pointer-events: auto;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: var(--c-coral-bright);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-coral);
  cursor: pointer;
  position: relative;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.lb-avatar:hover { transform: translateY(-2px) scale(1.04); }
.lb-avatar::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2px solid var(--c-coral-bright);
  animation: pulse-ring 2.6s cubic-bezier(.2,.7,.2,1) infinite;
}
.lb-avatar svg { width: 28px; height: 28px; color: #fff; }
.lb-avatar .lb-dot {
  position: absolute; top: 3px; right: 3px;
  width: 14px; height: 14px;
  background: var(--c-sun);
  border: 2px solid #fff;
  border-radius: 999px;
}

/* Panel */
.lb-panel {
  position: fixed;
  bottom: 100px; right: 24px;
  z-index: 91;
  width: min(360px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 140px));
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 640px) {
  .lb-panel { bottom: 110px; right: 32px; }
}
.lb-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.lb-head {
  background: linear-gradient(135deg, var(--c-teal-deep), var(--c-ink));
  color: #fff;
  padding: 1.1rem 1.2rem 1.2rem;
  position: relative;
}
.lb-head h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}
.lb-head p { font-size: .85rem; color: rgba(255,255,255,.78); margin-top: .25rem; }
.lb-head .lb-x {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s;
}
.lb-head .lb-x:hover { background: rgba(255,255,255,.22); }
.lb-head .lb-team {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .55rem;
}
.lb-head .lb-team .lb-pip { width: 8px; height: 8px; border-radius: 999px; background: #28d17c; box-shadow: 0 0 0 4px rgba(40,209,124,.18); }
.lb-head .lb-team-text { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.82); font-weight: 600; }

.lb-body {
  padding: 1rem 1.1rem 1.2rem;
  overflow-y: auto;
  flex: 1;
}
.lb-step { animation: lb-fade .35s ease-out; }
@keyframes lb-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lb-msg {
  background: var(--c-cream);
  color: var(--c-ink);
  padding: .8rem .95rem;
  border-radius: 16px 16px 16px 4px;
  margin-bottom: .85rem;
  font-size: .92rem;
  line-height: 1.5;
  max-width: 92%;
}
.lb-choice {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--c-line);
  color: var(--c-ink);
  font-weight: 600;
  font-size: .92rem;
  padding: .7rem .95rem;
  border-radius: 14px;
  margin-bottom: .5rem;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.lb-choice:hover {
  border-color: var(--c-coral);
  background: var(--c-coral-soft);
  color: var(--c-ink);
}
.lb-input {
  width: 100%;
  padding: .75rem .95rem;
  border-radius: 14px;
  border: 1.5px solid var(--c-line);
  background: #fff;
  font-size: .95rem;
  margin-bottom: .55rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.lb-input:focus {
  border-color: var(--c-coral);
  box-shadow: 0 0 0 3px var(--c-coral-soft);
}
.lb-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  margin-bottom: .3rem;
  display: block;
}
.lb-submit {
  width: 100%;
  background: var(--c-coral);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  margin-top: .5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  transition: background .2s, transform .15s;
  box-shadow: var(--shadow-coral);
}
.lb-submit:hover { background: var(--c-coral-deep); transform: translateY(-1px); }

.lb-foot {
  padding: .75rem 1.1rem;
  background: var(--c-cream);
  border-top: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem;
  font-size: .76rem;
  color: var(--c-mute);
}
.lb-foot a { color: var(--c-teal-deep); font-weight: 600; }
.lb-foot a:hover { color: var(--c-coral); }

@media (prefers-reduced-motion: reduce) {
  .lb-bubble, .lb-panel, .lb-step, .lb-avatar { transition: none; animation: none; }
}
@keyframes review-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.review-card {
  flex: 0 0 320px;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--c-line);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.review-stars { display: inline-flex; gap: 2px; }
.review-stars svg { width: 18px; height: 18px; fill: #FFC107; }
.review-quote { color: var(--c-ink-soft); line-height: 1.55; font-size: .98rem; }
.review-meta { display: flex; align-items: center; gap: .65rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--c-line); }
.review-avatar { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex-shrink: 0; }
.review-name { font-weight: 700; font-size: .92rem; color: var(--c-ink); }
.review-source { font-size: .72rem; color: var(--c-mute); text-transform: uppercase; letter-spacing: .08em; }
@media (prefers-reduced-motion: reduce) {
  .review-track { animation: none; }
}

/* ── Accessibility token overrides ─────────────────────────────────────────
   Tailwind's inline config still references the old hex; these rules bind
   the utility classes to the design-token values so contrast targets hold
   even when Tailwind regenerates the utilities.                             */
.text-mute { color: var(--c-mute) !important; }
.text-coral { color: var(--c-coral-btn) !important; }

/* Translucent white text and frosted pills sit on the brand surfaces (ink,
   teal, coral). The 2026 tokens are lighter than the old ones, so these
   floors keep that text at WCAG AA (4.5:1) without touching the markup. */
.text-white\/80, .text-white\/85, .text-white\/90, .text-white\/95 { color: #fff !important; }
.text-white\/50, .text-white\/60, .text-white\/70 { color: rgba(255,255,255,.9) !important; }
.bg-coral .opacity-80, .bg-teal .opacity-80, .from-teal .opacity-80 { opacity: 1; }
.bg-coral .bg-white\/15, .bg-coral .bg-white\/20,
.from-teal .bg-white\/15, .from-teal .bg-white\/20 { background-color: rgba(8,66,76,.2); }
.eyebrow.text-white, .eyebrow.text-sun { background: rgba(255,255,255,.12); }
.bg-white\/10.text-sun, .bg-white\/15.text-sun { background-color: rgba(8,66,76,.35); }
.from-teal .bg-white\/15.text-sun { background-color: rgba(8,66,76,.5); }
.from-coral.to-coral\/80 { --tw-gradient-to: var(--c-coral-deep) var(--tw-gradient-to-position); }

/* Decorative teal fills (teal, teal-deep and ink icon/number tiles, the insurance hero card) use the
   bright brand teal; whatever sits on them switches to ink, 4.99:1 on #6CBCAF. */
.grid.place-items-center.bg-teal.text-white,
.grid.place-items-center.bg-teal-deep.text-white,
.grid.place-items-center.bg-ink.text-white { background-color: var(--c-teal-bright); color: var(--c-ink); }
.bg-gradient-to-br.deco-teal { background-image: linear-gradient(135deg, var(--c-teal-bright), #8DCDC2); }
.deco-teal.text-white { color: var(--c-ink); }
.deco-teal .text-white\/60 { color: var(--c-ink) !important; }
.bg-coral .font-semibold.text-sun:not(.rounded-full),
.from-teal .font-semibold.text-sun:not(.rounded-full) { color: #FFF6D6; }
