:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-panel: #100e14;
  --border: rgba(192, 182, 211, 0.12);
  --border-strong: rgba(192, 182, 211, 0.22);
  --text: #f7f5fb;
  --text-muted: #b7aec8;
  --text-dim: #7d748f;
  --purple: #6a4b91;
  --purple-deep: #4b2e6f;
  --purple-soft: rgba(106, 75, 145, 0.22);
  --purple-glow: rgba(106, 75, 145, 0.4);
  --lavender: #c0b6d3;
  --accent: #fad02c;
  --accent-deep: #e6af2e;
  --accent-soft: rgba(250, 208, 44, 0.14);
  --accent-glow: rgba(250, 208, 44, 0.35);
  --danger: #ff6b5a;
  --font-display: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 55% at 4% -5%, rgba(175, 150, 220, 0.55), transparent 62%),
    radial-gradient(ellipse 50% 45% at 0% 0%, rgba(110, 75, 160, 0.5), transparent 58%),
    radial-gradient(ellipse 45% 35% at 85% 8%, rgba(250, 208, 44, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% -18%, rgba(106, 75, 145, 0.22), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background:
    radial-gradient(ellipse 55% 180% at 4% 40%, rgba(185, 160, 230, 0.42), transparent 68%),
    radial-gradient(ellipse 35% 160% at 0% 50%, rgba(120, 80, 170, 0.35), transparent 70%),
    rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-img.footer {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe56a 0%, var(--accent) 45%, var(--accent-deep) 100%);
  color: #1a1028;
  font-weight: 500;
  font-size: 0.8125rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--accent-glow);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--text);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #ffe56a 0%, var(--accent) 45%, var(--accent-deep) 100%);
  color: #1a1028;
}

.btn-primary:hover {
  box-shadow: 0 0 28px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

/* —— Hero —— */
.hero {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  text-align: center;
}

.brand-hero {
  margin: 0;
  text-align: center;
}

.logo-img.hero {
  height: clamp(56px, 10vw, 88px);
  width: auto;
  aspect-ratio: 300 / 104;
  max-width: min(100%, 280px);
  margin-inline: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(106, 75, 145, 0.45)) drop-shadow(0 0 18px rgba(250, 208, 44, 0.2));
  animation: rise 0.8s ease both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
  animation: rise 0.7s ease both;
}

.hero-ample {
  padding: clamp(2rem, 5vw, 3.5rem) 0 2rem;
}

.hero-copy {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 208, 44, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  animation: rise 0.7s ease both;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.8vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--text);
  margin: 0;
  max-width: 18ch;
  animation: rise 0.8s ease both;
}

.hero-carousel {
  width: 100%;
  max-width: 46rem;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.hero-carousel-viewport {
  position: relative;
  width: 100%;
  min-height: clamp(7.5rem, 18vw, 10.5rem);
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-carousel-slide {
  grid-area: 1 / 1;
  width: 100%;
  display: grid;
  justify-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.1rem);
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    visibility 0s linear 0.55s;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    visibility 0s linear 0s;
}

.hero-carousel .hero-headline {
  max-width: 22ch;
  text-wrap: balance;
  animation: none;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.hero-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 245, 251, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hero-carousel-dot[aria-selected="true"] {
  width: 1.35rem;
  background: var(--accent);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide {
    transition: opacity 0.2s ease;
    transform: none;
  }
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  max-width: 36rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-muted);
  animation: rise 0.8s ease 0.06s both;
}

.hero-email {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: min(100%, 480px);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  animation: rise 0.8s ease 0.1s both;
}

.hero-email input {
  flex: 1;
  min-width: 180px;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.65rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
}

.hero-email input::placeholder {
  color: var(--text-dim);
}

.hero-email .btn {
  border-radius: 999px;
  white-space: nowrap;
}

.hero-proof-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  animation: rise 0.8s ease 0.14s both;
}

.hero-proof-line .stars {
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* Product preview — signals | action */
.product-preview {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 0;
  border: 1px solid rgba(192, 182, 211, 0.18);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  background: #0c0a10;
  box-shadow:
    0 0 0 1px rgba(147, 51, 234, 0.08) inset,
    0 40px 100px rgba(0, 0, 0, 0.55);
  animation: rise 0.9s ease 0.12s both;
}

.preview-pane {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.signals-pane {
  border-right: 1px solid rgba(192, 182, 211, 0.12);
  background: linear-gradient(180deg, rgba(106, 75, 145, 0.1), transparent 40%);
}

.action-pane {
  background: linear-gradient(180deg, rgba(250, 208, 44, 0.04), transparent 35%);
}

.preview-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
}

.preview-pane-head h2 {
  font-size: 0.9rem;
  font-weight: 600;
}

.preview-pane-head p {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.owl-mini {
  border-radius: 8px;
  display: block;
}

.signal-feed {
  list-style: none;
  overflow: auto;
  flex: 1;
  padding: 0.5rem;
}

.signal-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.75rem 0.7rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.signal-item:hover,
.signal-item.active {
  background: rgba(147, 51, 234, 0.12);
  border-color: rgba(147, 51, 234, 0.28);
}

.signal-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}

.signal-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.signal-item p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.action-pane .chat-thread {
  flex: 1;
  min-height: 220px;
  max-height: 280px;
}

.action-pane .chat-composer {
  border-top: 1px solid var(--border);
}

.preview-chips {
  padding: 0 0.85rem 0.85rem;
  justify-content: flex-start;
  margin-top: 0;
}

.section-head.center {
  text-align: center;
  justify-items: center;
}

.section-head.center .section-copy {
  margin-inline: auto;
}

.trust {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.trust-item {
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.trust-item strong {
  display: block;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.quote-band {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  max-width: 40rem;
  margin: 0 auto 0.85rem;
}

.quote-band cite {
  color: var(--text-dim);
  font-style: normal;
  font-size: 0.9rem;
}

/* —— Feature explorer —— */
.feature-explorer {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.feature-tabs-wrap {
  margin: 0.5rem 0 1.75rem;
  padding: 0.85rem 0 0.65rem;
  border-top: 1px solid rgba(192, 182, 211, 0.1);
  border-bottom: 1px solid rgba(192, 182, 211, 0.1);
  background: rgba(255, 255, 255, 0.015);
}

.feature-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.15rem max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.feature-tabs::-webkit-scrollbar {
  display: none;
}

.feature-tab {
  flex: 0 0 auto;
  border: 1px solid rgba(192, 182, 211, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feature-tab:hover {
  color: var(--text);
  border-color: rgba(192, 182, 211, 0.3);
}

.feature-tab.active {
  background: rgba(147, 51, 234, 0.28);
  border-color: rgba(167, 139, 250, 0.65);
  color: #f3e8ff;
}

.feature-tabs-wrap .feature-progress {
  width: min(100% - 2.5rem, var(--max));
  margin: 0.75rem auto 0;
}

.feature-stage {
  position: relative;
  min-height: 320px;
}

.feature-slide {
  display: none;
  animation: rise 0.45s ease both;
}

.feature-slide.active {
  display: grid;
  gap: 1rem;
}

.feature-slide-copy {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.feature-slide-copy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.feature-slide-copy p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-frame {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(192, 182, 211, 0.18);
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(147, 51, 234, 0.18), transparent 55%),
    #0c0a10;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.feature-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-frame--video {
  background: #0c0a10;
}

.feature-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.feature-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.feature-frame.placeholder {
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.placeholder-ui {
  text-align: center;
  color: var(--text-muted);
}

.placeholder-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(250, 208, 44, 0.3);
}

.placeholder-ui code {
  font-size: 0.8rem;
  color: #c084fc;
}

.feature-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.feature-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9333ea, var(--accent));
  border-radius: inherit;
}

.signal-section {
  overflow: hidden;
}

.signal-marquee {
  margin: 1.5rem 0 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.signal-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.signal-track span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 51, 234, 0.3);
  background: rgba(147, 51, 234, 0.1);
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.signal-features {
  margin-top: 0.5rem;
}

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

.agents {
  width: 100%;
}

.agents-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.55rem;
  align-items: stretch;
}

.chat-stage {
  width: min(100%, 720px);
  animation: rise 0.9s ease 0.1s both;
}

.hero-line {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
  animation: rise 0.8s ease 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: rise 0.8s ease 0.22s both;
}

.chat-shell {
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(180deg, rgba(106, 75, 145, 0.18), transparent 42%),
    var(--bg-panel);
  box-shadow:
    0 0 0 1px rgba(250, 208, 44, 0.06) inset,
    0 0 40px rgba(106, 75, 145, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.chat-top-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 2s ease infinite;
}

.chat-top h2 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chat-top p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.chat-badge {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(250, 208, 44, 0.25);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.chat-thread {
  min-height: 280px;
  max-height: 360px;
  overflow: hidden;
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg {
  display: flex;
  gap: 0.7rem;
  max-width: 92%;
  opacity: 0;
  transform: translateY(10px);
  animation: msgIn 0.45s ease forwards;
}

.msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.msg.assistant .msg-avatar {
  background: #000;
  border: 1px solid rgba(250, 208, 44, 0.35);
  padding: 0;
  overflow: hidden;
}

.msg.assistant .msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.msg.user .msg-avatar {
  background: #221c2c;
  color: var(--lavender);
  border: 1px solid var(--border);
}

.msg-bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}

.msg.assistant .msg-bubble {
  background: rgba(106, 75, 145, 0.14);
  border: 1px solid rgba(192, 182, 211, 0.16);
  border-top-left-radius: 6px;
}

.msg.user .msg-bubble {
  background: #1a1522;
  border: 1px solid rgba(250, 208, 44, 0.18);
  border-top-right-radius: 6px;
}

.msg-meta {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 0.2rem 0;
}

.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: blink 1.2s ease infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

.chat-composer {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--border);
}

.composer-box {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.composer-box:focus-within {
  border-color: rgba(250, 208, 44, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 24px rgba(106, 75, 145, 0.2);
}

.composer-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
  min-height: 22px;
  max-height: 96px;
  line-height: 1.4;
  font-size: 0.875rem;
  color: var(--text);
}

.composer-input::placeholder {
  color: var(--text-dim);
}

.composer-send {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe56a 0%, var(--accent) 50%, var(--accent-deep) 100%);
  color: #1a1028;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.composer-send:hover {
  transform: scale(1.04);
}

.composer-send:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.composer-hint {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.chip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.chip:hover,
.chip.active {
  border-color: rgba(250, 208, 44, 0.45);
  color: var(--text);
  background: var(--accent-soft);
}

/* —— Agents —— */
.agents {
  width: 100%;
  max-width: var(--max);
  justify-self: stretch;
  margin-top: 0.5rem;
  text-align: left;
  animation: rise 0.8s ease 0.12s both;
}

.agents-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.agents-head .section-copy {
  margin-inline: auto;
  margin-bottom: 0;
}

.agents-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.55rem;
  align-items: stretch;
}

.agent-step {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(250, 208, 44, 0.35);
}

.agent-flow {
  display: grid;
  place-items: center;
  align-self: center;
  color: var(--lavender);
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.7;
}

.agents-footnote {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.agent-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(192, 182, 211, 0.14);
  background: rgba(14, 12, 18, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  color: var(--text);
  text-align: left;
  min-height: 100%;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-card:hover {
  transform: translateY(-2px);
}

.agent-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.agent-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
}

.agent-card p {
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.agent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.agent-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.agent-leads {
  background:
    linear-gradient(165deg, rgba(59, 130, 246, 0.16), transparent 55%),
    rgba(14, 12, 18, 0.95);
  border-color: rgba(59, 130, 246, 0.28);
}

.agent-leads:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.12);
}

.agent-leads .agent-icon,
.agent-leads .agent-btn {
  background: #3b82f6;
}

.agent-enrich {
  background:
    linear-gradient(165deg, rgba(147, 51, 234, 0.18), transparent 55%),
    rgba(14, 12, 18, 0.95);
  border-color: rgba(147, 51, 234, 0.3);
}

.agent-enrich:hover {
  border-color: rgba(147, 51, 234, 0.48);
  box-shadow: 0 0 28px rgba(147, 51, 234, 0.12);
}

.agent-enrich .agent-icon,
.agent-enrich .agent-btn {
  background: #9333ea;
}

.agent-social {
  background:
    linear-gradient(165deg, rgba(202, 138, 4, 0.16), transparent 55%),
    rgba(14, 12, 18, 0.95);
  border-color: rgba(202, 138, 4, 0.3);
}

.agent-social:hover {
  border-color: rgba(250, 208, 44, 0.45);
  box-shadow: 0 0 28px rgba(250, 208, 44, 0.1);
}

.agent-social .agent-icon,
.agent-social .agent-btn {
  background: #ca8a04;
}

.agent-outreach {
  background:
    linear-gradient(165deg, rgba(236, 72, 153, 0.16), transparent 55%),
    rgba(14, 12, 18, 0.95);
  border-color: rgba(236, 72, 153, 0.28);
}

.agent-outreach:hover {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 0 28px rgba(236, 72, 153, 0.12);
}

.agent-outreach .agent-icon,
.agent-outreach .agent-btn {
  background: #ec4899;
}

@media (max-width: 900px) {
  .agents-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .agent-flow {
    transform: rotate(90deg);
    padding: 0.15rem 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .agents-grid {
    grid-template-columns: 1fr;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-copy {
  max-width: 36rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

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

.feature {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature:hover {
  border-color: rgba(106, 75, 145, 0.55);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(250, 208, 44, 0.2);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.request-list {
  display: grid;
  gap: 0.75rem;
}

.request-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.request-item:hover,
.request-item.active {
  border-color: rgba(250, 208, 44, 0.4);
  background: rgba(106, 75, 145, 0.12);
}

.request-item .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  min-width: 1.5rem;
}

.request-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.request-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* —— Legal / policy pages —— */
.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.legal-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal-breadcrumb a:hover {
  color: var(--accent);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem);
  gap: 2rem;
  align-items: start;
}

.legal-content {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.legal-content h2 {
  margin: 1.6rem 0 0.85rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 0.55rem;
}

.legal-content li:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-content a:hover {
  color: var(--text);
}

.legal-aside {
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 14, 20, 0.72);
}

.legal-aside h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.legal-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.legal-aside a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.legal-aside a:hover,
.legal-aside a.is-active {
  color: var(--text);
}

.legal-aside a.is-active {
  color: var(--accent);
  font-weight: 600;
}

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

/* —— Case studies —— */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1.15rem;
}

.case-study-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.case-study-card:hover {
  border-color: rgba(250, 208, 44, 0.35);
  transform: translateY(-2px);
}

.case-study-card-media {
  aspect-ratio: 16 / 10;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.case-study-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-study-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.case-study-card-body h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.case-study-card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.case-study-card-link {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem);
  gap: 2rem;
  align-items: start;
}

.case-study-article {
  max-width: none;
}

.case-study-hero-media {
  margin-bottom: 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(192, 182, 211, 0.16);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.case-study-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-study-quote {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(250, 208, 44, 0.22);
  background: rgba(250, 208, 44, 0.06);
}

.case-study-quote p {
  margin: 0 0 0.65rem;
  color: var(--text);
  line-height: 1.6;
}

.case-study-quote p:last-of-type {
  margin-bottom: 0.75rem;
}

.case-study-quote cite {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.case-study-aside-cta {
  display: inline-flex;
  margin-top: 1.15rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.case-study-aside-cta:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .case-study-layout {
    grid-template-columns: 1fr;
  }
}

/* —— Steps —— */
.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 208, 44, 0.3);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* —— Pipeline chart (How it works) —— */
.pipeline-container {
  width: min(100% - 2.5rem, 1280px);
  margin-top: 1.75rem;
}

.pipeline-chart {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(192, 182, 211, 0.18);
  background: #07060a;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.pipeline-scene {
  perspective: 1800px;
}

.pipeline-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pipeline-chart.is-flipped .pipeline-card {
  transform: rotateY(180deg);
}

.pipeline-face {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pipeline-face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  overflow: auto;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(106, 75, 145, 0.22), transparent 55%),
    #07060a;
  padding: 1rem 1.15rem 1.25rem;
  pointer-events: none;
}

.pipeline-chart.is-flipped .pipeline-face--front {
  pointer-events: none;
}

.pipeline-chart.is-flipped .pipeline-face--back {
  pointer-events: auto;
}

.pipeline-visual {
  position: relative;
  isolation: isolate;
  background: #07060a;
  --pipe-art: url("/assets/leadhootz-architecture-chart.png?v=20260814-hq");
}

.pipeline-art {
  display: block;
  width: 100%;
  height: auto;
}

.pipeline-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pipeline-hotspots {
  position: absolute;
  inset: 0;
}

.pipe-hot {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  appearance: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
}

.pipe-hot--round {
  border-radius: 50%;
}

.pipe-hot::before {
  content: "";
  position: absolute;
  width: calc(100% * 100 / var(--w));
  height: calc(100% * 100 / var(--h));
  left: calc(var(--x) * -100% / var(--w));
  top: calc(var(--y) * -100% / var(--h));
  background-image: var(--pipe-art);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: brightness(1.55) saturate(1.5) contrast(1.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.pipe-hot:hover,
.pipe-hot:focus-visible {
  outline: none;
  z-index: 2;
}

.pipe-hot:hover::before,
.pipe-hot:focus-visible::before {
  opacity: 1;
}

.pipe-wire {
  stroke-width: 2;
  stroke-dasharray: 8 12;
  animation: pipe-dash 1.15s linear infinite;
  opacity: 0.55;
}

.pipe-wire--purple { stroke: #c4b5fd; }
.pipe-wire--cyan { stroke: #67e8f9; }
.pipe-wire--gold { stroke: #fad02c; }
.pipe-wire--green { stroke: #34d399; }
.pipe-wire--loop {
  stroke-dasharray: 10 14;
  animation-duration: 2.2s;
}

@keyframes pipe-dash {
  to { stroke-dashoffset: -18; }
}

.pipe-detail-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pipe-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 208, 44, 0.35);
  background: rgba(250, 208, 44, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.pipe-back:hover {
  background: rgba(250, 208, 44, 0.16);
}

.pipe-detail-live {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.pipe-detail-head {
  margin-bottom: 1.15rem;
}

.pipe-detail-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  margin: 0.2rem 0 0.45rem;
}

.pipe-detail-head p {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pipe-detail-flow {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.pipe-detail-flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pipe-detail-flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pipe-detail-flow--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pipe-detail-flow--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.pipe-detail-step {
  padding: 0.9rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(192, 182, 211, 0.16);
  background: rgba(255, 255, 255, 0.03);
  opacity: 0.5;
  transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pipe-detail-step.is-on {
  opacity: 1;
  border-color: rgba(250, 208, 44, 0.7);
  box-shadow: 0 0 24px rgba(250, 208, 44, 0.18);
}

.pipe-detail-num {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.pipe-detail-step h4 {
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
}

.pipe-detail-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.pipe-detail-wires {
  display: block;
  width: 100%;
  height: 36px;
  margin: 0.15rem 0 0.85rem;
}

.pipe-detail-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pipe-detail-providers li {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 208, 44, 0.28);
  color: var(--lavender);
  font-size: 0.72rem;
}

.pipeline-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 1.1rem 0.35rem;
  border-top: 1px solid rgba(192, 182, 211, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.pipeline-status {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 1.2em;
}

.pipeline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin: 0;
}

.pipeline-stats div {
  display: grid;
  gap: 0.1rem;
}

.pipeline-stats dt {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pipeline-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.pipeline-caption {
  margin: 0;
  padding: 0.45rem 1rem 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (max-width: 800px) {
  .pipeline-chart {
    overflow-x: auto;
  }

  .pipeline-visual {
    min-width: 920px;
  }

  .pipe-detail-flow--3,
  .pipe-detail-flow--4,
  .pipe-detail-flow--5,
  .pipe-detail-flow--6 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pipe-detail-flow--3,
  .pipe-detail-flow--4,
  .pipe-detail-flow--5,
  .pipe-detail-flow--6 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pipe-wire,
  .pipe-pulse {
    animation: none !important;
  }

  .pipeline-card {
    transition: none;
  }

  .pipeline-overlay .pipe-pulse {
    display: none;
  }
}

/* —— Quote / proof —— */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}

.proof blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 40rem;
  margin: 0 auto 1rem;
}

.proof cite {
  color: var(--text-dim);
  font-style: normal;
  font-size: 0.9rem;
}

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

.stat {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* —— CTA band —— */
.cta-band {
  margin: 2rem 0 4rem;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(106, 75, 145, 0.45);
  background:
    radial-gradient(ellipse 80% 80% at 20% 0%, var(--purple-soft), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 100%, var(--accent-soft), transparent 45%),
    var(--bg-panel);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* —— Testimonials carousel —— */
.testimonials-section {
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.testimonials-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(106, 75, 145, 0.16), transparent 45%),
    var(--bg-elevated);
}

.testimonials-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  align-items: center;
}

.testimonial-card--text {
  grid-template-columns: 1fr;
}

.testimonial-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(192, 182, 211, 0.18);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.testimonial-company {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.testimonial-body blockquote {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.testimonial-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.testimonial-link:hover {
  color: var(--accent);
}

.testimonials-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(16, 14, 20, 0.8);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.testimonials-nav:hover {
  border-color: rgba(250, 208, 44, 0.45);
  color: var(--accent);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.testimonials-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(247, 245, 251, 0.28);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.testimonials-dot:hover {
  background: rgba(247, 245, 251, 0.5);
}

.testimonials-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(250, 208, 44, 0.4);
}

@media (max-width: 720px) {
  .testimonials-carousel {
    grid-template-columns: 1fr;
  }

  .testimonials-nav {
    display: none;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .testimonial-media {
    max-width: 16rem;
    width: min(100%, 16rem);
  }

  .testimonial-body blockquote {
    max-width: 34rem;
  }
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.75rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(16, 14, 20, 0.85));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.4fr) minmax(12rem, 1fr) auto;
  gap: 2rem 2.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-brand {
  max-width: 22rem;
}

.footer-tagline {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-company {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-address {
  margin: 0 0 0.75rem;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-phone {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-phone:hover {
  color: var(--accent);
}

.footer-legal {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-legal strong {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.25rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  color: #fff;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.footer-social-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.footer-social-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.footer-social-link.facebook { background: #1877f2; }
.footer-social-link.twitter { background: #1da1f2; }
.footer-social-link.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
}
.footer-social-link.youtube { background: #ff0000; }
.footer-social-link.linkedin { background: #0a66c2; }

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.footer-bottom-links a {
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-bottom-links a:hover {
  color: var(--text);
}

.footer-external {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.8;
}

/* —— Paywall (app UpgradePricingModal, black) —— */
.paywall-section {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.paywall {
  border: 1px solid rgba(192, 182, 211, 0.16);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(180deg, rgba(106, 75, 145, 0.12), transparent 35%),
    #0c0a10;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.paywall-header {
  text-align: center;
  margin-bottom: 1rem;
}

.paywall-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.paywall-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.paywall-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.plan-tabs {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 10px;
  background: #1a1622;
  border: 1px solid rgba(192, 182, 211, 0.12);
}

.plan-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.plan-tab.active {
  background: #2a2436;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.billing-label {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.billing-label.active {
  color: var(--text);
  font-weight: 600;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: #3a3448;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.toggle-switch.on {
  background: #9333ea;
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.toggle-switch.on .toggle-knob {
  transform: translateX(20px);
}

.save-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.35);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.paywall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.pay-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1rem 1rem;
  border-radius: 14px;
  border: 2px solid rgba(192, 182, 211, 0.16);
  background: #14111a;
}

.pay-card.featured {
  border-color: #9333ea;
  background:
    linear-gradient(180deg, rgba(147, 51, 234, 0.16), transparent 40%),
    #161122;
}

.pay-badge {
  position: absolute;
  top: -10px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pay-badge.popular {
  left: 50%;
  transform: translateX(-50%);
  background: #9333ea;
  color: #fff;
}

.pay-badge.savings {
  right: 0.75rem;
  background: rgba(147, 51, 234, 0.22);
  color: #d8b4fe;
  border: 1px solid rgba(147, 51, 234, 0.35);
}

.pay-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.pay-card.featured h2 {
  margin-top: 0.55rem;
}

.pay-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.pay-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pay-price strong {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pay-price span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pay-bill {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pay-credits {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.pay-credits strong {
  color: var(--text);
  font-weight: 700;
}

.pay-credits .extra {
  color: #c084fc;
  font-weight: 600;
}

.pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--text);
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pay-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pay-btn.primary {
  border-color: transparent;
  background: #9333ea;
  color: #fff;
}

.pay-btn.primary:hover {
  background: #7e22ce;
}

.pay-sub {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
}

.pay-plus {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

.pay-features {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.pay-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pay-features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239333ea'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain;
}

.pay-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  color: #c084fc;
}

.pay-social .check-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #9333ea;
  color: #fff;
  font-size: 0.65rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.paywall-enterprise {
  text-align: center;
  padding: 2.5rem 1rem;
}

.paywall-enterprise h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.paywall-enterprise p {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 1.25rem;
}

[hidden] {
  display: none !important;
}

/* —— Animations —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes msgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.nav-links .nav-cta,
.nav-links .nav-ghost {
  display: none;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .grid-3,
  .pricing-grid,
  .paywall-grid,
  .stats,
  .trust-row,
  .product-preview,
  .api-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .signals-pane {
    border-right: none;
    border-bottom: 1px solid rgba(192, 182, 211, 0.12);
    min-height: 280px;
  }

  .nav-actions.desktop-only {
    display: none;
  }

  .nav-links .nav-cta,
  .nav-links .nav-ghost {
    display: inline-flex;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .pipeline-container {
    width: min(100% - 1.5rem, 1280px);
  }

  .chat-thread {
    min-height: 240px;
    max-height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Public API page —— */
.api-facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.api-facts li {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.api-facts strong {
  color: var(--text);
  font-weight: 600;
}

.api-facts code,
.api-route code,
.api-snippet pre,
.pipe-detail-step code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--accent);
}

.api-group-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

.api-group-title:first-of-type {
  margin-top: 0;
}

.api-routes {
  display: grid;
  gap: 0.6rem;
}

.api-route {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "method path"
    ". copy";
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  align-items: baseline;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.api-method {
  grid-area: method;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.api-route code {
  grid-area: path;
  color: var(--text);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.api-route p {
  grid-area: copy;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.api-snippet {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.api-snippet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.api-snippet-bar + pre + .api-snippet-bar {
  border-top: 1px solid var(--border);
}

.api-copy {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.api-snippet pre {
  margin: 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  color: var(--lavender);
  font-size: 0.8rem;
  line-height: 1.55;
  white-space: pre;
}

.api-stats {
  margin-top: 1.5rem;
}

.api-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(106, 75, 145, 0.45);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, var(--purple-soft), transparent 55%),
    var(--bg-panel);
}

.api-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.api-strip p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

.pipe-detail-cta {
  margin-top: 0.35rem;
}

.api-demo {
  align-items: start;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.api-demo .request-item code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--accent);
}

.api-console {
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(180deg, rgba(106, 75, 145, 0.18), transparent 42%),
    var(--bg-panel);
  box-shadow:
    0 0 0 1px rgba(250, 208, 44, 0.06) inset,
    0 0 40px rgba(106, 75, 145, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.api-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.api-console-top h2 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.api-console-top p {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.api-console-stream {
  flex: 1;
  min-height: 380px;
  overflow: visible;
  padding: 1rem 1.1rem 1.2rem;
}

.api-console-line {
  margin: 0 0 0.45rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.api-console-req {
  color: var(--text);
}

.api-console-dim {
  color: var(--text-dim);
}

.api-console-ok {
  color: #86efac;
}

.api-console-json {
  margin: 0.75rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  overflow: visible;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--lavender);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.json-key { color: #c4b5fd; }
.json-str { color: var(--accent); }
.json-num { color: #7dd3fc; }
.json-bool { color: #86efac; }

.api-caret {
  display: inline-block;
  width: 7px;
  height: 0.9em;
  margin-left: 3px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: pulse 0.9s ease infinite;
}

/* —— Contact —— */
.contact-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  text-align: center;
}

.contact-hero .container {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 208, 44, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.contact-hero p {
  margin: 0;
  max-width: 28rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 3rem;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card,
.contact-form-card {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(250, 208, 44, 0.2);
  box-shadow: 0 0 16px rgba(106, 75, 145, 0.25);
}

.contact-form-icon {
  margin-inline: auto;
}

.contact-card h2,
.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.contact-form-card h2 {
  text-align: center;
  margin-bottom: 1.35rem;
}

.contact-card p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-card a,
.contact-success a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card a:hover,
.contact-success a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(250, 208, 44, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form .btn {
  margin-top: 0.35rem;
  width: 100%;
}

.contact-form .validation-message {
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 400;
}

.contact-success {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
}

.contact-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
}

/* Don't let the marketing reset flatten the embedded LeadHootz chat widget */
#leadhootz-widget-root button,
#leadhootz-widget-root input,
#leadhootz-widget-root textarea {
  font: unset;
  color: unset;
}
