/* ============================================================
   MENDHLA v1 — Full Design System
   Palette: Warm Cream · Forest Green · Charcoal · Terracotta
   Type: Fraunces (display) + DM Sans (body)
   Mood: Intimate · Trustworthy · Human · Urgent
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400;1,9..144,500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Colours */
  --cream:        #F7F4EE;
  --cream-2:      #EDE8DE;
  --cream-3:      #E0D9CB;
  --forest:       #2A5940;
  --forest-mid:   #3A7A58;
  --forest-light: #A4C9B4;
  --forest-pale:  #E8F2EC;
  --charcoal:     #1C2820;
  --charcoal-2:   #243320;
  --terra:        #B85030;
  --terra-light:  #F4E3DC;
  --gold:         #C4922A;
  --gold-light:   #FAF0D4;
  --white:        #FFFFFF;
  --text:         #1A1F1C;
  --text-2:       #374240;
  --text-3:       #647068;
  --text-4:       #9CABA2;
  --border:       rgba(42,89,64,0.14);
  --border-2:     rgba(42,89,64,0.24);

  /* Type */
  --display: 'Fraunces', Georgia, serif;
  --body:    'DM Sans', system-ui, sans-serif;

  /* Radii */
  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .7;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--forest-light); border-radius: 3px; }
::selection { background: var(--forest-pale); color: var(--forest); }

/* ── TYPOGRAPHY ── */
.d-hero   { font-family: var(--display); font-size: clamp(40px,6.5vw,80px); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.d-lg     { font-family: var(--display); font-size: clamp(34px,4.5vw,58px); font-weight: 400; line-height: 1.12; }
.d-md     { font-family: var(--display); font-size: clamp(26px,3vw,42px);   font-weight: 400; line-height: 1.2;  }
.d-sm     { font-family: var(--display); font-size: clamp(20px,2.2vw,30px); font-weight: 400; line-height: 1.3;  }
.eyebrow  { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--forest); }
.lead     { font-size: clamp(16px,1.6vw,19px); font-weight: 300; line-height: 1.8; color: var(--text-2); }
.body-sm  { font-size: 14px; line-height: 1.7; color: var(--text-3); }
em.green  { color: var(--forest); font-style: italic; }
em.terra  { color: var(--terra); font-style: italic; }

/* ── LAYOUT ── */
.wrap    { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem,5vw,3rem); position: relative; z-index: 1; }
.wrap-sm { max-width: 720px;  margin: 0 auto; padding: 0 clamp(1.25rem,5vw,3rem); position: relative; z-index: 1; }
section  { position: relative; }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:.5; } }
@keyframes shimmer  { 0% { background-position:-200% 0; } 100% { background-position:200% 0; } }
@keyframes morphBlob {
  0%,100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  33%      { border-radius: 40% 60% 30% 70% / 60% 40% 50% 60%; }
  66%      { border-radius: 50% 50% 60% 40% / 40% 70% 30% 60%; }
}

.reveal { opacity:0; transform:translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-d1 { transition-delay:.1s; }
.reveal-d2 { transition-delay:.2s; }
.reveal-d3 { transition-delay:.3s; }
.reveal-d4 { transition-delay:.4s; }

/* ── BUTTONS ── */
.btn-primary {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.9rem 2rem; background:var(--forest); color:var(--white);
  border:none; border-radius:50px; font-family:var(--body);
  font-size:15px; font-weight:500; cursor:pointer; text-decoration:none;
  transition:all .2s ease; letter-spacing:.01em; position:relative; overflow:hidden;
}
.btn-primary::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,.08) 50%,transparent 100%);
  background-size:200% 100%; animation:shimmer 3s ease infinite;
}
.btn-primary:hover { background:var(--charcoal); transform:translateY(-2px); box-shadow:0 8px 24px rgba(42,89,64,.28); color:var(--white); }

.btn-ghost {
  display:inline-flex; align-items:center; justify-content:center;
  padding:.85rem 2rem; background:transparent; color:var(--text);
  border:1.5px solid var(--border-2); border-radius:50px;
  font-family:var(--body); font-size:15px; font-weight:400;
  cursor:pointer; text-decoration:none; transition:all .2s ease;
}
.btn-ghost:hover { border-color:var(--forest); color:var(--forest); background:var(--forest-pale); }

.btn-white {
  display:inline-flex; align-items:center; justify-content:center;
  padding:.9rem 2rem; background:var(--white); color:var(--forest);
  border:none; border-radius:50px; font-family:var(--body);
  font-size:15px; font-weight:500; cursor:pointer; text-decoration:none;
  transition:all .2s ease;
}
.btn-white:hover { background:var(--cream); transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,0,0,.15); color:var(--forest); }

/* ── NAV ── */
.site-header {
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:1.1rem 0; transition:all .3s ease;
}
.site-header.scrolled {
  background:rgba(247,244,238,.94);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border); padding:.75rem 0;
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.site-branding a, .nav-logo {
  font-family:var(--display); font-size:24px; font-weight:400;
  color:var(--text); text-decoration:none; letter-spacing:-.02em;
}
.site-branding a span, .nav-logo span { color:var(--forest); font-style:italic; }
.main-navigation ul { list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:1.5rem; }
.main-navigation ul li a { font-size:14px; color:var(--text-2); text-decoration:none; transition:color .2s; }
.main-navigation ul li a:hover { color:var(--forest); }
.menu-cta a, .nav-cta {
  padding:.5rem 1.25rem; background:var(--forest); color:var(--white) !important;
  border-radius:50px; font-size:13px; font-weight:500;
  text-decoration:none !important; transition:all .2s ease;
}
.menu-cta a:hover, .nav-cta:hover { background:var(--charcoal) !important; transform:translateY(-1px); }

/* ══════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════ */
.hero {
  min-height:100vh; display:flex; flex-direction:column;
  justify-content:center; padding:7rem 0 4rem;
  background:var(--cream); overflow:hidden;
}
.hero::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:1px;
  background:linear-gradient(to right,transparent,var(--forest-light),transparent);
}
.hero-blob {
  position:absolute; top:-80px; right:-120px;
  width:520px; height:520px; pointer-events:none;
  background:radial-gradient(circle at center,rgba(42,89,64,.07) 0%,transparent 70%);
  animation:morphBlob 18s ease-in-out infinite;
}
.hero-blob-2 {
  position:absolute; bottom:-60px; left:-80px;
  width:360px; height:360px; pointer-events:none;
  background:radial-gradient(circle at center,rgba(196,146,42,.06) 0%,transparent 70%);
  border-radius:40% 60% 30% 70%/60% 40% 70% 30%;
}
.hero-layout { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.hero-content { animation:fadeUp .8s ease both; }

.hero-eyebrow-wrap {
  display:inline-flex; align-items:center; gap:.5rem;
  background:var(--forest-pale); border:1px solid var(--border-2);
  border-radius:50px; padding:.35rem 1rem; margin-bottom:1.75rem;
}
.hero-pulse { width:6px; height:6px; border-radius:50%; background:var(--forest); animation:pulse 2s infinite; }
.hero-eyebrow-text { font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--forest); }

.hero-h1 { margin-bottom:.35rem; }
.hero-h1 em { color:var(--forest); font-style:italic; }
.hero-sub { margin-bottom:2rem; max-width:480px; }

.hero-cta-row { display:flex; gap:.75rem; flex-wrap:wrap; margin-bottom:1rem; }
.hero-micro { font-size:12px; color:var(--text-4); display:flex; align-items:center; gap:.5rem; }

/* Social proof counter */
.hero-proof {
  display:flex; align-items:center; gap:.75rem;
  padding:.7rem 1rem; background:var(--white);
  border:1px solid var(--border); border-radius:12px;
  margin-top:1.5rem; width:fit-content;
}
.proof-avatars { display:flex; }
.proof-av {
  width:26px; height:26px; border-radius:50%;
  border:2px solid var(--white); margin-left:-7px;
  display:flex; align-items:center; justify-content:center;
  font-size:10px; font-weight:600;
}
.proof-av:first-child { margin-left:0; }
.pa1 { background:#A4C9B4; color:var(--forest); }
.pa2 { background:#F4E3DC; color:var(--terra); }
.pa3 { background:var(--gold-light); color:var(--gold); }
.proof-text { font-size:13px; color:var(--text-2); }
.proof-text strong { color:var(--forest); font-weight:600; }

/* Hero visual */
.hero-visual { animation:fadeUp .8s .2s ease both; position:relative; }
.hero-chat-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-xl); padding:1.75rem;
  box-shadow:0 20px 60px rgba(28,40,32,.08);
}
.hcc-header { display:flex; align-items:center; gap:.75rem; margin-bottom:1.5rem; }
.hcc-av {
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg,var(--forest-mid),var(--forest));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:15px; color:var(--white); font-style:italic;
}
.hcc-name { font-size:14px; font-weight:600; color:var(--text); }
.hcc-tagline { font-size:12px; color:var(--text-3); }
.hcc-status { display:flex; align-items:center; gap:.35rem; margin-left:auto; }
.status-dot { width:7px; height:7px; border-radius:50%; background:#4CAF79; animation:pulse 2s infinite; }
.status-text { font-size:11px; color:#4CAF79; font-weight:500; }
.chat-msgs { display:flex; flex-direction:column; gap:.75rem; }
.chat-row { display:flex; gap:.5rem; max-width:88%; }
.chat-row.them { align-self:flex-start; }
.chat-row.me   { align-self:flex-end; flex-direction:row-reverse; }
.chat-bub { padding:.6rem .9rem; border-radius:12px; font-size:13px; line-height:1.55; }
.chat-row.them .chat-bub { background:var(--cream-2); color:var(--text); border-bottom-left-radius:3px; }
.chat-row.me   .chat-bub { background:var(--forest); color:var(--white); border-bottom-right-radius:3px; }
.chat-av-sm {
  width:22px; height:22px; border-radius:50%; flex-shrink:0; margin-top:2px;
  background:linear-gradient(135deg,var(--forest-mid),var(--forest));
  display:flex; align-items:center; justify-content:center;
  font-size:8px; color:var(--white); font-family:var(--display); font-style:italic;
}
.typing { display:flex; align-items:center; gap:4px; padding:.6rem .9rem; background:var(--cream-2); border-radius:12px; border-bottom-left-radius:3px; width:fit-content; }
.t-dot { width:5px; height:5px; border-radius:50%; background:var(--text-3); animation:pulse 1.2s infinite; }
.t-dot:nth-child(2) { animation-delay:.2s; }
.t-dot:nth-child(3) { animation-delay:.4s; }

/* Float cards */
.float-card {
  position:absolute; background:var(--white); border:1px solid var(--border);
  border-radius:12px; padding:.7rem 1rem;
  box-shadow:0 8px 24px rgba(0,0,0,.07);
}
.fc-top { top:-18px; right:-24px; }
.fc-bot { bottom:-18px; left:-24px; }
.fc-row { display:flex; align-items:center; gap:.5rem; }
.fc-icon { font-size:15px; }
.fc-label { font-size:12px; font-weight:500; color:var(--text); }
.fc-sub   { font-size:11px; color:var(--text-3); }

/* Trust strip */
.trust-strip {
  background:var(--cream-2); border-top:1px solid var(--border);
  border-bottom:1px solid var(--border); padding:.85rem 0;
}
.trust-strip-inner {
  display:flex; align-items:center; justify-content:center;
  gap:clamp(1.5rem,5vw,4rem); flex-wrap:wrap;
}
.ts-item { display:flex; align-items:center; gap:.4rem; font-size:12px; color:var(--text-3); font-weight:500; }
.ts-div  { width:1px; height:14px; background:var(--border-2); }

/* Highlight card */
.highlight-card {
  margin-top:3rem; padding:1.5rem 2rem;
  background:var(--charcoal); border-radius:var(--r-xl);
  display:flex; align-items:flex-start; gap:1rem;
}
.hc-accent { width:4px; border-radius:2px; background:var(--forest-mid); align-self:stretch; min-height:40px; flex-shrink:0; }
.hc-content {}
.hc-title { font-family:var(--display); font-size:20px; font-weight:400; color:var(--white); margin-bottom:.35rem; line-height:1.3; }
.hc-body  { font-size:14px; color:rgba(255,255,255,.6); line-height:1.65; }

/* ══════════════════════════════════════
   SECTION 2 — WHAT THIS IS
══════════════════════════════════════ */
.what-section { padding:clamp(5rem,9vw,9rem) 0; background:var(--cream); }
.what-layout  { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.what-left-title { margin-bottom:1rem; }
.what-left-body  { margin-bottom:0; max-width:420px; }
.what-cards { display:flex; flex-direction:column; gap:1rem; }
.what-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:1.25rem 1.5rem;
  display:flex; align-items:flex-start; gap:1rem;
  transition:all .2s ease; cursor:default;
}
.what-card:hover { border-color:var(--forest-mid); box-shadow:0 4px 16px rgba(42,89,64,.08); transform:translateX(4px); }
.wc-icon { width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.wc-i1 { background:var(--forest-pale); }
.wc-i2 { background:var(--terra-light); }
.wc-i3 { background:var(--gold-light); }
.wc-title { font-size:14px; font-weight:600; color:var(--text); margin-bottom:.2rem; }
.wc-body  { font-size:13px; color:var(--text-3); line-height:1.55; }
.wc-badge { font-size:10px; font-weight:600; padding:2px 7px; border-radius:4px; background:var(--forest-pale); color:var(--forest); margin-top:.4rem; display:inline-block; }

/* ══════════════════════════════════════
   SECTION 3 — DIFFERENTIATION
══════════════════════════════════════ */
.diff-section {
  padding:clamp(5rem,9vw,9rem) 0;
  background:var(--charcoal);
  overflow:hidden;
}
.diff-section::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 20% 50%,rgba(42,89,64,.2) 0%,transparent 60%),
             radial-gradient(ellipse at 80% 80%,rgba(196,146,42,.08) 0%,transparent 50%);
  pointer-events:none;
}
.diff-eyebrow { color:rgba(164,201,180,.7); margin-bottom:1rem; }
.diff-title   { color:var(--white); margin-bottom:3rem; }
.diff-grid    { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }
.diff-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-xl); padding:2rem; transition:all .3s ease;
  position:relative; overflow:hidden;
}
.diff-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--forest-mid),transparent);
  transform:scaleX(0); transform-origin:left; transition:transform .3s ease;
}
.diff-card:hover { background:rgba(255,255,255,.07); transform:translateY(-3px); }
.diff-card:hover::before { transform:scaleX(1); }
.diff-card-icon { font-size:28px; margin-bottom:.9rem; }
.diff-card-title { font-size:16px; font-weight:600; color:var(--white); margin-bottom:.4rem; }
.diff-card-body  { font-size:13px; color:rgba(255,255,255,.5); line-height:1.65; }

/* ══════════════════════════════════════
   SECTION 4 — PROBLEM / EMOTIONAL TRUTH
══════════════════════════════════════ */
.problem-section { padding:clamp(5rem,9vw,9rem) 0; background:var(--cream-2); }
.problem-center { text-align:center; max-width:640px; margin:0 auto 3.5rem; }
.problem-headline { margin-bottom:1rem; }
.problem-body     { margin-bottom:0; }
.stats-row { display:flex; justify-content:center; gap:2rem; flex-wrap:wrap; }
.stat-block { text-align:center; padding:2rem; background:var(--white); border:1px solid var(--border); border-radius:var(--r-xl); min-width:180px; flex:1; max-width:260px; }
.stat-num   { font-family:var(--display); font-size:52px; font-weight:300; line-height:1; margin-bottom:.4rem; }
.stat-num.red  { color:#C0392B; }
.stat-num.sage { color:var(--forest); }
.stat-num.gold { color:var(--gold); }
.stat-label { font-size:13px; color:var(--text-3); line-height:1.5; }

/* ══════════════════════════════════════
   SECTION 5 — HOW IT WORKS
══════════════════════════════════════ */
.how-section { padding:clamp(5rem,9vw,9rem) 0; background:var(--cream); }
.how-header { text-align:center; max-width:540px; margin:0 auto 3.5rem; }
.how-steps  { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; position:relative; }
.how-steps::before {
  content:''; position:absolute; top:44px; left:16%; right:16%;
  height:1px; background:linear-gradient(90deg,transparent,var(--forest-light),transparent);
  z-index:0;
}
.how-step { text-align:center; position:relative; z-index:1; }
.how-num {
  width:52px; height:52px; border-radius:50%; margin:0 auto 1.25rem;
  background:var(--forest); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:22px; font-weight:400;
  box-shadow:0 0 0 6px var(--forest-pale);
}
.how-step-title { font-size:16px; font-weight:600; color:var(--text); margin-bottom:.4rem; }
.how-step-body  { font-size:13px; color:var(--text-3); line-height:1.6; }
.how-footer { text-align:center; margin-top:2.5rem; }
.how-footer-text { font-size:14px; color:var(--text-3); font-style:italic; }

/* ══════════════════════════════════════
   SECTION 6 — EXPERIENCE / BENEFITS
══════════════════════════════════════ */
.experience-section { padding:clamp(5rem,9vw,9rem) 0; background:var(--cream-2); }
.exp-header { text-align:center; max-width:540px; margin:0 auto 4rem; }
.exp-row {
  display:grid; grid-template-columns:1fr 1fr; gap:5rem;
  align-items:center; margin-bottom:5rem;
}
.exp-row:last-child { margin-bottom:0; }
.exp-visual {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-xl); padding:2rem;
  box-shadow:0 16px 48px rgba(28,40,32,.07);
  min-height:220px; display:flex; align-items:center; justify-content:center;
}
.exp-visual-inner { width:100%; }
.exp-text-label { margin-bottom:.6rem; }
.exp-text-title { margin-bottom:.75rem; }
.exp-text-body  { margin-bottom:0; }

/* Mock UI elements inside experience cards */
.mock-welcome { text-align:center; padding:1rem; }
.mock-welcome-icon { font-size:40px; margin-bottom:.75rem; }
.mock-welcome-title { font-family:var(--display); font-size:22px; color:var(--text); margin-bottom:.4rem; }
.mock-welcome-body { font-size:13px; color:var(--text-3); }

.mock-mood-row { display:flex; justify-content:space-between; align-items:flex-end; height:70px; gap:4px; margin-bottom:.5rem; }
.mock-mood-bar { flex:1; border-radius:3px 3px 0 0; background:var(--forest-light); }
.mock-mood-bar.today { background:var(--forest); }
.mock-days { display:flex; justify-content:space-between; font-size:9px; color:var(--text-4); margin-bottom:1rem; }
.mock-stat-row { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
.mock-stat { background:var(--cream-2); border-radius:var(--r); padding:.65rem; }
.mock-stat-n { font-family:var(--display); font-size:22px; color:var(--text); line-height:1; }
.mock-stat-l { font-size:10px; color:var(--text-3); }

.mock-crisis { display:flex; flex-direction:column; gap:.5rem; }
.mock-crisis-btn {
  display:flex; align-items:center; gap:.75rem;
  padding:.9rem 1.2rem; border-radius:12px;
  font-size:13px; font-weight:600; cursor:default;
}
.mcb-red   { background:#FEF0F0; color:#C0392B; }
.mcb-sage  { background:var(--forest-pale); color:var(--forest); }
.mcb-navy  { background:var(--cream-2); color:var(--text-2); }
.mcb-icon  { font-size:18px; }

.mock-match {
  display:flex; align-items:center; gap:.75rem;
  padding:.85rem; background:var(--forest-pale);
  border-radius:var(--r); border:1px solid var(--border-2);
}
.mm-av {
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,var(--forest),var(--forest-mid));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:13px; color:var(--white); font-style:italic;
}
.mm-name { font-size:13px; font-weight:500; color:var(--text); }
.mm-sub  { font-size:11px; color:var(--text-3); }
.mm-badge { font-size:11px; padding:3px 8px; border-radius:6px; background:var(--forest); color:var(--white); font-weight:600; white-space:nowrap; margin-left:auto; }

/* ══════════════════════════════════════
   SECTION 7 — TRUST
══════════════════════════════════════ */
.trust-section { padding:clamp(4rem,7vw,7rem) 0; background:var(--cream-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trust-header { text-align:center; max-width:540px; margin:0 auto 3rem; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.trust-card { text-align:center; padding:1.5rem 1rem; }
.trust-card-icon  { font-size:26px; margin-bottom:.75rem; }
.trust-card-title { font-size:14px; font-weight:600; color:var(--text); margin-bottom:.3rem; }
.trust-card-body  { font-size:13px; color:var(--text-3); line-height:1.5; }

/* ══════════════════════════════════════
   SECTION 8 — AFTER SIGN-UP
══════════════════════════════════════ */
.after-section { padding:clamp(4rem,7vw,7rem) 0; background:var(--cream); }
.after-layout { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.after-title { margin-bottom:1.25rem; }
.after-items { display:flex; flex-direction:column; gap:1rem; margin-bottom:2rem; }
.after-item { display:flex; align-items:flex-start; gap:.85rem; }
.after-item-dot { width:8px; height:8px; border-radius:50%; background:var(--forest); flex-shrink:0; margin-top:7px; }
.after-item-text { font-size:15px; color:var(--text-2); line-height:1.6; }
.after-item-text strong { color:var(--text); font-weight:600; }
.after-visual {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-xl); padding:2rem;
  box-shadow:0 12px 40px rgba(28,40,32,.07);
}
.av-title { font-family:var(--display); font-size:20px; color:var(--text); margin-bottom:1rem; }
.av-steps { display:flex; flex-direction:column; gap:.75rem; }
.av-step { display:flex; align-items:center; gap:.75rem; padding:.75rem; background:var(--cream); border-radius:var(--r); }
.av-step-num { width:24px; height:24px; border-radius:50%; background:var(--forest); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:600; flex-shrink:0; }
.av-step-text { font-size:13px; color:var(--text-2); }

/* ══════════════════════════════════════
   SECTION 9 — SPLIT CTA
══════════════════════════════════════ */
.split-cta-section { padding:clamp(4rem,7vw,7rem) 0; background:var(--charcoal); }
.split-cta-grid { display:grid; grid-template-columns:1fr 1px 1fr; gap:3rem; align-items:center; }
.sc-divider { background:rgba(255,255,255,.1); align-self:stretch; }
.sc-side { text-align:center; padding:2rem; }
.sc-label { font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:rgba(164,201,180,.6); margin-bottom:.6rem; }
.sc-title { font-family:var(--display); font-size:clamp(26px,3vw,38px); font-weight:400; color:var(--white); margin-bottom:1.5rem; line-height:1.2; }

/* ══════════════════════════════════════
   SECTION 10 — FINAL CTA / FORM
══════════════════════════════════════ */
.final-cta-section { padding:clamp(6rem,10vw,10rem) 0; background:var(--cream); overflow:hidden; }
.final-cta-section::before {
  content:''; position:absolute; top:-200px; left:50%; transform:translateX(-50%);
  width:700px; height:700px;
  background:radial-gradient(circle,rgba(42,89,64,.06) 0%,transparent 65%);
  pointer-events:none;
}
.fc-inner { text-align:center; }
.fc-eyebrow { margin-bottom:1rem; }
.fc-title { margin-bottom:1rem; }
.fc-title em { color:var(--forest); font-style:italic; }
.fc-sub { margin-bottom:3rem; max-width:480px; margin-left:auto; margin-right:auto; }

/* Form card */
.form-card {
  max-width:480px; margin:0 auto;
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-xl); padding:2.5rem;
  box-shadow:0 20px 60px rgba(42,89,64,.08);
}
.seg-toggle { display:flex; background:var(--cream-2); border-radius:10px; padding:3px; margin-bottom:1.5rem; }
.seg-btn {
  flex:1; padding:.55rem 1rem; border:none; border-radius:8px;
  font-family:var(--body); font-size:13px; font-weight:500;
  cursor:pointer; background:transparent; color:var(--text-3); transition:all .2s;
}
.seg-btn.active { background:var(--white); color:var(--text); box-shadow:0 1px 6px rgba(0,0,0,.08); }
.form-grp { margin-bottom:.9rem; }
.form-lbl { display:block; font-size:12px; font-weight:500; color:var(--text-2); margin-bottom:.35rem; }
.form-lbl .opt { color:var(--text-4); font-weight:400; }
.form-input, .form-select {
  width:100%; padding:.78rem 1rem;
  border:1.5px solid var(--cream-3); border-radius:10px;
  font-family:var(--body); font-size:14px; color:var(--text);
  background:var(--cream); outline:none; transition:all .2s; appearance:none;
}
.form-input:focus, .form-select:focus {
  border-color:var(--forest-mid); background:var(--white);
  box-shadow:0 0 0 3px rgba(42,89,64,.08);
}
.form-input::placeholder { color:var(--text-4); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.pro-fields { display:none; }
.pro-fields.show { display:block; }
.form-submit {
  width:100%; padding:1rem; background:var(--forest); color:var(--white);
  border:none; border-radius:12px; font-family:var(--body);
  font-size:16px; font-weight:500; cursor:pointer;
  margin-top:.5rem; transition:all .2s;
}
.form-submit:hover { background:var(--charcoal); transform:translateY(-1px); box-shadow:0 6px 20px rgba(42,89,64,.25); }
.form-micro { font-size:12px; color:var(--text-4); margin-top:.9rem; text-align:center; line-height:1.5; }
.form-micro a { color:var(--forest); text-decoration:underline; }
.success-state { display:none; text-align:center; padding:2rem 0; }
.success-state.show { display:block; }
.success-icon  { font-size:48px; margin-bottom:.9rem; }
.success-title { font-family:var(--display); font-size:30px; color:var(--text); margin-bottom:.6rem; }
.success-body  { font-size:15px; color:var(--text-3); line-height:1.65; margin-bottom:1.25rem; }
.success-share { font-size:14px; color:var(--forest); font-weight:500; cursor:pointer; }
.fc-trust { display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap; margin-top:1.5rem; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer { background:var(--charcoal); padding:2.5rem 0; border-top:1px solid rgba(255,255,255,.06); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-logo { font-family:var(--display); font-size:20px; color:var(--white); }
.footer-logo span { color:var(--forest-light); font-style:italic; }
.footer-copy { font-size:12px; color:rgba(255,255,255,.3); }
.footer-nav ul { display:flex; gap:1.5rem; list-style:none; margin:0; padding:0; }
.footer-nav ul li a { font-size:12px; color:rgba(255,255,255,.4); text-decoration:none; transition:color .2s; }
.footer-nav ul li a:hover { color:var(--forest-light); }
.footer-trust { display:flex; gap:1.5rem; flex-wrap:wrap; }
.footer-trust span { font-size:11px; color:rgba(255,255,255,.3); }

/* Inner pages */
.page-content-wrap { padding:7rem 0 5rem; min-height:60vh; }
.page-title { font-family:var(--display); font-size:clamp(32px,5vw,56px); font-weight:300; color:var(--text); margin-bottom:1.5rem; line-height:1.15; }
.entry-content { max-width:720px; }
.entry-content p { margin-bottom:1.25rem; font-size:16px; line-height:1.75; color:var(--text-2); }
.entry-content h2 { font-family:var(--display); font-size:clamp(24px,3vw,36px); font-weight:400; color:var(--text); margin:2rem 0 1rem; }
.entry-content a { color:var(--forest); text-decoration:underline; }
.entry-content ul, .entry-content ol { margin:0 0 1.25rem 1.5rem; }
.entry-content li { margin-bottom:.5rem; font-size:16px; color:var(--text-2); line-height:1.7; }

/* 404 */
.error-404 { text-align:center; padding:10rem 0; }
.error-num { font-family:var(--display); font-size:clamp(80px,15vw,160px); font-weight:300; color:var(--forest-light); line-height:1; margin-bottom:1rem; }
.error-title { font-family:var(--display); font-size:clamp(24px,4vw,44px); color:var(--text); margin-bottom:1rem; }
.error-body { font-size:16px; color:var(--text-3); margin-bottom:2rem; }

/* Archive */
.archive-header { padding:6rem 0 3rem; background:var(--cream-2); border-bottom:1px solid var(--border); }
.archive-title  { font-family:var(--display); font-size:clamp(28px,4vw,48px); font-weight:300; color:var(--text); }
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; padding:3rem 0; }
.post-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-xl); overflow:hidden; transition:all .2s; }
.post-card:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(42,89,64,.1); }
.post-card-thumb img { width:100%; height:200px; object-fit:cover; display:block; }
.post-card-body { padding:1.25rem; }
.post-card-title { font-family:var(--display); font-size:20px; font-weight:400; color:var(--text); margin-bottom:.5rem; line-height:1.3; }
.post-card-title a { text-decoration:none; color:inherit; }
.post-card-excerpt { font-size:14px; color:var(--text-3); line-height:1.6; margin-bottom:1rem; }
.post-card-meta { font-size:12px; color:var(--text-4); }

/* Responsive */
@media (max-width: 900px) {
  .hero-layout, .what-layout, .exp-row, .after-layout, .split-cta-grid { grid-template-columns:1fr; gap:2.5rem; }
  .hero-visual { display:none; }
  .how-steps  { grid-template-columns:1fr; }
  .how-steps::before { display:none; }
  .diff-grid  { grid-template-columns:1fr; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .posts-grid { grid-template-columns:1fr 1fr; }
  .sc-divider { display:none; }
  .footer-inner { flex-direction:column; text-align:center; }
  .exp-row:nth-child(even) .exp-visual { order:-1; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns:1fr; }
  .trust-grid, .posts-grid { grid-template-columns:1fr; }
  .stats-row { flex-direction:column; align-items:center; }
  .hero-cta-row { flex-direction:column; }
  .hero-cta-row .btn-primary, .hero-cta-row .btn-ghost { width:100%; text-align:center; }
}

/* ============================================================
   MENDHLA v2 — ADDITIONS
   1. Differentiation banner (top of hero)
   2. Live availability signal
   3. Response time urgency badge
   4. Waitlist language updates
   5. Trust-first sticky footer bar
============================================================ */

/* ── V2: DIFFERENTIATION BANNER ── */
/* Sits above the eyebrow — first thing eyes land on */
.diff-banner {
  background: var(--charcoal);
  padding: .6rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.diff-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.diff-banner-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: .01em;
}
.diff-banner-accent {
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
  color: var(--forest-light);
}
.diff-banner-pill {
  background: var(--forest);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── V2: LIVE AVAILABILITY SIGNAL ── */
/* The most important trust signal for response time */
.availability-bar {
  background: var(--forest-pale);
  border-bottom: 1px solid var(--border-2);
  padding: .7rem 0;
  position: relative;
  z-index: 1;
  margin-top: 0;
}
.avail-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.avail-live {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}
.avail-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF79;
  box-shadow: 0 0 0 3px rgba(76,175,121,.25);
  animation: pulse 1.8s ease infinite;
  flex-shrink: 0;
}
.avail-count {
  font-size: 13px;
  color: var(--text-2);
}
.avail-count strong {
  color: var(--forest);
  font-weight: 700;
}
.avail-response {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 13px;
  color: var(--text-2);
}
.avail-response-time {
  background: var(--forest);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
}
.avail-div {
  width: 1px;
  height: 14px;
  background: var(--border-2);
}

/* ── V2: URGENCY BADGE on hero CTA ── */
.hero-urgency {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  padding: .55rem .9rem;
  background: rgba(76,175,121,.1);
  border: 1px solid rgba(76,175,121,.25);
  border-radius: 8px;
  width: fit-content;
}
.urgency-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF79;
  animation: pulse 1.8s ease infinite;
  flex-shrink: 0;
}
.urgency-text {
  font-size: 12px;
  color: var(--forest);
  font-weight: 500;
}

/* ── V2: WHAT IS THIS — Context block ── */
/* Explicitly explains what Mendhla is before any scroll */
.context-block {
  background: var(--charcoal);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.context-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 820px;
}
.context-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--forest-light);
  white-space: nowrap;
  padding-top: .2rem;
}
.context-text {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
}
.context-text strong {
  color: var(--forest-light);
  font-weight: 400;
}
.context-pills {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.context-pill {
  font-size: 12px;
  font-weight: 500;
  padding: .3rem .8rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
}
.context-pill.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

/* ── V2: RESPONSE TIME SECTION ── */
.response-section {
  padding: clamp(4rem,7vw,7rem) 0;
  background: var(--cream);
}
.response-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.response-label { margin-bottom: .6rem; }
.response-title { margin-bottom: 1rem; }
.response-body  { margin-bottom: 2rem; }
.response-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.rs-item {
  text-align: center;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.rs-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
  margin-bottom: .25rem;
}
.rs-lbl { font-size: 11px; color: var(--text-3); line-height: 1.4; }

/* Response time visual card */
.response-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: 0 16px 48px rgba(28,40,32,.07);
}
.rc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.rc-title { font-size: 14px; font-weight: 600; color: var(--text); }
.rc-live {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: 12px;
  color: #4CAF79;
  font-weight: 600;
}
.rc-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4CAF79; animation: pulse 1.8s ease infinite;
}
.rc-timeline { display: flex; flex-direction: column; gap: .6rem; }
.rc-step {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-radius: var(--r);
  position: relative;
}
.rc-step.done { background: var(--forest-pale); }
.rc-step.active { background: var(--forest); }
.rc-step.waiting { background: var(--cream-2); opacity: .5; }
.rc-step-icon { font-size: 16px; flex-shrink: 0; }
.rc-step-text { font-size: 13px; font-weight: 500; }
.rc-step.done   .rc-step-text { color: var(--forest); }
.rc-step.active .rc-step-text { color: var(--white); }
.rc-step.waiting .rc-step-text { color: var(--text-3); }
.rc-step-time {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.rc-step.done   .rc-step-time { background: var(--forest); color: var(--white); }
.rc-step.active .rc-step-time { background: rgba(255,255,255,.2); color: var(--white); }
.rc-step.waiting .rc-step-time { background: var(--cream-3); color: var(--text-3); }

/* ── V2: STICKY BOTTOM BAR (mobile) ── */
/* Ensures CTA is always reachable — critical for response time */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: .85rem 1.25rem;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.sticky-cta-text { flex: 1; }
.sticky-cta-title { font-size: 14px; font-weight: 600; color: var(--text); }
.sticky-cta-sub   { font-size: 11px; color: var(--text-3); }
.sticky-cta-btn {
  padding: .7rem 1.35rem;
  background: var(--forest);
  color: var(--white);
  border: none; border-radius: 50px;
  font-family: var(--body); font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  text-decoration: none; transition: all .2s;
  flex-shrink: 0;
}
.sticky-cta-btn:hover { background: var(--charcoal); color: var(--white); }

@media (max-width: 768px) {
  .sticky-cta-bar { display: block; }
  .final-cta-section { padding-bottom: 6rem; }
  .context-inner { grid-template-columns: 1fr; }
  .context-label { white-space: normal; }
  .response-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .response-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   MENDHLA v3 — UX WRITER + CONVERSION STRATEGY UPDATE
   Philosophy: Understand → Feel → Trust → Act
   New components:
   1. Clarity bar (replaces diff-banner — more explicit)
   2. Hero rewrite — definition-first
   3. For-who strip — am I the right person?
   4. Hesitation interceptor — pre-empts dropout
   5. What happens next — removes post-CTA uncertainty
   6. Waitlist progress bar — social proof + urgency
============================================================ */

/* ── V3: CLARITY BAR ── */
/* Replaces v2 diff-banner with explicit product definition */
.clarity-bar {
  background: var(--forest);
  padding: .65rem 0;
  text-align: center;
}
.clarity-bar-inner {
  display: flex; align-items: center;
  justify-content: center; gap: .75rem; flex-wrap: wrap;
}
.clarity-bar-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.clarity-bar-text {
  font-size: 13px; font-weight: 500; color: var(--white);
}
.clarity-bar-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}

/* ── V3: HERO DEFINITION BADGE ── */
/* Sits inside hero — explicit product category label */
.hero-definition {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--white); border: 1px solid var(--border-2);
  border-radius: 50px; padding: .4rem 1rem .4rem .5rem;
  margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(42,89,64,.08);
}
.hd-badge {
  background: var(--forest); color: var(--white);
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 50px;
}
.hd-text {
  font-size: 13px; color: var(--text-2); font-weight: 400;
}

/* ── V3: FOR-WHO STRIP ── */
/* Immediately after hero — am I the right person? */
.for-who-strip {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.for-who-inner {
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.for-who-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap;
}
.for-who-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.for-who-tag {
  font-size: 13px; font-weight: 500;
  padding: .3rem .85rem; border-radius: 50px;
  background: var(--white); border: 1px solid var(--border-2);
  color: var(--text-2); transition: all .15s ease;
}
.for-who-tag:hover {
  background: var(--forest-pale);
  border-color: var(--forest);
  color: var(--forest);
}

/* ── V3: HESITATION INTERCEPTOR ── */
/* Full-width section that speaks directly to the dropout moment */
.hesitation-section {
  background: var(--charcoal);
  padding: clamp(3rem,5vw,5rem) 0;
  text-align: center;
}
.hesitation-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%,
    rgba(42,89,64,.25) 0%, transparent 65%);
  pointer-events: none;
}
.hesitation-inner { max-width: 640px; margin: 0 auto; }
.hesitation-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--forest-light); margin-bottom: 1rem;
}
.hesitation-headline {
  font-family: var(--display);
  font-size: clamp(26px,3.5vw,42px);
  font-weight: 300; font-style: italic;
  color: var(--white); line-height: 1.35;
  margin-bottom: 1.25rem;
}
.hesitation-body {
  font-size: 16px; color: rgba(255,255,255,.6);
  line-height: 1.75; margin-bottom: 2rem;
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.hesitation-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 2rem; background: var(--white);
  color: var(--forest); border-radius: 50px;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all .2s ease;
}
.hesitation-cta:hover {
  background: var(--cream); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2); color: var(--forest);
}

/* ── V3: WHAT HAPPENS NEXT — expanded post-CTA clarity ── */
.next-steps-section {
  padding: clamp(4rem,7vw,7rem) 0;
  background: var(--forest-pale);
  border-top: 1px solid var(--border-2);
}
.next-steps-header { text-align: center; margin-bottom: 3rem; }
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem; position: relative;
}
.next-steps-grid::before {
  content: ''; position: absolute;
  top: 28px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--forest-light), transparent);
}
.next-step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 1.5rem 1.25rem;
  text-align: center; position: relative; z-index: 1;
}
.ns-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 18px;
  margin: 0 auto 1rem; box-shadow: 0 0 0 5px var(--forest-pale);
}
.ns-timing {
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest); margin-bottom: .4rem;
}
.ns-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: .3rem;
}
.ns-body { font-size: 12px; color: var(--text-3); line-height: 1.55; }

/* ── V3: WAITLIST PROGRESS BAR ── */
.waitlist-progress {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.wp-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: .75rem;
}
.wp-label { font-size: 13px; font-weight: 600; color: var(--text); }
.wp-count { font-size: 13px; color: var(--text-3); }
.wp-count strong { color: var(--forest); font-weight: 700; }
.wp-bar-track {
  height: 8px; background: var(--cream-2);
  border-radius: 4px; overflow: hidden;
}
.wp-bar-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--forest), var(--forest-mid));
  transition: width 1.2s ease;
}
.wp-footer {
  display: flex; align-items: center;
  justify-content: space-between; margin-top: .6rem;
}
.wp-start { font-size: 11px; color: var(--text-4); }
.wp-target { font-size: 11px; color: var(--forest); font-weight: 600; }

/* ── V3: CRISIS BANNER ── */
/* Always visible at the bottom — for someone who needs help NOW */
.crisis-banner {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  padding: .85rem 0;
  text-align: center;
}
.crisis-banner-text {
  font-size: 13px; color: var(--text-3);
}
.crisis-banner-text strong { color: var(--text); font-weight: 600; }
.crisis-banner-text a { color: var(--forest); font-weight: 700; }

/* ── V3: RESPONSIVE OVERRIDES ── */
@media (max-width: 900px) {
  .next-steps-grid { grid-template-columns: 1fr 1fr; }
  .next-steps-grid::before { display: none; }
  .for-who-inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
@media (max-width: 600px) {
  .next-steps-grid { grid-template-columns: 1fr; }
  .clarity-bar-inner { flex-direction: column; gap: .3rem; }
}

/* ============================================================
   MENDHLA v5 — FIXES
   1. Input validation — red highlight on error fields
   2. Mobile hero — full redesign, breathable, not cramped
============================================================ */

/* ── FIX 1: INPUT VALIDATION HIGHLIGHTING ── */
/* Error state — applied via JS to the input/select directly */
.form-input.input-error,
.form-select.input-error {
  border-color: #C0392B !important;
  background: #FEF5F5 !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.12) !important;
  animation: inputShake .35s ease;
}

/* Shake animation — draws attention to the problem field */
@keyframes inputShake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* Inline field-level error message */
.field-error-msg {
  display: block;
  font-size: 12px;
  color: #C0392B;
  font-weight: 500;
  margin-top: .3rem;
  padding-left: .1rem;
}

/* Form-level error (keep existing but make it more visible) */
#formError {
  background: #FEF5F5;
  border: 1px solid rgba(192,57,43,.25);
  border-radius: var(--r);
  padding: .75rem 1rem;
  font-size: 13px;
  color: #C0392B !important;
  font-weight: 500;
  margin-top: .75rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
#formError::before {
  content: '⚠';
  font-size: 15px;
  flex-shrink: 0;
}

/* Remove error state when user starts correcting */
.form-input:focus.input-error,
.form-select:focus.input-error {
  border-color: var(--forest-mid) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(42,89,64,.08) !important;
}

/* ── FIX 2: MOBILE HERO — FULL REDESIGN ── */
/*
   PROBLEM: The desktop hero uses a two-column grid (text + chat visual).
   On mobile this stacks, leaving a huge blank gap between the bars
   and the headline. The clarity bar + availability bar + hero padding
   create ~280px of dead space before any meaningful content.

   SOLUTION:
   - Strip the desktop grid entirely on mobile
   - Hide the chat visual (already hidden) AND the float cards
   - Collapse all top bars to minimal single-line format
   - Start the hero headline immediately with minimal top padding
   - Show a compact trust row instead of the full proof counter
   - Make the two CTAs stack full-width
   - Sticky bottom bar does the heavy conversion lifting on mobile
*/

@media (max-width: 768px) {

  /* ── TOP BARS — minimal single-line on mobile ── */
  .clarity-bar { padding: .5rem 0; }
  .clarity-bar-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: .4rem;
    overflow: hidden;
    padding: 0 1rem;
  }
  .clarity-bar-label:last-child { display: none; }
  .clarity-bar-sep:last-of-type { display: none; }
  .clarity-bar-text {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
  }

  .availability-bar { padding: .45rem 0; }
  .avail-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: .6rem;
    overflow: hidden;
    padding: 0 1rem;
  }
  /* On mobile keep only: live dot + count + response time */
  .avail-count,
  .avail-live { font-size: 12px; }
  .avail-div { display: none; }
  /* Hide "No appointment. No referral." on mobile */
  .avail-inner > span:last-child { display: none; }
  .avail-response { font-size: 12px; }
  .avail-response-time { font-size: 10px; padding: 1px 5px; }

  /* ── HERO — mobile-first layout ── */
  .hero {
    /* Minimal padding — nav is ~60px, two bars ~80px combined */
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    min-height: auto; /* Don't force 100vh on mobile */
  }

  /* Hide the desktop two-column grid entirely on mobile */
  .hero-layout {
    display: block; /* single column */
  }

  /* ── HERO DEFINITION BADGE ── */
  .hero-definition {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem .35rem .4rem;
    margin-bottom: 1rem;
  }
  .hd-badge { font-size: 9px; padding: 2px 7px; white-space: nowrap; }
  .hd-text  { font-size: 12px; }

  /* ── HERO HEADLINE — tighter on mobile ── */
  .hero-h1 {
    font-size: clamp(34px, 9vw, 52px) !important;
    line-height: 1.1 !important;
    margin-bottom: .6rem !important;
    letter-spacing: -.025em;
  }

  /* ── HERO SUB ── */
  .hero-sub {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
  }

  /* ── URGENCY BADGE — single line ── */
  .hero-urgency {
    padding: .45rem .75rem;
    margin-top: .5rem;
    gap: .4rem;
  }
  .urgency-text { font-size: 11px; line-height: 1.4; }

  /* ── CTA ROW — stack full width ── */
  .hero-cta-row {
    flex-direction: column;
    gap: .6rem;
    margin-top: 1.25rem !important;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: .9rem 1.5rem;
    font-size: 15px;
  }

  /* ── TRUST MICRO — hide on mobile (sticky bar covers this) ── */
  .hero-micro { display: none; }

  /* ── SOCIAL PROOF — compact on mobile ── */
  .hero-proof {
    padding: .55rem .85rem;
    margin-top: 1.25rem;
    width: 100%;
    justify-content: center;
  }
  .proof-text { font-size: 12px; }

  /* ── HIGHLIGHT CARD — simplify on mobile ── */
  .highlight-card {
    margin-top: 1.75rem !important;
    padding: 1.1rem 1.25rem;
    border-radius: var(--r-lg);
  }
  .hc-title { font-size: 16px; }
  .hc-body  { font-size: 13px; }

  /* ── TRUST STRIP — single row, scrollable ── */
  .trust-strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0 .25rem;
    -webkit-overflow-scrolling: touch;
  }
  .ts-div { flex-shrink: 0; }
  .ts-item { white-space: nowrap; flex-shrink: 0; font-size: 11px; }

  /* ── FOR-WHO STRIP — scrollable tags ── */
  .for-who-inner { gap: .6rem; }
  .for-who-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
  }
  .for-who-tag { flex-shrink: 0; font-size: 12px; white-space: nowrap; }

  /* ── HESITATION SECTION ── */
  .hesitation-headline { font-size: clamp(20px,5.5vw,28px); }
  .hesitation-body     { font-size: 14px; }

  /* ── NEXT STEPS — 1 column ── */
  .next-steps-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .next-steps-grid::before { display: none; }
  .next-step-card { padding: 1.1rem; }
  .ns-num { width: 36px; height: 36px; font-size: 15px; margin-bottom: .75rem; }

  /* ── RESPONSE SECTION ── */
  .response-stats { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .rs-num { font-size: 24px; }

  /* ── FORM CARD ── */
  .form-card { padding: 1.5rem 1.25rem; }
  .form-row  { grid-template-columns: 1fr; gap: 0; }

} /* end @media 768px */

@media (max-width: 480px) {
  .next-steps-grid { grid-template-columns: 1fr; }
  .response-stats  { grid-template-columns: 1fr; }
  .clarity-bar-text { max-width: 180px; font-size: 11px; }
}

/* ── V5: MOBILE/DESKTOP BAR VISIBILITY ── */

/* Mobile single bar — hidden on desktop */
.mobile-only-bar {
  display: none;
  background: var(--forest);
  padding: .55rem 0;
}
.mobile-bar-inner {
  display: flex;
  align-items: center;
  gap: .65rem;
  justify-content: center;
  flex-wrap: nowrap;
}
.mobile-bar-pill {
  background: rgba(255,255,255,.18);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mobile-bar-text {
  font-size: 12px;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}
.mobile-bar-text strong { color: var(--white); font-weight: 600; }

/* Desktop bars — hidden on mobile */
@media (max-width: 768px) {
  .desktop-only-bar { display: none !important; }
  .mobile-only-bar  { display: block; }

  /* Hero top padding — accounts for only 1 compact bar now */
  .hero { padding-top: 5rem; }
}

/* Ensure desktop bars show normally */
@media (min-width: 769px) {
  .mobile-only-bar { display: none; }
  .desktop-only-bar { display: block; }
}

/* ============================================================
   MENDHLA v7 — SURGICAL MOBILE-ONLY OVERFLOW FIXES

   PRINCIPLE: Every rule here is inside a @media max-width query.
   Zero desktop interference. Desktop inherits v5 exactly.

   ROOT CAUSE:
   - Float cards (.fc-top right:-24px, .fc-bot left:-24px) extend
     beyond viewport on mobile → horizontal scroll → layout breaks
   - Hero blobs are 500px wide with no mobile containment
   - Hero layout stays as 2-column grid too long on small screens
   - Some containers lack overflow:hidden on mobile

   APPROACH:
   - Hide all decorative absolute-positioned elements on mobile
   - Force single column layouts at correct breakpoints
   - Clip hero overflow
   - Keep desktop pixel-perfect as in v5
============================================================ */

/* ─────────────────────────────────────────────────────────────
   BREAKPOINT: 900px — hide hero visual column
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hide the entire right column (chat UI + float cards + blobs) */
  .hero-visual { display: none !important; }

  /* Hide decorative blobs — they extend far beyond viewport */
  .hero-blob,
  .hero-blob-2 { display: none !important; }

  /* Float cards are children of hero-visual but absolute positioned —
     belt and braces: hide explicitly */
  .float-card { display: none !important; }

  /* Switch hero to single column */
  .hero-layout {
    display: block !important;
    width: 100% !important;
  }

  /* Two-column sections → single column */
  .what-layout,
  .after-layout,
  .response-layout { grid-template-columns: 1fr !important; gap: 2rem !important; }

  .exp-row { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  .diff-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }

  .split-cta-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .sc-divider { display: none !important; }

  .trust-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }

  /* How-it-works steps */
  .how-steps { grid-template-columns: 1fr !important; }
  .how-steps::before { display: none !important; }
}

/* ─────────────────────────────────────────────────────────────
   BREAKPOINT: 768px — mobile hero and container fixes
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* CONTAIN THE HERO — clip float cards and blobs */
  .hero {
    overflow: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    /* nav ~56px + single bar ~36px = adjust top padding */
    padding-top: 5.5rem !important;
    padding-bottom: 2.5rem !important;
    min-height: auto !important;
  }

  /* Wrap containers — must not exceed viewport */
  .wrap,
  .wrap-sm {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box !important;
  }

  /* Hero content full width */
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Headline — prevent word overflow */
  .hero-h1 {
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 1.1 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Subheadline */
  .hero-sub {
    font-size: 15px !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
  }

  /* Definition badge — single line on mobile */
  .hero-definition {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hd-text { font-size: 12px !important; }

  /* Urgency badge */
  .hero-urgency {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .urgency-text { font-size: 11px !important; line-height: 1.5 !important; }

  /* CTA row — stack full width */
  .hero-cta-row {
    flex-direction: column !important;
    gap: .65rem !important;
    width: 100% !important;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-ghost {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Hide the trust micro — sticky bar handles this */
  .hero-micro { display: none !important; }

  /* Social proof pill */
  .hero-proof {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    margin-top: 1.25rem !important;
  }

  /* Highlight card */
  .highlight-card {
    margin-top: 1.75rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* Trust strip — wrap not scroll */
  .trust-strip-inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: .5rem !important;
    overflow: hidden !important;
  }
  .ts-div { display: none !important; }
  .ts-item { font-size: 11px !important; }

  /* For-who tags — wrap on mobile */
  .for-who-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .5rem !important;
  }
  .for-who-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .4rem !important;
    overflow: hidden !important;
    max-width: 100% !important;
  }
  .for-who-tag {
    font-size: 12px !important;
    white-space: normal !important;
  }

  /* Nav — logo + CTA only, no middle links */
  .main-navigation { display: none !important; }
  .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .nav-cta {
    font-size: 12px !important;
    padding: .45rem 1rem !important;
    white-space: nowrap !important;
  }
  .site-branding a { font-size: 20px !important; }

  /* Stats row */
  .stats-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .75rem !important;
  }
  .stat-block { max-width: 100% !important; min-width: 0 !important; }

  /* Next steps grid */
  .next-steps-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: .75rem !important;
  }
  .next-steps-grid::before { display: none !important; }

  /* Response stats */
  .response-stats {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: .5rem !important;
  }
  .rs-num { font-size: 22px !important; }

  /* Form */
  .form-card {
    padding: 1.5rem 1.25rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }

  /* Mobile bar */
  .mobile-only-bar {
    overflow: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mobile-bar-inner {
    overflow: hidden !important;
    max-width: 100% !important;
  }
  .mobile-bar-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: calc(100% - 130px) !important;
  }

  /* Sticky bar */
  .sticky-cta-bar {
    max-width: 100vw !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   BREAKPOINT: 600px — very small phones
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .next-steps-grid { grid-template-columns: 1fr !important; }
  .trust-grid { grid-template-columns: 1fr !important; }
  .response-stats { grid-template-columns: 1fr !important; }
  .hesitation-headline { font-size: clamp(20px, 5.5vw, 28px) !important; }

  .hero-h1 { font-size: clamp(30px, 8.5vw, 44px) !important; }

  /* Mobile bar text — even tighter */
  .mobile-bar-text { max-width: calc(100% - 110px) !important; }
}

/* ─────────────────────────────────────────────────────────────
   DESKTOP GUARD — undo any mobile rules at 769px+
   Belt and braces: restore anything that could have leaked
───────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  /* Restore desktop layouts explicitly */
  .hero-layout { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 4rem !important; }
  .hero-visual { display: block !important; }
  .hero-blob,
  .hero-blob-2 { display: block !important; }
  .float-card { display: block !important; }
  .what-layout { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 5rem !important; }
  .after-layout { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 5rem !important; }
  .diff-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 1.25rem !important; }
  .trust-grid { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 1.25rem !important; }
  .split-cta-grid { display: grid !important; grid-template-columns: 1fr 1px 1fr !important; gap: 3rem !important; }
  .sc-divider { display: block !important; }
  .main-navigation { display: block !important; }
  .hero-micro { display: flex !important; }
  .hero-cta-row { flex-direction: row !important; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-ghost { width: auto !important; }
  .stats-row { flex-direction: row !important; }
  .next-steps-grid { display: grid !important; grid-template-columns: repeat(4,1fr) !important; }
  .next-steps-grid::before { display: block !important; }
  .trust-strip-inner { flex-wrap: nowrap !important; }
  .ts-div { display: block !important; }
  .wrap,
  .wrap-sm {
    max-width: 1120px !important;
    width: auto !important;
    padding: 0 clamp(1.25rem,5vw,3rem) !important;
  }
  .wrap-sm { max-width: 720px !important; }
  .hero { padding-top: 7rem !important; padding-bottom: 4rem !important; min-height: 100vh !important; overflow: hidden !important; }
  .hero-h1 { font-size: clamp(40px,6.5vw,80px) !important; line-height: 1.08 !important; }
  .hero-sub { font-size: clamp(16px,1.6vw,19px) !important; }
  .how-steps { grid-template-columns: repeat(3,1fr) !important; }
  .how-steps::before { display: block !important; }
  .form-row { grid-template-columns: 1fr 1fr !important; }
  .form-card { padding: 2.5rem !important; }
  .response-layout { grid-template-columns: 1fr 1fr !important; gap: 5rem !important; }
  .response-stats { grid-template-columns: repeat(3,1fr) !important; }
  .for-who-inner { flex-direction: row !important; align-items: center !important; gap: 1.5rem !important; }
  .for-who-tags { flex-wrap: nowrap !important; overflow-x: auto !important; }
  .for-who-tag { white-space: nowrap !important; }
}
