/* =========================================================
   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); }

.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); }

/* =========================================================
   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; }

/* =========================================================
   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; }

/* =========================================================
   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-voice:checked ~ .tab-panels #panel-voice,
#tab-chat:checked ~ .tab-panels #panel-chat,
#tab-sms:checked ~ .tab-panels #panel-sms { display: block; }
#tab-voice:checked ~ .tab-nav label[for="tab-voice"],
#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; }

/* =========================================================
   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); }
.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; }

/* =========================================================
   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; order: -1; }
  .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%; }
}
