/* Orthosist — custom CSS layered on top of Tailwind */

:root {
  --brand-teal: #0F766E;
  --brand-teal-dark: #134E4A;
  --brand-saffron: #F59E0B;
  --brand-green: #15803D;
  --brand-bg: #FAF9F6;
  --brand-charcoal: #1F2937;
  --brand-slate: #64748B;
  --brand-border: #E7E5E4;
  --whatsapp-green: #25D366;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--brand-charcoal);
  background-color: var(--brand-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.font-display { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -0.02em; }
.font-hindi   { font-family: 'Hind', 'Inter', system-ui, sans-serif; }

/* Headline scale */
h1, .h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2, .h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h3, .h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.5rem; font-weight: 600; border-radius: 0.75rem; transition: all 0.15s ease; min-height: 48px; font-size: 1rem; }
.btn-primary { background: var(--brand-teal); color: #fff; }
.btn-primary:hover { background: var(--brand-teal-dark); transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(15,118,110,0.5); }
.btn-secondary { background: #fff; color: var(--brand-teal); border: 1.5px solid var(--brand-teal); }
.btn-secondary:hover { background: var(--brand-teal); color: #fff; }
.btn-whatsapp { background: var(--whatsapp-green); color: #fff; }
.btn-whatsapp:hover { background: #1ebe57; transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(37,211,102,0.5); }
.btn-ghost { background: transparent; color: var(--brand-charcoal); }
.btn-ghost:hover { background: rgba(15,118,110,0.08); }
.btn-lg { padding: 1.125rem 2rem; font-size: 1.125rem; min-height: 56px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--brand-border); border-radius: 1rem; padding: 1.75rem; transition: all 0.2s ease; }
.card-hover:hover { border-color: var(--brand-teal); transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(15,118,110,0.18); }

/* Section spacing */
.section { padding: 5rem 0; }
@media (max-width: 768px) { .section { padding: 3rem 0; } }

/* Container */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

/* Eyebrow label */
.eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-teal); margin-bottom: 0.75rem; }

/* Floating WhatsApp pulse */
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fab-pulse::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp-green); animation: pulse-ring 2s ease-out infinite; z-index: -1;
}

/* Trust badge strip */
.trust-tick { color: var(--brand-green); flex-shrink: 0; }

/* Form */
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field label { font-weight: 600; font-size: 0.9375rem; color: var(--brand-charcoal); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 0.875rem 1rem;
  border: 1.5px solid var(--brand-border); border-radius: 0.625rem; background: #fff;
  min-height: 48px; color: var(--brand-charcoal); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 4px rgba(15,118,110,0.12); }

/* Mobile bottom bar safe-area */
.mobile-bar { padding-bottom: env(safe-area-inset-bottom); }

/* Accordion */
details.faq-item { border-bottom: 1px solid var(--brand-border); padding: 1.25rem 0; }
details.faq-item > summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.0625rem; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: '+'; font-size: 1.5rem; color: var(--brand-teal); transition: transform 0.2s; font-weight: 400; line-height: 1; }
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item > div { padding-top: 0.875rem; color: var(--brand-slate); line-height: 1.7; }

/* Stat block */
.stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--brand-teal); font-size: 2.5rem; line-height: 1; }
@media (min-width: 768px) { .stat-num { font-size: 3rem; } }

/* Tag pills */
.tag { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.tag-success { background: #DCFCE7; color: #15803D; }
.tag-info { background: #E0F2FE; color: #0369A1; }
.tag-warn { background: #FEF3C7; color: #B45309; }

/* Gradient text accent */
.text-gradient { background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Photo placeholder (until real photos arrive) */
.photo-placeholder { background: linear-gradient(135deg, #d6e9e7 0%, #f0e5d0 100%); display: flex; align-items: center; justify-content: center; color: var(--brand-teal-dark); font-weight: 600; border-radius: 1rem; overflow: hidden; }
.photo-placeholder span { font-size: 0.875rem; opacity: 0.7; text-align: center; padding: 1rem; }

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Print + reduced-motion friendliness */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* === Patient story cards — photo-free design === */

/* Initials avatar */
.s-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 1rem; color: white;
  background: linear-gradient(135deg, var(--av-c1, #0F766E), var(--av-c2, #134E4A));
  flex-shrink: 0; letter-spacing: -0.02em;
  box-shadow: 0 6px 16px -6px var(--av-c2, rgba(15,118,110,0.4));
}
.s-avatar.lg { width: 76px; height: 76px; font-size: 1.625rem; }
.s-avatar.xl { width: 104px; height: 104px; font-size: 2.25rem; }

.s-avatar.av-teal   { --av-c1: #0F766E; --av-c2: #134E4A; }
.s-avatar.av-amber  { --av-c1: #D97706; --av-c2: #92400E; }
.s-avatar.av-green  { --av-c1: #15803D; --av-c2: #14532D; }
.s-avatar.av-purple { --av-c1: #7C3AED; --av-c2: #5B21B6; }
.s-avatar.av-blue   { --av-c1: #0369A1; --av-c2: #0C4A6E; }
.s-avatar.av-rose   { --av-c1: #BE185D; --av-c2: #831843; }

/* Story card top row (avatar + meta + outcome tag) */
.s-card-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.s-card-top .s-meta { flex: 1; min-width: 0; }
.s-card-top .s-name { font-weight: 700; color: var(--brand-teal-dark); font-size: 0.9375rem; line-height: 1.2; }
.s-card-top .s-sub { font-size: 0.75rem; color: var(--brand-slate); margin-top: 1px; }

/* Story HERO quote (individual story pages — replaces 16:9 photo) */
.s-hero-quote {
  position: relative;
  background: linear-gradient(135deg, #FAF9F6 0%, #ffffff 50%, #f0fdfa 100%);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--brand-border);
  overflow: hidden;
}
@media (min-width: 768px) {
  .s-hero-quote { padding: 2.5rem 3rem; }
}
.s-hero-quote::before {
  content: '“'; position: absolute;
  top: -2.5rem; left: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 16rem; line-height: 1;
  color: var(--brand-teal); opacity: 0.07;
  pointer-events: none;
}
.s-hero-quote .hq-row {
  position: relative;
  display: grid; gap: 1.5rem;
}
@media (min-width: 640px) {
  .s-hero-quote .hq-row { grid-template-columns: auto 1fr; align-items: center; }
}

.s-hero-quote .hq-facts {
  position: relative;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.875rem;
  font-size: 0.8125rem;
}
@media (min-width: 768px) { .s-hero-quote .hq-facts { grid-template-columns: repeat(4, 1fr); } }
.s-hero-quote .hq-fact-label { color: var(--brand-slate); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.6875rem; }
.s-hero-quote .hq-fact-value { color: var(--brand-teal-dark); font-weight: 700; font-size: 0.9375rem; margin-top: 2px; line-height: 1.25; }

/* === Mobile responsive safety net + targeted fixes === */

/* Prevent horizontal scroll from absolute-positioned decorations */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Mobile bottom bar (76px) covers bottom of viewport — push content above it */
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
}

/* Hero illustration canvases — constrain on small screens */
@media (max-width: 640px) {
  .hero-canvas, .anatomy-hero, .emblem, .converge { max-width: 320px; }

  /* Hero floating annotation cards (anatomy pages) — scale down */
  .anatomy-hero .floater {
    transform: scale(0.82);
    transform-origin: left center;
    font-size: 11px;
    padding: 6px 10px;
  }
  .anatomy-hero .floater small { font-size: 10px; }

  /* Council convergence — smaller specialist circles on mobile */
  .converge .spec { width: 64px; height: 64px; }
  .converge .spec .ic { width: 26px; height: 26px; }
  .converge .spec .badge { font-size: 10px; padding: 2px 8px; bottom: -18px; }
  .converge .ctr { inset: 32%; }
  .converge .ctr svg { width: 34px; height: 34px; }
  .converge .ctr .lbl { font-size: 9px; }
}

/* Cost comparison bars — scale down on mobile so the 280px red bar doesn't dominate */
@media (max-width: 640px) {
  .in-view .cost-col.red .cost-bar { height: 200px; }
  .in-view .cost-col.green .cost-bar { height: 40px; }
  .cost-col .cost-bar { max-width: 110px; }
  .cost-col .cost-amt { font-size: 1.25rem; }
  .cost-vs { font-size: 2rem; margin: 1rem 0; }
}

/* Segmented condition selector — tighter padding on very narrow phones */
@media (max-width: 400px) {
  .seg-grid label { padding: 0.625rem 0.25rem; min-height: 76px; font-size: 0.75rem; gap: 0.375rem; }
  .seg-grid label svg { width: 22px; height: 22px; }
}

/* Big numbers — scale down on tiny screens */
@media (max-width: 400px) {
  .big-num { font-size: 2.5rem; }
  .stat-num { font-size: 1.875rem; }
  .price-card .price-big { font-size: 3rem; }
}

/* Process rail dashed connector — only show on full desktop */
@media (max-width: 1023px) {
  .process-rail::before { display: none !important; }
}

/* Hide cost-vs separator on stacked mobile layout */
@media (max-width: 767px) {
  .cost-vs { display: none; }
}

/* Pricing card — slight padding reduction on mobile */
@media (max-width: 480px) {
  .price-card { padding: 1.5rem; }
  .bk-card { padding: 1.5rem; }
}

/* Hero illustration extras: keep blobs inside viewport */
@media (max-width: 640px) {
  .animate-blob { max-width: 320px; max-height: 320px; }
}

/* Ensure all touch targets meet ≥44px minimum */
a.btn, button, .filter-pill, .story-nav { min-height: 44px; }

/* Tablet — process-rail still wraps to 5 columns gracefully */
@media (min-width: 768px) and (max-width: 1023px) {
  .process-rail { grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
  .proc h4 { font-size: 0.9375rem; }
  .proc p { font-size: 0.75rem; }
  .proc .num { width: 48px; height: 48px; font-size: 1rem; }
}

/* Header dropdown menus — full-width on mobile (group:hover doesn't work on touch) */
@media (max-width: 1023px) {
  /* The desktop dropdowns are hidden on mobile by .hidden lg:flex on nav */
  /* Mobile menu uses <details> which is touch-friendly */
}

/* Story carousel arrow buttons — make sure they don't overflow on tablet */
@media (max-width: 1023px) {
  .story-nav { display: none !important; }
}

/* Footer — tighten mobile padding */
@media (max-width: 640px) {
  footer .wrap { padding-top: 3rem; padding-bottom: 2rem; }
}

/* Form inputs on mobile — ensure 16px min font (prevents iOS zoom on focus) */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}

/* Headlines — prevent absurd sizes on narrow screens */
@media (max-width: 400px) {
  h1 { font-size: 2rem !important; line-height: 1.1; }
  h2 { font-size: 1.625rem; }
}

/* === Animations === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float-slow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-fast { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes draw-stroke { from { stroke-dashoffset: var(--len, 200); } to { stroke-dashoffset: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blob { 0%,100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; } 50% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; } }
@keyframes bounce-soft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Utility animation classes */
.animate-float { animation: float-slow 6s ease-in-out infinite; }
.animate-float-fast { animation: float-fast 3.5s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 22s linear infinite; }
.animate-blob { animation: blob 14s ease-in-out infinite; }
.animate-bounce-soft { animation: bounce-soft 1.6s ease-in-out infinite; }
.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease forwards; }

/* Marquee */
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.25rem; animation: marquee 28s linear infinite; flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Animated underline */
.underline-grow { position: relative; }
.underline-grow::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 6px; width: 0; background: var(--brand-saffron); border-radius: 3px; transition: width 0.7s ease 0.3s; }
.in-view .underline-grow::after, .underline-grow.in-view::after { width: 100%; }

/* Count-up wrapper */
.counter { font-variant-numeric: tabular-nums; }

/* Hero illustration container */
.hero-canvas { position: relative; aspect-ratio: 1; }
.hero-canvas .blob-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #99f6e4, #FBBF24); opacity: 0.35; filter: blur(0px); }

/* SVG draw-on-scroll path */
.draw-path { stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.4s ease 0.2s; }
.in-view .draw-path { stroke-dashoffset: 0; }

/* Carousel */
.carousel { scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.carousel > * { scroll-snap-align: start; flex-shrink: 0; }

/* Stories carousel — proper edge masking + breathing room so card shadows aren't clipped */
.stories-shell { position: relative; }
.stories-track {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 14px 4px 28px;  /* top room for shadow, bottom for hover lift */
  scroll-padding-left: 4px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent);
}
.stories-track > * { scroll-snap-align: start; flex-shrink: 0; }
.stories-track::-webkit-scrollbar { display: none; }
.stories-track { -ms-overflow-style: none; scrollbar-width: none; }
@media (min-width: 1024px) {
  .stories-track { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 90px), transparent); }
}

/* Story card */
.story-tile { width: 86%; max-width: 380px; }
@media (min-width: 640px) { .story-tile { width: 46%; max-width: 360px; } }
@media (min-width: 1024px) { .story-tile { width: 31%; max-width: 380px; } }

/* Carousel navigation arrows */
.story-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  background: white; border: 1px solid var(--brand-border);
  display: none; align-items: center; justify-content: center;
  color: var(--brand-teal-dark); cursor: pointer; z-index: 5;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.story-nav:hover { background: var(--brand-teal); color: white; transform: translateY(-50%) scale(1.05); }
.story-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.story-nav.prev { left: -10px; }
.story-nav.next { right: -10px; }
@media (min-width: 1024px) { .story-nav { display: inline-flex; } .story-nav.prev { left: -22px; } .story-nav.next { right: -22px; } }

/* Carousel dot indicators */
.story-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.story-dots button { width: 8px; height: 8px; border-radius: 999px; background: #E7E5E4; transition: all 0.2s ease; border: 0; padding: 0; cursor: pointer; }
.story-dots button[aria-current="true"] { width: 28px; background: var(--brand-teal); }

/* Filter pills (stories page) */
.filter-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.4rem 0.875rem; border-radius: 999px;
  background: #ffffff; border: 1.5px solid var(--brand-border);
  color: var(--brand-charcoal); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.18s ease;
}
.filter-pill:hover { border-color: var(--brand-teal); color: var(--brand-teal-dark); }
.filter-pill[aria-pressed="true"] { background: var(--brand-teal); border-color: var(--brand-teal); color: #ffffff; }
.filter-pill[aria-pressed="true"]:hover { background: var(--brand-teal-dark); }

/* Story card filter fade */
.story-item { transition: opacity 0.2s ease, transform 0.2s ease; }
.story-item.is-hidden { display: none; }

/* === Book page form === */
.bk-shell { max-width: 600px; margin: 0 auto; }
.bk-card { background: #fff; border: 1px solid var(--brand-border); border-radius: 24px; padding: 2rem; box-shadow: 0 24px 60px -30px rgba(15,118,110,0.18); }
@media (min-width: 640px) { .bk-card { padding: 2.5rem; } }

/* Segmented condition selector */
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.seg-grid input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.seg-grid label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1rem 0.5rem;
  background: #fff; border: 1.5px solid var(--brand-border); border-radius: 14px;
  cursor: pointer; transition: all 0.18s ease; min-height: 92px;
  color: var(--brand-charcoal); font-weight: 600; font-size: 0.875rem;
  text-align: center;
}
.seg-grid label svg { transition: color 0.18s ease, transform 0.18s ease; color: var(--brand-teal); }
.seg-grid label:hover { border-color: var(--brand-teal); transform: translateY(-1px); }
.seg-grid input[type="radio"]:checked + label {
  background: var(--brand-teal); color: #fff; border-color: var(--brand-teal);
  box-shadow: 0 10px 24px -10px rgba(15,118,110,0.45);
}
.seg-grid input[type="radio"]:checked + label svg { color: #fff; transform: scale(1.08); }
.seg-grid input[type="radio"]:focus-visible + label { outline: 3px solid rgba(15,118,110,0.4); outline-offset: 2px; }

/* Phone field with locked +91 prefix */
.phone-field { display: flex; align-items: stretch; border: 1.5px solid var(--brand-border); border-radius: 14px; overflow: hidden; transition: all 0.18s ease; background: #fff; }
.phone-field:focus-within { border-color: var(--brand-teal); box-shadow: 0 0 0 4px rgba(15,118,110,0.12); }
.phone-field .prefix { padding: 0 0.875rem; display: flex; align-items: center; gap: 0.375rem; background: #FAF9F6; border-right: 1px solid var(--brand-border); font-weight: 700; color: var(--brand-teal-dark); font-size: 0.9375rem; }
.phone-field input { flex: 1; border: 0; outline: none; padding: 0 1rem; font-family: inherit; font-size: 1rem; background: transparent; min-height: 52px; }

/* Clean field (book page only — taller, rounder) */
.bk-field { display: flex; flex-direction: column; gap: 0.5rem; }
.bk-field label { font-weight: 700; font-size: 0.875rem; color: var(--brand-charcoal); }
.bk-field input, .bk-field select, .bk-field textarea {
  font-family: inherit; font-size: 1rem; padding: 0.875rem 1rem;
  border: 1.5px solid var(--brand-border); border-radius: 14px; background: #fff;
  min-height: 52px; color: var(--brand-charcoal); width: 100%;
  transition: all 0.18s ease;
}
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 4px rgba(15,118,110,0.12); }

/* Optional details disclosure */
.more-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--brand-teal-dark); font-weight: 600; font-size: 0.9375rem;
  background: transparent; border: 0; cursor: pointer; padding: 0.5rem 0;
}
.more-toggle:hover { color: var(--brand-teal); }
.more-toggle svg { transition: transform 0.2s ease; }
.more-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.more-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.more-panel.open { max-height: 600px; }

/* Big submit button */
.bk-submit { font-size: 1.0625rem; padding: 1.125rem 1.5rem; border-radius: 14px; min-height: 60px; }

/* Form success state */
.bk-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 1rem 0; }
.bk-success.show { display: flex; animation: fadeInUp 0.5s ease; }
.bk-success .check-circle { width: 72px; height: 72px; border-radius: 999px; background: #DCFCE7; color: #15803D; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }

/* Soft divider */
.or-divider { display: flex; align-items: center; gap: 1rem; color: var(--brand-slate); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin: 2rem 0; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--brand-border); }

/* Trust strip on book page */
.bk-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; color: var(--brand-slate); font-size: 0.8125rem; font-weight: 600; }
.bk-trust > span { display: inline-flex; align-items: center; gap: 0.375rem; }

/* === Condition page components === */

/* Anatomy hero canvas */
.anatomy-hero { position: relative; aspect-ratio: 1; max-width: 540px; margin: 0 auto; }
.anatomy-hero .ring { position: absolute; inset: 0; border-radius: 999px; border: 1.5px dashed rgba(15,118,110,0.25); }
.anatomy-hero .ring-2 { inset: 8%; border-color: rgba(245,158,11,0.25); border-style: dashed; }
.anatomy-hero .core { position: absolute; inset: 14%; border-radius: 999px; background: #fff; box-shadow: 0 30px 80px -30px rgba(15,118,110,0.25); display: flex; align-items: center; justify-content: center; }
.anatomy-hero .floater { position: absolute; background: #fff; border: 1px solid var(--brand-border); border-radius: 14px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px -16px rgba(0,0,0,0.18); font-size: 13px; font-weight: 600; color: var(--brand-charcoal); }
.anatomy-hero .floater small { display: block; font-weight: 500; color: var(--brand-slate); font-size: 11px; }

/* Symptom grid */
.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .symptom-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.symptom-card { background: #fff; border: 1px solid var(--brand-border); border-radius: 18px; padding: 1.25rem; transition: all 0.2s ease; display: flex; align-items: center; gap: 0.875rem; }
.symptom-card:hover { border-color: var(--brand-teal); transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(15,118,110,0.2); }
.symptom-card .icn { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-teal); color: #fff; display: flex; align-items: center; justify-content: center; }
.symptom-card .lbl { font-weight: 600; font-size: 0.9375rem; line-height: 1.35; color: var(--brand-charcoal); }

/* Phase timeline (3-phase protocol) */
.phase-row { position: relative; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .phase-row { grid-template-columns: repeat(3, 1fr); } }
.phase-card { position: relative; background: #fff; border: 1px solid var(--brand-border); border-radius: 22px; padding: 1.75rem 1.5rem; }
.phase-card .phase-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-teal); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.125rem; margin-bottom: 1rem; }
.phase-card .phase-lbl { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-teal); margin-bottom: 0.25rem; }
.phase-card.phase-final .phase-num { background: var(--brand-saffron); color: var(--brand-teal-dark); }
.phase-card.phase-final .phase-lbl { color: var(--brand-saffron); }

/* Connector arrows between phases (desktop) */
@media (min-width: 768px) {
  .phase-card::after { content: ''; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-top: 2px solid var(--brand-teal); border-right: 2px solid var(--brand-teal); transform: translateY(-50%) rotate(45deg); opacity: 0.5; }
  .phase-card:last-child::after { display: none; }
}

/* Decision-flow visual */
.flow-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.625rem; }
@media (min-width: 768px) { .flow-row { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; } }
.flow-node { background: #fff; border: 1px solid var(--brand-border); border-radius: 18px; padding: 1.125rem 1rem; text-align: center; transition: all 0.2s ease; }
.flow-node .flow-icn { width: 38px; height: 38px; border-radius: 999px; background: var(--brand-teal); color: #fff; margin: 0 auto 0.5rem; display: flex; align-items: center; justify-content: center; }
.flow-node .flow-q { font-size: 0.875rem; font-weight: 700; color: var(--brand-teal-dark); margin-bottom: 0.25rem; }
.flow-node .flow-a { font-size: 0.8125rem; color: var(--brand-slate); line-height: 1.4; }
.flow-node:hover { border-color: var(--brand-teal); transform: translateY(-2px); }

/* Alert callout */
.alert-card { display: flex; gap: 1rem; padding: 1.5rem; border-radius: 22px; background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; }
.alert-card .icn { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #B45309; color: #fff; display: flex; align-items: center; justify-content: center; }

/* Big number stat band */
.big-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }

/* === About page === */

/* Quote moment with oversized punctuation */
.quote-moment { position: relative; padding-top: 1rem; }
.quote-moment::before { content: '"'; position: absolute; top: -2rem; left: -0.5rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--brand-teal); opacity: 0.15; font-size: 12rem; line-height: 1; pointer-events: none; }

/* Pillar grid for About — asymmetric, numbered */
.pillar-grid { display: grid; gap: 1px; background: var(--brand-border); border-radius: 24px; overflow: hidden; }
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
.pillar-tile { background: #fff; padding: 2rem; transition: all 0.25s ease; position: relative; }
.pillar-tile:hover { background: linear-gradient(135deg, #ffffff, #f0fdfa); }
.pillar-tile .p-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 4rem; line-height: 1; color: var(--brand-teal); opacity: 0.15; position: absolute; top: 1.25rem; right: 1.5rem; transition: all 0.3s ease; }
.pillar-tile:hover .p-num { color: var(--brand-saffron); opacity: 0.9; transform: scale(1.1); }
.pillar-tile .p-icn { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-teal); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }

/* Money model: 2-column compare */
.money-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .money-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.money-card { padding: 2rem; border-radius: 22px; }
.money-yes { background: linear-gradient(135deg, #ecfdf5, #ffffff); border: 1px solid #a7f3d0; }
.money-no { background: linear-gradient(135deg, #fef2f2, #ffffff); border: 1px solid #fecaca; }
.money-item { display: flex; align-items: flex-start; gap: 0.875rem; padding: 0.875rem 0; border-top: 1px solid rgba(0,0,0,0.05); }
.money-item:first-of-type { border-top: 0; }
.money-item .m-icn { flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.money-yes .m-icn { background: #DCFCE7; color: #15803D; }
.money-no .m-icn { background: #FEE2E2; color: #B91C1C; }
.money-item h4 { font-weight: 700; color: var(--brand-charcoal); font-size: 0.9375rem; line-height: 1.3; }
.money-item p { font-size: 0.8125rem; color: var(--brand-slate); line-height: 1.4; margin-top: 2px; }

/* === 3-Month Care Program page === */

/* Hero pricing card (big number, EMI, comparison) */
.price-card { background: white; border: 1px solid var(--brand-border); border-radius: 28px; padding: 2rem; box-shadow: 0 40px 80px -40px rgba(15,118,110,0.3); position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,118,110,0.04), rgba(245,158,11,0.04)); pointer-events: none; }
.price-card .price-tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem; border-radius: 999px; background: #DCFCE7; color: #15803D; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.price-card .price-big { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-size: 4.5rem; color: var(--brand-teal-dark); }
.price-card .price-suffix { color: var(--brand-slate); font-weight: 600; }
.price-card .price-strike { display: inline-block; position: relative; color: #94A3B8; font-weight: 700; }
.price-card .price-strike::after { content: ''; position: absolute; left: -3%; top: 50%; width: 106%; height: 2px; background: #DC2626; transform: rotate(-6deg); }

/* Inclusion grid (visual checklist) */
.inc-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .inc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .inc-grid { grid-template-columns: repeat(3, 1fr); } }
.inc-card { background: white; border: 1px solid var(--brand-border); border-radius: 20px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: all 0.22s ease; position: relative; }
.inc-card:hover { transform: translateY(-3px); border-color: var(--brand-teal); box-shadow: 0 16px 36px -18px rgba(15,118,110,0.18); }
.inc-card .inc-icn { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-teal); color: white; display: flex; align-items: center; justify-content: center; transition: transform 0.22s ease; }
.inc-card:hover .inc-icn { transform: scale(1.08) rotate(-4deg); }
.inc-card .inc-count { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.75rem; color: var(--brand-teal); line-height: 1; margin-bottom: 0.125rem; }
.inc-card .inc-name { font-weight: 700; color: var(--brand-teal-dark); font-size: 1rem; line-height: 1.25; }
.inc-card .inc-desc { font-size: 0.8125rem; color: var(--brand-slate); line-height: 1.45; margin-top: 0.375rem; }
.inc-card .inc-tick { position: absolute; top: 1rem; right: 1rem; color: #15803D; opacity: 0; transition: opacity 0.2s ease; }
.inc-card:hover .inc-tick { opacity: 1; }

/* Journey progress (12-week visual timeline) */
.journey { position: relative; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .journey { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.journey-card { background: white; border-radius: 22px; padding: 1.75rem; border: 1px solid var(--brand-border); position: relative; overflow: hidden; }
.journey-card::before { content: ''; position: absolute; top: 0; left: 0; height: 5px; background: var(--brand-teal); transition: width 1.4s ease 0.3s; width: 0; }
.in-view .journey-card::before { width: var(--w, 33%); }
.journey-card.j-1::before { background: linear-gradient(90deg, #0F766E, #14B8A6); }
.journey-card.j-2::before { background: linear-gradient(90deg, #14B8A6, #F59E0B); }
.journey-card.j-3::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.journey-card.j-final { background: linear-gradient(135deg, #fef9f0, white); }
.journey-card .j-weeks { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 700; color: var(--brand-teal); text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.625rem; background: #ccfbf1; border-radius: 999px; margin-bottom: 0.875rem; }
.journey-card.j-final .j-weeks { color: #D97706; background: #FEF3C7; }
.journey-card h3 { font-weight: 800; color: var(--brand-teal-dark); font-size: 1.25rem; margin-bottom: 0.625rem; }
.journey-card ul { display: grid; gap: 0.5rem; }
.journey-card li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--brand-charcoal); }
.journey-card li svg { flex-shrink: 0; color: var(--brand-teal); margin-top: 3px; }
.journey-card.j-final li svg { color: var(--brand-saffron); }

/* Decision check list (When to choose) */
.check-list { display: grid; gap: 0.75rem; }
.check-item { display: flex; gap: 0.875rem; align-items: flex-start; padding: 1rem 1.25rem; background: white; border: 1.5px solid var(--brand-border); border-radius: 14px; transition: all 0.2s ease; cursor: default; }
.check-item:hover { border-color: var(--brand-teal); transform: translateX(4px); }
.check-item .ck-box { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: #ccfbf1; color: var(--brand-teal); display: flex; align-items: center; justify-content: center; }
.check-item .ck-text { font-size: 0.9375rem; color: var(--brand-charcoal); font-weight: 500; line-height: 1.45; }

/* Cost compare big bars (vertical) */
.cost-viz { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: end; max-width: 600px; margin: 0 auto; }
.cost-col { text-align: center; }
.cost-col .cost-bar { position: relative; width: 100%; max-width: 160px; margin: 0 auto 1rem; border-radius: 18px 18px 6px 6px; height: 0; transition: height 1.4s cubic-bezier(0.2,0.8,0.2,1) 0.2s; overflow: hidden; }
.in-view .cost-col.green .cost-bar { height: 60px; }
.in-view .cost-col.red .cost-bar { height: 280px; }
.cost-col.green .cost-bar { background: linear-gradient(180deg, #15803D, #166534); }
.cost-col.red .cost-bar { background: linear-gradient(180deg, #DC2626, #991B1B); }
.cost-col .cost-amt { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; }
.cost-col.green .cost-amt { color: #15803D; }
.cost-col.red .cost-amt { color: #DC2626; }
.cost-col .cost-lbl { font-size: 0.8125rem; color: var(--brand-slate); margin-top: 0.25rem; }
.cost-vs { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 3.5rem; color: var(--brand-saffron); text-align: center; margin: 1.5rem 0; line-height: 1; }
@media (min-width: 768px) {
  .cost-viz { grid-template-columns: 1fr auto 1fr; }
}

/* Persona cards */
.persona-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .persona-grid { grid-template-columns: repeat(4, 1fr); } }
.persona { background: white; border: 1px solid var(--brand-border); border-radius: 18px; padding: 1.5rem 1.25rem; transition: all 0.22s ease; }
.persona:hover { border-color: var(--brand-teal); transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(15,118,110,0.15); }
.persona .p-icn { width: 44px; height: 44px; border-radius: 999px; background: #ccfbf1; color: var(--brand-teal); display: flex; align-items: center; justify-content: center; margin-bottom: 0.875rem; }
.persona h4 { font-weight: 700; color: var(--brand-teal-dark); font-size: 0.9375rem; line-height: 1.3; }
.persona p { font-size: 0.8125rem; color: var(--brand-slate); margin-top: 0.375rem; line-height: 1.45; }

/* === Council page === */

/* Convergence hero: 4 dots circling a center document */
.converge { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
.converge .ctr { position: absolute; inset: 30%; border-radius: 999px; background: white; box-shadow: 0 30px 60px -25px rgba(15,118,110,0.3); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; }
.converge .ctr svg { color: var(--brand-teal); }
.converge .ctr .lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-teal-dark); }
.converge .spec { position: absolute; width: 84px; height: 84px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 14px 32px -14px rgba(0,0,0,0.25); animation: float-slow 6s ease-in-out infinite; }
.converge .spec .ic { width: 32px; height: 32px; }
.converge .spec .badge { position: absolute; bottom: -22px; background: white; color: var(--brand-charcoal); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.2); white-space: nowrap; }
.converge .s-ortho   { top: 0;   left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #0F766E, #134E4A); animation-delay: 0s; }
.converge .s-pain    { top: 50%; right: 0; transform: translateY(-50%); background: linear-gradient(135deg, #F59E0B, #D97706); animation-delay: -1.5s; }
.converge .s-physio  { bottom: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #15803D, #14532D); animation-delay: -3s; }
.converge .s-ayur    { top: 50%; left: 0; transform: translateY(-50%); background: linear-gradient(135deg, #7C3AED, #5B21B6); animation-delay: -4.5s; }
.converge svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.converge svg.lines path { stroke-dasharray: 4 6; opacity: 0.4; }
.converge .pulse-line { animation: dash-flow 6s linear infinite; }
@keyframes dash-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -20; } }

/* Process step (How it works) */
.process-rail { position: relative; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .process-rail { grid-template-columns: repeat(5, 1fr); } }
.proc { position: relative; text-align: center; padding: 1.25rem 0.75rem; }
.proc .num { position: relative; z-index: 2; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 999px; background: white; border: 2.5px solid var(--brand-teal); color: var(--brand-teal); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 800; font-size: 1.25rem; transition: all 0.25s ease; }
.proc:hover .num { background: var(--brand-teal); color: white; transform: scale(1.08); }
.proc.proc-final .num { border-color: var(--brand-saffron); color: var(--brand-saffron); background: rgba(245,158,11,0.08); }
.proc.proc-final:hover .num { background: var(--brand-saffron); color: var(--brand-teal-dark); }
.proc h4 { font-weight: 700; color: var(--brand-teal-dark); font-size: 1rem; margin-bottom: 0.25rem; }
.proc p { font-size: 0.8125rem; color: var(--brand-slate); line-height: 1.4; }
@media (min-width: 768px) {
  .process-rail::before { content: ''; position: absolute; top: 47px; left: 10%; right: 10%; height: 2px; background-image: linear-gradient(90deg, var(--brand-teal) 50%, transparent 50%); background-size: 8px 2px; opacity: 0.4; z-index: 1; }
}

/* Color-coded specialist tiles */
.spec-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec-tile { position: relative; background: white; border: 1px solid var(--brand-border); border-radius: 22px; padding: 1.5rem 1.25rem; transition: all 0.25s ease; overflow: hidden; }
.spec-tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.spec-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15); border-color: var(--accent); }
.spec-tile .s-icn { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: all 0.25s ease; }
.spec-tile:hover .s-icn { transform: scale(1.06) rotate(-4deg); }
.spec-tile h3 { font-weight: 800; color: var(--brand-teal-dark); font-size: 1.0625rem; line-height: 1.25; margin-bottom: 0.35rem; }
.spec-tile .creds { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.spec-tile p { font-size: 0.875rem; color: var(--brand-slate); line-height: 1.5; }
.spec-tile.t-ortho   { --accent: #0F766E; --accent-bg: #ccfbf1; }
.spec-tile.t-pain    { --accent: #D97706; --accent-bg: #FEF3C7; }
.spec-tile.t-physio  { --accent: #15803D; --accent-bg: #DCFCE7; }
.spec-tile.t-ayur    { --accent: #7C3AED; --accent-bg: #EDE9FE; }

/* Debate quote bubble (Same case, 4 perspectives) */
.debate-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .debate-grid { grid-template-columns: repeat(2, 1fr); } }
.debate-bubble { position: relative; padding: 1.5rem; border-radius: 18px; background: white; border-left: 4px solid var(--accent); transition: all 0.25s ease; }
.debate-bubble:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0,0,0,0.12); }
.debate-bubble .who { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.625rem; }
.debate-bubble .who .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.debate-bubble q { font-style: italic; color: var(--brand-charcoal); font-size: 1rem; line-height: 1.55; }
.debate-bubble.d-ortho   { --accent: #0F766E; }
.debate-bubble.d-pain    { --accent: #D97706; }
.debate-bubble.d-physio  { --accent: #15803D; }
.debate-bubble.d-ayur    { --accent: #7C3AED; }

/* Big brand emblem (hero canvas — bigger than condition pages) */
.emblem { position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto; }
.emblem .em-ring { position: absolute; border-radius: 999px; border: 1.5px dashed currentColor; }
.emblem .em-ring-1 { inset: 0; color: rgba(15,118,110,0.25); }
.emblem .em-ring-2 { inset: 8%; color: rgba(245,158,11,0.25); }
.emblem .em-ring-3 { inset: 16%; color: rgba(15,118,110,0.2); border-style: dotted; }
.emblem .em-core { position: absolute; inset: 26%; border-radius: 999px; background: white; box-shadow: 0 40px 80px -30px rgba(15,118,110,0.3); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 1rem; text-align: center; }

/* Pulse dot */
.dot-pulse { position: relative; }
.dot-pulse::before { content: ''; position: absolute; inset: -4px; border-radius: 999px; background: currentColor; opacity: 0.35; animation: float-fast 1.6s ease-in-out infinite; }

/* Animated CTA arrow */
.btn .arrow { transition: transform 0.25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* Cost compare bars */
.bar { height: 14px; border-radius: 999px; background: #E7E5E4; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s; }
.in-view .bar-fill { width: var(--w, 50%); }

/* Big-text card with hover scale */
.tile { transition: transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; }
.tile:hover { transform: translateY(-4px); }

/* === Promise section: animated pen-slash on "surgery" === */
.slash-word { position: relative; display: inline-block; color: #94A3B8; }
.slash-word > svg { position: absolute; left: -6%; top: 0; width: 112%; height: 100%; overflow: visible; pointer-events: none; }
.slash-word .slash-line { stroke: #DC2626; stroke-width: 5; stroke-linecap: round; fill: none; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 0.9s cubic-bezier(0.7, 0, 0.3, 1) 0.6s; }
.in-view .slash-word .slash-line, .slash-word.in-view .slash-line { stroke-dashoffset: 0; }

/* === "Certainty" shimmer text === */
.shimmer-text {
  background: linear-gradient(110deg, #F59E0B 0%, #FBBF24 25%, #FFFFFF 50%, #FBBF24 75%, #F59E0B 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

/* Sparkle dots around certainty */
@keyframes sparkle { 0%,100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(180deg); } }
.sparkle { position: absolute; color: #FBBF24; animation: sparkle 2.4s ease-in-out infinite; }

/* Promise pillar grid — animated number reveal */
.pillar-num { display: inline-block; transition: transform 0.4s ease, color 0.3s ease; }
.pillar:hover .pillar-num { transform: scale(1.15); color: #F59E0B; }
.pillar { transition: background-color 0.25s ease; }
.pillar:hover { background-color: rgba(15, 118, 110, 0.04); }

/* Hide content for assistive technology only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

