/* ═══════════════════════════════════════════════════════════
   AVOXAN — REFRESH LAYER
   Designjoy-inspired refinements layered on top of avoxan.css.
   Loaded AFTER the base stylesheet; everything here is additive
   or overrides via the cascade (no selectors removed).

   What this layer adds:
   · A proper depth scale (shadows w/ warm undertone)
   · Springy, lifted hover states on all interactive surfaces
   · A "founding-price" diagonal ribbon on the pricing card
   · A floating hero sticker pill
   · Bigger, more confident stat numbers (strip + guarantees)
   · Faded watermark numerals behind offer-stack cards
   · Circular numbered badges on the homepage process steps
   · Big italic counter numerals on the "Why us" cards
   · Subtle hover indentation on FAQ + footer links
   · `prefers-reduced-motion` opt-out
   ═══════════════════════════════════════════════════════════ */


/* ───── DEPTH + MOTION TOKENS ───── */
:root {
  --shadow-sm:     0 2px 4px -1px rgba(20, 17, 15, 0.06),
                   0 1px 2px -1px rgba(20, 17, 15, 0.04);
  --shadow-md:     0 10px 28px -12px rgba(20, 17, 15, 0.18),
                   0 4px 8px -4px rgba(20, 17, 15, 0.08);
  --shadow-lg:     0 28px 56px -20px rgba(20, 17, 15, 0.28),
                   0 8px 16px -6px rgba(20, 17, 15, 0.12);
  --shadow-xl:     0 50px 100px -30px rgba(20, 17, 15, 0.35),
                   0 16px 32px -10px rgba(20, 17, 15, 0.18);
  --shadow-sienna: 0 14px 36px -10px rgba(192, 74, 31, 0.45),
                   0 4px 8px -2px rgba(192, 74, 31, 0.18);
  --shadow-sienna-hover: 0 22px 50px -12px rgba(192, 74, 31, 0.58),
                         0 6px 14px -4px rgba(192, 74, 31, 0.28);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ───── BUTTONS — depth + spring ───── */
.btn-primary {
  padding: 1.15rem 2.1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sienna);
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s var(--ease-out),
    background 0.25s ease,
    color 0.25s ease;
}
.btn-primary:hover {
  background: #D55A2A;
  border-color: #D55A2A;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 38px -8px rgba(213, 90, 42, 0.55);
}
.btn-primary:active {
  background: #E8703E;
  border-color: #E8703E;
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 16px -6px rgba(213, 90, 42, 0.6);
  transition-duration: 0.08s;
}

.btn-secondary {
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s var(--ease-out),
    background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-cta {
  box-shadow: 0 6px 16px -6px rgba(20, 17, 15, 0.35);
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s var(--ease-out),
    background 0.25s ease,
    color 0.25s ease !important;
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -8px rgba(192, 74, 31, 0.55) !important;
}

/* Pricing-card CTAs — pop on dark */
.pkg-cta {
  box-shadow:
    0 12px 28px -8px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(20, 17, 15, 0.05);
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s var(--ease-out),
    background 0.25s, color 0.25s;
}
.pkg-cta:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 40px -8px rgba(192, 74, 31, 0.55);
}


/* ───── HERO — floating sticker pill ───── */
.hero { position: relative; }
.hero::after {
  content: '★  $1,500 · all-in · no retainers';
  position: absolute;
  top: 6.6rem;
  right: 3.5rem;
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.3rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  box-shadow:
    0 18px 32px -10px rgba(20, 17, 15, 0.35),
    inset 0 0 0 1px rgba(242, 235, 220, 0.06);
  transform: rotate(7deg);
  pointer-events: none;
  z-index: 4;
  animation: stickerFloat 4.5s ease-in-out infinite;
}
@keyframes stickerFloat {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50%      { transform: rotate(7deg) translateY(-6px); }
}

/* Availability + location pills — soft surface, springy hover */
.availability-pill {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
}
.availability-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ───── STATS STRIP — bigger, hoverable ───── */
.strip-inner {
  padding: 2.5rem 2rem;
  gap: 2.5rem;
}
.strip-num {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 380;
  transition: color 0.35s ease;
}
.strip-item {
  padding: 0.4rem 0;
  transition: transform 0.35s var(--ease-spring);
  cursor: default;
}
.strip-item:hover { transform: translateY(-4px); }
.strip-item:hover .strip-num { color: var(--sienna); }


/* ───── OFFER STACK — bento-feel without breaking the 2-col grid ───── */
.offer-stack { counter-reset: offer-counter; gap: 1.5rem; }

.offer-item {
  counter-increment: offer-counter;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 2.2rem 2.2rem 2.4rem;
  background: var(--accent-cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.45s var(--ease-out),
    border-color 0.3s ease;
}
.offer-item::before {
  content: counter(offer-counter, decimal-leading-zero);
  position: absolute;
  top: -2.2rem;
  right: -0.6rem;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 350;
  font-style: italic;
  font-size: 11rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(20, 17, 15, 0.05);
  pointer-events: none;
  z-index: 0;
  transition: color 0.4s ease, transform 0.5s var(--ease-spring);
}
.offer-item > * { position: relative; z-index: 1; }
.offer-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}
.offer-item:hover::before {
  color: rgba(192, 74, 31, 0.12);
  transform: translateY(4px) rotate(-2deg);
}

/* Restyle the inline "01 — Design" tag as a small chip */
.offer-item .num {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 0.66rem;
  color: var(--ink);
  letter-spacing: 0.12em;
  margin-bottom: 1.3rem;
  box-shadow: var(--shadow-sm);
}

/* Value tag becomes a soft sienna chip instead of pale strikethrough */
.offer-item .price-tag {
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(192, 74, 31, 0.10);
  color: var(--sienna);
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.offer-item h3 { font-size: 1.55rem; margin-bottom: 0.7rem; }


/* ───── PRICING CARD — diagonal "founding" ribbon + deeper depth ───── */
.pricing-card {
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
}
/* The base CSS already uses .pricing-card::before for the blur glow,
   so we use ::after for our ribbon. overflow:hidden on the card clips
   the ribbon into a perfect corner banner. */
.pricing-card::after {
  content: '★  founding price · ends Q3 2026';
  position: absolute;
  top: 2.1rem;
  right: -4rem;
  background: var(--sienna);
  color: var(--cream);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 5rem;
  transform: rotate(38deg);
  box-shadow:
    0 6px 18px -4px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
}

/* Bigger, more confident price number on the homepage card */
.pricing-card .pkg-price {
  font-size: clamp(4.2rem, 7vw, 6rem);
  letter-spacing: -0.05em;
}
.pkg-label {
  box-shadow:
    0 6px 14px -4px rgba(192, 74, 31, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}


/* ───── PROCESS STEPS — circular numbered badges (homepage only) ─────
   Scoped under .process-grid so we don't touch the long-form .process
   page where step-num is the big italic chapter numeral. */
.process-grid .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-warm);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease-out);
  align-self: start;
  margin-top: -0.15rem;
}
.process-grid .step { align-items: center; }
.process-grid .step:hover .step-num {
  background: var(--sienna);
  color: var(--cream);
  border-color: var(--sienna);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 12px 28px -10px rgba(192, 74, 31, 0.55);
}


/* ───── CASE STUDY CARDS — bigger lift + rounder corners ───── */
.work-card {
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease-out),
    border-color 0.3s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.work-card-visual { border-radius: 14px 14px 0 0; }
.work-card-tag {
  box-shadow:
    0 4px 12px -2px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(242, 235, 220, 0.08);
}


/* ───── GUARANTEE — way bigger numerals ───── */
.gpoint-num {
  font-size: clamp(3.4rem, 5.8vw, 5rem);
  margin-bottom: 1.1rem;
  opacity: 0.95;
}
.gpoint-title { font-size: 1.4rem; }


/* ───── WHY-US — big italic counter numerals on each card ───── */
.why-grid { counter-reset: why-counter; }
.why-card {
  counter-increment: why-counter;
  position: relative;
  padding-top: 3.6rem;
  padding-right: 1rem;
  border-top-width: 2px;
  border-top-color: var(--ink);
  transition: transform 0.35s var(--ease-spring);
}
.why-card:hover { transform: translateY(-3px); }
.why-card::before {
  content: counter(why-counter, decimal-leading-zero);
  position: absolute;
  top: 1.2rem;
  right: 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 350;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--sienna);
  opacity: 0.85;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
}
.why-card:hover::before {
  transform: translateY(-2px) rotate(-4deg);
  opacity: 1;
}


/* ───── FAQ — subtle hover indent on each row ───── */
details.faq-item summary {
  transition: padding-left 0.3s var(--ease-out), color 0.2s ease;
}
details.faq-item:hover summary { padding-left: 0.4rem; }
details.faq-item summary::after {
  transition: transform 0.4s var(--ease-spring), color 0.2s ease;
}


/* ───── BLOG CARDS — gentle lift ───── */
.blog-card {
  transition:
    background 0.3s ease,
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s var(--ease-out);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  z-index: 1;
  position: relative;
}


/* ───── FINAL CTA — a touch bigger headline ───── */
.final-cta h2 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  letter-spacing: -0.035em;
}


/* ───── FOOTER — subtle link indent on hover ───── */
.footer-col a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.25s var(--ease-out);
}
.footer-col a:hover { transform: translateX(4px); }


/* ───── REDUCED MOTION ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero::after { animation: none; }
}


/* ───── RESPONSIVE ADJUSTMENTS ───── */
@media (max-width: 1100px) {
  .hero::after { top: 5.5rem; right: 2rem; font-size: 0.65rem; }
}
@media (max-width: 900px) {
  .hero::after { display: none; }
  .offer-item::before { font-size: 8rem; top: -1.4rem; right: -0.4rem; }
  .strip-inner { padding: 1.75rem 2rem; gap: 1.5rem; }
  .strip-num { font-size: clamp(2rem, 8vw, 2.6rem); }
  .pricing-card::after {
    font-size: 0.56rem;
    top: 1.6rem;
    right: -4.5rem;
    padding: 0.5rem 5rem;
  }
  .process-grid .step-num {
    width: 44px;
    height: 44px;
    font-size: 0.72rem;
  }
  .why-card { padding-top: 3rem; }
  .why-card::before { font-size: 2.5rem; top: 1rem; }
}
 
 
/* ───── Buttons inside article body — beat the .article-wrap a override ───── */
.article-wrap .btn-primary,
.article-wrap a.btn-primary {
  color: var(--cream);
  text-decoration: none;
}
.article-wrap .btn-primary:hover,
.article-wrap a.btn-primary:hover {
  color: var(--cream);
  text-decoration: none;
}
.article-wrap .btn-secondary,
.article-wrap a.btn-secondary {
  text-decoration: none;
}


/* ════════════════════════════════════════════════════════════════════════
   AVOXAN FX — 2026 motion layer
     1. Three.js particle hero        (homepage only — canvas injected by JS)
     2. Magnetic buttons + fluid hover (site-wide)
   Every effect is a progressive enhancement and fully reduced-motion aware.
   (Note: the global reduced-motion block above already neutralises transitions;
    these extra guards keep behaviour explicit if that block ever changes.)
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. Particle hero canvas ──────────────────────────────────────────── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;   /* decorative — never intercepts the CTA */
}
.hero > .hero-meta,
.hero > .hero-title,
.hero > .hero-grid { position: relative; z-index: 1; }
.hero::after { z-index: 2; }   /* keep the floating price pill on top */

/* ── 2. Magnetic + fluid hover micro-interactions ─────────────────────── */
.magnetic {
  /* Sub-300ms spring; JS sets the transform, CSS owns the easing */
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.btn-primary.magnetic { position: relative; overflow: hidden; }
.btn-primary.magnetic > * { position: relative; z-index: 1; }
/* White/cream hover hue removed for a simpler, flatter button. */
.btn-primary.magnetic::after { display: none; }

/* Fluid underline wipe for nav text links */
.nav-links a:not(.nav-cta):not(.active) {
  background-image: linear-gradient(var(--sienna), var(--sienna));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s;
}
.nav-links a:not(.nav-cta):not(.active):hover {
  background-size: 100% 2px;
  opacity: 1;   /* beat the default hover-dim so the underline reads */
}

@media (prefers-reduced-motion: reduce) {
  .magnetic { transition: none; transform: none !important; }
  .btn-primary.magnetic::after { display: none; }
  .nav-links a:not(.nav-cta):not(.active) { transition: none; background-size: 0 2px; }
}

/* ============================================================
   AI RECEPTIONIST — HERO BACKGROUND VIDEO
   Used only on .page-hero--video (ai-receptionist.html).
   Headline/deck/CTAs sit in .container above video + scrim.
   ============================================================ */
.page-hero--video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  min-height: clamp(440px, 58vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Content above the media */
.page-hero--video > .container {
  position: relative;
  z-index: 2;
}
/* Video + poster fill the hero box, behind everything */
.hero-video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
/* Poster <img> is the reduced-motion / no-video fallback; hidden by default
   because the <video poster> already covers the loading state. */
.hero-poster { display: none; }
/* Warm cream wash so the dark ink headline stays legible; video reads
   through more on the right where there's no text. Existing tokens only. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      var(--cream) 0%,
      rgba(242, 235, 220, 0.88) 36%,
      rgba(242, 235, 220, 0.5) 62%,
      rgba(242, 235, 220, 0.12) 100%),
    linear-gradient(to top, rgba(20, 17, 15, 0.12), rgba(20, 17, 15, 0) 45%);
}

/* Reduced motion: no autoplay video, show the still poster instead. */
@media (prefers-reduced-motion: reduce) {
  .page-hero--video .hero-video { display: none; }
  .page-hero--video .hero-poster { display: block; }
}

/* ── Mobile (16:9 landscape source) ──
   OPTION A (active): keep the video, bias the crop right so the phone
   subject isn't cut off, and use a top-down cream wash since the text
   stacks at the top on narrow screens. */
@media (max-width: 640px) {
  .page-hero--video { min-height: clamp(380px, 70vh, 520px); border-radius: 16px; }
  .hero-video,
  .hero-poster { object-position: 70% center; }
  .hero-scrim {
    background:
      linear-gradient(180deg,
        var(--cream) 0%,
        rgba(242, 235, 220, 0.85) 46%,
        rgba(242, 235, 220, 0.45) 100%);
  }
}

/* OPTION B (alternative — swap in if the mobile video crop looks bad):
   drop the video on small screens and show only the poster still.
@media (max-width: 640px) {
  .page-hero--video .hero-video { display: none; }
  .page-hero--video .hero-poster { display: block; object-position: 70% center; }
}
*/

/* ============================================================
   "HEAR IT FOR YOURSELF" — DEMO SECTION
   Sits on .problem (dark ink bg). Two columns: copy + player card.
   Warm sienna glow, frosted player, pulsing play, live equalizer.
   ============================================================ */
.demo-section {
  position: relative;
  overflow: hidden;
}
/* Warm radial glow so the dark section feels lit, not flat */
.demo-section .demo-glow {
  position: absolute;
  top: -25%;
  right: -10%;
  width: 70%;
  height: 130%;
  background:
    radial-gradient(closest-side, rgba(192, 74, 31, 0.42), rgba(192, 74, 31, 0.10) 55%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.demo-section .demo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
/* Copy column — restore proper contrast on the dark bg */
.demo-section .section-label { color: #E8A07E; }
.demo-section .section-title { color: var(--cream); }
.demo-section .section-title .italic { color: #E8855A; }
.demo-lede {
  margin-top: 1.5rem;
  max-width: 46ch;
  line-height: 1.65;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: rgba(242, 235, 220, 0.74);
}

/* ── Player card ── */
.demo-player {
  position: relative;
  border-radius: 24px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background:
    linear-gradient(160deg, rgba(248, 243, 230, 0.10), rgba(248, 243, 230, 0.03));
  border: 1px solid rgba(242, 235, 220, 0.16);
  box-shadow:
    0 30px 70px -30px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.demo-player::before {
  /* soft top sheen */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(192, 74, 31, 0.16), transparent);
  pointer-events: none;
}
.demo-player-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  font-weight: 500;
}
.demo-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a2c;
  box-shadow: 0 0 0 0 rgba(255, 90, 44, 0.7);
  animation: demoLiveDot 1.8s ease-out infinite;
}
.demo-duration { color: rgba(242, 235, 220, 0.5); }

/* Play button */
.demo-play {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(74px, 16vw, 92px);
  height: clamp(74px, 16vw, 92px);
  margin: clamp(1.6rem, 4vw, 2.4rem) auto clamp(1.4rem, 3vw, 1.9rem);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, #E8703E, var(--sienna) 55%, var(--sienna-deep));
  box-shadow:
    0 14px 34px -8px rgba(192, 74, 31, 0.75),
    inset 0 2px 4px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.demo-play-icon { margin-left: 4px; }
.demo-play-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(192, 74, 31, 0.55);
  animation: demoPulse 2.4s ease-out infinite;
}
.demo-play:hover {
  transform: scale(1.06);
  box-shadow:
    0 18px 42px -8px rgba(192, 74, 31, 0.9),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}
.demo-play:active { transform: scale(0.98); }

/* Equalizer waveform */
.demo-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 56px;
  margin-bottom: 1.4rem;
}
.demo-wave span {
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #F0A06F, var(--sienna));
  animation: demoWave 1.1s ease-in-out infinite;
}
.demo-wave span:nth-child(odd)  { animation-duration: 0.9s; }
.demo-wave span:nth-child(3n)   { animation-duration: 1.3s; background: linear-gradient(180deg, #F8F3E6, #E8703E); }
.demo-wave span:nth-child(1)  { height: 30%; animation-delay: -0.2s; }
.demo-wave span:nth-child(2)  { height: 65%; animation-delay: -0.6s; }
.demo-wave span:nth-child(3)  { height: 45%; animation-delay: -0.1s; }
.demo-wave span:nth-child(4)  { height: 85%; animation-delay: -0.9s; }
.demo-wave span:nth-child(5)  { height: 55%; animation-delay: -0.3s; }
.demo-wave span:nth-child(6)  { height: 95%; animation-delay: -0.7s; }
.demo-wave span:nth-child(7)  { height: 40%; animation-delay: -0.5s; }
.demo-wave span:nth-child(8)  { height: 75%; animation-delay: -1.0s; }
.demo-wave span:nth-child(9)  { height: 50%; animation-delay: -0.2s; }
.demo-wave span:nth-child(10) { height: 100%; animation-delay: -0.8s; }
.demo-wave span:nth-child(11) { height: 60%; animation-delay: -0.4s; }
.demo-wave span:nth-child(12) { height: 88%; animation-delay: -1.1s; }
.demo-wave span:nth-child(13) { height: 42%; animation-delay: -0.3s; }
.demo-wave span:nth-child(14) { height: 70%; animation-delay: -0.6s; }
.demo-wave span:nth-child(15) { height: 52%; animation-delay: -0.9s; }
.demo-wave span:nth-child(16) { height: 90%; animation-delay: -0.2s; }
.demo-wave span:nth-child(17) { height: 48%; animation-delay: -0.7s; }
.demo-wave span:nth-child(18) { height: 66%; animation-delay: -0.4s; }
.demo-wave span:nth-child(19) { height: 35%; animation-delay: -1.0s; }
.demo-wave span:nth-child(20) { height: 58%; animation-delay: -0.5s; }

/* Caption bubble */
.demo-caption {
  background: rgba(20, 17, 15, 0.4);
  border: 1px solid rgba(242, 235, 220, 0.12);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}
.demo-caption-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E8A07E;
  margin-bottom: 0.45rem;
}
.demo-caption p {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--cream);
}
.demo-note {
  margin: 1rem 0 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(242, 235, 220, 0.45);
}

@keyframes demoWave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.7; }
  50%      { transform: scaleY(1);   opacity: 1; }
}
@keyframes demoPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes demoLiveDot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 44, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 90, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 44, 0); }
}

@media (max-width: 860px) {
  .demo-section .demo-inner { grid-template-columns: 1fr; }
  .demo-player { margin-top: 2.25rem; }
  .demo-section .demo-glow { top: -10%; right: -30%; width: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-wave span,
  .demo-play-pulse,
  .demo-live-dot { animation: none; }
  .demo-play { transition: none; }
}

/* ============================================================
   HERO FLOATING PROOF CARDS (ai-receptionist.html)
   Layered above the phone photo, anchored to .ai-hero-media.
   Nudge positions via the CSS variables below.
   ============================================================ */
.ai-hero-media {
  /* Card positions — tweak these freely */
  --proof-a-top: 12%;
  --proof-a-left: 2%;
  --proof-b-top: 70%;
  --proof-b-left: -4%;
}
.hero-proof {
  position: absolute;
  z-index: 6;                /* above the phone photo + screen overlay */
  width: clamp(220px, 22vw, 258px);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: #FFFDF8;
  border: 1px solid rgba(20, 17, 15, 0.06);
  border-radius: 14px;
  box-shadow:
    0 18px 40px -16px rgba(20, 17, 15, 0.35),
    0 4px 10px -4px rgba(20, 17, 15, 0.15);
  opacity: 0;               /* entrance fades it in */
  animation:
    proofIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards,
    proofDrift 7s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero-proof--a {
  top: var(--proof-a-top);
  left: var(--proof-a-left);
  animation-delay: 0.35s, 1.5s;
}
.hero-proof--b {
  top: var(--proof-b-top);
  left: var(--proof-b-left);
  animation-delay: 0.75s, 1.9s;
}
.hero-proof-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-top: 1px;
}
.hero-proof-icon--check { background: rgba(94, 122, 79, 0.16); color: #4F6E45; }
.hero-proof-icon--call  { background: rgba(192, 74, 31, 0.12); color: var(--sienna); }
.hero-proof-body { min-width: 0; }
.hero-proof-title {
  margin: 0 0 0.15rem;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--ink);
}
.hero-proof-sub {
  margin: 0;
  font-family: 'Geist', sans-serif;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--muted);
}
.hero-proof-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

@keyframes proofIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes proofDrift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

/* Tablet — pull the cards in tighter so they don't overflow */
@media (max-width: 860px) {
  .ai-hero-media {
    --proof-a-top: 6%;
    --proof-a-left: 2%;
    --proof-b-top: 74%;
    --proof-b-left: 0%;
  }
  .hero-proof { width: clamp(190px, 52vw, 224px); }
}

/* Small mobile — keep only Card A, anchored near the phone, in view */
@media (max-width: 560px) {
  .ai-hero-media {
    --proof-a-top: 3%;
    --proof-a-left: 0%;
  }
  .hero-proof--b { display: none; }
  .hero-proof { width: clamp(178px, 58vw, 210px); padding: 0.7rem 0.85rem; }
}

/* Reduced motion — show in place, no float/drift */
@media (prefers-reduced-motion: reduce) {
  .hero-proof {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ============================================================
   AI RECEPTIONIST HERO — split layout + phone screen overlay
   ============================================================ */
.ai-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.ai-hero-copy { min-width: 0; }
.ai-hero-media { position: relative; }

/* Phone photo wrapper = exact size of the image, overlay anchors to it */
.ai-phone {
  position: relative;
  width: 100%;
  /* ── Screen overlay position/rotation ──
     // nudge these to fine-tune against the real photo */
  --screen-left: 58.2%;
  --screen-top: 18.5%;
  --screen-width: 18.0%;
  --screen-height: 61.4%;
  --screen-rotate: 4deg;
  --screen-radius: 8% / 4.2%;   /* ~8% of overlay width, uniform corners */
}
.ai-phone-img {
  display: block;
  width: 100%;
  height: auto;
}

/* The glass screen overlay */
.ai-screen {
  position: absolute;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  transform: rotate(var(--screen-rotate));
  transform-origin: center;
  border-radius: var(--screen-radius);
  overflow: hidden;
  z-index: 2;
  background: linear-gradient(165deg, #1c1815 0%, #100d0b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 2px 14px rgba(0, 0, 0, 0.55);
  container-type: inline-size;   /* enables cqw units so the UI scales with the screen */
}
.ai-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(255,255,255,0.10), transparent 40%);
}
.ai-screen-ui { position: absolute; inset: 0; }

/* Each call state fills the screen and cross-fades on the loop */
.ai-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4cqw;
  padding: 8cqw 6cqw;
  text-align: center;
  opacity: 0;
}
.ai-state--incoming  { opacity: 1; animation: aiS1 9s ease-in-out infinite; }
.ai-state--answering { animation: aiS2 9s ease-in-out infinite; }
.ai-state--captured  { animation: aiS3 9s ease-in-out infinite; }

.ai-status {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 11cqw;
  line-height: 1.1;
  color: var(--cream);
}
.ai-status--sm { font-size: 9cqw; }
.ai-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 6cqw;
  letter-spacing: 0.04em;
  color: rgba(242, 235, 220, 0.55);
}

/* Avatar + pulsing rings (state 1) */
.ai-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30cqw;
  height: 30cqw;
  border-radius: 50%;
  background: rgba(94, 122, 79, 0.22);
  color: #8FB07A;
  margin-bottom: 2cqw;
}
.ai-avatar svg { width: 15cqw; height: 15cqw; }
.ai-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ai-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5cqw solid rgba(143, 176, 122, 0.55);
  animation: aiRing 2.6s ease-out infinite;
}
.ai-rings i:nth-child(2) { animation-delay: 0.9s; }
.ai-rings i:nth-child(3) { animation-delay: 1.8s; }

/* Answering — voice indicator (state 2) */
.ai-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 5.5cqw;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8A07E;
}
.ai-voice {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  height: 22cqw;
  margin: 1cqw 0;
}
.ai-voice span {
  width: 3cqw;
  border-radius: 3cqw;
  background: linear-gradient(180deg, #F0A06F, var(--sienna));
  animation: aiVoice 1.1s ease-in-out infinite;
}
.ai-voice span:nth-child(1) { height: 35%; animation-delay: -0.2s; }
.ai-voice span:nth-child(2) { height: 70%; animation-delay: -0.6s; }
.ai-voice span:nth-child(3) { height: 50%; animation-delay: -0.1s; }
.ai-voice span:nth-child(4) { height: 95%; animation-delay: -0.8s; }
.ai-voice span:nth-child(5) { height: 55%; animation-delay: -0.4s; }
.ai-voice span:nth-child(6) { height: 78%; animation-delay: -0.7s; }
.ai-voice span:nth-child(7) { height: 40%; animation-delay: -0.3s; }

/* Lead captured (state 3) */
.ai-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26cqw;
  height: 26cqw;
  border-radius: 50%;
  background: rgba(94, 122, 79, 0.25);
  color: #8FB07A;
}
.ai-check svg { width: 14cqw; height: 14cqw; }
.ai-leadcard {
  width: 78%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 235, 220, 0.14);
  border-radius: 5cqw;
  padding: 4cqw 5cqw;
  animation: aiLead 9s ease-in-out infinite;
}
.ai-leadcard-line {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 8cqw;
  line-height: 1.1;
  color: var(--cream);
}
.ai-leadcard-sub {
  margin: 1.5cqw 0 0;
  font-family: 'Geist', sans-serif;
  font-size: 5.5cqw;
  color: rgba(242, 235, 220, 0.6);
}

@keyframes aiS1 { 0%,28% { opacity: 1; } 33%,94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes aiS2 { 0%,30% { opacity: 0; } 35%,61% { opacity: 1; } 66%,100% { opacity: 0; } }
@keyframes aiS3 { 0%,63% { opacity: 0; } 68%,95% { opacity: 1; } 99%,100% { opacity: 0; } }
@keyframes aiRing { 0% { transform: scale(0.55); opacity: 0.85; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes aiVoice { 0%,100% { transform: scaleY(0.4); opacity: 0.75; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes aiLead {
  0%,64% { transform: translateY(40cqw); opacity: 0; }
  70%,95% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Stack on mobile; overlay scales with the image automatically */
@media (max-width: 860px) {
  .ai-hero-grid { grid-template-columns: 1fr; }
  .ai-hero-media { max-width: 460px; margin: 1rem auto 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-state { animation: none; }
  .ai-state--incoming { opacity: 1; }
  .ai-state--answering, .ai-state--captured { opacity: 0; }
  .ai-rings i, .ai-voice span { animation: none; }
  .ai-leadcard { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   HERO A — full-bleed video background (ai-receptionist.html)
   Self-contained; uses existing .btn-primary from avoxan.css.
   ============================================================ */
.heroA {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 82vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #7d4426;   /* warm fallback while media loads */
}
.heroA-media { position: absolute; inset: 0; z-index: 0; }
.heroA-media video,
.heroA-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
/* warm scrim: dark wash heaviest on the LEFT where the text sits,
   fading to clear over the phone on the right */
.heroA-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,17,15,.78) 0%, rgba(20,17,15,.55) 32%, rgba(20,17,15,.12) 58%, rgba(20,17,15,0) 75%),
    linear-gradient(0deg, rgba(20,17,15,.35) 0%, rgba(20,17,15,0) 40%);
}
.heroA-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}
.heroA-copy { max-width: 36rem; color: var(--cream); }
.heroA .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #F0A073;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.heroA h1 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 400;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
  color: #FBF4E8;
}
.heroA h1 .italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 350;
  color: #E8722F;
}
.heroA .deck {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.55;
  color: rgba(248,243,230,.86);
  max-width: 40ch;
  margin-bottom: 2.25rem;
}
.heroA-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.heroA .btn-text {
  color: #FBF4E8;
  text-decoration: underline;
  text-decoration-color: rgba(251,244,232,.4);
  text-underline-offset: 4px;
  font-weight: 500;
  font-size: 1rem;
}

/* floating proof card — over the darker mid area so it stays readable */
.heroA .proof-card {
  position: absolute;
  z-index: 3;
  background: #FBF7EF;
  border-radius: 16px;
  padding: .95rem 1.1rem;
  box-shadow: 0 18px 45px -15px rgba(0,0,0,.5);
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  width: min(17rem, 80%);
  border: 1px solid rgba(255,255,255,.7);
  opacity: 0;
  animation: heroAFloatIn .7s cubic-bezier(.2,.7,.3,1) forwards .5s,
             heroADrift 6s ease-in-out infinite 1.5s;
}
.heroA .proof-card .ic {
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,160,90,.15);
}
.heroA .proof-card .ic svg { width: 1rem; height: 1rem; stroke: #2EA05A; }
.heroA .proof-card .ct .t { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.2; }
.heroA .proof-card .ct .d { font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: .2rem; }
.heroA .card-pos { right: 6%; top: 14%; }

@keyframes heroAFloatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroADrift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.heroA-media .poster-fallback { display: none; }

@media (prefers-reduced-motion: reduce) {
  .heroA-media video { display: none; }
  .heroA-media .poster-fallback { display: block; }
  .heroA .proof-card { opacity: 1; animation: none; }
}

/* ============================================================
   PHONE HERO (.heroB) — shown only on phones (<=600px).
   Tablet/iPad + desktop keep the .heroA video hero.
   ============================================================ */
.heroB { display: none; }   /* hidden by default; phones only */

/* Phone breakpoint: swap heroA → heroB */
@media (max-width: 600px) {
  .heroA { display: none; }
  .heroB { display: flex; }
}

.heroB {
  position: relative;
  margin: 1rem;
  border-radius: 24px;
  overflow: hidden;
  background: #2a1610;
  min-height: 182vw;
  flex-direction: column;
}
/* warm radial glow behind the phone, lower area */
.heroB::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 65% at 70% 90%, #C04A1F 0%, #8E3514 40%, #3a1d12 75%, #2a1610 100%);
}
/* dark top→down gradient so text reads on top */
.heroB::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,13,9,.97) 0%, rgba(20,13,9,.95) 40%, rgba(20,13,9,.55) 55%, rgba(20,13,9,.08) 70%, rgba(20,13,9,0) 80%);
}
.heroB-copy { position: relative; z-index: 3; padding: 2.5rem 1.5rem 1.25rem; }
.heroB .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #F0A073;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.1rem;
}
.heroB h1 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 400;
  font-size: clamp(2.3rem, 9vw, 3rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: #FFF7EC;
  margin-bottom: 1.1rem;
}
.heroB h1 .italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 350;
  color: #E8722F;
}
.heroB .deck {
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255,247,236,.9);
  margin-bottom: 1.75rem;
}
.heroB-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.heroB .btn-text {
  color: #FFF7EC;
  text-decoration: underline;
  text-decoration-color: rgba(255,247,236,.5);
  text-underline-offset: 4px;
  font-weight: 500;
  font-size: 1rem;
}

/* CSS phone */
.heroB-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 1.5rem 2.5rem;
}
.heroB .phone {
  position: relative;
  width: min(15rem, 62%);
  aspect-ratio: 9 / 19.5;
  background: #0c0a09;
  border-radius: 34px;
  border: 3px solid #2c2622;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  padding: .5rem;
  overflow: hidden;
}
.heroB .phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(170deg, #161210, #0d0a08);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  padding: 1.1rem .8rem .8rem;
  color: #fff;
  position: relative;
}
.heroB .phone-screen.call { justify-content: space-between; align-items: center; padding: 2.4rem .8rem 1.4rem; text-align: center; }
.heroB .call-top { margin-top: .6rem; }
.heroB .call-status { font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.heroB .call-from { font-size: .92rem; font-weight: 600; color: #fff; margin-top: .4rem; }
.heroB .call-center { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.heroB .call-ring { width: 4.6rem; height: 4.6rem; border-radius: 50%; background: rgba(46,160,90,.12); display: flex; align-items: center; justify-content: center; position: relative; }
.heroB .call-ring::before, .heroB .call-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(46,160,90,.45); animation: cpulse 2.4s ease-out infinite; }
.heroB .call-ring::after { animation-delay: 1.2s; }
@keyframes cpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
.heroB .call-dot { width: 2.7rem; height: 2.7rem; border-radius: 50%; background: #2EA05A; display: flex; align-items: center; justify-content: center; }
.heroB .call-dot svg { width: 1.4rem; height: 1.4rem; }
.heroB .call-answering { font-size: .74rem; color: rgba(255,255,255,.6); font-family: 'Geist', sans-serif; }
.heroB .call-bottom { display: flex; gap: 2.4rem; margin-bottom: .4rem; }
.heroB .call-btn { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.heroB .call-btn svg { width: 1.2rem; height: 1.2rem; }
.heroB .call-btn.decline { background: #E5484D; transform: rotate(135deg); }
.heroB .call-btn.answer { background: #2EA05A; }

/* floating lead-captured card */
.heroB .lead-card {
  position: absolute;
  z-index: 4;
  left: 1.1rem;
  bottom: 1.1rem;
  background: #FBF7EF;
  border-radius: 16px;
  padding: .9rem 1rem;
  box-shadow: 0 20px 48px -16px rgba(0,0,0,.55);
  width: min(15rem, 66%);
  opacity: 0;
  animation: heroBFloatIn .7s cubic-bezier(.2,.7,.3,1) forwards .6s;
}
.heroB .lead-card .lh { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .84rem; color: var(--ink); margin-bottom: .55rem; }
.heroB .lead-card .lh .chk { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #2EA05A; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.heroB .lead-card .lh .chk svg { width: .68rem; height: .68rem; stroke: #fff; }
.heroB .lead-row { display: flex; gap: .45rem; font-size: .72rem; line-height: 1.5; }
.heroB .lead-row b { color: var(--muted); font-weight: 600; min-width: 3.2rem; flex: 0 0 auto; }
.heroB .lead-row span { color: var(--ink-soft); }
.heroB .lead-foot { margin-top: .6rem; padding-top: .5rem; border-top: 1px solid var(--line); font-size: .66rem; color: #2EA05A; font-weight: 500; }
@keyframes heroBFloatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .heroB .lead-card { opacity: 1; animation: none; }
  .heroB .call-ring::before, .heroB .call-ring::after { animation: none; }
}

/* heroA stacking is now dead (phones use heroB); kept ≤600 so tablets stay PC */
@media (max-width: 600px) {
  .heroA { flex-direction: column; min-height: auto; background: var(--cream); }
  .heroA-inner { padding: 0; }
  .heroA-media { position: relative; height: 58vw; min-height: 300px; }
  .heroA-scrim { display: none; }
  .heroA-copy { color: var(--ink); padding: 2rem 1.5rem 2.5rem; max-width: none; }
  .heroA .eyebrow { color: var(--sienna); }
  .heroA h1 { color: var(--ink); }
  .heroA h1 .italic { color: var(--sienna); }
  .heroA .deck { color: var(--ink-soft); }
  .heroA .btn-text { color: var(--ink); text-decoration-color: var(--line-strong); }
  .heroA .proof-card { display: none; }
}

/* ============================================================
   AI RECEPTIONIST — PLANS + VALUE (ai-receptionist.html)
   ============================================================ */
.ai-pricing-head { max-width: 60ch; }
.ai-pricing-lede {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.ai-pricing-guarantee {
  margin-top: 1.2rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  border: 1px solid rgba(192, 74, 31, 0.32);
  border-radius: 999px;
  background: rgba(192, 74, 31, 0.09);
  padding: 0.72rem 0.95rem;
  color: var(--ink);
}
.ai-pricing-guarantee strong {
  font-size: 0.92rem;
  font-weight: 700;
}
.ai-pricing-guarantee span {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* Two plan cards */
.ai-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 880px;
  margin: 2.5rem 0 0;
}
.ai-plan {
  position: relative;
  background: var(--accent-cream);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 2rem 1.9rem 1.9rem;
  display: flex;
  flex-direction: column;
}
.ai-plan--featured {
  border-color: var(--sienna);
  box-shadow: 0 22px 50px -28px rgba(192, 74, 31, 0.55);
}
.ai-plan-tag {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  background: var(--sienna);
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.ai-plan-tag--muted { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); }
.ai-plan-name {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 40, "wght" 450;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.ai-plan-price {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 400;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
}
.ai-plan-cur { font-size: 1.6rem; margin-right: 0.1rem; opacity: 0.7; }
.ai-plan-per {
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  margin-left: 0.4rem;
  letter-spacing: normal;
}
.ai-plan-mins {
  margin-top: 0.9rem;
  font-size: 1rem;
  color: var(--ink);
}
.ai-plan-mins strong { font-weight: 600; }
.ai-plan-note {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}
.ai-plan-cta {
  margin-top: auto;
  margin-bottom: 0;
}
.ai-plan .ai-plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1.6rem;
}
/* ghost variant for the secondary (Heavy) plan */
.ai-plan-cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.ai-plan-cta--ghost:hover { border-color: var(--sienna); background: rgba(192, 74, 31, 0.05); }

/* ===== Single founding pricing card (AI receptionist) ===== */
.ai-solo { max-width: 560px; margin: 2.6rem auto 0; }
.ai-plan--solo { text-align: left; padding: 2.4rem 2.2rem; box-shadow: 0 30px 70px -34px rgba(192, 74, 31, 0.55); }
.ai-plan--solo .ai-plan-tag { white-space: normal; line-height: 1.4; }
.ai-plan--solo .ai-plan-price { margin-top: 0.3rem; }
.ai-guarantee-callout {
  margin-top: 1rem;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(192, 74, 31, 0.32);
  border-left: 4px solid var(--sienna);
  border-radius: 14px;
  background: rgba(192, 74, 31, 0.08);
  color: var(--ink);
}
.ai-guarantee-callout strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  font-variation-settings: "opsz" 144, "SOFT" 40, "wght" 520;
  line-height: 1.15;
}
.ai-guarantee-callout span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}
.ai-plan--solo .ai-plan-mins {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.9rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.ai-solo-list {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.4rem;
}
.ai-solo-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.35; }
.ai-plan-cta { margin-top: 1.8rem; }
.ai-plan-subcta { margin-top: 0.8rem; text-align: center; font-size: 0.82rem; color: var(--muted); }
.ai-solo-reassure { max-width: 540px; margin: 1.4rem auto 0; text-align: center; font-size: 0.9rem; line-height: 1.55; color: var(--muted); }

/* Info tooltip on the minutes line */
.ai-tip { position: relative; display: inline-flex; align-items: center; color: var(--sienna); cursor: help; }
.ai-tip > svg { width: 16px; height: 16px; }
.ai-tip-pop {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  width: 250px; max-width: 78vw; padding: 0.8rem 0.9rem;
  background: var(--ink); color: rgba(242, 235, 220, 0.92);
  border-radius: 12px; font-size: 0.78rem; line-height: 1.5; font-weight: 400;
  box-shadow: 0 18px 40px -14px rgba(20, 17, 15, 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5; pointer-events: none;
}
.ai-tip-pop::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--ink);
}
.ai-tip:hover .ai-tip-pop, .ai-tip:focus .ai-tip-pop, .ai-tip:focus-visible .ai-tip-pop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
@media (max-width: 560px) {
  .ai-solo-list { grid-template-columns: 1fr; }
}

/* "If you run out" callout */
.ai-runout {
  max-width: 880px;
  margin: 1.6rem 0 0;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sienna);
  border-radius: 14px;
  padding: 1.5rem 1.7rem;
}
.ai-runout-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 0.6rem;
}
.ai-runout h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 450;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.15;
}
.ai-runout p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 70ch;
}

/* Included-on-every-plan checklist */
.ai-included { margin-top: 2.5rem; }
.ai-included-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.ai-included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2.2rem;
  max-width: 980px;
}
.ai-included-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.ai-included-list strong { color: var(--ink); font-weight: 600; }
.ai-tick {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(94, 122, 79, 0.16);
  color: #4F6E45;
}
.ai-tick svg { width: 14px; height: 14px; }
.ai-included-foot {
  margin-top: 1.8rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}

@media (max-width: 680px) {
  .ai-plans { grid-template-columns: 1fr; }
  .ai-included-list { grid-template-columns: 1fr; }
}
