/* AI Support promo — visual language aligned with moyrab.ru */
:root {
  --bg: #0d0d0d;
  --accent: #dc2828;
  --accent-glow: rgba(220, 40, 40, 0.4);
  --blue-glow: rgba(37, 99, 235, 0.18);
  --green: #22c55e;
  --warn: #f59e0b;
  --text: #f5f5f5;
  --text-2: #a0a0a0;
  --text-3: #666;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.1em 0.45em;
  border-radius: 6px;
  font-size: 0.92em;
  color: #fff;
}

/* Background */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(220, 40, 40, 0.12), transparent 42%),
    radial-gradient(ellipse at 82% 18%, var(--blue-glow), transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.03), transparent 50%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}
main, .nav, .footer, .mobile-menu { position: relative; z-index: 1; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 40px);
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
/* Brand logo — mirror of moyrab.ru .brand-logo (robot + wordmark + wink) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dc2828;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.brand-logo svg.brand-mark,
.brand-logo .brand-mark {
  display: block;
  overflow: visible;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.brand-logo:hover svg.brand-mark {
  transform: scale(1.05);
}
.brand-wordmark {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: lowercase;
  white-space: nowrap;
  line-height: 1;
}
.brand-dot { color: #dc2828; }
.nav-sep { color: var(--text-3); margin: 0 2px 0 4px; font-size: 16px; font-weight: 600; }
.nav-product {
  color: var(--text-2);
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
/* Eyelids closed by default (scaleY 0); right eye winks on hover / .winking */
.robot-eyelid {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: scaleY(0);
}
.brand-logo:hover .robot-eyelid--right,
.brand-logo.winking .robot-eyelid--right {
  animation: robot-wink 0.5s;
}
@keyframes robot-wink {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  68% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo:hover svg.brand-mark { transform: none; }
  .brand-logo:hover .robot-eyelid--right,
  .brand-logo.winking .robot-eyelid--right { animation: none; }
}
.footer .brand-wordmark { font-size: 17px; }
.nav-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--text-2); }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-burger span { width: 16px; height: 1.5px; background: #fff; display: block; }
.mobile-menu {
  display: none; position: fixed; inset: 64px 12px auto; z-index: 39;
  background: rgba(18, 18, 18, 0.96); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; flex-direction: column; gap: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 12px; border-radius: 10px; color: var(--text-2); }
.mobile-menu a:hover { background: var(--surface); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 13.5px;
  border-radius: 999px; padding: 10px 16px; border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 1px rgba(220,40,40,.3), 0 10px 30px rgba(220,40,40,.22);
}
.btn-primary:hover { background: #e83a3a; }
.btn-ghost {
  background: var(--surface); border-color: var(--border-2); color: #fff;
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { padding: 14px 22px; font-size: 14.5px; }
.tg-ico { flex-shrink: 0; }
.offer-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.offer-pills span {
  font-size: 12.5px; color: var(--text-2);
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 6px 12px;
}
.offer-pills strong { color: #fff; font-weight: 700; }
.audience-toggle {
  display: inline-flex; margin-top: 18px; padding: 3px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  gap: 2px;
}
.aud-tab {
  border: none; background: transparent; color: var(--text-2);
  font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px;
  border-radius: 999px; cursor: pointer; transition: .15s;
}
.aud-tab.active { background: var(--accent); color: #fff; }
.aud-hint { margin-top: 10px; font-size: 13.5px; color: var(--text-3); max-width: 42ch; }
.contact-line { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.contact-line a { color: var(--text-2); }

/* Typography */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(34px, 5.6vw, 64px); }
h2 { font-size: clamp(28px, 4.2vw, 48px); }
h3 { font-size: 18px; margin-bottom: 8px; }
.grad {
  background: linear-gradient(105deg, #fff 10%, #ffb4b4 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead, .section-sub {
  color: var(--text-2); font-size: clamp(15px, 1.8vw, 18px); max-width: 54ch; margin-top: 18px; line-height: 1.6;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .section-sub { margin-top: 14px; }

/* Layout */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding: 120px clamp(16px, 4vw, 40px) 72px;
  max-width: calc(var(--max) + 80px); margin: 0 auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border);
}
.hero-meta strong { display: block; font-size: 14px; font-weight: 700; }
.hero-meta span { font-size: 12px; color: var(--text-3); }

.section {
  padding: 88px clamp(16px, 4vw, 40px);
  max-width: calc(var(--max) + 80px); margin: 0 auto;
}
.section.alt {
  max-width: none;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02), transparent);
}
.section.alt > * { max-width: calc(var(--max) + 80px); margin-left: auto; margin-right: auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.section.alt > .section-head { padding-left: 0; padding-right: 0; }

/* Dashboard mock */
.dash {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--border-2);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(220,40,40,.08);
}
.dash-top {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--text-2);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.dash-dots i:first-child { background: #ff5f57; }
.dash-dots i:nth-child(2) { background: #febc2e; }
.dash-dots i:nth-child(3) { background: #28c840; }
.pill {
  margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
}
.pill.live { background: rgba(34,197,94,.15); color: var(--green); border: 1px solid rgba(34,197,94,.35); }
.dash-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border-bottom: 1px solid var(--border);
}
.kpi { background: #121212; padding: 14px 12px; }
.kpi-label { display: block; font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.kpi-val { display: block; font-family: var(--display); font-size: 22px; font-weight: 800; margin-top: 4px; letter-spacing: -0.03em; }
.kpi-val.accent { color: #ff8b8b; }
.kpi-val.green { color: var(--green); }
.kpi-val.warn { color: var(--warn); }
.kpi-delta { font-size: 11px; color: var(--text-3); }
.kpi-delta.up { color: var(--green); }
.dash-body { padding: 14px; display: grid; gap: 12px; background: #0f0f0f; }
.ticket {
  border: 1px solid var(--border); border-radius: 14px; padding: 14px;
  background: rgba(255,255,255,0.03);
}
.ticket-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mp {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: .04em;
}
.mp.ozon { background: rgba(0,91,255,.18); color: #7eb0ff; }
.mp.wb { background: rgba(203,17,171,.16); color: #f0a0e4; }
.stars { color: var(--warn); font-size: 11px; letter-spacing: 1px; }
.status {
  margin-left: auto; font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
}
.status.draft { background: rgba(37,99,235,.18); color: #93c5fd; }
.status.sent { background: rgba(34,197,94,.15); color: #86efac; }
.status.esc { background: rgba(220,40,40,.15); color: #fca5a5; }
.ticket-q { font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.ticket-ai {
  border-left: 2px solid var(--accent); padding: 8px 12px;
  background: rgba(220,40,40,.06); border-radius: 0 10px 10px 0;
}
.ai-label {
  font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: .1em; text-transform: uppercase;
}
.ticket-ai p { font-size: 12.5px; color: var(--text-2); margin-top: 4px; line-height: 1.45; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  font-size: 11px; padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-2); background: var(--surface);
}
.chip.ok { border-color: rgba(34,197,94,.35); color: #86efac; background: rgba(34,197,94,.1); }
.chip.muted { opacity: .7; }

.flow-mini {
  display: flex; align-items: center; gap: 4px; overflow-x: auto;
  padding: 8px 4px 2px;
}
.fm-step {
  flex: none; font-size: 11px; color: var(--text-3);
  padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border);
  background: #141414;
}
.fm-step b { color: var(--text-2); margin-right: 4px; }
.fm-step.on { border-color: rgba(220,40,40,.35); color: #fff; }
.fm-step.on b { color: var(--accent); }
.fm-step.pulse {
  border-color: rgba(37,99,235,.5); box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  animation: pulse 2s infinite;
}
.fm-line { flex: 1; min-width: 10px; height: 1px; background: var(--border); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,.25); }
  50% { box-shadow: 0 0 0 6px rgba(37,99,235,0); }
}

/* Pain */
.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.pain {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px;
  transition: border-color .2s, transform .2s;
}
.pain:hover { border-color: rgba(220,40,40,.35); transform: translateY(-2px); }
.pain-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(220,40,40,.1); border: 1px solid rgba(220,40,40,.2); margin-bottom: 14px; font-size: 18px;
}
.pain p { font-size: 13.5px; color: var(--text-2); }

/* Split / compare */
.split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start;
}
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px; color: var(--text-2); font-size: 14.5px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(34,197,94,.15);
  box-shadow: inset 0 0 0 1px rgba(34,197,94,.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2286efac' stroke-width='2'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.check-list.compact li { font-size: 14px; }
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.compare-col {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  background: #111;
}
.compare-col.after {
  border-color: rgba(220,40,40,.35);
  background: linear-gradient(180deg, rgba(220,40,40,.1), rgba(255,255,255,0.02));
}
.badge {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .12em;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-3); margin-bottom: 12px;
}
.badge.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.compare-col h4 { margin-bottom: 12px; font-size: 16px; }
.compare-col ul { list-style: none; display: grid; gap: 8px; }
.compare-col li { font-size: 13.5px; color: var(--text-2); padding-left: 14px; position: relative; }
.compare-col li::before {
  content: "–"; position: absolute; left: 0; color: var(--text-3);
}
.compare-col.after li::before { content: "+"; color: var(--green); }

/* Pipeline */
.pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.pipe-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px; min-height: 220px;
  position: relative; overflow: hidden;
}
.pipe-step::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .55;
}
.pipe-num {
  font-family: var(--display); font-weight: 800; font-size: 28px;
  color: rgba(255,255,255,0.08); letter-spacing: -0.04em; margin-bottom: 8px;
}
.pipe-step h3 { font-size: 17px; margin-bottom: 8px; }
.pipe-step p { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.pipe-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pipe-tags span {
  font-size: 10px; font-weight: 600; color: var(--text-3);
  border: 1px solid var(--border); padding: 3px 7px; border-radius: 999px;
}

/* Features */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.feat {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; background: var(--surface);
  border-left: 2px solid var(--accent);
  transition: background .2s, transform .2s;
}
.feat:hover { background: var(--surface-2); transform: translateY(-2px); }
.feat p { font-size: 13.5px; color: var(--text-2); }

/* UI stage */
.ui-stage {
  border: 1px solid var(--border-2); border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.ui-chrome { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; background: #101010; }
.ui-side {
  border-right: 1px solid var(--border); padding: 18px 12px;
  background: #0c0c0c; display: flex; flex-direction: column; gap: 4px;
}
.ui-logo {
  font-family: var(--display); font-weight: 800; font-size: 14px;
  padding: 8px 10px 18px; color: #fff;
}
.ui-nav {
  font-size: 13px; color: var(--text-2); padding: 9px 10px; border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.ui-nav.active { background: rgba(220,40,40,.12); color: #fff; }
.ui-nav em {
  font-style: normal; font-size: 10px; font-weight: 700;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 6px;
}
.ui-foot { margin-top: auto; font-size: 11px; color: var(--text-3); padding: 10px; }
.ui-main { display: flex; flex-direction: column; }
.ui-bar {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 14px;
}
.ui-table { padding: 8px 12px 16px; }
.ui-row {
  display: grid; grid-template-columns: 1.1fr 0.7fr 1.4fr 0.7fr;
  gap: 8px; padding: 11px 10px; font-size: 12.5px; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.05); align-items: center;
}
.ui-row.head { color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.st {
  justify-self: start; font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
}
.st.draft { background: rgba(37,99,235,.15); color: #93c5fd; }
.st.sent { background: rgba(34,197,94,.12); color: #86efac; }
.st.esc { background: rgba(220,40,40,.15); color: #fca5a5; }

/* Metrics */
.metric-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.metric {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; background: var(--surface); min-height: 160px;
}
.metric-val {
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em; color: #fff; margin-bottom: 10px;
  background: linear-gradient(120deg, #fff, #ffb4b4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric-label { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.fineprint { margin-top: 22px; font-size: 12.5px; color: var(--text-3); max-width: 70ch; }

/* Stack — always visible, fluid grid (no broken details accordion) */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  width: 100%;
}
.stack-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  background: var(--surface);
  text-align: center;
  min-width: 0;
  transition: border-color .2s, background .2s;
}
.stack-card:hover {
  border-color: rgba(220, 40, 40, 0.35);
  background: var(--surface-2);
}
.stack-card b {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stack-card span {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
}

/* VS table */
.vs-table {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  max-width: 820px;
}
.vs-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1.15fr;
  gap: 8px; padding: 12px 16px; font-size: 13.5px;
  border-bottom: 1px solid var(--border); align-items: center;
}
.vs-row:last-child { border-bottom: none; }
.vs-row.head {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; color: var(--text-3); background: rgba(255,255,255,0.03);
}
.vs-row > span:first-child { color: var(--text-2); font-weight: 600; }
.vs-row .hi { color: #fff; }
.vs-row .no { color: var(--text-3); }
.vs-row .yes { color: #86efac; font-weight: 600; }

/* Examples */
.examples {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.ex {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; background: var(--surface);
}
.ex-badge {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 12px;
}
.ex-badge.ok { background: rgba(34,197,94,.12); color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.ex-badge.warn { background: rgba(245,158,11,.12); color: #fcd34d; border: 1px solid rgba(245,158,11,.3); }
.ex-q, .ex-a { font-size: 14px; line-height: 1.5; margin-bottom: 10px; color: var(--text-2); }
.ex-q span, .ex-a span {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 4px;
}
.ex-a { color: #e8e8e8; padding-left: 12px; border-left: 2px solid var(--accent); }
.ex-meta { font-size: 12px; color: var(--text-3); }

/* ROI */
.roi {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); background: var(--surface); max-width: 900px;
}
.roi-controls { display: grid; gap: 18px; margin-bottom: 22px; }
.roi-controls label { display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.roi-controls b { color: #fff; }
.roi-controls input[type=range] {
  appearance: none; height: 4px; border-radius: 2px; background: var(--surface-2);
  outline: none; width: 100%;
}
.roi-controls input[type=range]::-webkit-slider-thumb {
  appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); cursor: pointer; box-shadow: 0 0 8px var(--accent-glow);
}
.roi-out {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.roi-out > div {
  border: 1px solid var(--border); border-radius: 12px; padding: 14px;
  background: #111;
}
.roi-k { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.roi-v {
  font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.03em; color: #fff;
}

/* FAQ — full container width, smooth open */
.faq {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-item:hover { border-color: var(--border-2); }
.faq-item.open {
  border-color: rgba(220, 40, 40, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15.5px;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}
.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(220, 40, 40, 0.45);
  background: rgba(220, 40, 40, 0.1);
  position: relative;
  transition: transform .3s ease, background .25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--accent);
  border-radius: 1px;
  transition: transform .3s ease, opacity .25s ease;
}
.faq-icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-icon {
  background: rgba(220, 40, 40, 0.2);
  transform: rotate(90deg);
}
.faq-item.open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(.2, .7, .2, 1);
}
.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}
.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-panel-inner p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 90ch;
}
.faq-panel-inner a {
  color: #ffb4b4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-panel { transition: none; }
  .faq-icon, .faq-icon::before, .faq-icon::after { transition: none; }
}

/* Pipeline lit on scroll */
.pipe-step.is-on {
  border-color: rgba(220,40,40,.4);
  box-shadow: 0 0 0 1px rgba(220,40,40,.12);
}
.pipe-step.is-on .pipe-num { color: rgba(220,40,40,.35); }

/* Day timeline */
.timeline {
  display: grid; gap: 14px; max-width: 820px;
}
.tl {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start;
}
.tl-time {
  font-family: var(--display); font-weight: 800; font-size: 15px;
  color: var(--accent); padding-top: 18px; letter-spacing: -0.02em;
}
.tl-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; background: var(--surface);
  border-left: 2px solid var(--accent);
}
.tl-card h3 { font-size: 17px; margin-bottom: 8px; }
.tl-card p { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.tl-stats {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.tl-stats span {
  font-size: 12px; color: var(--text-2);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 10px;
}
.tl-stats b { color: #fff; font-weight: 700; }

/* Audience */
.audience {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.aud {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; background: var(--surface);
}
.aud h3 { margin-bottom: 10px; }
.aud > p { font-size: 14px; color: var(--text-2); margin-bottom: 4px; }

/* Final */
.final { padding-bottom: 120px; }
.final-inner { text-align: center; max-width: 780px; margin: 0 auto; }
.final-inner .section-sub { margin-left: auto; margin-right: auto; }
.final-inner .eyebrow { justify-content: center; }
.final-inner .eyebrow::before { display: none; }
.final-note {
  margin-top: 20px; font-size: 13px; color: var(--text-3);
}
.final-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.final-note a:hover { color: #fff; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
  padding: 0;
}
.sticky-cta .btn {
  width: 100%; box-shadow: 0 12px 40px rgba(220,40,40,.35);
}
.sticky-cta.visible { display: block; }
@media (min-width: 901px) {
  .sticky-cta { display: none !important; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px clamp(16px, 4vw, 40px) 28px;
  background: rgba(0,0,0,.35);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer p { color: var(--text-3); font-size: 13px; margin-top: 10px; max-width: 36ch; }
.footer-links { display: flex; gap: 18px; font-size: 13.5px; color: var(--text-2); }
.footer-links a:hover { color: #fff; }
.copy {
  max-width: var(--max); margin: 28px auto 0; padding-top: 18px;
  border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3);
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .fm-step.pulse { animation: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .pain-grid, .pipeline, .feat-grid, .metric-row, .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; min-height: auto; }
  .hero-visual { order: -1; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .split, .compare, .ui-chrome, .audience, .examples { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr; gap: 4px; }
  .vs-row.head { display: none; }
  .roi-out { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .ui-row { grid-template-columns: 1fr 0.7fr 0.7fr; }
  .ui-row span:nth-child(3) { display: none; }
  .ui-row.head span:nth-child(3) { display: none; }
  .tl { grid-template-columns: 56px 1fr; gap: 10px; }
  .brand-wordmark { font-size: 17px; }
  .nav-product { display: none; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .pain-grid, .feat-grid, .metric-row, .pipeline, .stack-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 10px; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
