/* ---------- Speeech landing ---------- */

:root {
  --bg: #08080A;
  --bg-elev: #101013;
  --bg-card: #14141A;
  --line: #1F1F26;
  --line-strong: #2A2A33;
  --text: #F4F4F5;
  --text-dim: #A1A1AA;
  --text-muted: #71717A;
  --accent: #00E58F;
  --accent-soft: rgba(0, 229, 143, 0.12);
  --accent-glow: rgba(0, 229, 143, 0.35);
  --warn: #F59E0B;
  --danger: #EF4444;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 140px);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

[data-scheme="gradient"] {
  --bg: #0A0820;
  --bg-elev: #120F2C;
  --bg-card: #181438;
  --line: #251F4A;
  --line-strong: #322B5C;
  --text: #F4F2FF;
  --text-dim: #B5B1D9;
  --text-muted: #7E78A8;
  --accent: #A78BFA;
  --accent-soft: rgba(167, 139, 250, 0.14);
  --accent-glow: rgba(124, 58, 237, 0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  overflow-x: hidden;
}
[data-density="compact"] { --section-y: clamp(56px, 7vw, 96px); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ----- Layout ----- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-soft);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  text-wrap: pretty;
  max-width: 640px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #06120C;
  box-shadow: 0 0 0 1px var(--accent), 0 14px 40px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent), 0 18px 50px -8px var(--accent-glow); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text-dim); background: rgba(255,255,255,0.03); }
[data-scheme="gradient"] .btn-primary {
  background: linear-gradient(135deg, #6366F1 0%, #A855F7 60%, #EC4899 110%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(167,139,250,0.6), 0 18px 50px -8px rgba(124,58,237,0.55);
}

/* ----- Nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 18px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent);
  position: relative;
  display: grid; place-items: center;
  box-shadow: 0 0 24px var(--accent-glow);
}
[data-scheme="gradient"] .brand-mark {
  background: linear-gradient(135deg, #6366F1, #A855F7);
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid #06120C;
}
.brand-mark::before { width: 10px; height: 10px; }
.brand-mark::after { width: 18px; height: 18px; opacity: 0.45; }
[data-scheme="gradient"] .brand-mark::before,
[data-scheme="gradient"] .brand-mark::after { border-color: #fff; }

.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.lang-switch {
  display: inline-flex; gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
}
.lang-switch button {
  background: transparent; border: 0; color: var(--text-muted);
  padding: 4px 10px; border-radius: 999px;
}
.lang-switch button.active { background: var(--text); color: var(--bg); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ----- HERO: Neon ----- */
.hero-neon { padding: 56px 0 var(--section-y); position: relative; overflow: hidden; }
.hero-neon::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,229,143,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-neon::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-neon .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-h1 {
  margin: 24px 0 20px;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero-h1 .accent { color: var(--accent); font-style: normal; }
.hero-h1 .strike {
  position: relative; display: inline-block; color: var(--text-dim);
}
.hero-h1 .strike::after {
  content: ""; position: absolute; left: 0; right: 0; top: 52%;
  height: 3px; background: var(--accent); border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}
.hero-h1 .replace {
  font-size: 0.5em; color: var(--text-muted); font-weight: 400; letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-muted);
}
.hero-meta b { display: block; color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.hero-meta b .unit { color: var(--accent); font-family: var(--mono); font-weight: 500; font-size: 14px; margin-left: 2px; }

/* Hero visual: waveform call card */
.hero-visual { position: relative; }
.call-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6), 0 0 0 1px var(--line) inset;
  overflow: hidden;
}
.call-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, var(--accent-soft) 0%, transparent 50%);
  pointer-events: none;
}
.call-head { display: flex; justify-content: space-between; align-items: center; position: relative; }
.call-head-l { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ec4899);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: #fff;
}
.call-name { font-weight: 500; font-size: 14px; }
.call-meta { font-size: 12px; color: var(--text-muted); font-family: var(--mono); }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(239,68,68,0.12);
  color: #FCA5A5;
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(239,68,68,0.3);
}
.live-dot { width: 6px; height: 6px; border-radius: 999px; background: #EF4444; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.7);} }

.waveform { display: flex; align-items: center; gap: 3px; height: 60px; margin: 22px 0 18px; position: relative; }
.waveform .bar {
  flex: 1; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, color-mix(in oklab, var(--accent) 40%, transparent) 100%);
  opacity: 0.85;
  animation: wave 1.4s ease-in-out infinite;
}
.waveform .bar.muted { background: var(--line-strong); animation: none; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.transcript { display: flex; flex-direction: column; gap: 10px; position: relative; }
.line {
  display: flex; gap: 10px; font-size: 13px; line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}
.line .speaker { color: var(--text-muted); font-family: var(--mono); font-size: 11px; min-width: 56px; padding-top: 2px; flex-shrink: 0; }
.line .text { color: var(--text); }
.line .text mark { background: var(--accent-soft); color: var(--accent); padding: 0 4px; border-radius: 4px; font-weight: 500; }
.line.client .speaker { color: #F59E0B; }
.line.agent .speaker { color: var(--accent); }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-family: var(--mono);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text-dim);
}
.tag.pos { color: var(--accent); border-color: rgba(0,229,143,0.3); background: var(--accent-soft); }
.tag.warn { color: #F59E0B; border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); }

/* Floating badges around hero card */
.float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
  z-index: 2;
}
.float-badge .ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
}
.float-badge .label { font-size: 11px; color: var(--text-muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.float-badge .val { font-size: 16px; font-weight: 600; color: var(--text); margin-top: 1px; }
.fb-1 { top: -48px; left: -28px; }
.fb-2 { bottom: -48px; right: -28px; }
@media (max-width: 1100px) { .fb-1, .fb-2 { display: none; } }

/* ----- How it works ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }
@media (max-width: 980px) {
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

/* ----- Features ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feat-card {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.feat-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feat-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.feat-card p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

.feat-illu { margin-top: 22px; position: relative; }

/* Lexicon chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
}
.chip.user { background: var(--accent-soft); border-color: rgba(0,229,143,0.25); color: var(--accent); }

/* Score bars */
.score-rows { display: flex; flex-direction: column; gap: 10px; }
.score-row { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.score-row .label { font-family: var(--mono); color: var(--text-dim); width: 90px; flex-shrink: 0; }
.score-row .bar-track { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-card); overflow: hidden; }
.score-row .bar-fill { height: 100%; background: var(--accent); border-radius: 999px; box-shadow: 0 0 12px var(--accent-glow); }
.score-row .val { font-family: var(--mono); color: var(--text); width: 32px; text-align: right; }

/* ----- Demo ----- */
.demo-frame {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.7);
}
.demo-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
}
.demo-bar .dots { display: flex; gap: 6px; }
.demo-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.demo-bar .url {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.demo-body {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  min-height: 540px;
}
@media (max-width: 1100px) {
  .demo-body { grid-template-columns: 1fr; }
  .demo-side, .demo-side-r { display: none; }
}
.demo-side {
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  background: var(--bg);
}
.demo-side .group { margin-bottom: 20px; }
.demo-side .group-h {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0 10px; margin-bottom: 6px;
}
.demo-side .item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.demo-side .item.active { background: var(--accent-soft); color: var(--accent); }
.demo-side .item .num {
  margin-left: auto;
  font-family: var(--mono); font-size: 11px;
  color: var(--text-muted);
}

.demo-main { padding: 24px; }
.demo-main h4 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.demo-main .meta { font-family: var(--mono); font-size: 12px; color: var(--text-muted); margin-bottom: 22px; }
.demo-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.demo-tab {
  font-size: 13px; color: var(--text-dim);
  padding: 10px 14px;
  border: 0; background: transparent;
  border-bottom: 2px solid transparent;
}
.demo-tab.active { color: var(--text); border-bottom-color: var(--accent); }

.demo-transcript { display: flex; flex-direction: column; gap: 14px; }
.dt-row { display: flex; gap: 14px; }
.dt-time { font-family: var(--mono); font-size: 11px; color: var(--text-muted); width: 50px; flex-shrink: 0; padding-top: 2px; }
.dt-body { flex: 1; }
.dt-who { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.dt-row.client .dt-who { color: #F59E0B; }
.dt-row.agent .dt-who { color: var(--accent); }
.dt-text { font-size: 14px; line-height: 1.55; color: var(--text); }
.dt-text mark { background: rgba(245,158,11,0.15); color: #FBBF24; padding: 0 3px; border-radius: 3px; }
.dt-text .term { color: var(--accent); font-weight: 500; border-bottom: 1px dashed var(--accent); }

.demo-side-r { border-left: 1px solid var(--line); padding: 22px; background: var(--bg); }
.demo-side-r h5 { margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 500; font-family: var(--mono); }
.insight-card {
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
}
.insight-card.warn { border-color: rgba(245,158,11,0.3); }
.insight-card.pos { border-color: rgba(0,229,143,0.3); }
.insight-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.insight-h .ico { width: 18px; height: 18px; }
.insight-card.warn .insight-h { color: #F59E0B; }
.insight-card.pos .insight-h { color: var(--accent); }
.insight-card p { margin: 0; font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }

.demo-score-circle {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
}
.score-ring { width: 64px; height: 64px; flex-shrink: 0; }
.demo-score-circle .info .num { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.demo-score-circle .info .num .den { color: var(--text-muted); font-weight: 400; font-size: 14px; }
.demo-score-circle .info .lbl { font-size: 12px; color: var(--text-muted); }

/* ----- Metrics ----- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .metrics-grid { grid-template-columns: 1fr; } }
.metric-card {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.metric-num {
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  font-feature-settings: "tnum";
}
.metric-num .unit { color: var(--text); font-size: 0.5em; margin-left: 4px; }
.metric-label { margin-top: 14px; font-size: 14px; color: var(--text-dim); line-height: 1.5; }

/* ----- Integrations ----- */
.integrations-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .integrations-wrap { grid-template-columns: 1fr; } }
.integrations-h2 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.integrations-sub {
  color: var(--text-dim);
  margin: 0;
  font-size: 16px;
  max-width: 520px;
}
.crm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.crm-card {
  aspect-ratio: 1.1 / 1;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px;
  position: relative;
  transition: border-color .2s, background .2s;
}
.crm-card:hover { border-color: var(--accent); background: var(--bg-card); }
.crm-card .logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  font-family: var(--mono);
}
.crm-card .name { font-size: 13px; color: var(--text); font-weight: 500; }
.crm-card .status {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--mono); font-size: 10px;
  color: var(--accent);
  display: flex; align-items: center; gap: 4px;
}
.crm-card .status .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.integrations-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.int-item { display: flex; gap: 14px; align-items: flex-start; }
.int-item .ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.int-item .txt h4 { margin: 0 0 2px; font-size: 14px; font-weight: 500; }
.int-item .txt p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ----- Pricing ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  padding: 32px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-elev) 0%, color-mix(in oklab, var(--accent) 6%, var(--bg-elev)) 100%);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 30px 80px -30px var(--accent-glow);
}
.price-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: #06120C;
  font-size: 11px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.price-name { font-size: 14px; color: var(--text-dim); margin-bottom: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.price-amt { font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price-amt .per { font-size: 14px; color: var(--text-muted); margin-left: 4px; font-weight: 400; }
.price-desc { font-size: 14px; color: var(--text-dim); margin: 14px 0 22px; min-height: 40px; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li { display: flex; gap: 10px; font-size: 14px; color: var(--text-dim); }
.price-features li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

/* ----- Form ----- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form-side h2 { margin: 18px 0 16px; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.form-side > p { color: var(--text-dim); margin: 0 0 28px; font-size: 16px; }
.form-bullets { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.form-bullets .b { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-dim); }
.form-bullets .b svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.form-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input, .field select {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder { color: var(--text-muted); }
.field input.invalid, .field select.invalid {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.field input.invalid:focus, .field select.invalid:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}
/* Chrome autofill paints yellow over our dark inputs — override */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset;
  caret-color: var(--text);
}
.form-card .submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-card .privacy { font-size: 12px; color: var(--text-muted); max-width: 320px; line-height: 1.5; }
.form-card .privacy a { color: var(--text-dim); border-bottom: 1px dashed var(--line-strong); }
.form-card .privacy a:hover { color: var(--text); border-bottom-color: var(--text-dim); }
.form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}
button[disabled] { opacity: 0.6; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 48px 24px;
  display: none;
}
.form-success.is-visible { display: block; }
.form-success .check {
  width: 60px; height: 60px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
}
.form-success h3 { margin: 0 0 8px; font-size: 24px; font-weight: 500; }
.form-success p { color: var(--text-dim); }

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--text-muted); font-size: 13px; max-width: 320px; margin: 16px 0 0; line-height: 1.55; }
.footer-col h5 { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin: 0 0 18px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--text-muted);
  font-family: var(--mono);
}

/* Misc */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 0;
}

/* ----- Legal pages ----- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 120px) var(--pad-x) clamp(40px, 5vw, 72px);
}
.legal .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--text-muted);
  margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.legal .back:hover { color: var(--text); }
.legal h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
}
.legal .legal-meta {
  font-family: var(--mono); font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 40px;
}
.legal h2 {
  margin: 40px 0 14px;
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
}
.legal h3 {
  margin: 24px 0 8px;
  font-size: 16px; font-weight: 500;
}
.legal p, .legal li {
  font-size: 15px; color: var(--text-dim); line-height: 1.65;
}
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); border-bottom: 1px dashed var(--accent); }
.legal a:hover { color: var(--text); border-bottom-color: var(--text); }
.legal strong { color: var(--text); font-weight: 500; }
.legal hr {
  border: 0; height: 1px;
  background: var(--line);
  margin: 32px 0;
}
.legal .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 14px;
  font-size: 14px;
}
.legal .legal-table th, .legal .legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal .legal-table th {
  background: var(--bg-elev);
  color: var(--text);
  font-weight: 500;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.legal .legal-table td { color: var(--text-dim); }

