/* ════════════════════════════════════════════════════════════
   Autoli landing — light product theme
   Mirrors the real Autoli CRM dashboard: white surfaces, soft
   cool-gray canvas, violet primary, emerald + rose accents.
   (--lime kept as the variable name for the green accent so the
   hundreds of existing references keep working.)
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #F6F7FB;
  --bg-deeper: #EDEFF5;
  --surface: #FFFFFF;
  --surface-hi: #F1F2F8;
  --ink: #12141F;
  --ink-dim: #3E4358;
  --muted: #6A7081;
  --muted-low: #A8ADC0;
  --border: rgba(18, 20, 31, 0.08);
  --border-hi: rgba(18, 20, 31, 0.14);
  --lime: #0E9F6E;
  --purple: #7C5CFF;
  --purple-dim: #6847EA;
  --coral: #F43F5E;

  --shadow-sm: 0 1px 2px rgba(18, 20, 31, 0.05), 0 2px 8px rgba(18, 20, 31, 0.04);
  --shadow-md: 0 4px 12px rgba(18, 20, 31, 0.05), 0 14px 34px rgba(18, 20, 31, 0.08);
  --shadow-lg: 0 10px 30px rgba(18, 20, 31, 0.08), 0 30px 70px rgba(18, 20, 31, 0.12);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Tiempos", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "Menlo", monospace;

  --radius-card: 24px;
  --radius-pill: 100px;
  --radius-input: 12px;

  --content-max: 1440px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--purple); color: #ffffff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deeper); }
::-webkit-scrollbar-thumb { background: var(--muted-low); border-radius: 5px; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* ════════════════════════════════════════════════════════════
   Buttons
   ════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2,.7,.3,1), box-shadow 200ms, background 150ms;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #272B3F;
  box-shadow: var(--shadow-md);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink);
  border: 1px solid var(--border-hi);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.btn-glass:hover {
  background: #ffffff;
}

.play-bubble {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(18, 20, 31, 0.08);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   Nav
   ════════════════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 251, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-pill {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.nav-pill a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: background 150ms;
}
.nav-pill a:hover {
  background: rgba(18, 20, 31, 0.05);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-signin {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-signin:hover {
  border-color: var(--ink);
  background: rgba(18, 20, 31, 0.04);
}

.nav-cta .btn-primary {
  padding: 10px 18px;
}

.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
}

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav-mobile a {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   Hero
   ════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.orb-1 {
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.12), transparent 65%);
  animation: orbFloat 18s ease-in-out infinite;
}
.orb-2 {
  top: 100px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.08), transparent 65%);
  animation: orbFloat 22s ease-in-out infinite reverse;
}
.orb-3 {
  bottom: -100px;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.08), transparent 65%);
  animation: orbFloat 26s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 20, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 31, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.eyebrow-tag {
  padding: 3px 8px;
  background: rgba(124, 92, 255, 0.12);
  color: var(--purple);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.eyebrow-arrow { color: var(--muted); }

.hero-title {
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink);
}

.grad-text {
  color: var(--ink-dim);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}

.grad-text-pc {
  color: var(--purple);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 0 36px;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* ─── Talk-to-Autoli card ──────────────────────────────────────────
   Live click-to-call card showcased in the hero. Glass surface with
   a pulsing live indicator on the left, the number prominent on the
   right. Whole card is the <a tel:> trigger so the entire surface is
   tappable on mobile. Hover lifts + brightens like the rest of the
   hero glass elements. */
.talk-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  max-width: 560px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  position: relative;
  overflow: hidden;
}
.talk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(124, 92, 255, 0.10), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}
.talk-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.45);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 20, 31, 0.10), 0 0 24px rgba(124, 92, 255, 0.12);
}

.talk-card-pulse {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.talk-card-dot {
  width: 12px;
  height: 12px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  z-index: 2;
}
.talk-card-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.5);
  animation: talkCardPulse 1.8s ease-out infinite;
}
@keyframes talkCardPulse {
  0%   { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0;   }
}

.talk-card-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.talk-card-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #0E9F6E;
  margin-bottom: 4px;
}
.talk-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.talk-card-sub {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 8px;
}
.talk-card-number {
  font-family: 'SF Mono', 'Menlo', 'Consolas', ui-monospace, monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.talk-card-cta {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  border-radius: 12px;
  transition: transform 180ms ease, background 180ms ease;
  position: relative;
  z-index: 1;
}
.talk-card:hover .talk-card-cta {
  background: var(--purple-dim);
  transform: scale(1.05);
}

/* Phone-sized layouts: stack vertically, dial action becomes full-width strip. */
@media (max-width: 640px) {
  .talk-card {
    padding: 12px 14px;
    gap: 12px;
  }
  .talk-card-pulse { width: 36px; height: 36px; }
  .talk-card-number { font-size: 16px; }
  .talk-card-sub { font-size: 12px; }
  .talk-card-cta { width: 38px; height: 38px; }
}

.hero-stats {
  display: flex;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 600px;
}

.hero-stat {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.hero-stat-num.accent { color: var(--purple); }

.hero-stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Hero right — phone card stack */

.hero-mock {
  position: relative;
  height: 580px;
}

.mock-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.phone-card {
  position: absolute;
  top: 30px;
  right: 0;
  width: 440px;
  height: 520px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.phone-orb-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 18px;
}

.phone-orb {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(124, 92, 255, 0.85), rgba(124, 92, 255, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 255, 0.5);
  opacity: 0;
  animation: pulse-ring 2.6s ease-out infinite;
}
.pulse-ring:nth-child(2) { animation-delay: 0.8s; }
.pulse-ring:nth-child(3) { animation-delay: 1.6s; }

.pulse-ring-strong {
  border-color: var(--purple);
  inset: -10px;
  animation-duration: 2.4s;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

.phone-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}
.phone-bars i {
  display: block;
  width: 3px;
  background: #ffffff;
  border-radius: 2px;
  animation: phoneBar 1s ease-in-out infinite;
}
.phone-bars i:nth-child(1)  { height: 30%; animation-delay: 0.00s; }
.phone-bars i:nth-child(2)  { height: 65%; animation-delay: 0.05s; }
.phone-bars i:nth-child(3)  { height: 90%; animation-delay: 0.10s; }
.phone-bars i:nth-child(4)  { height: 50%; animation-delay: 0.15s; }
.phone-bars i:nth-child(5)  { height: 80%; animation-delay: 0.20s; }
.phone-bars i:nth-child(6)  { height: 40%; animation-delay: 0.25s; }
.phone-bars i:nth-child(7)  { height: 70%; animation-delay: 0.30s; }
.phone-bars i:nth-child(8)  { height: 55%; animation-delay: 0.35s; }
.phone-bars i:nth-child(9)  { height: 95%; animation-delay: 0.40s; }
.phone-bars i:nth-child(10) { height: 35%; animation-delay: 0.45s; }
.phone-bars i:nth-child(11) { height: 75%; animation-delay: 0.50s; }
.phone-bars i:nth-child(12) { height: 45%; animation-delay: 0.55s; }

@keyframes phoneBar {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.phone-caller {
  text-align: center;
  margin-bottom: 18px;
}

.phone-caller-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 4px;
}

.phone-caller-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.phone-transcript {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.ph-bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.35;
  animation: bubbleIn 400ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.ph-bubble:nth-child(1) { animation-delay: 0.1s; }
.ph-bubble:nth-child(2) { animation-delay: 0.6s; }
.ph-bubble:nth-child(3) { animation-delay: 1.2s; }

.ph-ai {
  align-self: flex-start;
  background: var(--ink);
  color: #ffffff;
}
.ph-lead {
  align-self: flex-end;
  background: var(--surface-hi);
  color: var(--ink);
  border: 1px solid var(--border);
}

.ph-who {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 2px;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Floating cards over the phone */

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.float-card-top {
  top: -8px;
  left: -8px;
  width: 280px;
  padding: 14px 16px;
}

.float-card-bottom {
  bottom: 30px;
  left: -20px;
  width: 200px;
  padding: 16px 18px;
}

.float-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.float-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 14px;
}

.float-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.float-time {
  font-size: 10px;
  color: var(--muted);
}

.float-badge {
  margin-left: auto;
  padding: 2px 8px;
  background: rgba(124, 92, 255, 0.15);
  color: var(--purple);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.float-msg {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}

.float-eyebrow {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.float-big {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.float-trend {
  font-size: 12px;
  color: var(--ink-dim);
  font-weight: 600;
  margin-top: 6px;
}

.float-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-top: 12px;
  height: 28px;
}
.float-bars i {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(124, 92, 255, 0.5);
  border-radius: 2px;
}
.float-bars i.bar-lime {
  background: var(--purple);
}

/* ════════════════════════════════════════════════════════════
   Stats band
   ════════════════════════════════════════════════════════════ */

.stats-band {
  position: relative;
  padding: 56px 0;
  background: linear-gradient(180deg, var(--bg-deeper), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.stats-band-glow {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(124, 92, 255, 0.1), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.stats-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
.stat-item:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-num {
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* Hero stats override the big band sizing */
.hero-stat-num.stat-num { font-size: 22px; color: inherit; }
.float-big.stat-num { font-size: 28px; color: var(--ink); }

/* Counter blink-in */
.counter { display: inline-block; transition: transform 200ms; }
.counter.bumped { transform: scale(1.08); }

/* ════════════════════════════════════════════════════════════
   Logo wall
   ════════════════════════════════════════════════════════════ */

.logo-wall {
  padding: 48px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logo-wall-title {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  color: var(--muted);
  font-weight: 700;
  font-size: 22px;
  opacity: 0.6;
  animation: scrollX 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.logo-serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.logo-spaced { letter-spacing: 0.05em; }
.logo-italic { font-style: italic; }
.logo-bold { font-weight: 900; }
.logo-wide { letter-spacing: 0.2em; font-weight: 800; }
.logo-tight { font-weight: 900; letter-spacing: -0.03em; }

@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════════════
   Section heads — shared
   ════════════════════════════════════════════════════════════ */

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.pill-purple {
  background: rgba(124, 92, 255, 0.13);
  color: var(--purple);
  border: 1px solid rgba(124, 92, 255, 0.27);
}

.section-title {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   Every channel
   ════════════════════════════════════════════════════════════ */

.every-channel {
  position: relative;
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}

.every-channel-glow {
  position: absolute;
  top: 200px;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.08), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.ec-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  position: relative;
}

.ec-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.ec-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.tag-purple { background: rgba(124, 92, 255, 0.12); color: var(--purple); }
.tag-lime { background: rgba(14, 159, 110, 0.10); color: var(--lime); }

.ec-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.1;
}
.ec-title-sm {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}

.ec-sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 500px;
}
.ec-sub-sm {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 20px;
}

/* Tag colour for WhatsApp-themed cards */
.tag-wa { background: rgba(0, 128, 105, 0.10); color: #008069; }

/* Second row of smaller feature cards */
.ec-grid-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  position: relative;
}
.ec-card-sm { padding: 28px; }
.ec-card-sm .ec-title-sm { font-size: 22px; }

.ec-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-deeper);
  border: 1px solid var(--border);
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  transition: border-color 200ms, color 200ms;
}
.ec-link:hover { border-color: rgba(124, 92, 255, 0.45); color: var(--ink); }
.ec-link-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15);
  animation: ecLinkDot 1.6s ease-in-out infinite;
}
@keyframes ecLinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.ec-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 128, 105, 0.08);
  border: 1px solid rgba(0, 128, 105, 0.25);
  color: #008069;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ec-stores { display: flex; gap: 10px; }
.ec-store {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg-deeper);
  border: 1px solid var(--border);
  color: var(--ink-dim);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

/* ── Mini WhatsApp chat preview (used inside the wide feature card) ── */
.wa-mini {
  background: #EFEAE2;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  box-shadow: var(--shadow-md);
}
.wa-mini-head {
  background: #008069;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #fff;
}
.wa-mini-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.wa-mini-meta { flex: 1; line-height: 1.2; min-width: 0; }
.wa-mini-name { font-weight: 600; font-size: 14px; }
.wa-mini-status { font-size: 11px; opacity: 0.85; }
.wa-mini-icons { opacity: 0.85; display: flex; align-items: center; }

.wa-mini-body {
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 130px;
  background: #EFEAE2;
}

.chat-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
}
.chat-me {
  align-self: flex-end;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.22);
}
.chat-them {
  align-self: flex-start;
  background: var(--surface-hi);
  border: 1px solid var(--border);
}

.chat-typing {
  align-self: flex-start;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.2em;
}

/* ════════════════════════════════════════════════════════════
   WhatsApp showcase — phone with live AI chat
   ════════════════════════════════════════════════════════════ */

.wa-showcase {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}

.wa-showcase-glow {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 168, 132, 0.10), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.wa-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wa-text .pill { margin-bottom: 24px; }
.wa-text .section-title { text-align: left; font-size: clamp(40px, 5vw, 64px); }

.wa-text-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 480px;
}

.ps-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ps-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.ps-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.13);
  border: 1px solid rgba(124, 92, 255, 0.28);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  height: 720px;
}

.wa-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 132, 0.22), transparent 70%);
  filter: blur(60px);
}

/* The phone body — black bezel, hidden content overflow. */
.wa-phone {
  position: relative;
  width: 320px;
  height: 680px;
  background: #000;
  border-radius: 44px;
  border: 9px solid #1A1A24;
  box-shadow: 0 40px 100px rgba(18, 20, 31, 0.28),
              inset 0 0 1px var(--border-hi);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

.wa-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 100px;
  z-index: 20;
}

/* iOS-style status bar above the WhatsApp header */
.wa-phone-status {
  position: absolute;
  top: 14px;
  left: 22px;
  right: 22px;
  z-index: 21;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
}
.wa-phone-status-icons { display: flex; gap: 5px; align-items: center; }
.wa-signal {
  width: 18px; height: 10px;
  background: linear-gradient(to right, #fff 30%, transparent 30%, transparent 36%, #fff 36% 65%, transparent 65% 71%, #fff 71%);
  -webkit-mask: linear-gradient(to top, #fff 0%, #fff 100%);
}
.wa-wifi { width: 14px; height: 10px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg) translate(-1px, 2px); }
.wa-batt {
  width: 24px; height: 11px;
  border: 1.5px solid #fff;
  border-radius: 3px;
  position: relative;
  background: linear-gradient(to right, #fff 70%, transparent 70%);
  background-clip: padding-box;
}
.wa-batt::after {
  content: "";
  position: absolute;
  right: -3px; top: 3px;
  width: 1.5px; height: 4px;
  background: #fff;
  border-radius: 0 1px 1px 0;
}

/* The WhatsApp UI inside the phone */
.wa-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #EFEAE2;
  min-height: 0;
}

.wa-chat-head {
  background: #008069;
  padding: 44px 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.wa-back { font-size: 26px; line-height: 1; opacity: 0.95; font-weight: 300; }
.wa-head-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-head-avatar span { font-weight: 700; font-size: 16px; color: #fff; }
.wa-head-meta { flex: 1; line-height: 1.2; min-width: 0; }
.wa-head-name { font-weight: 600; font-size: 16px; }
.wa-head-status { font-size: 12px; opacity: 0.9; transition: opacity 200ms; }
.wa-head-icons { display: flex; gap: 18px; align-items: center; opacity: 0.95; }

.wa-chat-body {
  flex: 1;
  padding: 12px 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  scrollbar-width: none;
  background-color: #EFEAE2;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(17, 27, 33, 0.04) 0 1.4px, transparent 1.4px),
    radial-gradient(circle at 78% 38%, rgba(17, 27, 33, 0.04) 0 1.4px, transparent 1.4px),
    radial-gradient(circle at 36% 72%, rgba(17, 27, 33, 0.04) 0 1.4px, transparent 1.4px),
    radial-gradient(circle at 92% 92%, rgba(17, 27, 33, 0.04) 0 1.4px, transparent 1.4px);
  background-size: 140px 140px;
}
.wa-chat-body::-webkit-scrollbar { display: none; }

.wa-date-chip {
  align-self: center;
  background: rgba(225, 245, 254, 0.92);
  color: #54656F;
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 7px;
  margin: 4px 0 6px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  letter-spacing: 0.05em;
}

.wa-encrypted {
  align-self: center;
  background: #FDF6CB;
  color: #54656F;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 7px;
  margin-bottom: 8px;
  text-align: center;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 90%;
}
.wa-encrypted svg { flex-shrink: 0; opacity: 0.7; }

/* Message bubbles — shared between mini-preview and full phone. */
.wa-bubble {
  max-width: 80%;
  padding: 6px 9px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #111B21;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  word-wrap: break-word;
  animation: waBubbleIn 320ms cubic-bezier(.2, .7, .3, 1);
  margin: 1px 0;
}
.wa-bubble-in {
  align-self: flex-start;
  background: #FFFFFF;
  border-top-left-radius: 0;
  margin-left: 6px;
}
.wa-bubble-in::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 13px;
  background: #FFFFFF;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.wa-bubble-out {
  align-self: flex-end;
  background: #D9FDD3;
  border-top-right-radius: 0;
  margin-right: 6px;
}
.wa-bubble-out::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 13px;
  background: #D9FDD3;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.wa-bubble-time {
  display: inline-block;
  font-size: 10.5px;
  color: #667781;
  margin-left: 8px;
  vertical-align: bottom;
  white-space: nowrap;
  float: right;
  margin-top: 4px;
  margin-right: -2px;
}
.wa-bubble-ticks {
  color: #53BDEB;
  font-size: 13px;
  margin-left: 3px;
  letter-spacing: -2px;
}

@keyframes waBubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Three-dot typing indicator — appears in agent's bubble shape */
.wa-typing {
  align-self: flex-start;
  background: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
  border-top-left-radius: 0;
  margin-left: 6px;
  margin-top: 1px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  position: relative;
  width: 52px;
  animation: waBubbleIn 240ms ease-out;
}
.wa-typing::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 13px;
  background: #FFFFFF;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.wa-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #54656F;
  opacity: 0.45;
  animation: waTypingDot 1.4s infinite;
}
.wa-typing i:nth-child(2) { animation-delay: 0.16s; }
.wa-typing i:nth-child(3) { animation-delay: 0.32s; }

@keyframes waTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* WhatsApp input bar — purely decorative */
.wa-chat-input {
  padding: 8px 8px 14px;
  background: #F0F2F5;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #54656F;
}
.wa-input-emoji,
.wa-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #54656F;
  flex-shrink: 0;
}
.wa-input-field {
  flex: 1;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 9px 14px;
  color: #8696A0;
  font-size: 13px;
  min-width: 0;
}
.wa-mic {
  width: 38px;
  height: 38px;
  background: #008069;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .wa-bubble, .wa-typing { animation: none; }
  .wa-typing i { animation: none; opacity: 0.6; }
  .ec-link-dot { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */

.faq-section {
  position: relative;
  padding: 120px 0;
  background: var(--bg-deeper);
  overflow: hidden;
}

.faq-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.06), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.faq-inner {
  position: relative;
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  transition: border-color 200ms, box-shadow 200ms;
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform 200ms ease, background 200ms, border-color 200ms;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.5;
  padding-right: 40px;
}

/* ════════════════════════════════════════════════════════════
   CTA + form
   ════════════════════════════════════════════════════════════ */

.cta-section {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}

.cta-glow-1 {
  position: absolute;
  top: 100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.08), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-glow-2 {
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.05), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-text .section-title { text-align: left; font-size: clamp(40px, 5vw, 64px); }

/* Solo / centered CTA variant — used on the homepage where there's no
   right-hand contact form. Collapses the 2-col grid and centers all
   inline content (heading, sub, bullets, button row). */
.cta-grid.cta-grid-solo {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.cta-grid.cta-grid-solo .cta-text {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-grid.cta-grid-solo .cta-text .section-title { text-align: center; }
.cta-grid.cta-grid-solo .cta-sub { margin-left: auto; margin-right: auto; }
.cta-grid.cta-grid-solo .cta-features { align-items: center; }
.cta-grid.cta-grid-solo .voice-ctas { justify-content: center; }

.cta-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 480px;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.cta-features .ps-check {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.cta-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: contents; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.15em;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  font-family: var(--font);
  transition: border-color 150ms;
}
.field input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}

.form-submit {
  width: 100%;
  padding: 16px 0;
  background: var(--ink);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--radius-input);
  margin-top: 8px;
  transition: transform 150ms, background 150ms;
}
.form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #272B3F;
}
.form-submit:disabled { opacity: 0.6; cursor: wait; }

.form-hint {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.5;
}

.form-error {
  font-size: 13px;
  color: var(--coral);
  margin: 4px 0 0;
}

.form-success {
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: var(--radius-card);
  padding: 48px 32px;
  text-align: center;
  grid-column: 2;
}
.form-success h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink);
}
.form-success p {
  margin: 0;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   Footer
   ════════════════════════════════════════════════════════════ */

.footer {
  background: var(--bg-deeper);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand { margin-bottom: 16px; }

.footer-blurb {
  font-size: 14px;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 0 16px;
}

.footer-mail {
  color: var(--purple);
  font-size: 14px;
}

.footer-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted-low);
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--ink-dim);
  font-size: 14px;
  transition: color 150ms;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.footer-status {
  font-family: var(--mono);
  letter-spacing: 0.1em;
}

/* ════════════════════════════════════════════════════════════
   Reveal-on-scroll
   ════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 80ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-row { padding: 14px 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-mock { height: 540px; max-width: 480px; margin: 0 auto; }
  .ec-grid { grid-template-columns: 1fr; }
  .ec-grid-row { grid-template-columns: 1fr 1fr; }
  .wa-grid { grid-template-columns: 1fr; gap: 60px; }
  .wa-phone-wrap { height: 720px; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-row { padding: 12px 20px; }
  .nav-pill, .nav-cta .btn-primary, .nav-signin { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mobile a.btn-primary {
    background: var(--ink);
    color: var(--bg);
  }

  .hero { padding: 32px 0 60px; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .hero-sub { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }

  .hero-mock {
    height: auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 24px 0;
  }
  .phone-card {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 460px;
  }
  .float-card-top, .float-card-bottom { display: none; }

  .hero.hero-split .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-voice-mock {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 560px;
    margin: 0 auto;
  }
  .hero-voice-mock .cr-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 380px;
    height: 540px;
    margin: 0 auto;
  }

  .stats-band-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .stat-item {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .ec-card { padding: 24px; }
  .ec-title { font-size: 26px; }
  .ec-grid-row { grid-template-columns: 1fr; }

  .wa-showcase { padding: 80px 0; }

  .every-channel { padding: 72px 0; }

  .cta-section { padding: 80px 0; }
  .form-row-2 { grid-template-columns: 1fr; }

  .faq-section { padding: 80px 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .marquee-track { gap: 40px; font-size: 18px; }

  .wa-phone-wrap { height: 700px; }

  .wa-phone { transform: scale(0.94); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .section-title { font-size: 36px; }
  .ec-title { font-size: 22px; }
  .ec-title-sm { font-size: 22px; }
  .hero-stat-num { font-size: 18px; }
  .hero-stats { font-size: 90%; }
}

/* ════════════════════════════════════════════════════════════
   Reduced motion
   Note: counter animation in app.js explicitly still runs (briefly)
   under reduce-motion to fix the iOS Low Power Mode "static numbers"
   issue — that's intentional, not a violation of the preference.
   ════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb { display: none; }
  .marquee-track { animation: none; }
  .mock-glow { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   Call Review widget (replaces static phone-card mock)
   Reuses .phone-card + .phone-* wrappers; .cr-* are additions.
   ════════════════════════════════════════════════════════════ */

.cr-card { padding: 20px; gap: 0; }

.cr-card .phone-orb-wrap { margin: 18px 0 14px; }
.cr-card .phone-orb { width: 116px; height: 116px; }

.cr-orb {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
}
.cr-orb:hover { transform: scale(1.04); }
.cr-orb:active { transform: scale(0.98); }
.cr-orb:focus-visible { outline: 2px solid var(--purple); outline-offset: 6px; }

.cr-orb.playing {
  box-shadow: 0 0 60px -10px rgba(124, 92, 255, 0.55);
}
.cr-orb.playing .pulse-ring { animation-duration: 1.8s; }

.cr-orb .cr-bars { opacity: 0; transition: opacity 0.3s ease; }
.cr-orb.playing .cr-bars { opacity: 1; }

.cr-orb-icon {
  position: absolute;
  width: 30px;
  height: 30px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.cr-orb .cr-icon-pause { opacity: 0; transform: scale(0.85); }
.cr-orb.playing .cr-icon-play { opacity: 0; transform: scale(1.4); }
.cr-orb.playing .cr-icon-pause { opacity: 1; transform: scale(1); }

.cr-card .phone-caller { margin-bottom: 14px; }
.cr-card .phone-caller-tag {
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}
.cr-card .phone-caller-name { font-size: 15px; }
.cr-arrow { color: var(--muted); margin: 0 4px; }

/* Waveform */
.cr-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  margin-bottom: 14px;
  cursor: pointer;
  user-select: none;
  padding: 0 2px;
}
.cr-wave-bar {
  flex: 1;
  background: var(--muted-low);
  border-radius: 1.5px;
  min-height: 3px;
  transition: background-color 0.15s linear, transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.cr-wave-bar.played { background: var(--purple); }
.cr-wave-bar.near { transform: scaleY(1.12); }
.cr-wave-bar.current {
  background: var(--lime);
  transform: scaleY(1.4);
  box-shadow: 0 0 8px rgba(14, 159, 110, 0.45);
}

/* Transcript list */
.cr-transcript {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 4px 2px;
  margin: 0 -2px 8px;
  mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}
.cr-transcript::-webkit-scrollbar { width: 4px; }
.cr-transcript::-webkit-scrollbar-track { background: transparent; }
.cr-transcript::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 2px; }

.cr-loading {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.cr-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.42;
  border-left: 2px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cr-row + .cr-row { margin-top: 1px; }
.cr-row:hover { background: rgba(18, 20, 31, 0.03); }

.cr-row .cr-speaker {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  padding-top: 2px;
}
.cr-row[data-speaker="Agent"]    .cr-speaker { color: var(--purple); }
.cr-row[data-speaker="Customer"] .cr-speaker { color: var(--lime); }

.cr-row .cr-text {
  color: var(--ink-dim);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.cr-row.future .cr-text { color: var(--muted-low); }
.cr-row.future .cr-speaker { opacity: 0.5; }
.cr-row.past .cr-text { color: var(--muted); }

.cr-row.active {
  background: rgba(124, 92, 255, 0.10);
  border-left-color: var(--purple);
}
.cr-row.active[data-speaker="Customer"] {
  background: rgba(14, 159, 110, 0.08);
  border-left-color: var(--lime);
}
.cr-row.active .cr-text { color: var(--ink); }

.cr-card .phone-foot { margin-top: auto; padding-top: 8px; }

@media (max-width: 980px) {
  .cr-card { padding: 18px; }
  .cr-card .phone-orb { width: 100px; height: 100px; }
  .cr-orb-icon { width: 26px; height: 26px; }
}

/* ════════════════════════════════════════════════════════════
   Multi-channel showcase — Call · SMS · WhatsApp · Email
   Reuses the iPhone bezel from .wa-phone, but the inner screen
   swaps between four dataset-driven panels. The mini-navbar on
   the left is the tab selector; the right phone-mockup is one
   spatial container that cross-fades between channels.
   ════════════════════════════════════════════════════════════ */

.mc-showcase {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}

.mc-showcase-glow {
  position: absolute;
  top: 25%;
  right: 8%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.14), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}
.mc-showcase::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

.mc-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mc-text .pill { margin-bottom: 24px; }
.mc-text .section-title {
  text-align: left;
  font-size: clamp(40px, 5vw, 64px);
}

.mc-text-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 520px;
}
.mc-text-sub em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-dim);
  font-size: 1.05em;
}

/* ── Mini-navbar (tab selector) ───────────────────────────── */

.mc-tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  margin-bottom: 24px;
  max-width: 460px;
  box-shadow: var(--shadow-sm);
}

/* Sliding active-state indicator. JS positions this absolutely
   over the active tab; CSS animates the move + the glow. */
.mc-tab-indicator {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 64px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.14), rgba(124, 92, 255, 0.05));
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              height 380ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.mc-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: 12px;
  text-align: left;
  color: var(--muted);
  font-family: inherit;
  cursor: pointer;
  transition: color 220ms ease, transform 180ms ease;
}
.mc-tab:hover { color: var(--ink-dim); }
.mc-tab:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.mc-tab.is-active { color: var(--ink); }

.mc-tab-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 20, 31, 0.04);
  border: 1px solid var(--border);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
  color: var(--ink-dim);
}
.mc-tab.is-active .mc-tab-ico {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.45);
}
/* Per-channel accent — colors the icon-bg when active. */
.mc-tab[data-channel="sms"].is-active .mc-tab-ico {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.40);
}
.mc-tab[data-channel="whatsapp"].is-active .mc-tab-ico {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.mc-tab[data-channel="email"].is-active .mc-tab-ico {
  background: #4D8BFF;
  border-color: #4D8BFF;
  box-shadow: 0 6px 18px rgba(77, 139, 255, 0.45);
}

.mc-tab-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  min-width: 0;
}
.mc-tab-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mc-tab-desc {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.mc-tab.is-active .mc-tab-desc { color: var(--ink-dim); }

.mc-features {
  max-width: 480px;
  margin-bottom: 28px;
}

/* ── Phone container & spatial unification ────────────────── */

.mc-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 720px;
}

.mc-phone {
  width: 320px;
  height: 660px;
  border: 12px solid #1A1A24;
  border-radius: 48px;
  background: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

.mc-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #0A0A0F;
  border-radius: 0 0 18px 18px;
  z-index: 100;
  box-shadow: inset 0 -1px 2px rgba(255, 255, 255, 0.15);
}

.mc-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  display: flex;
  flex-direction: column;
  background: #000;
  overflow: hidden;
  scrollbar-width: none;
}
.mc-screen::-webkit-scrollbar { display: none; width: 0; height: 0; }
.mc-screen.is-active {
  opacity: 1;
  visibility: visible;
}
.mc-screen[hidden] { display: none; }

#mcScreen-call     { background: linear-gradient(180deg, #1B1232, #0A0A0F); }
#mcScreen-sms      { background: #000; }
#mcScreen-whatsapp { background: #EFEAE2; }
#mcScreen-email    { background: #FFFFFF; }

.anim-item {
  opacity: 0;
  transform: translateY(12px);
}
.mc-screen.is-active .anim-item {
  animation: slideUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Per-screen UI (ported from the rebuilt demo.html mockup) ─── */

.call-ui { padding: 60px 20px 20px; text-align: center; color: white; display: flex; flex-direction: column; height: 100%; }
.call-avatar {
  width: 80px; height: 80px; background: linear-gradient(135deg, var(--purple), #B189FF); border-radius: 50%;
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: bold;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4);
}
.call-transcript { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-top: 20px; text-align: left; overflow-y: auto; scrollbar-width: none; }
.call-transcript::-webkit-scrollbar { display: none; }
.call-bubble {
  padding: 10px 14px; border-radius: 12px; font-size: 13px; max-width: 85%; line-height: 1.4;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
}
.call-bubble.ai { background: rgba(124, 92, 255, 0.25); border-color: rgba(124, 92, 255, 0.4); align-self: flex-start; border-top-left-radius: 4px; }
.call-bubble.user { align-self: flex-end; border-top-right-radius: 4px; }
.bubble-name { font-size: 9px; opacity: 0.7; letter-spacing: 0.1em; margin-bottom: 2px; font-family: var(--mono); }
.bubble-name.ai-name { color: #6EE7B7; }
.call-buttons { display: flex; gap: 24px; justify-content: center; margin-top: auto; padding-bottom: 10px; }
.c-btn {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px);
  transition: transform 0.2s ease; cursor: pointer;
}
.c-btn:hover { transform: scale(1.05); }
.c-btn.red { background: #FF3B30; box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3); }

.sms-ui { display: flex; flex-direction: column; height: 100%; color: white; }
.sms-head { padding: 40px 16px 12px; background: #1C1C1E; text-align: center; border-bottom: 1px solid #333; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; position: relative; }
.sms-head .back { position: absolute; left: 16px; color: #007AFF; font-size: 20px; font-weight: 400; }
.sms-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; }
.sms-body::-webkit-scrollbar { display: none; }
.sms-bubble { padding: 10px 14px; border-radius: 18px; font-size: 13.5px; max-width: 80%; line-height: 1.4; }
.sms-bubble.ai { background: #2C2C2E; align-self: flex-start; border-bottom-left-radius: 4px; }
.sms-bubble.user { background: #007AFF; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2); }
.sms-input { padding: 10px 16px 16px; background: #1C1C1E; border-top: 1px solid #333; display: flex; gap: 10px; align-items: center; }
.sms-plus { color: #888; font-size: 24px; font-weight: 300; }
.sms-bar { flex: 1; height: 32px; border-radius: 16px; border: 1px solid #444; background: #000; padding: 0 12px; display: flex; align-items: center; color: #555; font-size: 13px; }

.wa-ui { display: flex; flex-direction: column; height: 100%; }
.wa-ui .wa-head { padding: 40px 16px 12px; background: #008069; color: white; display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.wa-ui .wa-avatar { width: 34px; height: 34px; background: var(--purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
.wa-ui .wa-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; }
.wa-ui .wa-body::-webkit-scrollbar { display: none; }
.wa-ui .wa-date { text-align: center; font-size: 11px; background: #E1F5FE; color: #54656F; padding: 4px 10px; border-radius: 8px; align-self: center; margin-bottom: 10px; }
.wa-ui .wa-bubble { padding: 8px 12px; border-radius: 8px; font-size: 13px; color: #111B21; max-width: 85%; box-shadow: 0 1px 1px rgba(0,0,0,0.1); line-height: 1.4; }
.wa-ui .wa-bubble.ai { background: #FFF; align-self: flex-start; border-top-left-radius: 0; }
.wa-ui .wa-bubble.user { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 0; }
.wa-ui .wa-time { font-size: 10px; color: #888; float: right; margin: 4px 0 0 8px; }
.wa-ui .wa-input { padding: 10px; background: #F0F2F5; display: flex; align-items: center; gap: 8px; }
.wa-ui .wa-bar { flex: 1; height: 36px; background: white; border-radius: 18px; display: flex; align-items: center; padding: 0 12px; color: #888; font-size: 13px; }
.wa-ui .wa-mic { width: 36px; height: 36px; background: #008069; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.email-ui { display: flex; flex-direction: column; height: 100%; color: #1C1C1E; background: #fff; }
.email-head { padding: 40px 16px 12px; background: #F8F8F8; border-bottom: 1px solid #EEE; display: flex; justify-content: space-between; font-size: 14px; color: #007AFF; }
.email-body { padding: 16px; font-size: 14px; overflow-y: auto; scrollbar-width: none; }
.email-body::-webkit-scrollbar { display: none; }
.email-subj { font-size: 20px; font-weight: bold; margin-bottom: 16px; line-height: 1.3; }
.email-sender { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #EEE; margin-bottom: 16px; }
.email-avi { width: 36px; height: 36px; background: var(--purple); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.email-card { background: #FAFAFA; border: 1px solid #EEE; padding: 14px; border-radius: 12px; margin: 16px 0; font-size: 13px; line-height: 1.6; }

/* ────────── CALL screen ────────── */

.mc-screen-call {
  background: linear-gradient(180deg, #1B1232 0%, #2D1B58 55%, #1A1232 100%);
  color: #fff;
  padding: 52px 18px 18px;
  align-items: center;
  text-align: center;
}
.mc-call-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(124, 92, 255, 0.35), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(255, 92, 124, 0.15), transparent 60%);
  pointer-events: none;
}

.mc-call-top {
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
}
.mc-call-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #6EE7B7;
  margin-bottom: 6px;
}
.mc-call-num {
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.mc-call-avatar {
  position: relative;
  z-index: 2;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mc-call-avi {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #B189FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 36px;
  color: #fff;
  box-shadow: 0 12px 36px rgba(124, 92, 255, 0.45);
  position: relative;
  z-index: 3;
}
.mc-call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(110, 231, 183, 0.55);
  opacity: 0;
  animation: mcCallRing 2.4s ease-out infinite;
}
.mc-call-ring:nth-child(2) { animation-delay: 0.8s; }
.mc-call-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes mcCallRing {
  0%   { transform: scale(0.85); opacity: 0.65; }
  100% { transform: scale(1.9);  opacity: 0;    }
}

.mc-call-name {
  position: relative;
  z-index: 2;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 4px;
}
.mc-call-sub {
  position: relative;
  z-index: 2;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.mc-call-script {
  position: relative;
  z-index: 2;
  margin: 4px 8px 28px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
}
.mc-call-quote::before { content: "“"; opacity: 0.6; }
.mc-call-quote::after  { content: "”"; opacity: 0.6; }

.mc-call-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: auto;
  padding-bottom: 14px;
}
.mc-call-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.mc-call-btn-decline {
  background: #FF3B30;
  box-shadow: 0 10px 24px rgba(255, 59, 48, 0.4);
}
.mc-call-btn-decline svg { transform: rotate(135deg); }
.mc-call-btn-accept {
  background: #34C759;
  box-shadow: 0 10px 24px rgba(52, 199, 89, 0.45);
  animation: mcCallAcceptPulse 1.8s ease-in-out infinite;
}
.mc-call-btn:hover { transform: scale(1.06); }
@keyframes mcCallAcceptPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* In-call (active) variants — header, smaller avatar, transcript
   bubbles, and a 3-button control row. Re-uses .mc-call-* tokens so
   the visual language matches the SMS / WhatsApp / Email screens. */
.mc-call-head {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}
.mc-call-head .mc-call-tag { margin-bottom: 0; }
.mc-call-timer {
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.05em;
}
.mc-call-avatar-sm {
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
}
.mc-call-avatar-sm .mc-call-avi {
  width: 62px;
  height: 62px;
  font-size: 24px;
}
.mc-screen-call .mc-call-avatar-sm ~ .mc-call-name { font-size: 17px; }
.mc-screen-call .mc-call-avatar-sm ~ .mc-call-sub  { font-size: 12px; margin-bottom: 12px; }

.mc-call-transcript {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 2px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  scrollbar-width: none;
}
.mc-call-transcript::-webkit-scrollbar { display: none; }

.mc-call-bubble {
  position: relative;
  max-width: 84%;
  padding: 8px 11px 9px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mc-call-bubble.mc-call-in {
  align-self: flex-start;
  background: rgba(124, 92, 255, 0.22);
  border-color: rgba(124, 92, 255, 0.35);
  border-top-left-radius: 4px;
}
.mc-call-bubble.mc-call-out {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.10);
  border-top-right-radius: 4px;
}
.mc-call-who {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}
.mc-call-bubble.mc-call-in  .mc-call-who { color: #6EE7B7; }

.mc-call-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.32);
  border-radius: 14px;
  border-top-left-radius: 4px;
}
.mc-call-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: mcCallDots 1.2s ease-in-out infinite;
}
.mc-call-typing span:nth-child(2) { animation-delay: 0.18s; }
.mc-call-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes mcCallDots {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40%           { opacity: 1;   transform: translateY(-3px); }
}

.mc-call-anim {
  opacity: 0;
  transform: translateY(8px);
  animation: mcCallBubbleIn 420ms cubic-bezier(0.22, 1, 0.36, 1) var(--mc-delay, 0s) forwards;
}
@keyframes mcCallBubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

.mc-call-actions-incall {
  gap: 18px;
  padding-bottom: 8px;
  margin-top: 10px;
}
.mc-call-btn-mute,
.mc-call-btn-speaker {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.mc-call-actions-incall .mc-call-btn-decline {
  animation: none;
}

/* ────────── SMS screen ────────── */

.mc-screen-sms {
  background: #000;
  color: #fff;
}

.mc-sms-head {
  padding: 44px 14px 10px;
  background: linear-gradient(180deg, rgba(40, 40, 44, 0.95), rgba(20, 20, 22, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-sms-back {
  color: #4D8BFF;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  width: 14px;
  flex-shrink: 0;
}
.mc-sms-head-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.mc-sms-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mc-sms-avatar span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.mc-sms-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-top: 2px;
}
.mc-sms-handle {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'SF Mono', ui-monospace, monospace;
}
.mc-sms-info {
  color: #4D8BFF;
  font-size: 17px;
  flex-shrink: 0;
  width: 14px;
}

.mc-sms-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #000;
  scrollbar-width: none;
}
.mc-sms-body::-webkit-scrollbar { display: none; }

.mc-sms-date {
  align-self: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin: 4px 0 6px;
  letter-spacing: 0.01em;
}

.mc-sms-bubble {
  max-width: 75%;
  padding: 8px 12px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.4;
  word-wrap: break-word;
  position: relative;
}
.mc-sms-in {
  align-self: flex-start;
  background: #2C2C2E;
  color: #fff;
  border-bottom-left-radius: 5px;
}
.mc-sms-out {
  align-self: flex-end;
  background: linear-gradient(180deg, #2A8BFF, #007AFF);
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}
.mc-sms-bubble strong { font-weight: 700; }
.mc-sms-link {
  color: #4D8BFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mc-sms-out .mc-sms-link { color: #E4F0FF; }

.mc-sms-anim {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}
.mc-screen-sms.is-active .mc-sms-anim {
  animation: mcSmsBubbleIn 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--mc-delay, 0s);
}
@keyframes mcSmsBubbleIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mc-sms-input {
  padding: 8px 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1C1C1E;
}
.mc-sms-input-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2C2C2E;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
}
.mc-sms-input-field {
  flex: 1;
  background: #1C1C1E;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 7px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.mc-sms-input-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4D8BFF;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ────────── WhatsApp screen ──────────
   Inherits all .wa-chat, .wa-bubble, .wa-typing styles defined
   above for the existing showcase. The .mc-screen wrapper just
   positions/scales them inside the shared phone container. */

.mc-screen-wa {
  background: #EFEAE2;
}
.mc-screen-wa .wa-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #EFEAE2;
  min-height: 0;
  height: 100%;
}
.mc-screen-wa .wa-chat-head { padding-top: 44px; }
.mc-screen-wa .wa-chat-body { padding-top: 12px; }

/* ────────── EMAIL screen (iOS Mail) ────────── */

.mc-screen-email {
  background: #fff;
  color: #1C1C1E;
}

.mc-email-head {
  padding: 44px 14px 10px;
  background: rgba(248, 248, 248, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #4D8BFF;
}
.mc-email-back {
  font-weight: 500;
}
.mc-email-head-actions {
  display: flex;
  gap: 16px;
  font-size: 17px;
  color: #4D8BFF;
}

.mc-email-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 12px;
  scrollbar-width: none;
}
.mc-email-body::-webkit-scrollbar { display: none; }

.mc-email-subject {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #1C1C1E;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.mc-email-labels {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.mc-email-label {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #FFE5DC;
  color: #FF6F4D;
  letter-spacing: 0.02em;
}
.mc-email-label-alt {
  background: #E5EEFF;
  color: #4D8BFF;
}

.mc-email-from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 14px;
}
.mc-email-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.mc-email-from-meta { flex: 1; min-width: 0; line-height: 1.3; }
.mc-email-from-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1C1C1E;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-email-handle {
  font-weight: 400;
  color: rgba(60, 60, 67, 0.6);
  font-size: 12px;
}
.mc-email-from-line {
  font-size: 11.5px;
  color: rgba(60, 60, 67, 0.6);
  margin-top: 1px;
}
.mc-email-star {
  color: #FFB800;
  font-size: 17px;
  flex-shrink: 0;
}

.mc-email-content {
  font-size: 13.5px;
  line-height: 1.55;
  color: #1C1C1E;
}
.mc-email-content p { margin: 0 0 12px; }
.mc-email-content strong { font-weight: 700; }

.mc-email-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: #FAFAFA;
  margin: 14px 0;
}
.mc-email-card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 12.5px;
}
.mc-email-card-row + .mc-email-card-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mc-email-card-k {
  color: rgba(60, 60, 67, 0.6);
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.mc-email-card-v {
  color: #1C1C1E;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}
.mc-email-link {
  color: #4D8BFF;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 11.5px;
}

.mc-email-sig {
  color: rgba(60, 60, 67, 0.7);
  font-style: italic;
  font-size: 12.5px;
}

.mc-email-foot {
  display: flex;
  justify-content: space-around;
  padding: 12px 14px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(248, 248, 248, 0.98);
  font-size: 14px;
  color: #4D8BFF;
}
.mc-email-foot-btn {
  font-weight: 500;
}

/* ── New chip + tag variants used in features grid ────────── */

.tag-coral {
  background: rgba(244, 63, 94, 0.10);
  color: var(--coral);
}
.tag-blue {
  background: rgba(77, 139, 255, 0.13);
  color: #4D8BFF;
}
.ec-chip-coral {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.28);
  color: var(--coral);
}
.ec-chip-blue {
  background: rgba(77, 139, 255, 0.10);
  border-color: rgba(77, 139, 255, 0.28);
  color: #4D8BFF;
}
/* Override ec-chip's hard-coded green border for the coral/blue variants. */
.ec-chip-coral, .ec-chip-blue {
  border-style: solid;
  border-width: 1px;
}

/* 4-column row variant for the channels grid */
.ec-grid-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Multi-channel showcase responsive ─────────────────────── */

@media (max-width: 1024px) {
  .mc-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .mc-text .section-title { text-align: center; }
  .mc-text .pill,
  .mc-tabs,
  .mc-features,
  .mc-text > .btn { margin-left: auto; margin-right: auto; }
  .mc-text { text-align: center; }
  .mc-text-sub { margin-left: auto; margin-right: auto; }
  .mc-tabs { max-width: 520px; }
  .mc-tab-meta { text-align: left; }
  .mc-phone-wrap { height: 720px; }
  .ec-grid-row-4 { grid-template-columns: 1fr 1fr; }

  .mc-text { display: contents; }
  .mc-grid { gap: 24px; }
  .mc-text > .pill            { order: 1; }
  .mc-text > .section-title   { order: 2; }
  .mc-text > .mc-text-sub     { order: 3; }
  .mc-phone-wrap              { order: 4 !important; }
  .mc-text > .mc-tabs         { order: 5 !important; }
  .mc-text > .ps-features     { order: 6; margin-top: 8px; }
  .mc-text > .btn             { order: 7; }
}

@media (max-width: 768px) {
  .mc-showcase { padding: 80px 0; }
  .mc-phone-wrap { height: 680px; }
  .mc-phone { transform: scale(0.94); }
  .mc-tabs { padding: 6px; }
  .mc-tab { padding: 10px 12px; gap: 12px; }
  .mc-tab-ico { width: 32px; height: 32px; }
  .mc-tab-name { font-size: 14px; }
  .mc-tab-desc { font-size: 11.5px; }
  .mc-tab-indicator { height: 56px; }
  .ec-grid-row-4 { grid-template-columns: 1fr; }

  .mc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .mc-tab-indicator { display: none; }
  .mc-tab.is-active {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.14), rgba(124, 92, 255, 0.05));
    box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.35),
                0 8px 28px rgba(124, 92, 255, 0.15);
    border-radius: 12px;
  }
  .mc-tabs {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
  }

  /* Tighten the text → phone → tabs cluster into a single-viewport unit */
  .mc-grid { gap: 8px; }
  .mc-text-sub { margin-bottom: 4px; }
  .mc-phone-wrap { height: 600px; }
  .mc-tabs { margin-top: 0; }

  /* --- Mobile-only Multi-channel section refinements (v2) --- */

  /* Step 1 — kill top dead space.
     The big contributor is .voice-spotlight's 100px bottom padding (no mobile
     override in base). Trim it here, AND trim .mc-showcase top padding too. */
  .voice-spotlight { padding-bottom: 32px; }
  .mc-showcase { padding: 16px 0 48px; }

  /* Step 2 — fix phone overlap with text above + natural flow.
     Base .mc-phone-wrap is `display: flex; align-items: center`. Combined with
     a fixed height smaller than the phone's 660px layout box, this centered
     the box and bled its top edge above the wrapper. Switch to flex-start +
     auto height so the phone flows naturally below the text. */
  .mc-phone-wrap {
    align-items: flex-start;
    height: auto;
    padding: 0;
    margin-top: 24px;
  }

  /* Phone children use fixed-pixel absolute positioning (notch, screens,
     bubbles) so transform: scale() is the only way to shrink the device.
     transform-origin pins the visual to the wrapper top; the negative
     margin-bottom collapses the unused layout space below the scaled phone
     (660px box → 495px visual at 0.75 → -165px reclaims the 25% gap). */
  .mc-phone {
    transform: scale(0.75);
    transform-origin: top center;
    margin-bottom: -165px;
  }

  /* Step 3 — reconnect the tab cluster.
     Declared LAST so it overrides the earlier `margin-bottom: 0` (line 3378)
     and `margin-top: 0` (line 3385) inside this same media query. */
  .mc-tabs { margin-top: 24px; margin-bottom: 24px; }

  /* Step 4 — rotate hang-up receiver to point downward.
     Inline path already has rotate(135 12 12); this composes on top. */
  .c-btn.red svg { transform: rotate(90deg); }

  /* Let the voice transcript chain scroll to the page on mobile (fixes Android scroll trap) */
  .cr-transcript {
    overscroll-behavior: auto;
    overscroll-behavior-y: auto;
  }
}

@media (max-width: 480px) {
  .mc-tab-desc { display: none; }
  .mc-tabs { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-screen,
  .mc-tab-indicator,
  .mc-call-btn-accept,
  .mc-call-ring,
  .mc-sms-anim { animation: none !important; transition: none !important; }
  .mc-screen { opacity: 1; transform: none; }
  .mc-screen:not(.is-active) { display: none; }
  .mc-sms-anim { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════
   v3 · multi-page additions
   New shared primitives layered on top of the existing tokens —
   nothing above this line is touched. Pages: index, features,
   demos, pricing, contact. All animations driven by anime.js
   from js/anime-extras.js with vanilla CSS fallbacks.
   ════════════════════════════════════════════════════════════ */

/* --- Nav: active state for multi-page links ----------------- */
.nav-pill a.is-active {
  background: rgba(124, 92, 255, 0.15);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.35);
}
.nav-mobile a.is-active { color: var(--purple); }

/* --- Centered home hero (single-column intro variant) -------
   When `.hero` has the `.hero-centered` modifier, the inner grid
   collapses to one centered column. Title gets more horizontal
   room, sub copy + CTAs + talk-card all sit on the centre line.
   Kept as a modifier so the 2-col hero markup is still available
   for other pages if we want it later. */
.hero.hero-centered { padding: 72px 0 96px; }
.hero.hero-centered .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hero.hero-centered .hero-text {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero.hero-centered .hero-title {
  font-size: clamp(48px, 7.2vw, 104px);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hero.hero-centered .hero-sub {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero.hero-centered .hero-ctas {
  justify-content: center;
  margin-bottom: 32px;
}
.hero.hero-centered .talk-card {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .hero.hero-centered { padding: 48px 0 72px; }
  .hero.hero-centered .hero-title { font-size: clamp(40px, 11vw, 68px); }
}

/* --- Page hero (lighter than home hero, used on sub-pages) -- */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 5; }
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 18px auto 18px;
  max-width: 16ch;
  color: var(--ink);
}
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.5;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 400px at 20% 30%, rgba(124, 92, 255, 0.10), transparent 65%),
    radial-gradient(600px 360px at 80% 60%, rgba(16, 185, 129, 0.07), transparent 65%);
}

/* --- Anime.js reveal helpers -------------------------------- */
/* Elements opted-in via class are hidden until anime.js runs.
   If JS fails or runs late, a fallback shows them after 1.5s. */
.a-fade,
.a-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  will-change: transform, opacity;
}
.a-fade.is-in,
.a-stagger.is-in > * {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .a-fade, .a-stagger > * { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════
   CRM dashboard mock — homepage centerpiece
   Looks like a real SaaS sales console: pipeline KPIs, a small
   Kanban board, and pipeline-health progress bars.
   ════════════════════════════════════════════════════════════ */

.crm-dash {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.crm-dash-glow {
  position: absolute;
  top: 80px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.12), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

.dash-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.dash-shell {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  margin-top: 36px;
}

/* KPI strip — four animated counters */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  grid-column: 1 / -1;
}
.dash-kpi {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dash-kpi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent);
  opacity: 0.55;
}
.dash-kpi-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.dash-kpi-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 8px;
}
.dash-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--lime);
}
.dash-kpi-trend.down { color: var(--coral); }

/* Pipeline health card — clean horizontal progress bars */
.dash-pipeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dash-pipeline h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.dash-pipeline-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.pl-row { display: flex; flex-direction: column; gap: 6px; }
.pl-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.pl-row-name { color: var(--ink-dim); font-weight: 500; }
.pl-row-val  { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.pl-track {
  position: relative;
  height: 8px;
  border-radius: 100px;
  background: rgba(18, 20, 31, 0.07);
  overflow: hidden;
}
.pl-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--purple), #9d82ff);
  transition: width 1.2s cubic-bezier(.2,.7,.3,1);
}
.pl-fill.lime { background: linear-gradient(90deg, var(--lime), #34D399); }
.pl-fill.coral { background: linear-gradient(90deg, var(--coral), #FB7185); }

/* Mock Kanban board — 4 columns × 2-3 deal cards each */
.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kb-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kb-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.kb-col-count {
  background: rgba(18, 20, 31, 0.06);
  padding: 1px 7px;
  border-radius: 100px;
  font-size: 10.5px;
  color: var(--ink-dim);
}
.kb-card {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 10px;
  padding: 10px 11px 11px;
  font-size: 12.5px;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 200ms ease, border-color 200ms ease;
}
.kb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: var(--shadow-md);
}
.kb-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.kb-card-name { font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.kb-card-amt {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--lime);
  font-weight: 600;
  white-space: nowrap;
}
.kb-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.kb-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 10px;
  background: rgba(124, 92, 255, 0.12);
  color: var(--purple);
  border: 1px solid rgba(124, 92, 255, 0.25);
}
.kb-card-chip.coral { background: rgba(244, 63, 94, 0.08); color: var(--coral); border-color: rgba(244, 63, 94, 0.25); }
.kb-card-chip.lime  { background: rgba(14, 159, 110, 0.08); color: var(--lime); border-color: rgba(14, 159, 110, 0.3); }

@media (max-width: 1024px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .kanban { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .kanban { grid-template-columns: 1fr; }
  .dash-kpi-num { font-size: 26px; }
}

/* ════════════════════════════════════════════════════════════
   Voice AI spotlight (homepage section wrapping the call review)
   ════════════════════════════════════════════════════════════ */

.voice-spotlight {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.voice-spotlight-glow {
  position: absolute;
  top: 20%;
  left: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.13), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 4;
}
.voice-grid .cr-card { max-width: 560px; margin: 0 auto; }
.voice-side h2 { text-align: left; }
.voice-side .pill { margin-bottom: 20px; }
.voice-side p {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 480px;
  line-height: 1.55;
}
.voice-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.voice-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-dim);
}
.voice-bullets .ps-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.15);
  color: var(--purple);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.voice-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .voice-grid { grid-template-columns: 1fr; gap: 40px; }
  .voice-side h2, .voice-side p { text-align: center; margin-left: auto; margin-right: auto; }
  .voice-bullets { max-width: 460px; margin-left: auto; margin-right: auto; }
  .voice-ctas { justify-content: center; }
}

/* Hero split layout — pitch text on the left, live Voice AI demo
   widget on the right. Reuses .hero-inner's 1fr 1fr grid so the two
   columns are equal width; the voice mock is constrained to a hero
   footprint that matches the text column. */
.hero.hero-split { padding: 56px 0 88px; }
.hero.hero-split .hero-inner { gap: 48px; }
.hero-voice-mock {
  position: relative;
  height: 540px;
  min-height: 0;
}
.hero-voice-mock .cr-card {
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  height: 540px;
}
@media (max-width: 1024px) {
  .hero.hero-split { padding: 32px 0 64px; }
  .hero.hero-split .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-voice-mock { height: 520px; max-width: 460px; margin: 0 auto; }
  .hero-voice-mock .cr-card { height: 520px; }
}

/* Per-word transcript styling -------------------------------- */
/* Words become tappable, retain row-level karaoke highlight,
   and shimmer briefly on the active word. */
.cr-word {
  display: inline;
  cursor: pointer;
  border-radius: 4px;
  padding: 0 1px;
  transition: background 120ms ease, color 120ms ease;
}
.cr-word:hover {
  background: rgba(124, 92, 255, 0.14);
  color: var(--ink);
}
.cr-word.is-current {
  background: rgba(124, 92, 255, 0.22);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.45);
}
.cr-row[data-speaker="Customer"] .cr-word.is-current {
  background: rgba(14, 159, 110, 0.18);
  box-shadow: 0 0 0 1px rgba(14, 159, 110, 0.45);
  color: var(--ink);
}
.cr-word.is-past { color: var(--muted); }

/* ════════════════════════════════════════════════════════════
   Pricing page
   ════════════════════════════════════════════════════════════ */

.pricing-section {
  position: relative;
  padding: 40px 0 100px;
  overflow: hidden;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 5;
  margin-top: 24px;
}
.price-card {
  position: relative;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 18px 38px rgba(18, 20, 31, 0.10);
}
.price-card.featured {
  border-color: rgba(124, 92, 255, 0.5);
  background: linear-gradient(180deg, #F5F2FF, #FFFFFF 55%);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.20), 0 14px 40px rgba(124, 92, 255, 0.14);
}
.price-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(18, 20, 31, 0.05);
  color: var(--muted);
}
.price-card.featured .price-tag {
  background: rgba(124, 92, 255, 0.18);
  color: var(--purple);
}
.price-name {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.price-amt {
  font-size: 44px;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amt small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-blurb {
  font-size: 14px;
  color: var(--muted);
  margin: -4px 0 8px;
  line-height: 1.5;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-dim);
}
.price-list li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}
.price-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* ════════════════════════════════════════════════════════════
   Contact page tweaks (reuses .cta-* primitives)
   ════════════════════════════════════════════════════════════ */
.contact-page .cta-section { padding-top: 24px; }
.contact-page .cta-grid { align-items: flex-start; }

/* ════════════════════════════════════════════════════════════
   v4 · Layout refactor — new structural primitives
   Hero trust row · browser-framed app shot · bento grid ·
   how-it-works steps · testimonial · chip nav · plan compare
   table · contact method cards.
   ════════════════════════════════════════════════════════════ */

/* ── Hero trust microcopy ── */
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ps-check { width: 17px; height: 17px; font-size: 9px; }

.hero.hero-centered { padding: 64px 0 8px; }

/* ── Browser-framed product shot ── */
.app-shot {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
}
.app-shot-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124, 92, 255, 0.14), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}
.app-window {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #FBFBFE, #F4F5FA);
  border-bottom: 1px solid var(--border);
}
.app-dots { display: flex; gap: 7px; flex-shrink: 0; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.app-dots i:nth-child(1) { background: #FF5F57; }
.app-dots i:nth-child(2) { background: #FEBC2E; }
.app-dots i:nth-child(3) { background: #28C840; }
.app-url {
  flex: 1;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.app-url::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.app-bar-ghost { width: 47px; flex-shrink: 0; } /* balances the dots */
.app-body {
  padding: 18px;
  background: var(--bg);
}
.app-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.app-cols .dash-card { box-shadow: var(--shadow-sm); }

@media (max-width: 1024px) {
  .app-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .app-shot { padding: 24px 0 56px; }
  .app-body { padding: 12px; }
}

/* ── Bento grid ── */
.bento-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.bento-section-glow {
  position: absolute;
  top: 15%;
  right: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.10), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  position: relative;
}
.bento .ec-card { display: flex; flex-direction: column; }
.b-7 { grid-column: span 7; }
.b-6 { grid-column: span 6; }
.b-5 { grid-column: span 5; }
.b-r2 { grid-row: span 2; }

/* Voice tile hosts the interactive call-review widget */
.bento-voice .cr-card {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  width: 100%;
  max-width: none;
  height: 520px;
  margin-top: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.bento .wa-mini { margin-top: auto; }
.bento .chat-mini { margin-top: auto; }
.bento .ec-chiprow, .bento .ec-link { margin-top: auto; align-self: flex-start; }
/* Voice tile: the live-call link sits right under the copy; the
   widget below is what fills the tile. */
.bento-voice .ec-link { margin-top: 2px; }

@media (max-width: 1024px) {
  .bento-section { padding: 72px 0; }
  .b-7, .b-5 { grid-column: span 12; }
  .b-6 { grid-column: span 6; }
  .b-r2 { grid-row: auto; }
}
@media (max-width: 768px) {
  .b-6 { grid-column: span 12; }
  .bento-voice .cr-card { height: 500px; }
}

/* ── How it works ── */
.how-section {
  position: relative;
  padding: 96px 0 80px;
  background: var(--bg-deeper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(124, 92, 255, 0.12);
  color: var(--purple);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: var(--mono);
}
.step-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.step-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.step-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-points li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-dim);
}
.step-points li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
  font-size: 11px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .how-section { padding: 72px 0 56px; }
}

/* ── Testimonial ── */
.quote-section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}
.quote-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 56px 48px 48px;
  overflow: hidden;
}
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), #34D399, var(--coral));
  opacity: 0.7;
}
.quote-stars {
  color: #F5A623;
  letter-spacing: 4px;
  font-size: 15px;
  margin-bottom: 18px;
}
.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 26px;
}
.quote-author { font-size: 14px; color: var(--muted); }
.quote-author b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .quote-card { padding: 40px 24px 36px; }
}

/* ── Chip anchor nav (sub-page heroes) ── */
.chip-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
  position: relative;
  z-index: 5;
}
.chip-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}
.chip-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.45);
  color: var(--purple);
}
.chip-nav .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Plan comparison table ── */
.compare-section { padding: 0 0 96px; }
.compare-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 660px;
}
.compare th, .compare td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.compare th:first-child, .compare td:first-child {
  text-align: left;
  color: var(--ink-dim);
  font-weight: 500;
}
.compare thead th {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  padding-top: 18px;
  padding-bottom: 18px;
}
.compare thead .compare-price {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}
.compare .is-featured {
  background: rgba(124, 92, 255, 0.05);
}
.compare thead th.is-featured { color: var(--purple); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare .ck   { color: var(--lime); font-weight: 700; }
.compare .no   { color: var(--muted-low); }
.compare .val  { font-family: var(--mono); font-size: 12.5px; color: var(--ink-dim); }

/* ── Contact method cards ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 4px 0 56px;
  position: relative;
  z-index: 5;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 92, 255, 0.35);
}
.contact-card-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #ffffff;
}
.contact-card-ico.purple { background: var(--purple); }
.contact-card-ico.green  { background: #25D366; }
.contact-card-ico.blue   { background: #4D8BFF; }
.contact-card b { font-size: 15px; color: var(--ink); }
.contact-card span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.contact-card em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--purple);
  margin-top: 10px;
  font-weight: 600;
}
@media (max-width: 860px) {
  .contact-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ════════════════════════════════════════════════════════════
   v5 · Real-dashboard replica (homepage app-window)
   Faithful recreation of the actual Autoli CRM dashboard:
   icon rail · search top bar · greeting · quick actions ·
   stat cards · task-status donut · by-assignee bars ·
   leads-by-status per rep.
   ════════════════════════════════════════════════════════════ */

.rdb {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
}

/* Icon rail */
.rdb-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 0;
}
.rdb-side-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.rdb-side-ico.is-active {
  background: rgba(124, 92, 255, 0.12);
  color: var(--purple);
}
.rdb-side-end { margin-top: auto; }
.rdb-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rdb-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* Top bar */
.rdb-top {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 9px 12px;
}
.rdb-search {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.rdb-top-icons { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.rdb-top-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid transparent;
}
.rdb-top-ico.is-ai {
  color: var(--purple);
  background: rgba(124, 92, 255, 0.10);
  border-color: rgba(124, 92, 255, 0.30);
  font-size: 14px;
}

/* Heading + greeting */
.rdb-head h3 {
  margin: 4px 0 2px;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.rdb-head p { margin: 0; font-size: 13px; color: var(--muted); }

/* Quick actions */
.rdb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rdb-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-dim);
  box-shadow: var(--shadow-sm);
}
.rdb-action.is-ai {
  color: var(--purple);
  background: rgba(124, 92, 255, 0.08);
  border-color: rgba(124, 92, 255, 0.35);
}

/* Stat cards */
.rdb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.rdb-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.rdb-stat-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 17px;
}
.rdb-stat-ico.purple { background: rgba(124, 92, 255, 0.12); color: var(--purple); }
.rdb-stat-ico.violet { background: rgba(77, 139, 255, 0.12);  color: #4D8BFF; }
.rdb-stat-ico.pink   { background: rgba(244, 63, 94, 0.10);   color: var(--coral); }
.rdb-stat-ico.green  { background: rgba(14, 159, 110, 0.10);  color: var(--lime); }
.rdb-stat-meta { min-width: 0; }
.dash-kpi-num.rdb-stat-num {
  font-size: 24px;
  margin: 0;
  line-height: 1.1;
}
.rdb-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Two-card row */
.rdb-cols {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 12px;
}
.rdb-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.rdb-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.rdb-card-head b { font-size: 14.5px; color: var(--ink); letter-spacing: -0.01em; }
.rdb-card-head span { font-size: 11.5px; color: var(--muted); }

/* Task-status donut */
.rdb-donut-row { display: flex; align-items: center; gap: 22px; }
.rdb-donut {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    #10B981 0 83%,
    #F5A623 83% 94%,
    #F43F5E 94% 99%,
    #C9CDDC 99% 100%
  );
}
.rdb-donut::before {
  content: "";
  position: absolute;
  inset: 17px;
  background: #ffffff;
  border-radius: 50%;
}
.rdb-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.rdb-donut-center b { font-size: 25px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.rdb-donut-center span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 3px;
}
.rdb-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink-dim);
  min-width: 0;
}
.rdb-legend li { display: flex; align-items: center; gap: 8px; }
.rdb-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex-shrink: 0;
}
.rdb-legend b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.rdb-legend span { color: var(--muted-low); font-size: 11px; width: 32px; text-align: right; font-variant-numeric: tabular-nums; }

/* Assignee rows */
.rdb-assignee { display: flex; flex-direction: column; gap: 16px; }
.rdb-assignee-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 14px; align-items: center; }
.rdb-assignee-who b { display: block; font-size: 13px; color: var(--ink); }
.rdb-assignee-who span { font-size: 11px; color: var(--muted); }
.rdb-count-chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--lime);
  background: rgba(14, 159, 110, 0.10);
  border-radius: 100px;
  padding: 2px 9px;
  font-variant-numeric: tabular-nums;
}

/* Leads-by-status block */
.rdb-leads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.rdb-rep-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.rdb-rep-head b { font-size: 13.5px; color: var(--ink); }
.rdb-rep-head i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted-low);
}
.rdb-rep-head span { margin-left: auto; font-weight: 700; color: var(--purple); font-size: 14px; }
.rdb-lead-row {
  display: grid;
  grid-template-columns: 76px 1fr 30px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
}
.rdb-lead-row em { font-style: normal; }
.rdb-lead-row b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 12px; }

/* Extra bar colours on top of the existing .pl-fill variants */
.pl-fill.blue  { background: linear-gradient(90deg, #4D8BFF, #7FAAFF); }
.pl-fill.amber { background: linear-gradient(90deg, #F5A623, #FBC55E); }
.pl-fill.gray  { background: linear-gradient(90deg, #A8ADC0, #C5C9D8); }

@media (max-width: 1024px) {
  .rdb-cols { grid-template-columns: 1fr; }
  .rdb-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .rdb { grid-template-columns: 1fr; }
  .rdb-side { display: none; }
  .rdb-leads-grid { grid-template-columns: 1fr; }
  .rdb-assignee-row { grid-template-columns: 110px 1fr auto; }
}

/* ════════════════════════════════════════════════════════════
   v5 · Timeline spine (js/scroll-path.js)
   The "How it works" steps become a zigzag timeline. A gradient
   spine draws itself down the center on scroll, a comet rides
   the tip, branches reach each card and badges ignite.
   ════════════════════════════════════════════════════════════ */

.steps.timeline {
  display: flex;
  flex-direction: column;
  gap: 34px;
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
}
.steps.timeline .step-card {
  position: relative;
  z-index: 1;
  width: calc(50% - 44px);
}
.steps.timeline .step-card:nth-child(odd)  { align-self: flex-start; }
.steps.timeline .step-card:nth-child(even) { align-self: flex-end; }

.spine-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.sp-track {
  fill: none;
  stroke: rgba(18, 20, 31, 0.10);
  stroke-width: 2;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}
.sp-glow {
  fill: none;
  stroke: url(#spineGrad);
  stroke-width: 10;
  stroke-linecap: round;
  opacity: 0.18;
  filter: blur(8px);
}
.sp-progress {
  fill: none;
  stroke: url(#spineGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.sp-branch {
  stroke: rgba(18, 20, 31, 0.10);
  stroke-width: 1.5;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
  transition: stroke 400ms ease;
}
.sp-branch.is-lit { stroke: rgba(124, 92, 255, 0.55); }

.sp-dot {
  fill: #ffffff;
  stroke: rgba(18, 20, 31, 0.20);
  stroke-width: 1.5;
  transition: fill 400ms, stroke 400ms, filter 400ms;
}
.sp-dot.is-lit {
  fill: var(--purple);
  stroke: rgba(124, 92, 255, 0.40);
  filter: drop-shadow(0 0 7px rgba(124, 92, 255, 0.7));
}

/* Card badge ignites as the comet passes */
.step-card .step-badge { transition: background 400ms, color 400ms, box-shadow 400ms; }
.step-card.is-lit .step-badge {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}

/* Comet */
.sp-comet { transition: opacity 250ms ease; }
.sp-comet-halo {
  fill: rgba(124, 92, 255, 0.30);
  filter: blur(6px);
}
.sp-comet-core {
  fill: var(--purple);
  filter: drop-shadow(0 0 6px rgba(124, 92, 255, 0.8));
}
.sp-comet-ring {
  fill: none;
  stroke: rgba(14, 159, 110, 0.7);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: spCometPulse 2.2s ease-in-out infinite;
}
@keyframes spCometPulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%      { transform: scale(1.6); opacity: 0.25; }
}

@media (max-width: 900px) {
  .steps.timeline { max-width: 560px; }
  .steps.timeline .step-card {
    width: auto;
    align-self: stretch !important;
    margin-left: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-comet-ring { animation: none; }
}
