/* =========================================================
   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 ======
     Warmer / Figma-aligned tokens. Bright cyan kept as accent;
     a deeper teal carries body emphasis. Coral nudged toward red.
     New sage accent added for the 5th color in the Figma board.
  */
  --c-ink:        #163243;
  --c-ink-soft:   #34495E;
  --c-teal:       #00B7EA;
  --c-teal-deep:  #0E5E6E;
  --c-teal-soft:  #D6F0F8;
  --c-coral:      #E84F3B;
  --c-coral-soft: #FCE0DA;
  --c-sun:        #F4C842;
  --c-sun-soft:   #FFF1C2;
  --c-sage:       #C5E0D5;
  --c-sage-soft:  #E6F1EB;
  --c-cream:      #FAF5E6;
  --c-paper:      #FFFFFF;
  --c-mute:       #6B7E8F;
  --c-line:       #E8DFD0;

  --shadow-soft:  0 1px 2px rgba(11,34,51,.04), 0 8px 24px rgba(11,34,51,.06);
  --shadow-pop:   0 1px 2px rgba(11,34,51,.06), 0 18px 48px rgba(11,34,51,.12);
  --shadow-coral: 0 16px 40px rgba(232,79,59,.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)    0%,  var(--c-coral)    50%,
    #ffffff           50%, #ffffff           58%,
    var(--c-sun)      58%, var(--c-sun)      68%,
    #ffffff           68%, #ffffff           76%,
    var(--c-teal)     76%, var(--c-teal)     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(11,34,51,.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(11,34,51,.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(11,34,51,.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); }
.blob-sun   { background: var(--c-sun); }
.blob-teal  { background: var(--c-teal); }

/* =========== Scroll-reveal =========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.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; }
}

/* =========== 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);
  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); color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover { background: #F26A57; 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(11,34,51,.18);
}
.btn-ghost:hover { background: rgba(11,34,51,.05); }
.btn-sun {
  background: var(--c-sun); color: var(--c-ink);
}
.btn-sun:hover { background: #FFD75E; 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);
}

/* =========== Hero gradient background =========== */
.hero-bg {
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(244,200,66,.32), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(232,79,59,.14), transparent 60%),
    radial-gradient(40% 60% at 50% 50%, rgba(197,224,213,.30), transparent 70%),
    linear-gradient(180deg, #FDFAEF 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);
  box-shadow: 0 0 0 4px var(--c-coral-soft);
}

/* =========== Sticky nav scroll style =========== */
.nav-bar.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  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(14,77,110,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,77,110,.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; }

/* === 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;
  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);
  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);
  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: #F26A57; 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; }
}
