/* ============================================================
   ReplyDesk landing page
   Bold, confident, playful-maximalist.
   Archivo Black (display) + Karla (body).
   ============================================================ */

:root {
  --bg: #F3F4F1;
  --ink: #141414;
  --pink: #FF4FA3;
  --cyan: #35C6E8;
  --yellow: #FFD23F;
  --green: #4CD97B;
  --purple: #7B5CFA;
  --purple-deep: #6A4AE8;
  --white: #FFFFFF;

  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Karla', system-ui, sans-serif;

  --shadow-card: 6px 6px 0 rgba(20, 20, 20, 0.9);
  --shadow-card-sm: 4px 4px 0 rgba(20, 20, 20, 0.9);
  --border-card: 2px solid var(--ink);
  --radius: 16px;

  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --speed: 300ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--yellow); color: var(--ink); }

/* At fractional display scaling (e.g. Windows 125%), Chromium can paint
   the background of a ROTATED rounded element with square corners — the
   fill peeks out past the curved outline. Two-part fix:
   1) background-clip keeps the fill inside the border on every rounded
      component, and
   2) overflow:hidden on the rotated ones forces a true rounded clip
      layer so the background can never escape the corner radius. */
.wordmark,
.hero-card-inner,
.demo-badge,
.placeholder-badge,
.how-card,
.trust-row,
.trust-icon,
.btn,
.play-btn,
.video-frame,
.phone,
.status-chip p,
.price-panel {
  background-clip: padding-box;
}

.hero-card-inner,
.how-card,
.demo-badge,
.wordmark,
.btn {
  overflow: hidden;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  display: flex;
  justify-content: center;
  padding: 1.1rem 1.25rem 0.4rem;
  position: relative;
  z-index: 20;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: var(--white);
  border: var(--border-card);
  border-radius: 999px;
  padding: 0.5rem 1.1rem 0.5rem 0.8rem;
  filter: drop-shadow(4px 4px 0 rgba(20, 20, 20, 0.9));
  transition: transform var(--speed) var(--ease-pop), filter var(--speed) ease;
}

.wordmark:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  filter: drop-shadow(6px 6px 0 rgba(20, 20, 20, 0.9));
}

.wordmark-bubble { width: 1.35em; height: 1.35em; fill: var(--pink); }
.wordmark-bubble .dot { fill: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 3.5rem 1.25rem 0;
  text-align: center;
  overflow: clip;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 50rem;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--white);
  border: var(--border-card);
  border-radius: 22px;
  box-shadow: var(--shadow-card-sm);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.3rem;
  max-width: 94%;
  opacity: 0;
  animation: fadeRise 0.5s ease 0s forwards;
}

@media (max-width: 480px) {
  .hero-eyebrow { font-size: 0.78rem; padding: 0.35rem 0.85rem; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7.2vw, 3.9rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 0.6s var(--ease-pop) forwards;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.05s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.25s; }

@keyframes lineUp { to { transform: translateY(0); } }

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  font-weight: 500;
  opacity: 0;
  animation: fadeRise 0.5s ease 0.45s forwards;
}

.hero-cta {
  margin-top: 1.8rem;
  opacity: 0;
  animation: fadeRise 0.5s ease 0.6s forwards;
}

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

/* ---------- living background blobs ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.27;
  will-change: transform;
}

.blob-pink {
  width: 42vmax; height: 42vmax;
  background: var(--pink);
  top: -18vmax; left: -14vmax;
  animation: drift1 34s ease-in-out infinite alternate;
}

.blob-cyan {
  width: 36vmax; height: 36vmax;
  background: var(--cyan);
  top: 4vmax; right: -16vmax;
  animation: drift2 28s ease-in-out infinite alternate;
}

.blob-yellow {
  width: 30vmax; height: 30vmax;
  background: var(--yellow);
  bottom: -14vmax; left: 28vw;
  animation: drift3 40s ease-in-out infinite alternate;
}

@keyframes drift1 { to { transform: translate(9vmax, 6vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vmax, 8vmax) scale(0.92); } }
@keyframes drift3 { to { transform: translate(-9vmax, -5vmax) scale(1.08); } }

/* ---------- scattered story-artifact cards ---------- */
.hero-cards {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-card {
  position: absolute;
  pointer-events: auto;
  transform: rotate(var(--rot, 0deg));
}

.hero-card-inner {
  background: var(--white);
  border: var(--border-card);
  border-radius: var(--radius);
  filter: drop-shadow(5px 5px 0 rgba(20, 20, 20, 0.9));
  padding: 0.9rem 1rem;
  font-size: 0.83rem;
  font-weight: 700;
  text-align: left;
  transform: scale(0);
  animation: cardPop 0.5s var(--ease-pop) forwards;
  transition: transform var(--speed) var(--ease-pop), filter var(--speed) ease;
}

.hero-card:hover .hero-card-inner {
  transform: scale(1.06);
  filter: drop-shadow(8px 8px 0 rgba(20, 20, 20, 0.9));
}

@keyframes cardPop {
  0%   { transform: scale(0) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* after the pop-in ends, JS freezes the card here so hover/tilt
   transforms can take over from the animation's fill state */
.hero-card-inner.popped { animation: none; transform: scale(1); }

.card-pink   .hero-card-inner { background: var(--pink); color: var(--ink); }
.card-cyan   .hero-card-inner { background: var(--cyan); color: var(--ink); }
.card-yellow .hero-card-inner { background: var(--yellow); color: var(--ink); }
.card-green  .hero-card-inner { background: var(--green); color: var(--ink); }

/* pop-in stagger */
.pos-1 .hero-card-inner { animation-delay: 0.55s; }
.pos-2 .hero-card-inner { animation-delay: 0.70s; }
.pos-3 .hero-card-inner { animation-delay: 0.85s; }
.pos-4 .hero-card-inner { animation-delay: 0.95s; }
.pos-5 .hero-card-inner { animation-delay: 1.05s; }
.pos-6 .hero-card-inner { animation-delay: 1.15s; }

/* card contents */
.notif { min-width: 12rem; }
.notif-top {
  display: flex; justify-content: space-between;
  font-size: 0.68rem; font-weight: 700; opacity: 0.75;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.notif-title { font-weight: 800; font-size: 0.95rem; }
.notif-body { font-weight: 500; opacity: 0.9; }

.bubble-q { font-size: 0.95rem; font-weight: 800; max-width: 11rem; }

.booked-line { font-weight: 800; font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem; }
.booked-line .check {
  background: var(--ink); color: var(--green);
  border-radius: 50%; width: 1.3rem; height: 1.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
.booked-sub { font-weight: 700; opacity: 0.75; margin-top: 0.15rem; }

.chan-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.chan-chips { display: flex; gap: 0.35rem; flex-wrap: wrap; max-width: 12rem; }
.chan-chip {
  background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 0.18rem 0.6rem;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}

.card-chip .hero-card-inner {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  filter: drop-shadow(3px 3px 0 rgba(20, 20, 20, 0.9));
}

/* desktop positions — the small chips hug the headline's flanks,
   anchored to the page center so they slide outward (and eventually
   peek off-canvas) instead of colliding with the text at mid widths */
.pos-1 { top: 4%;  left: 3%; }
.pos-2 { top: 6%;  right: 5%; }
.pos-3 { bottom: 26%; left: 6%; }
.pos-4 { bottom: 22%; right: 4%; }
.pos-5 { top: 48%; left: calc(50% - 37rem); }
.pos-6 { top: 40%; right: calc(50% - 37rem); }

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 5;
  margin: 3.2rem 0 0 calc(50% - 52vw);
  width: 104vw;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  transform: rotate(-1.2deg);
  border-top: var(--border-card);
  border-bottom: var(--border-card);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 0.55rem 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: tick 32s linear infinite;
}

.ticker-track span { white-space: nowrap; }

@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  position: relative;
  padding: 4.5rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-sub {
  max-width: 36rem;
  margin: 1.1rem auto 0;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 500;
}

/* ---------- scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.32s ease,
    transform 0.32s var(--ease-pop);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) rotate(var(--rot, 0deg));
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-section { padding-top: 4rem; }

.video-frame {
  margin: 2.2rem auto 0;
  max-width: 46rem;
  background: var(--white);
  border: var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.video-chrome {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-bottom: var(--border-card);
  background: var(--bg);
}

.chrome-dot {
  width: 0.65rem; height: 0.65rem; border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.chrome-dot:nth-child(1) { background: var(--pink); }
.chrome-dot:nth-child(2) { background: var(--yellow); }
.chrome-dot:nth-child(3) { background: var(--green); }

.video-body {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    repeating-linear-gradient(-45deg,
      rgba(20,20,20,0.035) 0 14px, transparent 14px 28px),
    var(--bg);
}

.placeholder-badge {
  position: absolute;
  top: 0.8rem; left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  border: var(--border-card);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  width: max-content;
  max-width: 86%;
}

.play-wrap {
  position: relative;
  display: inline-flex;
}

.play-btn {
  position: relative;
  width: 4.6rem; height: 4.6rem;
  border-radius: 50%;
  background: var(--purple);
  border: var(--border-card);
  filter: drop-shadow(4px 4px 0 rgba(20, 20, 20, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--speed) var(--ease-pop), filter var(--speed) ease, background var(--speed) ease;
}

.play-btn:hover {
  transform: translate(-2px, -2px) scale(1.05);
  filter: drop-shadow(6px 6px 0 rgba(20, 20, 20, 0.9));
  background: var(--purple-deep);
}

.play-btn svg { width: 2rem; height: 2rem; fill: var(--white); margin-left: 0.2rem; }

.play-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  animation: ringPulse 2.2s ease-out infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.video-caption {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.75;
  padding: 0 1.5rem;
  text-align: center;
}

/* ============================================================
   DEMO — three phones
   ============================================================ */
.demo-section { max-width: 78rem; }

.demo-panels {
  margin-top: 2.6rem;
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  align-items: flex-start;
}

.demo-panel {
  flex: 0 0 auto;
  width: min(19.5rem, 84vw);
}

.panel-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  padding-left: 0.3rem;
}

.label-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.dot-purple { background: var(--purple); }
.dot-green  { background: var(--green); }
.dot-pink   { background: var(--pink); }

/* phone frame */
.phone {
  position: relative;
  border: var(--border-card);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--speed) var(--ease-pop), box-shadow var(--speed) ease;
}

.phone:hover {
  transform: translateY(-4px);
  box-shadow: 9px 9px 0 rgba(20,20,20,0.9);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1.5px solid rgba(20,20,20,0.12);
}

.chat-header-text { line-height: 1.2; text-align: left; }
.chat-header-text strong { display: block; font-size: 0.86rem; font-weight: 800; }
.chat-header-text em { font-style: normal; font-size: 0.7rem; opacity: 0.75; }

.avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex: 0 0 auto;
}

/* per-channel skins */
.web-header { background: var(--purple); color: var(--white); }
.web-header em { color: rgba(255,255,255,0.85); }
.avatar-web { background: var(--white); color: var(--purple); }

.wa-header { background: #075E54; color: var(--white); }
.wa-header em { color: rgba(255,255,255,0.85); }
.avatar-wa { background: #25D366; color: #05301f; }

.ig-header { background: var(--white); color: var(--ink); }
.avatar-ig {
  background: linear-gradient(45deg, #FFC03D, #FF3F7A, #B93BEF);
  padding: 2px;
}
.avatar-ig span {
  background: var(--white);
  color: var(--ink);
  width: 100%; height: 100%;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}

.phone-wa .chat-body { background: #ECE5DD; }
.phone-ig .chat-body { background: var(--white); }
.phone-web .chat-body { background: #F7F6FB; }

/* chat body + messages
   (live-chat integration: overflow-y auto so a real conversation can
   scroll — the old `hidden` was for the fixed-length scripted demo;
   the web panel's extra top padding/height compensated for the removed
   placeholder badge and is normalized to match the other panels) */
.chat-body {
  height: 25rem;
  padding: 0.9rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow-y: auto;
}

.msg {
  display: none;
  flex-direction: column;
  max-width: 85%;
  font-size: 0.8rem;
  line-height: 1.35;
}

.msg.is-shown { display: flex; animation: msgIn 0.28s var(--ease-pop); }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.msg p {
  padding: 0.5rem 0.7rem;
  border-radius: 14px;
  font-weight: 500;
  text-align: left;
}

.msg time {
  font-size: 0.62rem;
  opacity: 0.6;
  margin-top: 0.18rem;
  font-weight: 700;
}

.from-customer { align-self: flex-end; align-items: flex-end; }
.from-bot { align-self: flex-start; align-items: flex-start; }

/* website widget skin */
.phone-web .from-customer p { background: var(--purple); color: var(--white); border-bottom-right-radius: 4px; }
.phone-web .from-bot p { background: var(--white); border: 1.5px solid rgba(20,20,20,0.12); border-bottom-left-radius: 4px; }

/* whatsapp skin */
.phone-wa .from-customer p { background: #DCF8C6; border-bottom-right-radius: 4px; }
.phone-wa .from-bot p { background: var(--white); border-bottom-left-radius: 4px; }

/* instagram skin */
.phone-ig .from-customer p {
  background: linear-gradient(135deg, #7B5CFA, #C13BD6);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.phone-ig .from-bot p { background: #EFEFEF; border-bottom-left-radius: 4px; }

/* booked chip */
.status-chip { align-self: center; max-width: 95%; margin-top: 0.2rem; }
.status-chip p {
  background: var(--green);
  border: var(--border-card);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.32rem 0.8rem;
  text-align: center;
}

/* typing indicator */
.typing {
  display: none;
  align-self: flex-start;
  gap: 0.25rem;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: rgba(20,20,20,0.08);
}

.typing.on { display: inline-flex; }

.typing span {
  width: 0.38rem; height: 0.38rem;
  border-radius: 50%;
  background: rgba(20,20,20,0.55);
  animation: typingDot 1s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

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

.demo-note {
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.75;
  max-width: 32rem;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-cards {
  margin-top: 2.6rem;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.how-card {
  border: var(--border-card);
  border-radius: var(--radius);
  filter: drop-shadow(6px 6px 0 rgba(20, 20, 20, 0.9));
  padding: 1.6rem 1.5rem 1.5rem;
  transition:
    opacity 0.32s ease,
    transform 0.32s var(--ease-pop),
    filter var(--speed) ease;
  transition-delay: calc(var(--stagger, 0) * 90ms), calc(var(--stagger, 0) * 90ms), 0ms;
}

.how-card:hover {
  transform: translateY(-5px) rotate(var(--rot, 0deg)) !important;
  filter: drop-shadow(9px 9px 0 rgba(20, 20, 20, 0.9));
}

.how-card.card-yellow { background: var(--yellow); }
.how-card.card-cyan   { background: var(--cyan); }
.how-card.card-green  { background: var(--green); }

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.how-card p { font-weight: 500; font-size: 0.95rem; }

/* ============================================================
   TRUST / OBJECTIONS
   ============================================================ */
.trust-rows {
  margin: 2.6rem auto 0;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.trust-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--white);
  border: var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-sm);
  padding: 1.3rem 1.4rem;
}

.trust-icon {
  flex: 0 0 auto;
  width: 2.8rem; height: 2.8rem;
  border-radius: 12px;
  border: var(--border-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.icon-pink  { background: var(--pink); }
.icon-cyan  { background: var(--cyan); }
.icon-green { background: var(--green); }

.trust-row h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.trust-row p { font-weight: 500; font-size: 0.95rem; }

/* ============================================================
   PRICE + FINAL CTA
   ============================================================ */
.price-section { max-width: 60rem; padding-bottom: 5rem; }

.price-panel {
  background: var(--ink);
  color: var(--bg);
  border-radius: 24px;
  border: var(--border-card);
  box-shadow: 8px 8px 0 var(--purple);
  padding: 3.2rem 1.6rem;
  text-align: center;
}

.price-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.price-line {
  margin-top: 1.4rem;
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  font-weight: 700;
}

.price-line strong {
  color: var(--yellow);
  font-size: 1.35em;
  font-family: var(--font-display);
  font-weight: 400;
  padding: 0 0.1em;
}

.price-sub {
  margin-top: 0.5rem;
  font-weight: 500;
  opacity: 0.85;
}

.price-panel .btn { margin-top: 1.9rem; }

.price-hint {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  opacity: 0.65;
  font-weight: 500;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border: var(--border-card);
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  transition:
    transform var(--speed) var(--ease-pop),
    filter var(--speed) ease,
    background var(--speed) ease;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  filter: drop-shadow(5px 5px 0 rgba(20, 20, 20, 0.9));
}

.btn-primary:hover {
  background: var(--purple-deep);
  transform: translate(-2px, -3px) rotate(-1deg);
  filter: drop-shadow(8px 9px 0 rgba(20, 20, 20, 0.9));
}

.btn-primary:active {
  transform: translate(2px, 2px);
  filter: drop-shadow(2px 2px 0 rgba(20, 20, 20, 0.9));
}

.btn-big { font-size: 1.15rem; padding: 1.05rem 2.2rem; }

.price-panel .btn-primary { filter: drop-shadow(5px 5px 0 rgba(243, 244, 241, 0.35)); }
.price-panel .btn-primary:hover { filter: drop-shadow(8px 9px 0 rgba(243, 244, 241, 0.45)); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  border-top: var(--border-card);
  background: var(--white);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer-line { font-weight: 700; margin-top: 0.3rem; }

.footer-note {
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.8;
  max-width: 26rem;
  margin: 0.8rem auto 0;
}

.footer-copy { font-size: 0.8rem; opacity: 0.6; margin-top: 0.8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- mobile: tame the scatter, stack the phones as a snap carousel --- */
@media (max-width: 899px) {
  .pos-2, .pos-4, .pos-5 { display: none; }

  .hero { padding-top: 2.6rem; }

  .pos-1 { top: 0.5%; left: -1.5rem; transform: rotate(var(--rot)) scale(0.8); }
  .pos-3 {
    bottom: 4.9rem;
    left: 50%;
    transform: translateX(-50%) rotate(var(--rot)) scale(0.85);
  }
  .pos-6 { top: 2%; right: -1.2rem; transform: rotate(var(--rot)) scale(0.82); }

  .hero-content { padding-top: 4.2rem; padding-bottom: 6.5rem; }

  .demo-panels {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1rem 1.6rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    scrollbar-width: none;
  }

  .demo-panels::-webkit-scrollbar { display: none; }

  .demo-panel {
    scroll-snap-align: center;
    width: min(18.5rem, 78vw);
  }
}

/* --- desktop --- */
@media (min-width: 900px) {
  .hero { padding-top: 5.5rem; }
  .hero-content { padding: 2rem 0 3rem; }

  .how-cards { grid-template-columns: repeat(3, 1fr); }

  .section { padding: 5.5rem 2rem; }

  .price-panel { padding: 4rem 2rem; }
}

/* ============================================================
   REDUCED MOTION — everything settles instantly
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .hero-title .line span { transform: none; animation: none; }
  .hero-sub, .hero-cta, .hero-eyebrow { opacity: 1; animation: none; }
  .hero-card-inner { transform: scale(1); animation: none; }
  .blob { animation: none; }
  .ticker-track { animation: none; }
  .play-ring { display: none; }

  .reveal { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); transition: none; }
  .msg { display: flex; }
  .typing { display: none !important; }
}

/* ============================================================
   LIVE CHAT INTEGRATION — additive rules only, built from the
   page's existing tokens. No restyling of existing elements.
   ============================================================ */

.dot-yellow { background: var(--yellow); }

/* ---------- chat input rows (one per phone, per-skin) ---------- */
.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border-top: 1.5px solid rgba(20, 20, 20, 0.12);
  background: var(--white);
}

.chat-input-row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.8rem;
  border: 1.5px solid rgba(20, 20, 20, 0.25);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  color: var(--ink);
}

.chat-input-row input:focus { border-color: var(--ink); }
.chat-input-row input:disabled { opacity: 0.55; }

.chat-input-row button {
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0 0.95rem;
  color: var(--white);
  transition: transform var(--speed) var(--ease-pop);
}

.chat-input-row button:hover:not(:disabled) { transform: translateY(-1px); }
.chat-input-row button:disabled { opacity: 0.55; cursor: not-allowed; }

.phone-web .chat-input-row button { background: var(--purple); }

.phone-wa .chat-input-row { background: #F0F0F0; }
.phone-wa .chat-input-row input { border-color: transparent; }
.phone-wa .chat-input-row button {
  background: #25D366;
  color: #05301f;
  width: 2.15rem;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 auto;
}

.phone-ig .chat-input-row button { background: linear-gradient(135deg, #7B5CFA, #C13BD6); }

/* ---------- suggested-question chips (empty state) ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-self: flex-start;
  max-width: 92%;
}

.chip {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
  transition: transform var(--speed) var(--ease-pop), background var(--speed) ease;
}

.chip:hover { transform: translateY(-2px); background: var(--yellow); }

/* ---------- business owner view ---------- */
.owner-wrap {
  margin: 2.4rem auto 0;
  max-width: 60rem;
}

.owner-view {
  background: var(--white);
  border: var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .owner-view { grid-template-columns: 3fr 2fr; }
}

.owner-half h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}

.owner-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.6rem, 1fr));
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.owner-day-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.owner-slot {
  text-align: center;
  border-radius: 8px;
  padding: 0.28rem 0.2rem;
  margin-bottom: 0.3rem;
  border: 1.5px solid rgba(20, 20, 20, 0.15);
}

.owner-slot.free { background: var(--green); border-color: var(--ink); }
.owner-slot.taken {
  background: rgba(20, 20, 20, 0.06);
  color: rgba(20, 20, 20, 0.45);
  text-decoration: line-through;
}

.owner-activity {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  max-height: 18rem;
  overflow-y: auto;
}

.owner-event {
  background: var(--bg);
  border: 1.5px solid rgba(20, 20, 20, 0.15);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}

.owner-event time {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.6;
  margin-top: 0.15rem;
}

.owner-empty { opacity: 0.65; font-size: 0.85rem; }

/* ---------- mobile tap-to-expand (website panel only) ---------- */
.expand-close {
  display: none;
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: var(--border-card);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 899px) {
  .phone-web.expanded {
    position: fixed;
    inset: 0;
    z-index: 200;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
  }

  .phone-web.expanded .chat-body {
    flex: 1;
    height: auto;
  }

  .phone-web.expanded .expand-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.chat-expanded { overflow: hidden; }
}
