/* =========================================================
   Agentez — shared stylesheet
   Read DESIGN.md before changing tokens.
   ========================================================= */

:root {
  --bg-app: #FAF8F3;
  --bg-surface: #FFFFFF;
  --bg-elev: #F5F1E8;
  --ink: #171717;
  --ink-muted: #6B6B66;
  --ink-soft: #9A9892;
  --hairline: #E5E0D5;
  --hairline-strong: #CFC8B8;
  --accent: #00BFAE;
  --accent-deep: #008C82;
  --accent-bright: #00E5D8;
  --accent-soft: #E0F9F6;
  --accent-tint: #B8EFEA;
  --accent-grad: linear-gradient(135deg, #00E5D8 0%, #00FF9D 100%);
  --accent-grad-soft: linear-gradient(135deg, #E0F9F6 0%, #E5FFF0 100%);
  --ok: #0F6E56;
  --max: 1120px;
  --max-narrow: 880px;
  /* Square-cornered aesthetic — see "Square corners override" block below.
     Variables stay declared (don't delete) so future radii can be reintroduced. */
  --radius: 0;
  --radius-sm: 0;
  --radius-lg: 0;
  --shadow-sm: 0 1px 2px rgba(23,23,23,.04), 0 1px 1px rgba(23,23,23,.03);
  --shadow-md: 0 6px 24px -8px rgba(23,23,23,.10), 0 2px 6px rgba(23,23,23,.04);
  --shadow-lg: 0 24px 60px -20px rgba(23,23,23,.18), 0 6px 16px rgba(23,23,23,.05);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Agent brand colors (from Novaflow meta.ts) */
  --crm-bg: #EEEDFE;     --crm-fg: #534AB7;
  --gbp-bg: #E6F1FB;     --gbp-fg: #185FA5;
  --social-bg: #FBEAF0;  --social-fg: #993556;
  --leads-bg: #FAEEDA;   --leads-fg: #BA7517;
  --ads-bg: #FAECE7;     --ads-fg: #993C1D;
  --website-bg: #E1F5EE; --website-fg: #0F6E56;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-app);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  user-select: none;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.125rem; line-height: 1.3; }
h4 { font-size: 1rem; line-height: 1.3; font-weight: 500; }
p { margin: 0; }

a { color: inherit; text-decoration: none; }
a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a.inline:hover { color: var(--accent-deep); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 24px; }

.tabular { font-variant-numeric: tabular-nums; }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .82);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink);
}
.brand-logo {
  height: 32px; width: auto;
  display: block;
}
.brand-logo.sm { height: 26px; }
.brand-logo.md { height: 38px; }
.brand-logo.lg { height: 52px; }
@media (min-width: 720px) {
  .brand-logo { height: 36px; }
}

/* Inline wordmark — pure HTML/CSS for crisp scaling at any size.
   `direction: ltr` keeps the brackets in the right order on RTL pages;
   the wordmark is Latin-script and never mirrors. */
.wm {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  height: 30px;
  line-height: 1;
  direction: ltr;
}
.wm-br {
  display: inline-block;
  flex: 0 0 auto;
  width: 11px;
  border: 4px solid var(--ink);
  border-radius: 3px;
}
.wm-br-l { border-right: none; }
.wm-br-r { border-left: none; }
.wm-text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 30px;
  display: inline-flex;
  align-items: center;
  -webkit-text-stroke: 0.6px currentColor;
  text-stroke: 0.6px currentColor;
}
.wm-text .wm-ag { -webkit-text-stroke-color: var(--ink); }
.wm-text .wm-ez { -webkit-text-stroke-color: #2a6f6a; }
.wm-ag { color: var(--ink); }
.wm-ez { color: #2a6f6a; }
.wm.lg { height: 42px; }
.wm.lg .wm-br { width: 14px; border-width: 5px; border-radius: 4px; }
.wm.lg .wm-text { font-size: 36px; line-height: 42px; }
.wm.sm { height: 26px; }
.wm.sm .wm-br { width: 9px; border-width: 3px; border-radius: 3px; }
.wm.sm .wm-text { font-size: 22px; line-height: 26px; }

@media (min-width: 720px) {
  .wm { height: 34px; }
  .wm .wm-text { font-size: 30px; line-height: 34px; }
  .wm .wm-br { width: 12px; border-width: 4.5px; }
}

/* On dark surfaces */
.wm.on-dark .wm-br { border-color: #fff; }
.wm.on-dark .wm-ag { color: #fff; }
.wm.on-dark .wm-ez { color: #7FD9CF; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-soft);
}
.brand-icon {
  width: 28px; height: 28px;
  display: block;
  border-radius: 6px;
}
.brand-icon.sm { width: 22px; height: 22px; border-radius: 5px; }
.brand-icon.lg { width: 40px; height: 40px; border-radius: 9px; }
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-muted);
}
.nav-links a { transition: color 150ms ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta-row { display: inline-flex; align-items: center; gap: 8px; }
.nav-cta {
  display: none; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500;
  border-radius: 999px;
  transition: transform 150ms ease, background 200ms var(--ease-out);
}
.nav-cta:active { transform: scale(0.97); }
.nav-cta:hover { background: #2A2A2A; }
.nav-signin {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: color 150ms ease, background 150ms ease;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-block;
}
.nav-signin:hover { background: var(--bg-elev); }

/* Hamburger toggle — mobile only */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 0; background: transparent; cursor: pointer;
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  transition: background 150ms ease;
}
.nav-toggle:hover { background: var(--bg-elev); }
.nav-toggle .material-symbols-outlined { font-size: 28px; transition: transform 200ms var(--ease-out); }
.nav-toggle[aria-expanded="true"] .material-symbols-outlined { transform: rotate(90deg); }

/* Mobile menu panel */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--bg-app);
  padding: 8px 24px 20px;
}
.nav-mobile.open { display: block; animation: fade-up 220ms var(--ease-out); }
.nav-mobile a {
  display: block;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  transition: color 150ms ease;
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile a[aria-current="page"] { color: var(--accent); }
.nav-mobile .nav-mobile-cta {
  display: block;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 0;
}
.nav-mobile .nav-mobile-cta:hover { color: #fff; background: var(--accent); }
.nav-mobile .nav-mobile-signin {
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 16px;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 720px) {
  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile, .nav-mobile.open { display: none !important; }
}
@media (max-width: 720px) {
  .nav-cta-row { margin-inline-start: auto; margin-inline-end: 4px; }
  .nav-signin {
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 14px;
    border: 1px solid var(--hairline);
    background: var(--bg-app);
    color: var(--ink);
  }
  .nav-signin:hover { background: var(--bg-elev); border-color: var(--ink-soft); }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ============== TOP-OF-PAGE HERO ============== */
.hero {
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-muted);
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 191, 174, .22);
}
.hero h1 { max-width: 18ch; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  max-width: 56ch;
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-muted);
}
.hero-meta {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  font-size: 13.5px; color: var(--ink-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .material-symbols-outlined { font-size: 18px; color: var(--accent); }

/* ============== COMPOSER (chat input) ============== */
.composer-shell {
  margin-top: 36px;
  max-width: 680px;
}
.composer {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: border-color 200ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.composer:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.composer input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 0;
  outline: none;
}
.composer input::placeholder { color: var(--ink-soft); }
.send-btn {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border: 0; cursor: pointer;
  background: var(--ink); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 150ms ease, background 200ms var(--ease-out), opacity 200ms ease;
}
.send-btn:hover { background: var(--accent); }
.send-btn:active { transform: scale(0.94); }
.send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.chips {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13.5px; color: var(--ink-muted);
  font-family: inherit;
  cursor: pointer;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 150ms ease;
}
.chip:hover { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-tint); }
.chip:active { transform: scale(0.97); }
.chips-label {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-inline-end: 4px;
}

/* ============== HERO — mobile tuning ============== */
@media (max-width: 720px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
    line-height: 1.12;
  }
  .hero-sub { font-size: 1rem; margin-top: 16px; }
  .eyebrow-pill { font-size: 12px; padding: 5px 10px; margin-bottom: 16px; }
  .composer-shell { margin-top: 24px; }
  .composer { padding: 6px 6px 6px 14px; gap: 6px; }
  .composer input { font-size: 16px; padding: 10px 0; } /* 16px keeps iOS from zooming on focus */
  .send-btn { width: 36px; height: 36px; flex-basis: 36px; }
  .send-btn .material-symbols-outlined { font-size: 18px; }
  .chips { gap: 6px; margin-top: 12px; }
  .chip { font-size: 12.5px; padding: 6px 10px; }
  .chips-label { font-size: 12px; }
  .hero-meta { gap: 10px 18px; font-size: 12.5px; margin-top: 20px; }
}

/* ============== CHAT THREAD ============== */
.thread {
  margin-top: 28px;
  max-width: 680px;
}
.thread-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 22px 22px 16px;
  box-shadow: var(--shadow-md);
}
.bubble-row {
  display: flex; gap: 10px;
  margin-bottom: 14px;
  animation: fade-up 350ms var(--ease-out) both;
}
.bubble-row.user { justify-content: flex-end; }
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.bubble.in {
  background: var(--bg-elev);
  color: var(--ink);
  border-top-left-radius: 6px;
}
.bubble.out {
  background: var(--ink);
  color: #fff;
  border-top-right-radius: 6px;
}
.typing {
  display: inline-flex; gap: 4px; padding: 12px 14px;
  background: var(--bg-elev); border-radius: 16px; border-top-left-radius: 6px;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-soft);
  animation: pulse 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
.thread-cta {
  display: none;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.thread-cta.show { display: block; animation: fade-up 350ms var(--ease-out) both; }
.thread-cta-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.email-input {
  flex: 1; min-width: 220px;
  padding: 11px 14px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font: inherit; font-size: 15px;
  background: var(--bg-app);
  transition: border-color 180ms var(--ease-out);
}
.email-input:focus { outline: none; border-color: var(--accent); background: #fff; }
.primary-btn {
  padding: 11px 18px;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 10px;
  font: inherit; font-weight: 500; font-size: 14.5px;
  cursor: pointer;
  transition: transform 150ms ease, background 200ms var(--ease-out);
}
.primary-btn:hover { background: var(--accent-deep); }
.primary-btn:active { transform: scale(0.97); }
.primary-btn.lg { padding: 14px 22px; font-size: 16px; }

/* ============== SECTIONS ============== */
section { padding: 72px 0; position: relative; }
section.tight { padding: 56px 0; }
section.wide { padding: 96px 0; }
section.elev { background: var(--bg-elev); }

.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-muted); margin-top: 14px; font-size: 1.05rem; max-width: 56ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ============== STEPS / FEATURE GRIDS ============== */
.steps {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 250ms var(--ease-out), border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.step:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent-soft); color: var(--accent-deep);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif; font-weight: 600;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-muted); font-size: 14.5px; }

.features-2col {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 760px) { .features-2col { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.features-3col {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 600px) { .features-3col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .features-3col { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.feature:hover { border-color: var(--hairline-strong); box-shadow: var(--shadow-sm); }
.feature .material-symbols-outlined {
  font-size: 24px; color: var(--accent);
  background: var(--accent-soft);
  padding: 8px; border-radius: 8px;
  margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; font-size: 17px; }
.feature p { color: var(--ink-muted); font-size: 14.5px; }

/* ============== AGENT GRID ============== */
.agent-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 600px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .agent-grid { grid-template-columns: repeat(3, 1fr); } }
.agent-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 250ms var(--ease-out), border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
  color: var(--ink);
  position: relative;
}
.agent-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* Mouse spotlight — radial gradient that follows the cursor.
   --mx / --my are written by scripts.js on pointermove (no rAF). */
.agent-grid > a { isolation: isolate; }
.agent-grid > a::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 70%);
  transition: opacity 220ms var(--ease-out);
}
.agent-grid > a:hover::before { opacity: 1; }
.agent-grid > a > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .agent-grid > a::before { transition: none; opacity: 0 !important; }
}

.agent-card .arrow {
  position: absolute; top: 22px; inset-inline-end: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-app);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  transition: background 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}
.agent-card:hover .arrow { background: var(--ink); color: #fff; transform: translate(2px, -2px); }
.agent-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.agent-icon .material-symbols-outlined { font-size: 22px; }
.agent-card h3 { font-size: 16px; }
.agent-card p { color: var(--ink-muted); font-size: 14px; line-height: 1.5; }
.agent-tag {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
  padding: 3px 8px;
  background: var(--bg-app);
  border-radius: 4px;
}

/* ============== VERTICAL ROW ============== */
.verticals-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px) { .verticals-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 880px) { .verticals-row { grid-template-columns: repeat(6, 1fr); } }
.vertical {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.vertical:hover { background: var(--accent-soft); border-color: var(--accent-tint); }
.vertical .material-symbols-outlined { font-size: 26px; color: var(--accent); }
.vertical span:last-child { font-size: 13.5px; color: var(--ink-muted); }

/* ============== APPROVE-BEFORE-SEND ============== */
.split {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
@media (min-width: 920px) { .split { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.split.reverse { grid-template-columns: 1fr; }
@media (min-width: 920px) { .split.reverse { grid-template-columns: 1fr 1.05fr; } }

.split h2 { max-width: 18ch; }
.split p { color: var(--ink-muted); margin-top: 18px; max-width: 46ch; }
.list-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.list-checks li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.list-checks .material-symbols-outlined { color: var(--accent); font-size: 20px; margin-top: 1px; }
.list-checks strong { font-weight: 600; }

/* ============== MOCK PRODUCT CARD ============== */
.mock {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}
.mock-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.mock-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mock-head .name { font-weight: 600; font-size: 14px; color: var(--ink); }
.mock-head .sub { font-size: 12px; color: var(--ink-muted); }
.mock-msg {
  background: var(--bg-elev);
  padding: 12px 14px;
  border-radius: 14px; border-top-left-radius: 6px;
  font-size: 14px; margin-bottom: 14px; color: var(--ink);
}
.mock-card {
  border: 1px solid var(--hairline);
  border-radius: 14px; border-top-left-radius: 6px;
  padding: 14px;
  background: #FBFAF6;
}
.mock-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.mock-card-title { font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.mock-card-body { color: var(--ink-muted); font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
.mock-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-btn {
  padding: 7px 12px; font-size: 13px; font-weight: 500;
  border-radius: 8px; border: 1px solid var(--hairline); background: #fff; cursor: pointer;
  color: var(--ink); transition: background 150ms ease, transform 150ms ease;
  font-family: inherit;
}
.mock-btn:active { transform: scale(0.97); }
.mock-btn.primary { background: var(--ok); color: #fff; border-color: var(--ok); }
.mock-btn.primary:hover { background: #0a5a45; }
.mock-btn.ghost:hover { background: var(--bg-app); }

/* ============== PRICING ============== */
.price-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 760px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.price-card.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.price-card.featured::after {
  content: 'Most picked';
  position: absolute; top: -10px; inset-inline-start: 24px;
  background: var(--ink); color: #fff;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  font-weight: 500;
}
.price-name { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 18px; }
.price-tagline { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }
.price-num { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 44px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-num small { font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink); }
.price-list li { display: flex; gap: 8px; align-items: flex-start; }
.price-list .material-symbols-outlined { font-size: 18px; color: var(--accent); margin-top: 2px; }
.price-cta {
  margin-top: auto;
  padding: 11px 16px; border-radius: 10px;
  text-align: center; font-weight: 500; font-size: 14.5px;
  cursor: pointer; transition: background 200ms var(--ease-out), transform 150ms ease;
  display: inline-block;
  font-family: inherit;
  border: none;
}
.price-cta:active { transform: scale(0.97); }
.price-cta.outline { border: 1px solid var(--hairline); background: #fff; color: var(--ink); }
.price-cta.outline:hover { background: var(--bg-app); }
.price-cta.solid { background: var(--ink); color: #fff; }
.price-cta.solid:hover { background: var(--accent); }

/* Pricing comparison table */
.compare-wrap {
  margin-top: 64px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: start;
  border-bottom: 1px solid var(--hairline);
}
.compare-table th { font-family: 'Manrope', sans-serif; font-weight: 600; color: var(--ink); font-size: 14px; }
.compare-table th.col { text-align: center; min-width: 90px; }
.compare-table td.col { text-align: center; }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: 0; }
.compare-table .group td, .compare-table .group th {
  background: var(--bg-elev);
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted);
}
.compare-table .check { color: var(--ok); }
.compare-table .dash { color: var(--ink-soft); }

/* ============== FAQ ============== */
.faq-list { display: grid; gap: 12px; }
.faq {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out);
}
.faq:hover { border-color: var(--hairline-strong); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 16px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-app);
  transition: transform 250ms var(--ease-out), background 200ms ease;
}
.faq[open] summary .icon { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq p {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 64ch;
}

/* ============== AGENT DETAIL HERO ============== */
.agent-hero {
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}
.agent-hero-tile {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.agent-hero-tile .material-symbols-outlined { font-size: 36px; }
.agent-hero h1 { max-width: 18ch; }
.agent-hero h1 em { font-style: normal; }
.agent-hero p.lede {
  max-width: 56ch; font-size: 1.15rem;
  color: var(--ink-muted); margin-top: 16px;
}
.agent-hero .meta {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: var(--ink-muted);
}
.agent-hero .meta span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: 999px;
}

/* ============== CHAT MOCK BIG ============== */
.chat-mock {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  max-width: 440px; margin: 0 auto;
  display: grid; gap: 12px;
}
.chat-mock .row { display: flex; }
.chat-mock .row.user { justify-content: flex-end; }
.chat-mock .b {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
}
.chat-mock .b.in { background: var(--bg-elev); color: var(--ink); border-top-left-radius: 6px; }
.chat-mock .b.out { background: var(--ink); color: #fff; border-top-right-radius: 6px; }
.chat-mock .card {
  border: 1px solid var(--hairline);
  border-radius: 16px; border-top-left-radius: 6px;
  padding: 14px;
  background: #FBFAF6;
  max-width: 88%;
}
.chat-mock .card .label {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 6px;
}
.chat-mock .card .ttl { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.chat-mock .card .body { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 12px; line-height: 1.5; }
.chat-mock .card .acts { display: flex; gap: 6px; flex-wrap: wrap; }

/* ============== FINAL CTA BAND ============== */
.final-cta {
  background: var(--ink);
  border-radius: 28px;
  padding: 56px 32px;
  color: #fff;
  text-align: center;
  max-width: 920px; margin: 0 auto;
}
.final-cta h2 { color: #fff; max-width: 18ch; margin: 0 auto; }
.final-cta p { color: rgba(255,255,255,.72); max-width: 44ch; margin: 16px auto 28px; }
.final-cta .composer {
  max-width: 480px; margin: 0 auto;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.final-cta .composer input { color: #fff; }
.final-cta .composer input::placeholder { color: rgba(255,255,255,.45); }
.final-cta .send-btn { background: var(--accent); }
.final-cta .send-btn:hover { background: var(--accent-deep); }
.final-cta .meta { margin-top: 24px; color: rgba(255,255,255,.55); font-size: 13.5px; }
.final-cta .meta span { display: inline-flex; align-items: center; gap: 6px; margin: 0 12px; }

/* ============== FOOTER ============== */
footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--hairline);
  margin-top: 24px;
  background: var(--bg-app);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
}
.footer-brand .lede {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 32ch;
}
.footer-social { margin-top: 20px; display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.footer-social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer-col h4 {
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--ink); margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-muted); transition: color 150ms ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bot {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 13px; color: var(--ink-soft);
}
.footer-bot .rt { display: flex; gap: 16px; }
.footer-bot a:hover { color: var(--ink); }

/* Footer — mobile: brand spans full width, four link columns become a 2x2 grid */
@media (max-width: 760px) {
  footer { padding: 36px 0 24px; margin-top: 16px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    margin-bottom: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .lede { margin-top: 12px; font-size: 13.5px; }
  .footer-social { margin-top: 14px; gap: 8px; }
  .footer-social a { width: 30px; height: 30px; }
  .footer-col h4 { font-size: 11.5px; margin-bottom: 10px; letter-spacing: 0.05em; }
  .footer-col ul { gap: 8px; }
  .footer-col a { font-size: 13.5px; }
  .footer-bot { padding-top: 18px; font-size: 12px; gap: 10px; }
  .footer-bot .rt { gap: 12px; }
}

/* ============== SCROLL PROGRESS RAIL (Emil clip-path technique) ============== */
.scroll-rail {
  position: fixed; inset-inline-start: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  z-index: 60;
  pointer-events: none;
}
.scroll-rail::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent-deep));
  clip-path: inset(0 0 var(--rail-bottom, 100%) 0);
  transition: clip-path 80ms linear;
}

/* ============== UTILITIES ============== */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  background: var(--bg-app); border: 1px solid var(--hairline);
  border-radius: 4px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}
.tag.live { background: rgba(15, 110, 86, .08); color: var(--ok); border-color: rgba(15, 110, 86, .2); }
.tag.beta { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-tint); }

.muted { color: var(--ink-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

.divider { height: 1px; background: var(--hairline); margin: 48px 0; border: 0; }

.callout {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--accent-tint);
}
.callout p { color: var(--accent-deep); font-size: 15px; }
.callout strong { color: var(--ink); }

/* ============== ANIMATIONS ============== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============== CUSTOMER STORY CARDS ============== */
.story-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 760px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 250ms var(--ease-out), border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
  color: var(--ink);
}
.story-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.story-meta {
  display: flex; align-items: center; gap: 12px;
}
.story-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 700;
  color: var(--accent-deep);
  font-size: 16px;
  flex: 0 0 44px;
}
.story-meta .name { font-weight: 600; font-size: 15px; }
.story-meta .biz { font-size: 13px; color: var(--ink-muted); }
.story-card blockquote {
  margin: 0; font-size: 16px; line-height: 1.55;
  color: var(--ink);
  font-family: 'Manrope', sans-serif; font-weight: 500;
}
.story-stats {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}
.story-stat .num {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.story-stat .lbl {
  font-size: 12px; color: var(--ink-muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* Case-study hero numbers row */
.before-after {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin: 32px 0;
}
@media (min-width: 700px) {
  .before-after { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.ba-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
}
.ba-card .lbl {
  font-size: 12px; color: var(--ink-muted);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 14px;
}
.ba-card .ba-row {
  display: flex; align-items: baseline; gap: 12px;
}
.ba-card .before {
  text-decoration: line-through; color: var(--ink-soft);
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.ba-card .arrow-mid {
  color: var(--ink-muted);
}
.ba-card .after {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 32px;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.ba-card .ba-note {
  margin-top: 8px;
  font-size: 13.5px; color: var(--ink-muted);
}

/* Vertical landing — niche-specific badge */
.niche-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--accent-deep);
  margin-bottom: 24px;
}
.niche-badge .material-symbols-outlined { font-size: 16px; }

/* Compare page — feature matrix */
.compare-hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  margin-top: 32px;
}
@media (min-width: 760px) { .compare-hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.compare-hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.compare-hero-card.featured { border-color: var(--ink); }
.compare-hero-card .who {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px;
}
.compare-hero-card .tag-line { color: var(--ink-muted); font-size: 14px; margin-bottom: 8px; }
.compare-hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.compare-hero-card li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.compare-hero-card li .material-symbols-outlined { font-size: 18px; margin-top: 2px; }
.compare-hero-card li .check { color: var(--ok); }
.compare-hero-card li .x { color: var(--ink-soft); }

/* Logo wall — text-based */
.logo-wall {
  display: flex; flex-wrap: wrap; gap: 18px 32px;
  align-items: center; justify-content: center;
  padding: 28px 0;
  opacity: 0.85;
}
.logo-wall .logo-item {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 18px; color: var(--ink-muted);
  letter-spacing: -0.02em;
}
.logo-wall .logo-item.script { font-style: italic; }
.logo-wall .logo-item.uppercase { text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; }

/* Cross-document View Transitions — modern browsers fade between pages
   automatically; older browsers see no transition (graceful degradation). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 180ms cubic-bezier(0.16, 1, 0.3, 1) both; }
::view-transition-new(root) { animation: vt-in 220ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in  { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

/* Hero h1 split-reveal — words slide up + fade with stagger.
   --d is set per-word in scripts.js; class .split-in triggers the play. */
.hero h1.has-split .word {
  display: inline-block;
  transform: translateY(0.5em);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 500ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}
.hero h1.has-split.split-in .word {
  transform: translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero h1.has-split .word { transform: none; opacity: 1; transition: none; }
}

/* Marquee variant — infinite-scroll loop, pauses on hover, soft edge fade */
.logo-wall--marquee {
  display: block;
  overflow: hidden;
  padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.logo-wall--marquee .logo-wall__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logo-marquee 36s linear infinite;
  will-change: transform;
}
.logo-wall--marquee .logo-item { padding-inline-end: 32px; }
.logo-wall--marquee:hover .logo-wall__track,
.logo-wall--marquee:focus-within .logo-wall__track {
  animation-play-state: paused;
}
@keyframes logo-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-wall--marquee .logo-wall__track { animation: none; transform: none; }
  .logo-wall--marquee { overflow-x: auto; }
}

/* ============== PLAYABLE LEADS DEMO ============== */
.leads-demo {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.leads-demo__chrome {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 380px;
}
.leads-demo__header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-elev);
}
.leads-demo__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--leads-bg, var(--accent-soft));
  color: var(--leads-fg, var(--accent-deep));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.leads-demo__title { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.leads-demo__sub { font-size: 12px; color: var(--ink-muted); margin-top: 1px; }
.leads-demo__thread {
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.leads-demo__hint {
  text-align: center;
  color: var(--ink-muted);
  font-size: 13.5px;
  padding: 32px 16px;
  font-style: italic;
}
.leads-demo__footer {
  padding: 14px 18px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-elev);
  display: flex; justify-content: center;
}
.leads-demo__play {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 13.5px;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background 200ms var(--ease-out);
}
.leads-demo__play:hover { background: #2A2A2A; }
.leads-demo__play:active { transform: scale(0.97); }
.leads-demo__play .material-symbols-outlined { font-size: 18px; }

/* Messages within the demo */
.leads-demo__msg {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 88%;
  animation: leads-fade-in 280ms var(--ease-out) both;
}
@keyframes leads-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.leads-demo__msg--inbound {
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  align-self: flex-start;
}
.leads-demo__msg--typing {
  background: transparent;
  border: 0;
  color: var(--ink-muted);
  font-size: 12.5px;
  padding: 4px 12px;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}
.leads-demo__msg--sent,
.leads-demo__msg--user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
}
.leads-demo__msg--confirm {
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  align-self: flex-start;
}
.leads-demo__src {
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.leads-demo__msg--sent .leads-demo__src,
.leads-demo__msg--user .leads-demo__src {
  color: rgba(255, 255, 255, 0.85);
}
.leads-demo__dots {
  display: inline-flex; gap: 3px;
}
.leads-demo__dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-muted);
  display: inline-block;
  animation: leads-typing 1.2s ease-in-out infinite;
}
.leads-demo__dots i:nth-child(2) { animation-delay: 0.15s; }
.leads-demo__dots i:nth-child(3) { animation-delay: 0.30s; }
@keyframes leads-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* Draft card with Approve/Edit buttons */
.leads-demo__card {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 20px -8px rgba(0, 191, 174, 0.25);
  display: flex; flex-direction: column; gap: 10px;
  animation: leads-fade-in 320ms var(--ease-out) both;
  align-self: stretch;
}
.leads-demo__card-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-deep);
}
.leads-demo__card-body {
  font-size: 13.5px; line-height: 1.55; color: var(--ink);
}
.leads-demo__card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.leads-demo__approve, .leads-demo__edit {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  border-radius: 8px;
  font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, background 200ms var(--ease-out);
}
.leads-demo__approve {
  background: var(--accent); color: #fff;
  border: 0;
}
.leads-demo__approve:hover { background: var(--accent-deep); }
.leads-demo__approve:active { transform: scale(0.97); }
.leads-demo__approve:disabled { opacity: 0.85; cursor: default; }
.leads-demo__approve .material-symbols-outlined { font-size: 16px; }
.leads-demo__edit {
  background: transparent; color: var(--ink-muted);
  border: 1px solid var(--hairline);
}
.leads-demo__edit:hover { border-color: var(--ink); color: var(--ink); }
.leads-demo__card.approved {
  border-color: var(--ink-muted);
  box-shadow: none;
  opacity: 0.6;
}

.leads-demo__outcome {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: stretch;
  padding: 10px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--accent-deep);
  animation: leads-fade-in 280ms var(--ease-out) both;
}
.leads-demo__outcome .material-symbols-outlined { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  .leads-demo__msg, .leads-demo__card, .leads-demo__outcome { animation: none; }
  .leads-demo__dots i { animation: none; opacity: 0.6; transform: none; }
}

/* ============== BEFORE / AFTER COMPARE SLIDER ============== */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--bg-app);
  --pos: 50%;
  user-select: none;
  touch-action: pan-y; /* Vertical scroll still works */
  cursor: ew-resize;
}
@media (min-width: 720px) {
  .ba-slider { aspect-ratio: 16 / 10; }
}
.ba-slider__panel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
.ba-slider__panel--before {
  background: linear-gradient(180deg, #F3EEDF 0%, #EDE5D0 100%);
  color: var(--ink);
}
.ba-slider__panel--after {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--accent-soft) 100%);
  clip-path: inset(0 0 0 var(--pos));
}
.ba-slider__handle {
  position: absolute; top: 0; bottom: 0;
  inset-inline-start: var(--pos);
  width: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}
.ba-slider__grip {
  position: absolute; top: 50%;
  inset-inline-start: var(--pos);
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: ew-resize;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.ba-slider__grip:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba-slider__grip .material-symbols-outlined { transform: rotate(90deg); font-size: 20px; }
.ba-slider__label {
  position: absolute; top: 14px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  z-index: 1;
  pointer-events: none;
}
.ba-slider__label--before { inset-inline-start: 14px; }
.ba-slider__label--after  { inset-inline-end: 14px; }

/* "Before" mockup — chaotic */
.ba-old { width: 100%; max-width: 360px; }
.ba-old-time {
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 600; color: #8A6F3D;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.ba-old-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.ba-old-tab {
  font-size: 11px; padding: 3px 8px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  color: #6B5530;
  font-weight: 500;
}
.ba-old-list {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; gap: 8px;
}
.ba-old-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink);
}
.ba-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #C44A3A; flex: 0 0 auto;
}
.ba-old-foot {
  font-style: italic; font-size: 12.5px; color: var(--ink-muted);
}

/* "After" mockup — calm Agentez chat */
.ba-new {
  width: 100%; max-width: 360px;
  display: flex; flex-direction: column; gap: 12px;
}
.ba-new-time {
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--accent-deep);
  letter-spacing: 0.04em;
}
.ba-new-thread { display: grid; gap: 8px; }
.ba-new-thread .msg { font-size: 13.5px; padding: 10px 12px; }
.ba-new-thread .msg-meta { font-size: 11px; }
.ba-new-foot {
  font-size: 12.5px; color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  .ba-slider { cursor: default; }
}

/* ============== AGENT NETWORK SVG ============== */
.agent-network {
  max-width: 760px;
  margin-inline: auto;
  margin-top: 28px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
}
.agent-network svg { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: reduce) {
  .agent-network .net-packets { display: none; }
}

/* ============== UTILITIES ============== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font: inherit; font-weight: 500; font-size: 14.5px;
  text-decoration: none;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.ghost-btn:hover { border-color: var(--ink); background: var(--bg-surface); }

/* ============== STACK SAVINGS CALCULATOR ============== */
.calc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) {
  .calc { grid-template-columns: 1.15fr 0.85fr; gap: 36px; padding: 36px; }
}
.calc-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border: 0; padding: 0; margin: 0;
}
@media (min-width: 540px) {
  .calc-tools { grid-template-columns: repeat(2, 1fr); }
}
.calc-tool {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-app);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
  user-select: none;
}
.calc-tool:hover { border-color: var(--hairline-strong); }
.calc-tool:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.calc-tool input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 5px;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.calc-tool input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.calc-tool input[type="checkbox"]:checked::after {
  content: ""; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.calc-tool input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.calc-name { flex: 1 1 auto; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.calc-cost { color: var(--ink-muted); font-size: 13.5px; }
.calc-result {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px;
  background: var(--bg-elev);
  border-radius: var(--radius);
}
.calc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14.5px;
}
.calc-row .calc-label { color: var(--ink-muted); }
.calc-row .calc-value { color: var(--ink); font-weight: 600; }
.calc-divider { height: 1px; background: var(--hairline); margin: 4px 0; }
.calc-savings {
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.calc-savings-label { font-size: 13px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.calc-savings-value {
  font-family: 'Manrope', sans-serif;
  font-size: 44px; font-weight: 700;
  color: var(--accent-deep);
  line-height: 1;
}
.calc-savings-suffix { color: var(--ink-muted); font-size: 14px; }
.calc-annual { color: var(--ink-muted); font-size: 14px; }
.calc-annual strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .calc-tool, .calc-tool input { transition: none; }
}

/* ============== LEGAL / DOC PAGES ============== */
.legal {
  padding: 48px 0 96px;
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.legal .updated { color: var(--ink-muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.125rem; margin: 24px 0 8px; font-weight: 600; }
.legal p { color: var(--ink); font-size: 15.5px; line-height: 1.65; margin: 12px 0; max-width: 72ch; }
.legal ul { padding-inline-start: 22px; color: var(--ink); font-size: 15.5px; line-height: 1.65; }
.legal ul li { margin: 8px 0; }
.legal ol { padding-inline-start: 22px; color: var(--ink); font-size: 15.5px; line-height: 1.65; }
.legal ol li { margin: 8px 0; }
.legal .legal-table-wrap { overflow-x: auto; margin: 16px 0 24px; max-width: 100%; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.legal table th,
.legal table td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.legal table th { font-family: 'Manrope', sans-serif; font-weight: 600; color: var(--ink); background: var(--bg-app); white-space: nowrap; }
.legal table tr:last-child td { border-bottom: none; }

/* ================================================================
   SQUARE CORNERS OVERRIDE — global

   The site's UI is sharp and editorial; rounded pills, capsule buttons,
   and squircle tiles read as the AI-default look the brand is moving
   away from. This block zeros out the pill/squircle radii on every
   surface that doesn't use --radius (i.e. wasn't covered by the var
   change at :root). Specificity matches the original rules; this block
   is positioned last so it wins on cascade order.

   Kept rounded:
   - 50% circles  (avatars, dots, SVG nodes — these are circles
                   by definition)
   - .msg chat bubbles (16px) — soft on purpose, helps the chat feel
                   like a chat
   - .wm-br wordmark brackets (3–4px) — brand mark, do not modify
     (per CLAUDE.md)

   To revert: delete this block and restore the original --radius vars.
   ================================================================ */
.eyebrow-pill,
.nav-cta, .nav-mobile-cta, .nav-mobile-signin, .nav-signin,
.agent-tag, .niche-badge,
.footer-social a,
.send-btn, .primary-btn, .ghost-btn, .chip,
.price-cta,
.agent-icon, .brand-icon,
.calc-tool input[type="checkbox"],
.ba-slider__label,
.leads-demo__play, .leads-demo__icon, .leads-demo__approve, .leads-demo__edit, .leads-demo__card, .leads-demo__outcome,
.composer, .composer-shell,
input, textarea, button { border-radius: 0; }

/* Things that should remain literally circular */
.dot,
.story-avatar,
.ba-slider__grip { border-radius: 50%; }
