/* =========================================================
   CareCloser.ai — Design System
   Warm minimalist, caring but determined.
   ========================================================= */

:root {
  /* Color */
  --bg: #FFFFFF;
  --bg-alt: #F0F2F6;
  --card: #FDFBF7;
  --ink: #211D1A;
  --ink-muted: #5B564F;
  --ink-faint: #8A8479;
  --line: rgba(33, 29, 26, 0.13);
  --line-strong: rgba(33, 29, 26, 0.22);

  --accent: #1E3A8A;
  --accent-dark: #162A63;
  --accent-tint: #DEE2EF;
  --accent-tint-line: #BCC4DC;

  --accent2: #3D5A50;
  --accent2-tint: #DCE6E1;

  --dark: #131A2E;
  --dark-elevated: #1D2540;
  --dark-ink: #F4F6FA;
  --dark-ink-muted: #B9C0D0;
  --dark-line: rgba(244, 246, 250, 0.14);

  --success: #3D5A50;
  --warn: #954826;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(33, 29, 26, 0.06), 0 1px 1px rgba(33, 29, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(33, 29, 26, 0.08), 0 2px 8px rgba(33, 29, 26, 0.05);
  --shadow-lg: 0 20px 60px rgba(33, 29, 26, 0.14), 0 4px 16px rgba(33, 29, 26, 0.06);

  --container: 1180px;
  --container-narrow: 780px;

  color-scheme: light;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.2rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-muted);
  line-height: 1.65;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; }

/* =========================================================
   Layout helpers
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 6.5rem 0; }
.section-sm { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--dark-ink); }
.section-dark .lede { color: var(--dark-ink-muted); }

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-sm { gap: 0.6rem; }
.gap-md { gap: 1.2rem; }
.gap-lg { gap: 2rem; }

.divider { height: 1px; background: var(--line); border: none; width: 100%; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(33,29,26,0.04); }

.btn-light {
  background: var(--dark-ink);
  color: var(--dark);
}
.btn-light:hover { background: #FFFFFF; transform: translateY(-1px); }

.btn-on-dark {
  background: transparent;
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.btn-on-dark:hover { border-color: var(--dark-ink); background: rgba(247,243,237,0.06); }

.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, gap 0.15s ease, color 0.15s ease;
}
.link-arrow:hover { border-color: var(--ink); gap: 0.6rem; }
.link-arrow svg { width: 15px; height: 15px; flex: none; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 237, 0.86);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  flex: none;
}
.logo-img { height: 47px; width: auto; display: block; }

/* Light backing chip so the logo stays legible on dark sections (footer) */
.logo-on-dark {
  background: var(--dark-ink);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-md);
}
.logo-on-dark .logo-img { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active,
.nav-links .nav-drop-toggle.active { color: var(--ink); }
.nav-links a.active::after,
.nav-links .nav-drop-toggle.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--accent);
}

/* Desktop "Who It's For" dropdown */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: none;
  border: none;
  padding: 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav-drop-toggle:hover { color: var(--ink); }
.nav-drop-toggle .chev { width: 13px; height: 13px; transition: transform 0.2s ease; }
.nav-drop.open .nav-drop-toggle .chev { transform: rotate(180deg); }
.nav-drop::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 16px; }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 300px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 90;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: normal;
  line-height: 1.35;
}
.nav-drop-menu a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-drop-menu a.current { color: var(--accent); font-weight: 700; }
.nav-drop-menu a.overview {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 0.35rem;
  padding-bottom: 0.7rem;
}

.header-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 2rem 28px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav .header-cta { margin-top: 2rem; flex-direction: column; align-items: stretch; }

/* Mobile "Who It's For" expandable group */
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  padding: 0.65rem 0;
  color: var(--ink);
  background: none;
  border: none;
  text-align: left;
}
.mnav-group-toggle .chev { width: 22px; height: 22px; flex: none; transition: transform 0.2s ease; }
.mnav-group.open .mnav-group-toggle .chev { transform: rotate(180deg); }
.mnav-group-list { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mnav-group.open .mnav-group-list { max-height: 640px; }
.mnav-group-list a {
  display: block;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  padding: 0.55rem 0 0.55rem 0.25rem;
  color: var(--ink-muted);
  border-bottom: none;
}
.mnav-group-list a:first-child { font-weight: 700; color: var(--ink); }
.mnav-group-list a.current { color: var(--accent); }

body.nav-open { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 5.5rem 0 6rem; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { margin-top: 1.1rem; }
.hero .lede { margin-top: 1.4rem; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero-proof { margin-top: 3rem; }
.hero-proof p { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.logo-row { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; opacity: 0.75; }
.logo-row .logo-chip {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-faint);
}

/* Abstract hero visual (placeholder, CSS-built, no stock imagery) */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-blob {
  position: absolute;
  inset: 6%;
  border-radius: 42% 58% 63% 37% / 41% 45% 55% 59%;
  background: linear-gradient(155deg, var(--accent-tint) 0%, var(--bg-alt) 60%, var(--accent2-tint) 100%);
  border: 1px solid var(--line);
}
.hv-card {
  position: relative;
  width: 82%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
}
.hv-card-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.hv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent2); }
.hv-card-head span { font-size: 0.8rem; font-weight: 600; color: var(--ink-muted); }
.hv-bubble {
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  margin-bottom: 0.6rem;
  max-width: 88%;
}
.hv-bubble.in { background: var(--bg-alt); color: var(--ink-muted); }
.hv-bubble.out { background: var(--accent); color: #fff; margin-left: auto; }
.hv-metric-row { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.hv-metric {
  flex: 1;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
}
.hv-metric b { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.hv-metric span { font-size: 0.72rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.hv-float {
  position: absolute;
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.hv-float.a { top: -3%; right: -4%; }
.hv-float.b { bottom: -3%; left: -6%; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.hv-float .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent2);
  box-shadow: 0 0 0 0 rgba(61,90,80,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61,90,80,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(61,90,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,90,80,0); }
}

/* =========================================================
   Chat demo — live-feeling conversation widget
   Reusable: powers the hero and every practice-page sample chat
   ========================================================= */
.chat-demo { display: flex; flex-direction: column; }
.chat-demo-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.chat-demo-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  overflow: hidden;
}
.chat-demo-avatar img { width: 22px; height: auto; display: block; }
.chat-demo-title { flex: 1; min-width: 0; }
.chat-demo-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-demo-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--ink-faint);
}
.chat-demo-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  flex: none;
  box-shadow: 0 0 0 0 rgba(61,90,80,0.5);
  animation: pulse 2s infinite;
}
.chat-demo-replay {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.75rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chat-demo-replay:hover { border-color: var(--ink); color: var(--ink); }
.chat-demo-replay svg { width: 12px; height: 12px; }

.chat-demo-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 260px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}
.chat-demo-body::-webkit-scrollbar { display: none; }

.chat-msg {
  max-width: 86%;
  animation: chatIn 0.32s ease both;
}
.chat-msg.in { align-self: flex-start; }
.chat-msg.out { align-self: flex-end; }
.chat-bubble {
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  font-size: 0.85rem;
  line-height: 1.45;
}
.chat-msg.in .chat-bubble { background: var(--bg-alt); color: var(--ink-muted); border-bottom-left-radius: 4px; }
.chat-msg.out .chat-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-time {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-faint);
  margin-top: 0.3rem;
}
.chat-msg.out .chat-msg-time { text-align: right; }

.chat-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  padding: 0.8rem 1rem;
  animation: chatIn 0.32s ease both;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  animation: chatTyping 1.1s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-msg, .chat-typing { animation: none; }
  .chat-demo-status .dot { animation: none; }
}

/* =========================================================
   Cards / Features
   ========================================================= */
.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.photo-card img { width: 100%; height: 100%; display: block; object-fit: cover; }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.15s ease;
}
.card:hover .card-cta { gap: 0.55rem; }
.card-cta svg { width: 13px; height: 13px; }

/* Jump-to select (Who It's For hub) */
.jump-select-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.jump-select-label { font-weight: 700; font-size: 0.95rem; color: var(--ink); flex: none; }
.select-wrap { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.85rem 2.6rem 0.85rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.select-wrap select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.select-wrap .select-chev {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--ink-faint);
  pointer-events: none;
}

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  margin-bottom: 1.4rem;
}
.icon-tile svg { width: 22px; height: 22px; color: var(--accent); }
.icon-tile.alt { background: var(--accent2-tint); }
.icon-tile.alt svg { color: var(--accent2); }

.feature-card h3 { margin-bottom: 0.7rem; font-size: 1.3rem; }
.feature-card p { color: var(--ink-muted); font-size: 0.97rem; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--accent-tint);
  color: var(--accent-dark);
}
.tag.alt { background: var(--accent2-tint); color: var(--accent2); }
.tag.dark { background: var(--dark-elevated); color: var(--dark-ink); }
.tag.sm { padding: 0.2rem 0.55rem; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }

.card.is-upcoming .icon-tile { opacity: 0.5; }
.card.is-upcoming h4 { color: var(--ink-muted); }
.card.is-upcoming h4 .tag { vertical-align: middle; margin-left: 0.5rem; }

/* =========================================================
   Stats
   ========================================================= */
.stat-block b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  color: var(--ink);
}
.stat-block span { color: var(--ink-muted); font-size: 0.92rem; }
.section-dark .stat-block span { color: var(--dark-ink-muted); }

/* =========================================================
   Steps (How it works)
   ========================================================= */
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.6rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-muted); max-width: 560px; }

/* =========================================================
   Ramp-up chart (How it works)
   ========================================================= */
.ramp-chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem 2.2rem 1.4rem;
}
.ramp-chart { width: 100%; height: auto; display: block; }
.ramp-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-faint);
}

/* =========================================================
   Commitment band
   ========================================================= */
.commitment-band {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem;
}
.commitment-band .icon-tile { margin-bottom: 0; flex: none; }
.commitment-band p { color: var(--ink-muted); }
@media (max-width: 640px) {
  .commitment-band { flex-direction: column; }
}

/* =========================================================
   Testimonial / Quote
   ========================================================= */
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
}
.quote-card p.quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
}
.quote-person { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent2-tint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--accent2);
  flex: none;
}
.quote-person div span { display: block; }
.quote-person .name { font-weight: 600; font-size: 0.94rem; }
.quote-person .role { font-size: 0.84rem; color: var(--ink-faint); }
.stars { display: flex; gap: 3px; margin-bottom: 1.1rem; }
.stars svg { width: 15px; height: 15px; color: var(--accent); }

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  gap: 1rem;
}
.faq-q .plus {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 10px; height: 1.4px; }
.faq-q .plus::after { width: 1.4px; height: 10px; transition: opacity 0.2s ease; }
.faq-item.open .plus { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.faq-item.open .plus::before, .faq-item.open .plus::after { background: #fff; }
.faq-item.open .plus::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding-bottom: 1.5rem; color: var(--ink-muted); max-width: 640px; }

/* =========================================================
   Tables (Compare / Pricing)
   ========================================================= */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
table.compare thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-alt);
}
table.compare thead th:first-child { border-top-left-radius: var(--radius-lg); }
table.compare thead th:last-child { border-top-right-radius: var(--radius-lg); }
table.compare tbody th { font-weight: 600; color: var(--ink-muted); font-size: 0.9rem; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: none; }
table.compare td.highlight { background: rgba(30, 58, 138, 0.06); }
.check { color: var(--success); }
.cross { color: var(--ink-faint); }

/* Pricing */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  background: var(--dark);
  color: var(--dark-ink);
  border-color: var(--dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.pricing-card.featured h3, .pricing-card.featured h4 { color: var(--dark-ink); }
.pricing-card.featured .price-sub, .pricing-card.featured p { color: var(--dark-ink-muted); }
.pricing-card.featured .pricing-feature { border-color: var(--dark-line); }
.pricing-card.featured .pricing-feature svg { color: var(--accent-tint); }
.pricing-badge {
  position: absolute;
  top: -14px; left: 2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}
.price-name { font-size: 1rem; font-weight: 600; color: var(--ink-muted); }
.pricing-card.featured .price-name { color: var(--dark-ink-muted); }
.price-value { font-family: var(--font-display); font-size: 3.2rem; margin: 0.6rem 0 0.2rem; }
.price-sub { font-size: 0.88rem; color: var(--ink-faint); margin-bottom: 1.6rem; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
}
.pricing-feature svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.pricing-card .btn { margin-top: 1.8rem; }

/* Billing toggle — segmented control */
.billing-toggle {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem;
}
.billing-switch {
  display: inline-flex;
  align-items: stretch;
  gap: 3px;
  padding: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}
.billing-opt {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.billing-opt:hover { color: var(--ink); }
.billing-opt.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.billing-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.billing-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.55rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.billing-opt.is-active .billing-tag { background: var(--accent); color: #fff; }
@media (max-width: 460px) {
  .billing-opt { padding: 0.55rem 1rem; font-size: 0.86rem; gap: 0.4rem; }
  .billing-tag { font-size: 0.62rem; padding: 0.18rem 0.42rem; }
}

/* =========================================================
   Forms
   ========================================================= */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink-muted); }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 0.96rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); }

.newsletter-row { display: flex; gap: 0.6rem; max-width: 380px; }
.newsletter-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--dark-line);
  background: var(--dark-elevated);
  color: var(--dark-ink);
  font-size: 0.9rem;
}
.newsletter-row input::placeholder { color: var(--dark-ink-muted); }
.newsletter-row input:focus { outline: none; border-color: var(--accent-tint); }
.newsletter-row button {
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  flex: none;
  transition: background 0.15s ease;
}
.newsletter-row button:hover { background: var(--accent-dark); }
.form-status { font-size: 0.85rem; margin-top: 0.5rem; min-height: 1.2em; }
.form-status.ok { color: var(--accent2); }
.form-status.error { color: #C0392B; }

/* Honeypot — present in the DOM for bots, invisible and unreachable for people */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =========================================================
   Tabs (radio-driven, no JS)
   ========================================================= */
.tab-input { position: absolute; opacity: 0; pointer-events: none; }
.tab-nav { display: flex; gap: 0.6rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.tab-label {
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
}
.tab-label:hover { border-color: var(--ink); }
.tab-panel { display: none; }
#tab-instagram:checked ~ .tab-panels #panel-instagram,
#tab-chat:checked ~ .tab-panels #panel-chat,
#tab-sms:checked ~ .tab-panels #panel-sms { display: block; }
#tab-instagram:checked ~ .tab-nav label[for="tab-instagram"],
#tab-chat:checked ~ .tab-nav label[for="tab-chat"],
#tab-sms:checked ~ .tab-nav label[for="tab-sms"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 220px;
}
.mockup-list { display: flex; flex-direction: column; gap: 0.7rem; }
.mockup-row { display: flex; align-items: center; gap: 0.8rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.88rem; }
.mockup-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); flex: none; }
.mockup-bar { height: 10px; border-radius: 5px; background: var(--line-strong); flex: 1; }
.mockup-bar.short { max-width: 40%; }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 480px; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Live-demo CTA — centered panel inviting visitors to message the agent */
.demo-cta {
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-tint-line);
  padding: clamp(2.6rem, 5vw, 4.2rem) 1.75rem;
  background: linear-gradient(155deg, var(--accent-tint) 0%, var(--bg-alt) 55%, var(--accent2-tint) 100%);
}
.demo-cta .eyebrow { justify-content: center; margin-bottom: 1.1rem; }
.demo-cta h2 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.08;
}
.demo-cta h2 .accent { color: var(--accent); }
.demo-cta .lede { max-width: 560px; margin: 1.2rem auto 0; }
.demo-cta .hero-actions { justify-content: center; margin-top: 2.3rem; }
.demo-cta-checks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.demo-cta-checks li { display: inline-flex; align-items: center; gap: 0.45rem; }
.demo-cta-checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: var(--accent2);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: 5rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.footer-brand p { color: var(--dark-ink-muted); font-size: 0.92rem; margin-top: 1rem; max-width: 260px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; font-family: var(--font-body); color: var(--dark-ink-muted); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { font-size: 0.92rem; color: var(--dark-ink); opacity: 0.85; transition: opacity 0.15s ease; }
.footer-col a:hover { opacity: 1; }
.footer-newsletter h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--dark-ink-muted); margin-bottom: 1rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-line);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.84rem; color: var(--dark-ink-muted); }
.footer-legal { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-parent a { color: var(--dark-ink); opacity: 0.85; text-decoration: underline; text-underline-offset: 2px; transition: opacity 0.15s ease; }
.footer-parent a:hover { opacity: 1; }
.social-row { display: flex; gap: 0.9rem; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.social-row a:hover { border-color: var(--dark-ink); background: var(--dark-elevated); }
.social-row svg { width: 16px; height: 16px; }

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .current { color: var(--ink-muted); font-weight: 600; }

.page-header { padding: 4.5rem 0 4rem; }
.page-header .eyebrow { margin-bottom: 1rem; }
.page-header h1 { max-width: 780px; }
.page-header .lede { max-width: 620px; margin-top: 1.3rem; }

/* =========================================================
   Legal pages (Privacy / Terms)
   ========================================================= */
.legal-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.legal-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legal-meta svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 6rem;
}
.legal-toc { position: sticky; top: 100px; }
.legal-toc-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.legal-toc ol { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; counter-reset: none; padding: 0; }
.legal-toc a {
  display: block;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-left: 2px solid var(--line);
  line-height: 1.4;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.legal-toc a:hover { color: var(--ink); border-left-color: var(--accent); }

.legal-content { min-width: 0; max-width: 720px; }
.legal-intro { font-size: 0.98rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 2.5rem; }
.legal-section { scroll-margin-top: 100px; margin-bottom: 3rem; }
#contact { scroll-margin-top: 90px; }
.legal-section h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  padding-bottom: 0.8rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.legal-section h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.7rem 0 0.6rem;
}
.legal-section h3:first-of-type { margin-top: 0.5rem; }
.legal-section p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 0.9rem; }
.legal-section p strong { color: var(--ink); }
.legal-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-section ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin: 0.6rem 0 1.2rem; }
.legal-section ul li { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.65; padding-left: 1.3rem; position: relative; }
.legal-section ul li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.legal-section ul li strong { color: var(--ink); }

.legal-callout, .legal-warning {
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 0.4rem 0 1.3rem;
  border: 1px solid;
}
.legal-callout { background: var(--accent-tint); border-color: var(--accent-tint-line); }
.legal-callout p { color: var(--ink); font-size: 0.92rem; font-style: italic; margin: 0; }
.legal-warning { background: var(--accent2-tint); border-color: #E2BFA0; }
.legal-warning p { color: var(--ink); font-size: 0.92rem; margin: 0; }
.legal-warning strong { color: var(--accent2); }

.legal-contact-box {
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  margin-top: 1rem;
}
.legal-contact-box .legal-contact-name { color: var(--dark-ink); font-weight: 700; margin-bottom: 0.7rem; font-size: 1rem; }
.legal-contact-box p { color: var(--dark-ink-muted); font-size: 0.92rem; line-height: 2; margin: 0; }
.legal-contact-box a { color: var(--accent-tint); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* =========================================================
   Utility
   ========================================================= */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; } .mt-4 { margin-top: 4rem; }
.text-muted { color: var(--ink-muted); }
.text-faint { color: var(--ink-faint); }
.w-full { width: 100%; }
.badge-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hidden { display: none; }

/* =========================================================
   Booking slot picker
   ========================================================= */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.slot {
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.day-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; overflow-x: auto; }
.day-pill {
  flex: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--ink-muted);
}
.day-pill.active { background: var(--ink); color: #fff; }

.expect-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.expect-item:last-child { border-bottom: 1px solid var(--line); }
.expect-num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .cta-band { padding: 2.4rem; flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 0.6rem; }
  .pricing-card.featured { transform: none; }
  .hv-float { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   Exit-intent popup
   ========================================================= */
body.popup-open { overflow: hidden; }

.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 26, 46, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.exit-popup-overlay.open { opacity: 1; visibility: visible; }
.exit-popup-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  padding: 2.6rem 2.2rem 2.2rem;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}
.exit-popup-overlay.open .exit-popup-card { transform: translateY(0) scale(1); }
.exit-popup-card .eyebrow { justify-content: center; }
.exit-popup-card h3 { margin: 0.6rem 0 0.6rem; }
.exit-popup-lede { color: var(--ink-muted); margin: 0 0 1.4rem; }
.exit-popup-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.exit-popup-close:hover { background: var(--bg-alt); color: var(--ink); }
.exit-popup-field-row { display: flex; gap: 0.6rem; }
.exit-popup-field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.92rem;
  font-family: var(--font-body);
}
.exit-popup-field-row input[type="email"]:focus { outline: none; border-color: var(--accent-tint-line); }
.exit-popup-field-row button {
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  flex: none;
  transition: background 0.15s ease;
}
.exit-popup-field-row button:hover { background: var(--accent-dark); }
.exit-popup-card .form-status { text-align: center; }

@media (max-width: 520px) {
  .exit-popup-field-row { flex-direction: column; }
  .exit-popup-field-row button { width: 100%; }
}

/* =========================================================
   Try It Live — floating CTA (all pages) + channel picker page
   ========================================================= */
.try-live-fab {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.2rem 0.8rem 1rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(19, 26, 46, 0.30), 0 3px 10px rgba(19, 26, 46, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.try-live-fab:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(19, 26, 46, 0.36), 0 4px 12px rgba(19, 26, 46, 0.2);
}
.try-live-fab svg { width: 20px; height: 20px; flex: none; }
.try-live-fab-dot {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ADE80;
  border: 2px solid var(--accent);
}
@media (max-width: 560px) {
  .try-live-fab { right: 14px; bottom: 78px; padding: 0.75rem; }
  .try-live-fab-label { display: none; }
  .try-live-fab svg { width: 22px; height: 22px; }
  .try-live-fab-dot { border-color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .try-live-fab, .try-live-fab:hover { transition: none; transform: none; }
}

.pick-app-hero { padding: 4.5rem 0 6rem; }
.pick-app-hero .lede { max-width: 540px; margin-left: auto; margin-right: auto; }
.pick-app-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 460px;
  margin: 2.75rem auto 0;
}
.pick-app-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.pick-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.04);
}
.pick-app-btn.is-pending {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}
.pick-app-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pick-app-icon svg { width: 20px; height: 20px; display: block; }
.pick-app-whatsapp  { background: linear-gradient(135deg, #25D366, #128C7E); }
.pick-app-whatsapp  .pick-app-icon svg { color: #1EBE57; }
.pick-app-messenger { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.pick-app-messenger .pick-app-icon svg { color: #0084FF; }
.pick-app-instagram { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.pick-app-instagram .pick-app-icon svg { color: #DD2A7B; }
.pick-app-telegram  { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.pick-app-telegram  .pick-app-icon svg { color: #229ED9; }
.pick-app-note {
  max-width: 460px;
  margin: 1.9rem auto 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
  background: var(--accent2-tint);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  text-align: left;
}
@media (prefers-reduced-motion: reduce) {
  .pick-app-btn, .pick-app-btn:hover { transition: none; transform: none; }
}

/* =========================================================
   Product dashboard preview
   Dark app-style panel that mirrors the real CareCloser dashboard
   ========================================================= */
.dash-preview {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  color: var(--dark-ink);
}
.dash-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.dash-preview-head h3 { color: var(--dark-ink); font-size: 1.4rem; }
.dash-preview-head p { color: var(--dark-ink-muted); font-size: 0.86rem; margin-top: 0.3rem; }
.dash-range {
  display: flex;
  gap: 3px;
  flex: none;
  padding: 4px;
  background: var(--dark-elevated);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-full);
}
.dash-range span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dark-ink-muted);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}
.dash-range span.active { background: var(--accent); color: #fff; }

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
}
.dash-tile {
  background: var(--dark-elevated);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  padding: 0.9rem 0.95rem 0.8rem;
  min-width: 0;
}
.dash-tile-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark-ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-tile-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 0.4rem 0 0.2rem;
  color: var(--dark-ink);
}
.dash-tile-delta { font-size: 0.72rem; font-weight: 600; }
.dash-tile-delta.up { color: #5FBF9B; }
.dash-spark { width: 100%; height: 26px; margin-top: 0.55rem; display: block; overflow: visible; }

.dash-chart {
  margin-top: 1rem;
  background: var(--dark-elevated);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.2rem 0.9rem;
}
.dash-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.dash-chart-head h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-ink);
}
.dash-legend { display: flex; gap: 1rem; flex-wrap: wrap; }
.dash-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--dark-ink-muted);
}
.dash-legend span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dot, #8B7FD6);
  flex: none;
}
.dash-chart svg { width: 100%; height: auto; display: block; }
.dash-chart-grid { stroke: var(--dark-line); stroke-width: 1; }
.dash-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--dark-ink-muted);
}

.dash-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 1rem;
}
.dash-stat-row { margin-top: 3.5rem; }

@media (max-width: 860px) {
  .dash-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .dash-tiles { grid-template-columns: repeat(2, 1fr); }
  .dash-preview { padding: 1.1rem; }
  .dash-tile-value { font-size: 1.35rem; }
}
