/* ============================================================
   tiina.ai Landing Page - v7 IMPLEMENTATION
   Copy v7 | Design: Warm Paper, Senior-First, Voice-First
   ============================================================ */

/* ---- RESET & VARIABLES ---- */
:root {
  /* Palette — R02 contrast bump */
  --cream: #FDF8F3;
  --white: #FFFFFF;
  --coral: #C67B5C;
  --coral-dark: #A85D40;
  --peach: #E8C4B8;
  --peach-light: rgba(232, 196, 184, 0.25);
  --charcoal: #1A1D1E;
  --gray: #3D4246;

  /* Fonts */
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Source Sans 3', -apple-system, sans-serif;

  /* Spacing & Layout */
  --space-s: 24px;
  --space-m: 48px;
  --space-l: 96px;
  --content-w: 840px;
  --radius: 16px;

  /* Accessibility */
  --focus-ring: 3px solid var(--charcoal);
  --touch-target: 56px;
}

/* High Contrast Mode Override */
@media (prefers-contrast: more) {
  :root {
    --cream: #FFFFFF;
    --gray: #000000;
    --coral: #904020;
    --peach-light: #000000;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 42px;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

h2 {
  font-size: 32px;
  margin-bottom: 32px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 24px;
}

strong {
  font-weight: 700;
  color: var(--charcoal);
}

em {
  font-style: normal;
}

/* Focus Styles */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Skip link — hidden until focused via keyboard */
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 10000;
  padding: 14px 24px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.skip-to-main:focus {
  left: 16px;
}

/* ---- LAYOUT UTILITIES ---- */
.section {
  padding: var(--space-l) 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-inner {
  width: 100%;
  max-width: var(--content-w);
}

/* Tighter max-width for prose-heavy sections (R01) */
.story-block,
.story-payoff,
.caregiver-content,
.close-copy {
  max-width: 660px;
}

.centered {
  text-align: center;
}

.highlight-bg {
  background-color: var(--white);
  width: 100%;
}

.alt-bg {
  background-color: rgba(232, 196, 184, 0.1);
  width: 100%;
}

/* ---- NAV ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
  /* Header cage matches the homepage standard (hero-tilt.css): 1280 inner, 32px gutters */
  padding: 0 32px;
}
.site-nav.scrolled {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px; /* header parity: matches homepage/families (next.css) */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}

.nav-lockup {
  height: 52px;
  width: auto;
  display: block;
}


.nav-orb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #E8C4B8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 19px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--charcoal);
}

.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 10px 22px;
  margin-left: 32px;
  border-radius: 50px;
  font-size: 19px; /* >=19px bold = WCAG large text; white on coral passes at 3:1 */
  font-weight: 700;
  font-family: var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  min-height: auto;
  flex-shrink: 0;
  transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 881px) {
  .nav-cta {
    opacity: 0;
    pointer-events: none;
  }

  .nav-cta.nav-cta-visible,
  .legal-page ~ .nav-cta,
  .nav-cta.nav-cta-always {
    opacity: 1;
    pointer-events: auto;
  }
}

.nav-cta:hover {
  background: var(--coral-dark);
  color: var(--white) !important;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.4);
}

/* Hamburger menu button — visible on mobile only */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile menu dropdown — hidden by default, shown via JS removing [hidden] */
.mobile-menu {
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--peach-light);
  display: none;
}

.mobile-menu:not([hidden]) {
  display: flex;
}

.mobile-menu a:not(.cta-button) {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 19px;
  font-weight: 600;
  padding: 12px 0;
  min-height: var(--touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu .cta-button {
  margin-top: 8px;
}


/* Hide desktop nav links on small screens, show hamburger.
   880px (not 768) because the desktop nav (logo + 4 links + CTA) needs ~870px
   before the CTA gets clipped off the right edge — measured on families/. */
@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    font-size: 19px; /* keep WCAG large-text threshold on mobile */
    margin-left: auto;
    margin-right: 4px;
  }

  .nav-hamburger {
    margin-right: -4px;
  }
}

/* Prevent anything from causing horizontal scroll */
body {
  overflow-x: clip;
}

/* ---- S1: HERO ---- */
.hero {
  padding-top: 48px;
}

.hero-primary-cta {
  font-size: 20px;
  padding: 16px 40px;
}

/* ---- DEMO LIGHTBOX ---- */
.demo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.demo-lightbox[hidden] {
  display: none;
}

.demo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
}

.demo-lightbox-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 372px;
}

.demo-lightbox-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 16px;
}

.demo-lightbox-close {
  position: absolute;
  top: -56px;
  right: -4px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--charcoal);
  cursor: pointer;
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.demo-lightbox-close:hover {
  opacity: 1;
}

/* ---- iPHONE FRAME (inside lightbox) ---- */
.iphone-frame {
  background: #111;
  border-radius: 48px;
  padding: 6px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

/* Dynamic Island — floats over the screen */
.iphone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #111;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.iphone-speaker {
  display: none;
}

.iphone-camera {
  width: 7px;
  height: 7px;
  background: #1e2530;
  border-radius: 50%;
  box-shadow: inset 0 0 3px rgba(80, 100, 140, 0.4);
}

.iphone-screen {
  border-radius: 42px;
  overflow: hidden;
  position: relative;
}

.iphone-screen .phone-mockup {
  border-radius: 0;
  box-shadow: none;
  max-width: none;
  width: 100%;
}

.iphone-screen .phone-orb-area {
  padding-top: 48px;
}

/* Home indicator — overlays bottom of screen */
.iphone-home-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.iphone-home-bar::after {
  content: '';
  display: block;
  width: 96px;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.demo-lightbox .phone-expanded .phone-body {
  height: 300px;
  padding: 8px 28px 24px;
}

.demo-lightbox .phone-btn-next {
  color: var(--coral);
  border-color: var(--peach);
}

.demo-lightbox .phone-btn-next:hover {
  border-color: var(--coral);
  background: rgba(198, 123, 92, 0.08);
}

/* ---- FINAL MESSAGE (after all demos exhausted) ---- */
.phone-final-overlay {
  position: absolute;
  inset: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 42px;
  padding: 32px 28px;
  text-align: center;
}

.phone-final-overlay[hidden] {
  display: none;
}

.phone-final-orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin-bottom: 22px;
  position: relative; /* voice-reactive canvas orb mounts inside (no static bg) */
}

.phone-final-headline {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.phone-final-body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 24px;
}

.phone-final-cta {
  max-width: 240px;
  font-size: 16px;
  padding: 14px 28px;
}

.phone-final-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 16px;
  margin-bottom: 0;
}

/* ---- VOLUME GATE (frosted cream overlay inside phone screen) ---- */
.volume-gate-overlay {
  position: absolute;
  inset: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 42px;
  padding: 32px;
}

.volume-gate-overlay[hidden] {
  display: none;
}

.volume-gate-icon {
  width: 64px;
  height: 64px;
  color: var(--coral);
  stroke-width: 1.5;
  margin-bottom: 28px;
}

.volume-wave {
  animation: volume-wave-pulse 2.2s ease-in-out infinite;
}

.volume-wave-2 {
  animation-delay: 0.4s;
}

@keyframes volume-wave-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.volume-gate-headline {
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.volume-gate-subhead {
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

.volume-gate-btn {
  background: var(--coral);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 19px; /* >=19px bold = WCAG large text on coral */
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.volume-gate-btn:hover {
  background: var(--coral-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.4);
}

.volume-gate-btn svg {
  width: 16px;
  height: 16px;
}


/* Offset scroll targets for sticky nav */
:target {
  scroll-margin-top: 64px;
}

.hero .section-inner {
  position: relative;
}

/* Hero eyebrow */
.eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Hero quick-facts line */
.hero-facts {
  font-size: 16px;
  color: var(--gray);
  margin-top: 8px;
  margin-bottom: 0;
}

.hero h1 {
  font-size: 46px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.subheadline {
  font-size: 24px;
  color: var(--charcoal);
}

.supporting-line {
  font-size: 20px;
  color: var(--gray);
}


/* Badges */
.badge-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.badge-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--charcoal);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  min-height: var(--touch-target);
  transition: transform 0.2s ease;
}

.badge-link:hover {
  background-color: #000;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.badge-link svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.badge-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.badge-small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.badge-large {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.friction-text {
  font-size: 16px;
  color: var(--gray);
  margin-top: 16px;
}

/* ---- S1b: QUICK HELP (3 cards + facts) ---- */
.quick-help-section {
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--white);
}

.quick-help-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.quick-help-card {
  padding: 28px 24px;
  border-left: 4px solid var(--peach);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quick-help-card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.quick-help-card p {
  margin-bottom: 0;
  font-size: 19px;
  color: var(--gray);
}

.quick-facts {
  margin-top: 32px;
  font-size: 17px;
  color: var(--gray);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---- S2: TIINA IN ACTION (Photo-First Demo) ---- */
.story-block {
  margin-bottom: 32px;
  font-size: 22px;
}

.app-interface {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(45, 52, 54, 0.08);
  overflow: hidden;
  margin: 40px 0;
}

.app-header {
  padding: 16px;
  border-bottom: 1px solid #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.orb-small {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #E8C4B8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: pulse-orb 3s ease-in-out infinite;
  flex-shrink: 0;
}

.app-status {
  font-size: 14px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.5px;
}

.app-body {
  padding: 32px 24px;
}

.outcome {
  font-weight: 700;
  margin-top: 8px;
  border-left: 4px solid var(--peach);
  padding-left: 16px;
}

/* Post-story CTA block */
.post-story-cta {
  margin-top: 48px;
  text-align: center;
}

.post-story-cta h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.post-story-cta .friction-text {
  margin-top: 12px;
}

/* Media slot section */
.media-slot-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--cream);
}

.media-placeholder {
  margin-top: 24px;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--peach);
  border-radius: 50px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--charcoal);
  cursor: pointer;
  min-height: var(--touch-target);
  transition: background 0.15s ease, transform 0.15s ease;
}

.play-btn:hover {
  background: var(--peach-light);
  transform: translateY(-1px);
}

.play-icon {
  font-size: 22px;
  color: var(--coral);
}

/* Standalone dialogue box (used outside app-interface) */
.standalone-dialogue {
  margin: 32px 0;
}

/* ---- S3: SCENARIOS ---- */
.scenario-item {
  margin-bottom: 80px;
}

.scenario-item:last-child {
  margin-bottom: 0;
}

.scenario-item h3 {
  color: var(--coral);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
}

.dialogue-box {
  background: var(--white);
  border-left: 4px solid var(--peach);
  padding: 24px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
  font-size: 20px;
}

.speaker-label {
  font-weight: 700;
  color: var(--coral);
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

/* ---- ACCORDION (shared by Scenarios + Trust) ---- */
.accordion-wrapper {
  margin-top: 48px;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: none;
  border: none;
  border-top: 1px solid var(--peach-light);
  font-size: 20px;
  font-weight: 700;
  color: var(--coral);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  min-height: var(--touch-target);
}

.accordion-trigger:hover {
  color: var(--coral-dark);
}

.accordion-icon {
  font-size: 24px;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-trigger[aria-expanded="true"] + .accordion-panel {
  max-height: 2000px;
}

.accordion-panel-inner {
  padding: 16px 0 32px;
}

/* Trust-specific accordion spacing */
.trust-accordion {
  margin-top: 32px;
}

.trust-details-list {
  list-style: none;
  padding: 0;
}

.trust-details-list li {
  padding: 12px 0;
  padding-left: 20px;
  position: relative;
  font-size: 19px;
  color: var(--gray);
  border-bottom: 1px solid var(--peach-light);
}

.trust-details-list li:last-child {
  border-bottom: none;
}

.trust-details-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
}

/* Prompt suggestions (How to Start step 3) */
.prompt-suggestions {
  font-size: 17px;
  color: var(--gray);
  margin-top: -8px;
}

/* Section subhead (used in For Families) */
.section-subhead {
  font-size: 20px;
  color: var(--gray);
  margin-top: -16px;
  margin-bottom: 32px;
}

/* ---- S4: HOW TO START & ORB ---- */

/* App screenshot */
.app-screenshot {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.app-screenshot-centered {
  margin: 40px auto;
  position: relative;
  z-index: 0;
}

.app-screenshot-centered::before {
  content: '';
  position: absolute;
  inset: -60px -100px;
  background: radial-gradient(ellipse at center, rgba(232, 196, 184, 0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.app-screenshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(45, 52, 54, 0.12);
}

@media (min-width: 768px) {
  .app-screenshot {
    max-width: 380px;
  }
}

/* Orb (used in close section) */
.tiina-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #E8C4B8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: pulse-orb 3s ease-in-out infinite;
}

@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.02); opacity: 1; }
}

.steps-list {
  list-style: none;
  text-align: left;
  margin: 40px 0;
}

.step-item {
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--peach-light);
}

.step-item h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* ---- STEPS GRID (3-column How to Start) ---- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.step-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  background: rgba(232, 196, 184, 0.12);
  border: 1px solid rgba(232, 196, 184, 0.25);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(232, 196, 184, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--coral);
}

.step-icon-orb {
  background: var(--peach);
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 16px;
}

.step-cta {
  margin-top: auto;
  max-width: none;
}

/* Permission modal mock (iOS style) */
.permission-mock {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  max-width: 220px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.permission-mock-title {
  padding: 16px 16px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0;
  line-height: 1.4;
}

.permission-mock-buttons {
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.permission-mock-btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 14px;
  color: #007AFF;
  font-family: var(--font-sans);
}

.permission-mock-btn + .permission-mock-btn {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.permission-mock-allow {
  font-weight: 700;
}

/* Call button mock (Step 3 visual) */
.step-btn-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.step-btn-mock-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 2px 8px rgba(232, 196, 184, 0.4);
  animation: pulse-orb 3s ease-in-out infinite;
}

.step-btn-mock-label {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 50px;
  border: 2px solid var(--coral);
  color: var(--coral);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-align: center;
}

/* Mobile: vertical timeline with stepper line */
@media (max-width: 767px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step-card {
    position: relative;
    padding-left: 68px;
    padding-bottom: 32px;
  }

  .step-card::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 52px;
    bottom: 0;
    width: 2px;
    background: var(--peach);
  }

  .step-card:last-child::after {
    display: none;
  }

  .step-icon {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
  }
}

/* ---- S5: DIFFERENTIATORS (Statement Block) ---- */
.diff-section {
  background: rgba(232, 196, 184, 0.1);
  padding: 60px 24px;
}

.diff-headline {
  margin-bottom: 48px;
}

.diff-line1,
.diff-line2 {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--charcoal);
  font-size: 32px;
  line-height: 1.3;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}

.diff-card {
  padding-top: 20px;
  border-top: 2px solid var(--peach);
}

.diff-card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .diff-line1,
  .diff-line2 {
    font-size: 26px;
  }
}

/* Step card: SMS bubble mock (families page) */
.step-sms-mock {
  margin-top: auto;
  max-width: 220px;
}

.step-sms-bubble {
  background: #34C759;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  font-family: var(--font-sans);
}

/* Step card: Active badge (families page) */
.step-done-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(52, 199, 89, 0.1);
  color: #2D8A4E;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
}

.step-done-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34C759;
}

/* ---- S6: TESTIMONIALS ---- */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--peach-light);
}

.testimonial p {
  font-size: 20px;
  margin-bottom: 0;
  font-style: normal;
}

/* ---- S7: FOR FAMILIES (Caregivers) ---- */
.caregiver-content {
  text-align: left;
  font-size: 20px;
}

.emphasis {
  font-size: 24px;
  font-weight: 700;
  color: var(--coral);
  margin: 32px 0;
  text-align: center;
}

.value-prop-box {
  background: var(--cream);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  margin: 32px 0;
  font-size: 22px;
}

.cta-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

/* Share buttons (For Families) */
.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 19px; /* >=19px bold = WCAG large text; white on coral passes at 3:1 */
  font-weight: 700;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  width: 100%;
  max-width: 320px;
}

.share-btn-primary {
  background: var(--coral);
  color: var(--white);
  border: none;
}

.share-btn-primary:hover {
  background: var(--coral-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.4);
}

.share-btn-secondary {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}

.share-btn-secondary:hover {
  background: rgba(198, 123, 92, 0.08);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.2);
}

.share-btn-secondary.copied {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.share-helper {
  font-size: 15px;
  color: var(--gray);
  margin-top: 8px;
}

/* QR code (desktop only, in Families section) */
.qr-desktop {
  display: none;
  margin-top: 24px;
  text-align: center;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--white);
  border: 2px solid var(--peach);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--gray);
  margin: 0 auto;
}

.qr-caption {
  font-size: 15px;
  color: var(--gray);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---- S8: TRUST ---- */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 40px;
}

.trust-item {
  flex: 1 1 100%;
}

.trust-item h3 {
  font-size: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--peach);
}

/* Trust promise block (replaces accordion) */
.trust-promise {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--peach);
  border-radius: var(--radius);
}

.trust-promise-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--peach);
  margin-top: 2px;
}

.trust-promise-text {
  font-size: 19px;
  margin-bottom: 0;
  color: var(--charcoal);
}

/* ---- S9: PRICING CARD ---- */
.pricing-card {
  background: var(--white);
  border: 1px solid rgba(232, 196, 184, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 48px 40px;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-dollar {
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1;
}

.pricing-period {
  font-size: 20px;
  color: var(--gray);
  font-weight: 600;
}

.pricing-trial {
  font-size: 18px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
  width: 100%;
}

.pricing-features li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 18px;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(232, 196, 184, 0.15);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--coral);
}

.pricing-cta {
  max-width: none;
  width: 100%;
}

.pricing-trust {
  font-size: 15px;
  color: var(--gray);
  margin-top: 16px;
  margin-bottom: 0;
}

/* Screen-reader-only utility */
.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;
}

/* ============================================================
   Pricing — calm utility decision panel (not a hero, not a
   wedding invitation). Off-white section, tight white card,
   left-aligned. Two columns on desktop: promise (left) /
   decision (right). Shared by homepage (#pricing) + families.
   ============================================================ */
.pricing-section {
  background: #F4F1ED;
}
/* One composed decision card — single column, no divider. The offer is the
   headline; light example rows sit in the middle; the price/CTA fold in under
   the copy as the action center. */
.pricing-invite {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(26, 29, 30, 0.12);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(26, 29, 30, 0.04);
  padding: 40px;
}
.pricing-section.pre-reveal .pricing-invite { opacity: 0; transform: translateY(12px); }
.pricing-section.pre-reveal.is-in .pricing-invite {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pricing-left, .pricing-right { min-width: 0; }

.pricing-eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-dark);
  margin: 0 0 10px;
}
.pricing-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 14px;
}
.pricing-desc {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0 0 22px;
}
/* simple bulleted use-cases (homepage + families, consistent) */
.pricing-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pricing-bullets li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--charcoal);
}
.pricing-bullets li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-dark);
}
.pricing-action {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--gray);
  margin: 0;
}
/* family: anti-monitoring / control line */
.pricing-emphasis {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--coral-dark);
  margin: 16px 0 0;
}

/* the decision folds in under the copy via a gentle rule (no vertical divider) */
.pricing-right {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(26, 29, 30, 0.1);
}
.pricing-trial-hero {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 2px;
}
.pricing-terms {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 16px;
}
.pricing-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 14px;
}
/* primary + secondary share the row at equal width */
.pricing-cta-group .pricing-cta {
  flex: 1 1 0;
  max-width: none;
}
/* Buttons use the site's standard .share-btn styles — primary coral pill and
   secondary coral outline, identical to the hero/nav CTAs. No overrides. */
.pricing-reassure {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray);
  margin: 6px 0 0;
}
.pricing-fineprint {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  opacity: 0.7;
  margin: 4px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-section.pre-reveal .pricing-invite { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .pricing-invite { padding: 28px; }
  .pricing-headline { font-size: 27px; }
  .pricing-cta-group { flex-direction: column; }
  .pricing-cta-group .pricing-cta { flex: none; width: 100%; }
}

/* ============================================================
   Families pricing — clean two-column SaaS CTA card.
   60/40 split: value (left) + pricing panel (right).
   Sans-serif throughout, check bullets, solid CTA. Family page only.
   ============================================================ */
.fp-section { background: #F7EDE4; }

/* Aligns to the page's standard content cage (--content-w) so the card
   isn't wider than the body sections around it. */
.fp-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  max-width: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--peach-light);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.fp-main { padding: 44px; min-width: 0; }
.fp-panel {
  padding: 44px 40px;
  background: #FAF5F0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fp-eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-dark);
  margin: 0 0 14px;
}
.fp-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 18px;
}
.fp-sub {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0 0 26px;
}
.fp-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fp-checks li {
  position: relative;
  padding-left: 30px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.4;
  color: var(--charcoal);
}
.fp-checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 18px;
}
.fp-action {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--gray);
  margin: 20px 0 0;
}

.fp-trial {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 2px;
}
.fp-price {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--gray);
  margin: 0 0 22px;
}
/* CTAs use the site's standard .share-btn styles; full-width, stacked in the panel */
.fp-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 6px;
}
.fp-panel .share-btn {
  width: 100%;
  max-width: none;
}
.fp-note {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
  margin: 22px 0 0;
}
.fp-fineprint {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  opacity: 0.72;
  margin: 4px 0 0;
}

@media (max-width: 760px) {
  .fp-card { grid-template-columns: 1fr; }
  .fp-main { padding: 32px 28px; }
  .fp-panel { padding: 30px 28px; }
  .fp-headline { font-size: 27px; }
}

/* ---- S10: FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--peach-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  min-height: var(--touch-target);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--charcoal);
  font-size: 19px;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 500px;
}

.faq-content {
  padding-bottom: 24px;
}

.faq-icon {
  font-size: 24px;
  color: var(--coral);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}

/* ---- S11: DOWNLOAD DECK ---- */
.download-deck {
  background: var(--charcoal);
  padding: var(--space-l) 24px;
  display: flex;
  justify-content: center;
}

.download-deck .section-inner {
  max-width: var(--content-w);
}

.download-deck h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 16px;
}

.download-deck-sub {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.download-deck-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.download-deck-cta {
  max-width: 320px;
}

.download-deck-platforms {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
  margin-bottom: 0;
}

.download-deck-qr-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.download-deck-qr-card .qr-placeholder {
  margin: 0 auto;
}

.download-deck-qr-card .download-deck-qr-link {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  transition: transform 0.2s ease;
}
.download-deck-qr-card .download-deck-qr-link:hover { transform: scale(1.03); }
.download-deck-qr-card .download-deck-qr-img {
  width: 180px;
  height: 180px;
  display: block;
  margin: 0 auto;
}

.download-deck-qr-card p {
  color: var(--gray);
  font-size: 15px;
  margin-top: 12px;
  margin-bottom: 0;
}

.download-deck-disclosure {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .download-deck-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-deck-qr {
    display: none;
  }
}

.footer-lockup {
  height: 56px;
  width: auto;
  display: block;
  margin: 0 auto 24px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.95);
  padding: 64px 24px;
  font-size: 16px;
  text-align: center;
  display: flex;
  justify-content: center;
}

footer .section-inner {
  max-width: var(--content-w);
  text-align: center;
}

footer p {
  color: rgba(255, 255, 255, 0.95);
}

footer a {
  color: var(--white);
  margin: 0 8px;
}

.disclaimer {
  margin-top: 24px;
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.5;
}

.copyright {
  margin-top: 32px;
  font-size: 15px;
  opacity: 0.85;
}

.privacy-choices {
  margin-top: 12px;
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.4;
}
.privacy-choices a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.privacy-choices a:hover { opacity: 1; text-decoration: underline; }
.privacy-choices svg { flex-shrink: 0; }

.cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  font-size: 19px; /* >=19px bold = WCAG large text; white on coral passes at 3:1 */
  text-decoration: none;
  border-radius: 50px;
  width: 100%;
  min-height: var(--touch-target);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  background: var(--coral-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.4);
}

/* ---- RESPONSIVE ---- */
@media (min-width: 768px) {
  h1 {
    font-size: 64px;
  }

  .badge-row {
    flex-direction: row;
    justify-content: flex-start;
  }

  .centered-row {
    justify-content: center;
  }

  .quick-help-grid {
    flex-direction: row;
  }

  .quick-help-card {
    flex: 1;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trust-item.full-width {
    grid-column: 1 / -1;
    text-align: center;
  }

  .trust-item.full-width h3 {
    justify-content: center;
  }

  .qr-desktop {
    display: block;
  }

  .cta-button {
    width: auto;
    min-width: 300px;
    margin: 0 auto;
  }

  .share-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .share-btn {
    width: auto;
  }
}

/* ---- MOBILE LAYOUT FIXES ---- */
@media (max-width: 767px) {
  /* Reduce section padding */
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Hero — compact so CTA is above the fold */
  .hero {
    padding-top: 20px;
  }

  .eyebrow {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .subheadline {
    font-size: 19px;
    margin-bottom: 16px;
  }

  .hero-primary-cta {
    font-size: 19px; /* keep WCAG large-text threshold on mobile */
    padding: 12px 24px;
  }

  .friction-text {
    font-size: 14px;
  }

  /* General typography */
  h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 20px;
  }

  .supporting-line {
    font-size: 17px;
  }

  /* Scenario tabs — scrollable */
  .scenario-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .scenario-tab {
    padding: 12px 16px;
    font-size: 15px;
    white-space: nowrap;
  }

  /* Download deck */
  .download-deck h2 {
    font-size: 24px;
  }

  /* Pricing card */
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-dollar {
    font-size: 40px;
  }

  /* Diff section */
  .diff-section {
    padding: 40px 20px;
  }

  /* Testimonials */
  .testimonial {
    padding: 24px;
  }

  /* Nav — compact (parity with next.css mobile). Chrome budget: 28 gutters +
     120 lockup + 148 CTA + 44 burger = ~344px — must fit a 360px screen. */
  .site-nav {
    padding: 0 14px;
  }

  .nav-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-lockup {
    height: 34px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
    padding: 6px;
  }
}

/* Small mobile */
/* Legacy tiny screens: CTA lives in the burger menu */
@media (max-width: 349px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  h1,
  .hero h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .subheadline {
    font-size: 18px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* ============================================================
   FAMILIES PAGE — /families
   ============================================================ */

/* Nav: "For me" link (subtle, not a CTA) */
.nav-link-subtle {
  color: var(--gray);
  font-weight: 600;
}

.nav-link-subtle:hover {
  color: var(--charcoal);
}

/* Hero inline link (e.g. "Here for yourself?") */
.hero-inline-link {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 400;
}

.hero-inline-link:hover {
  color: var(--charcoal);
}

/* Demo conversation */
.demo-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 24px;
}

.demo-conversation {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.demo-bubble {
  padding: 24px;
  border-radius: 0 12px 12px 0;
  border-left: 4px solid var(--peach);
  background: var(--white);
}

.demo-bubble.demo-user {
  border-left-color: var(--gray);
  background: rgba(232, 196, 184, 0.12);
}

.demo-speaker {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--coral);
}

.demo-user .demo-speaker {
  color: var(--gray);
}

.demo-bubble p {
  font-size: 20px;
  margin-bottom: 0;
}

/* Value bullets */
.value-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.value-bullets li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 20px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--peach-light);
}

.value-bullets li:last-child {
  border-bottom: none;
}

.value-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--peach);
}

.reassurance {
  font-size: 19px;
  color: var(--gray);
  font-style: italic;
  max-width: 660px;
  margin-bottom: 32px;
}

.family-quote {
  max-width: 500px;
}

/* Two-path steps */
.two-paths {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 40px 0;
  text-align: left;
}

.path-card {
  background: var(--cream);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--peach-light);
}

.path-card h3 {
  color: var(--coral);
  font-family: var(--font-sans);
  font-size: 20px;
  margin-bottom: 16px;
}

.path-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.path-steps li {
  counter-increment: step;
  padding: 10px 0 10px 36px;
  position: relative;
  font-size: 19px;
}

.path-steps li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--coral);
}

@media (min-width: 768px) {
  .two-paths {
    flex-direction: row;
  }

  .path-card {
    flex: 1;
  }
}

/* Prompt grid & cards */
.prompt-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.prompt-card {
  padding: 28px 24px;
  background: var(--white);
  border-left: 4px solid var(--peach);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prompt-card h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--coral);
  margin-bottom: 12px;
}

.prompt-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.prompt-note {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .prompt-grid {
    flex-direction: row;
  }

  .prompt-card {
    flex: 1;
  }
}

/* Micro tip */
.micro-tip {
  margin: 32px 0;
  padding: 24px;
  background: rgba(232, 196, 184, 0.12);
  border-radius: var(--radius);
}

.micro-tip h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.micro-tip p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 0;
}

/* Safety bullets */
.safety-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.safety-bullets li {
  padding: 16px 0 16px 28px;
  position: relative;
  font-size: 20px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--peach-light);
}

.safety-bullets li:last-child {
  border-bottom: none;
}

.safety-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--peach);
}

/* Emergency callout */
.emergency-callout {
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--peach);
  border-radius: var(--radius);
  text-align: center;
}

.emergency-callout p {
  font-size: 19px;
  margin-bottom: 0;
}

/* Close section body */
.close-body {
  font-size: 22px;
  max-width: 600px;
  margin: 0 auto 24px auto;
}

.centered-outcome {
  font-size: 24px;
  font-weight: 700;
  color: var(--coral);
  border-left: none;
  padding-left: 0;
  text-align: center;
  margin-bottom: 40px;
}

/* ---- MODALS ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--gray);
  cursor: pointer;
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 24px;
  padding-right: 32px;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-qr {
  display: block;
  text-align: center;
  margin-top: 16px;
}

/* Prompt picker */
.prompt-picker-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prompt-picker-option {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--peach-light);
  border-radius: 12px;
  padding: 20px;
  font-size: 18px;
  font-family: var(--font-sans);
  color: var(--charcoal);
  cursor: pointer;
  min-height: var(--touch-target);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.prompt-picker-option:hover {
  background: rgba(232, 196, 184, 0.15);
  border-color: var(--peach);
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- PHONE MOCKUP (Animated Conversation Demo) ---- */
.phone-mockup {
  background: var(--cream);
  border-radius: 28px;
  box-shadow: 0 12px 60px rgba(45, 52, 54, 0.2), 0 4px 20px rgba(45, 52, 54, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.phone-mockup.fading {
  opacity: 0;
}

.phone-orb-area {
  display: flex;
  justify-content: center;
  padding: 28px 0 16px;
}

.phone-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  /* Wave Rim: canvas draws the flat peach disc + coral rim. No bg/shadow/anim. */
  background: transparent;
  box-shadow: none;
}

.phone-orb canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.phone-body {
  height: 0;
  overflow: hidden;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
  transition: height 0.4s ease, padding 0.4s ease;
}

.phone-expanded .phone-body {
  height: 300px;
  padding: 8px 28px 24px;
}

.phone-msg {
  font-size: 19px;
  line-height: 1.5;
  color: var(--charcoal);
}

.phone-speaker {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--coral);
}

.phone-msg-user .phone-speaker {
  color: var(--charcoal);
}

/* Typing dots — hidden by default, shown only during animation */
.phone-typing {
  display: none;
  gap: 6px;
  padding: 4px 0 12px;
}

.phone-typing.visible {
  display: flex;
}

.phone-typing .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
}

.phone-typing.visible .dot {
  animation: phone-dot-bounce 1.2s ease-in-out infinite;
}

.phone-typing.visible .dot:nth-child(2) {
  animation-delay: 0.15s;
}

.phone-typing.visible .dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes phone-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* Messages hidden when JS activates animated mode */
.phone-animated .phone-msg {
  display: none;
}

.phone-animated .phone-msg.visible {
  display: block;
  animation: phone-msg-in 0.5s ease both;
}

/* Static preview: before JS adds phone-animated, hide typing dots but show messages */
.phone-mockup:not(.phone-animated) .phone-typing {
  display: none;
}

/* Limit static preview to first 3 messages (prevent overflow) */
.phone-mockup:not(.phone-animated) .phone-msg[data-step="8"],
.phone-mockup:not(.phone-animated) .phone-msg[data-step="10"],
.phone-mockup:not(.phone-animated) .phone-msg[data-step="12"] {
  display: none;
}

@keyframes phone-msg-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Phone action buttons (decorative) */
.phone-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 28px 28px;
}

.phone-btn {
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-align: center;
}

.phone-btn-hangup {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  background: var(--gray);
  color: var(--white);
  cursor: pointer;
  min-height: var(--touch-target);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.phone-btn-hangup:hover {
  transform: scale(1.05);
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.phone-btn-hangup.pressed {
  transform: scale(0.95);
  background: #000;
}

.phone-btn-hangup.glow {
  animation: phone-photo-glow 1s ease-in-out 3;
}

/* Hangup button doubles as "Call Tiina" in idle state — secondary style */
.phone-btn-hangup.call-state {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.phone-btn-hangup.call-state:hover {
  transform: scale(1.05);
  background: rgba(198, 123, 92, 0.08);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.2);
}

/* Download CTA — primary style, inside phone actions */
.phone-btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  font-size: 18px;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  min-height: var(--touch-target);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.phone-btn-download:hover {
  transform: scale(1.05);
  background: var(--coral-dark);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.4);
  animation: none;
}

.phone-cta-overlay .phone-btn-download {
  animation: btn-wiggle 3s ease-in-out infinite;
}

@keyframes btn-wiggle {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.06); }
  30% { transform: scale(1); }
  45% { transform: scale(1.06); }
  60% { transform: scale(1); }
}

.phone-btn-download[hidden] {
  display: none;
}

/* CTA overlay — covers phone content, vertically centers buttons */
.phone-cta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  background: var(--cream);
  z-index: 5;
}

.phone-cta-overlay[hidden] {
  display: none;
}

/* Share a Photo — hidden during idle, fades in during call */
.phone-btn-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 16px;
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phone-btn-photo.active {
  opacity: 1;
}

.phone-btn-photo svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.phone-btn-photo.glow {
  animation: phone-photo-glow 1s ease-in-out 3;
}

@keyframes phone-photo-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 123, 92, 0); }
  50% { box-shadow: 0 0 0 8px rgba(198, 123, 92, 0.3); }
}

/* Phone mockup positioning context */
.phone-mockup {
  position: relative;
}

/* Volume hint — shown once on first play */
.phone-volume-hint {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 8px 20px;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.phone-volume-hint.visible {
  opacity: 1;
}

/* ---- DEMO MODAL (Lightbox) ---- */
.demo-modal {
  max-width: 420px;
  width: 90%;
  padding: 32px 24px;
  text-align: center;
}

.demo-modal h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 20px;
}

.demo-modal-phone {
  display: flex;
  justify-content: center;
}

.demo-modal-phone .phone-mockup {
  width: 100%;
  max-width: 360px;
}

.demo-modal-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.demo-modal-cta .friction-text {
  margin-top: 0;
}

/* ---- HERO BUTTON ROW ---- */
.hero-button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-button-row {
    flex-direction: column;
  }
}

/* ---- TESTIMONIAL LISTEN BUTTON ---- */
.testimonial-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--coral);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.testimonial-listen-btn:hover {
  color: var(--coral-dark);
  text-decoration: underline;
}

/* ---- TESTIMONIAL TAGS ---- */
.testimonial-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
  background: rgba(198, 123, 92, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ---- DEMO LABEL ---- */
.demo-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
  text-align: center;
  margin-bottom: 8px;
}

/* ---- MICRO FAQ (below pricing) ---- */
.micro-faq {
  margin-top: 32px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.micro-faq-item {
  font-size: 17px;
  color: var(--gray);
  padding: 12px 0;
  border-bottom: 1px solid var(--peach-light);
  margin-bottom: 0;
}

.micro-faq-item:last-child {
  border-bottom: none;
}

/* ---- CAREGIVER BENEFIT (family page cards) ---- */
.caregiver-benefit {
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  color: var(--coral);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---- COPY PROMPT BUTTON ---- */
.copy-prompt-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--peach);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--coral);
  cursor: pointer;
  transition: background 0.15s ease;
}

.copy-prompt-btn:hover {
  background: rgba(198, 123, 92, 0.08);
}

/* ---- AI DISCLOSURE ---- */
.ai-disclosure {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
}

/* ---- HERO SHARE BUTTONS (family) ---- */
.hero-share-buttons {
  margin-top: 32px;
}

/* ---- HERO TRUST LINE (emphasized) ---- */
.hero-trust-line {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
}

/* ---- CARD EXAMPLE (concrete use cases) ---- */
.card-example {
  font-size: 15px;
  color: var(--coral);
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---- AUDIO FEEL LINE ---- */
.audio-feel-line {
  font-size: 17px;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 0;
}

/* ---- EARLY CTA LINK (after proof blocks) ---- */
.early-cta-line {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 0;
}

.early-cta-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  transition: color 0.15s ease;
}

.early-cta-link:hover {
  color: var(--coral-dark);
  text-decoration: underline;
}

/* ---- NAV SECONDARY LINK (exit ramp) ---- */
.nav-link-secondary {
  opacity: 0.6;
}

/* ---- SCENARIO TABS ---- */
.scenario-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--peach-light);
}

.scenario-tab {
  padding: 14px 24px;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  min-height: var(--touch-target);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.scenario-tab:hover {
  color: var(--charcoal);
}

.scenario-tab.active {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.scenario-panel[hidden] {
  display: none;
}

/* ---- HERO BULLETS (family page) ---- */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.hero-bullets li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 22px;
  color: var(--charcoal);
  line-height: 1.5;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* ---- TRY YOURSELF LINK (demoted) ---- */
.try-yourself-link {
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 0;
}

.try-yourself-link a {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.try-yourself-link a:hover {
  color: var(--charcoal);
}

/* ---- PHONE DEMO: Next Example button (below mockup) ---- */
.phone-btn-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--coral);
  background: transparent;
  border: 2px solid var(--peach);
  border-radius: 50px;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.phone-btn-next:hover {
  background: rgba(232, 196, 184, 0.15);
  border-color: var(--coral);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(198, 123, 92, 0.2);
}

/* ---- TESTIMONIALS TOGGLE ---- */
.testimonials-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--coral);
  cursor: pointer;
  padding: 16px 0;
  margin-top: 8px;
  min-height: var(--touch-target);
  transition: color 0.15s ease;
}

.testimonials-toggle:hover {
  color: var(--coral-dark);
}

.testimonials-toggle-icon {
  font-weight: 400;
  margin-left: 4px;
}

.testimonials-hidden {
  display: none;
}

.testimonials-hidden:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .testimonials-hidden:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ---- SHARE DISCLOSURE LABEL ---- */
.share-disclosure-label {
  font-size: 15px;
  color: var(--gray);
  margin-top: 20px;
  margin-bottom: 8px;
}

/* =========================================================================
   DEMO LIGHTBOX PHONE — STRAIGHT-ON HERO STYLING
   Source: matches landing/hero-tilt.css (used by homepage + families hero).
   Same bezel, dynamic island, status bar, settings icon, orb, transcript,
   Hang Up + Share a Photo. No tilt — phone is straight-on for the demo.
   Loaded after all earlier .iphone-frame / .phone-* rules so it wins.
   ========================================================================= */
.demo-lightbox .iphone-frame {
  background: #1b1b1d;
  border-radius: 48px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 36px 80px rgba(45, 30, 22, 0.3);
  position: relative;
  aspect-ratio: 9 / 19.5;
  /* Height drives sizing on desktop; width auto-derives from aspect-ratio.
     Cap to viewport so the frame always fits, with a hard cap for very tall screens. */
  height: min(78vh, 680px);
  width: auto;
  max-width: 92vw;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
}

/* Let the iphone-frame drive its own width on desktop — don't get squeezed by content cap */
.demo-lightbox .demo-lightbox-content { max-width: none; width: auto; }

/* Mobile: lightbox is effectively full-screen.
   Drop the bezel chrome so the phone screen IS the screen. */
@media (max-width: 600px) {
  .demo-lightbox { padding: 0; }
  .demo-lightbox-backdrop { background: var(--cream); }
  .demo-lightbox-close {
    top: 12px; right: 12px;
    z-index: 20;
    background: rgba(45, 52, 54, 0.06);
    border-radius: 999px;
    width: 44px; height: 44px;
    min-width: 44px; min-height: 44px;
    padding: 0;
  }
  .demo-lightbox-title { display: none; }

  .demo-lightbox .iphone-frame {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    aspect-ratio: auto;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
  }
  .demo-lightbox .iphone-frame .iphone-notch { display: none; }
  .demo-lightbox .iphone-settings { display: none; }
  .demo-lightbox .iphone-screen {
    border-radius: 0;
    width: 100%;
    height: 100%;
  }
  .demo-lightbox .iphone-statusbar { padding-top: max(12px, env(safe-area-inset-top)); }
  .demo-lightbox .iphone-screen .phone-actions { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}

.demo-lightbox .iphone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
  display: block;
}
.demo-lightbox .iphone-speaker,
.demo-lightbox .iphone-camera { display: none; }

.demo-lightbox .iphone-screen {
  background: var(--cream);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* Status bar — 9:41 + cell/wifi/battery */
.demo-lightbox .iphone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 2px;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
}
.demo-lightbox .iphone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--charcoal);
}
.demo-lightbox .iphone-status-icons svg { display: block; }

/* Settings gear — top right, mirrors ConversationScreen settings button */
.demo-lightbox .iphone-settings {
  position: absolute;
  top: 32px;
  right: 12px;
  width: 22px;
  height: 22px;
  z-index: 30;   /* above the volume-gate overlay (z-index 20) so it isn't covered */
  color: #4A5568;
}
.demo-lightbox .iphone-settings svg { display: block; }

/* Strip the legacy mockup card chrome — the screen IS the surface now */
.demo-lightbox .iphone-screen .phone-mockup {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Orb area — matches hv-orb-area */
.demo-lightbox .iphone-screen .phone-orb-area {
  padding: 8px 0 6px;
  display: flex;
  justify-content: center;
  flex: none;
}
.demo-lightbox .iphone-screen .phone-orb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* Wave Rim: canvas draws the flat peach disc + coral rim. */
  background: transparent;
  opacity: 1;
  box-shadow: none;
  animation: none;
}
.demo-lightbox .iphone-screen .phone-orb.pulsing {
  animation: none;
}

/* Transcript body — matches hv-transcript */
.demo-lightbox .iphone-screen .phone-body {
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 4px 16px 8px;
  gap: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
  transition: none;
}
.demo-lightbox .iphone-screen .phone-expanded .phone-body,
.demo-lightbox .iphone-screen.phone-expanded .phone-body,
.demo-lightbox .phone-expanded .phone-body {
  height: auto;
  padding: 4px 16px 8px;
}

.demo-lightbox .iphone-screen .phone-msg {
  font-size: 17px;
  line-height: 1.45;
  color: var(--charcoal);
  padding: 6px 0;
}
.demo-lightbox .iphone-screen .phone-speaker {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--coral);
  letter-spacing: -0.005em;
}
.demo-lightbox .iphone-screen .phone-msg-user .phone-speaker {
  color: #4A5568;
}

/* Action buttons row — sit at bottom of screen */
.demo-lightbox .iphone-screen .phone-actions {
  flex: none;
  padding: 6px 16px 14px;
  gap: 10px;
}

/* Hang Up (during active call) — coral filled */
.demo-lightbox .iphone-screen .phone-btn-hangup {
  width: 100%;
  height: 44px;
  padding: 0;
  min-height: 0;
  border-radius: 14px;
  background: #2D3436;   /* charcoal — matches the app Hang Up button */
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.demo-lightbox .iphone-screen .phone-btn-hangup:hover {
  transform: none;
  background: #1A1D1E;
  box-shadow: none;
}

/* Idle "Tap to Call Tiina" — coral outline (still uses .call-state) */
.demo-lightbox .iphone-screen .phone-btn-hangup.call-state {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}
.demo-lightbox .iphone-screen .phone-btn-hangup.call-state:hover {
  background: rgba(198, 123, 92, 0.08);
  transform: none;
  box-shadow: none;
}

/* Share a Photo — outlined coral, real composed camera icon */
.demo-lightbox .iphone-screen .phone-btn-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
  font-family: inherit;
  box-sizing: border-box;
}
.demo-lightbox .iphone-screen .phone-btn-photo svg { display: none; }

/* Composed camera icon (matches CameraIcon in ConversationScreen.tsx) */
.demo-lightbox .phone-cam-icon {
  position: relative;
  width: 24px;
  height: 20px;
  display: inline-block;
  flex: none;
}
.demo-lightbox .phone-cam-icon .phone-cam-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 16px;
  background: var(--coral);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-lightbox .phone-cam-icon .phone-cam-lens {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: transparent;
  box-sizing: border-box;
}
.demo-lightbox .phone-cam-icon .phone-cam-finder {
  position: absolute;
  top: 0;
  left: 5px;
  width: 7px;
  height: 4px;
  background: var(--coral);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

/* CTA overlay (post-demo) — fills screen with cream + downloads CTA */
.demo-lightbox .iphone-screen .phone-cta-overlay {
  background: var(--cream);
  padding: 16px 16px 14px;
  gap: 10px;
}
.demo-lightbox .iphone-screen .phone-cta-overlay .phone-btn-download {
  width: 100%;
  height: 44px;
  padding: 0;
  min-height: 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  background: var(--coral);
  color: #fff;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-lightbox .iphone-screen .phone-cta-overlay .phone-btn-download:hover {
  background: var(--coral-dark);
  transform: none;
  box-shadow: none;
}

/* Final overlay + volume gate continue to inherit cream + system font from the screen */
.demo-lightbox .iphone-screen .phone-final-overlay,
.demo-lightbox .iphone-screen .volume-gate-overlay {
  font-family: inherit;
}
