:root {
  --bg: #0b0d12;
  --bg-deep: #07090e;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(18, 22, 34, 0.9);
  --surface-3: #10131c;
  --text: #f9fafb;
  --text-soft: #d8dce7;
  --muted: #a9b0c0;
  --muted-2: #838b9d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --indigo: #6366f1;
  --indigo-soft: #818cf8;
  --violet: #8b5cf6;
  --violet-soft: #c084fc;
  --blue: #3b82f6;
  --green: #22c55e;
  --red: #fb7185;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --max: 1320px;
  --header-h: 76px;
  --shadow-panel: 0 22px 70px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 0 70px rgba(99, 102, 241, 0.16);
  --transition: 180ms ease;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
body {
  min-height: 100vh;
  font-family: Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 76% 7%, rgba(99, 102, 241, 0.10), transparent 27%),
    radial-gradient(circle at 18% 17%, rgba(59, 130, 246, 0.055), transparent 22%),
    linear-gradient(180deg, #090b10 0%, var(--bg) 26%, #090b10 100%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img, svg { display: block; max-width: 100%; }
svg { overflow: visible; }
::selection { background: rgba(129, 140, 248, 0.32); color: #fff; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 9px;
  background: #fff;
  color: #080a0f;
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid #a5b4fc;
  outline-offset: 4px;
}
summary:focus-visible { border-radius: 10px; }
section[id], #contact, #main-content { scroll-margin-top: 92px; }
main { overflow-x: clip; }
@supports not (overflow: clip) { main { overflow-x: hidden; } }

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

.section-wrap { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.section { padding-block: 118px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(8, 10, 15, 0.76);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.site-header-inner {
  width: min(var(--max), calc(100% - 56px));
  min-height: var(--header-h);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1;
}
.brand i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-soft), var(--violet-soft));
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.72);
}
.site-nav { display: flex; align-items: center; gap: 32px; color: #c2c7d3; font-size: 14px; }
.site-nav a { position: relative; padding-block: 9px; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, var(--indigo-soft), var(--violet-soft));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); opacity: 1; }
.header-cta { justify-self: end; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.nav-toggle > span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; }

/* Controls */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform var(--transition);
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--transition);
}
.button:hover { transform: translateY(-2px); }
.button:hover::before { opacity: 1; }
.button-primary {
  background: linear-gradient(135deg, #466ff4 0%, #6366f1 48%, #8b5cf6 100%);
  box-shadow: 0 14px 34px rgba(67, 75, 220, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.button-primary::before { background: rgba(255, 255, 255, 0.08); }
.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: #e5e7ee;
}
.button-secondary::before { background: rgba(255, 255, 255, 0.035); }
.button-header {
  min-height: 42px;
  border-color: rgba(99, 102, 241, 0.7);
  background: linear-gradient(180deg, rgba(17, 20, 32, 0.95), rgba(12, 14, 23, 0.95));
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08), 0 12px 28px rgba(46, 53, 170, 0.16);
}
.button-header::before { background: rgba(99, 102, 241, 0.08); }
.button-small { min-height: 42px; padding-inline: 16px; font-size: 13px; }
.button-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--transition); }
.button:hover .button-arrow { transform: translateX(3px); }
.button-play { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.button-play path { fill: currentColor; stroke: none; }

.eyebrow {
  margin: 0;
  color: #91a4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
}
.pill-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(99, 102, 241, 0.42);
  border-radius: 999px;
  background: rgba(54, 61, 141, 0.08);
  box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.055);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding-block: 74px 108px;
  display: grid;
  grid-template-columns: minmax(390px, 0.76fr) minmax(700px, 1.24fr);
  gap: 34px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 8;
  max-width: 520px;
  align-self: center;
}
.hero h1 {
  margin: 28px 0 0;
  max-width: 540px;
  font-size: clamp(48px, 4vw, 61px);
  line-height: 1.08;
  letter-spacing: -0.047em;
  font-weight: 760;
}
.hero h1 > span { display: block; }
.hero-accent {
  font-weight: inherit;
  background: linear-gradient(102deg, #60a5fa 0%, #6366f1 44%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  max-width: 490px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.value-badges { display: flex; align-items: flex-start; gap: 28px; margin-top: 42px; }
.value-badge {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 138px;
  color: #b8beca;
  font-size: 12px;
  line-height: 1.45;
}
.value-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, rgba(99, 102, 241, 0.22), rgba(22, 25, 42, 0.55) 65%);
  box-shadow: inset 0 0 14px rgba(99, 102, 241, 0.07);
}
.value-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #8d99ff;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-ambient { position: absolute; pointer-events: none; border-radius: 50%; }
.hero-ambient-a {
  width: 760px;
  height: 760px;
  right: -2%;
  top: -2%;
  background: radial-gradient(circle, rgba(92, 77, 255, 0.14), rgba(37, 61, 152, 0.04) 42%, transparent 68%);
}
.hero-ambient-b {
  width: 440px;
  height: 440px;
  left: -22%;
  bottom: -4%;
  background: radial-gradient(circle, rgba(39, 116, 255, 0.065), transparent 70%);
}

.hero-demo {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 650px;
  isolation: isolate;
  overflow: visible;
}
.demo-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transform: translateX(-50%);
  color: #c9c5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  white-space: nowrap;
}
.demo-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b7cff;
  box-shadow: 0 0 14px rgba(139, 124, 255, 0.82);
}
.demo-backdrop {
  position: absolute;
  inset: 4% -3% -1%;
  z-index: -5;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 49%, rgba(111, 79, 255, 0.27) 0%, rgba(73, 65, 207, 0.095) 26%, rgba(27, 43, 90, 0.03) 46%, transparent 69%);
}
.demo-tunnel {
  position: absolute;
  left: 52.5%;
  top: 51%;
  z-index: -3;
  width: 590px;
  height: 590px;
  transform: translate(-50%, -50%);
  opacity: 0.82;
  pointer-events: none;
}
.demo-tunnel i {
  position: absolute;
  border: 1px solid rgba(112, 105, 255, 0.095);
  border-radius: 50%;
}
.demo-tunnel i:nth-child(1) { inset: 0; }
.demo-tunnel i:nth-child(2) { inset: 72px; border-color: rgba(91, 109, 255, 0.12); }
.demo-tunnel i:nth-child(3) { inset: 144px; border-color: rgba(142, 100, 255, 0.16); }
.demo-tunnel i:nth-child(4) { inset: 216px; border-color: rgba(119, 133, 255, 0.18); }
.demo-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.demo-connections path {
  fill: none;
  stroke: url(#demoLine);
  stroke-width: 1.55;
  stroke-linecap: round;
}

.demo-card {
  position: absolute;
  z-index: 4;
  width: 238px;
  padding: 17px;
  border: 1px solid rgba(165, 174, 231, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 21, 34, 0.94), rgba(10, 13, 22, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f6f7fb;
}
.demo-card-head { display: flex; align-items: center; gap: 10px; min-height: 31px; }
.demo-card-head strong { font-size: 12px; font-weight: 740; letter-spacing: -0.01em; }
.demo-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(151, 148, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(85, 78, 173, 0.26), rgba(45, 49, 81, 0.15));
  flex: 0 0 auto;
}
.demo-icon svg { width: 16px; height: 16px; fill: none; stroke: #cfd4ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.status-chip {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(34, 197, 94, 0.14);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.09);
  color: #5ae58b;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.05em;
}
.demo-card small { display: flex; align-items: center; gap: 5px; margin-top: 12px; color: #8b93a5; font-size: 9px; line-height: 1.4; }
.demo-number { margin-top: 15px; font-size: 13px; font-weight: 680; letter-spacing: 0.01em; }
.waveform { display: flex; align-items: center; gap: 2px; height: 31px; margin-top: 8px; }
.waveform i { display: block; width: 2px; border-radius: 999px; background: linear-gradient(180deg, #60a5fa, #7c75ff); opacity: 0.95; transform-origin: center; }
.waveform i:nth-child(1), .waveform i:nth-child(14) { height: 7px; }
.waveform i:nth-child(2), .waveform i:nth-child(13) { height: 13px; }
.waveform i:nth-child(3), .waveform i:nth-child(12) { height: 21px; }
.waveform i:nth-child(4), .waveform i:nth-child(11) { height: 11px; }
.waveform i:nth-child(5), .waveform i:nth-child(10) { height: 25px; }
.waveform i:nth-child(6), .waveform i:nth-child(9) { height: 17px; }
.waveform i:nth-child(7), .waveform i:nth-child(8) { height: 28px; }
.chat { max-width: 185px; padding: 10px 11px; border-radius: 10px; font-size: 10px; line-height: 1.42; }
.chat-out { margin: 14px 0 7px auto; background: linear-gradient(135deg, #4b6cf4, #7b4df0); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.chat-in { margin-left: 31px; background: rgba(255, 255, 255, 0.065); color: #e0e2ea; }
.demo-fields { margin: 14px 0 0; }
.demo-fields div { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; margin-top: 5px; }
.demo-fields dt,
.demo-fields dd { min-height: 26px; display: flex; align-items: center; padding: 0 8px; border: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.025); font-size: 9.5px; line-height: 1.2; }
.demo-fields dt { color: #7d8597; border-radius: 6px 0 0 6px; }
.demo-fields dd { margin: 0; color: #dfe2ea; border-left: 0; border-radius: 0 6px 6px 0; }
.active-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.38); flex: 0 0 auto; }
.activity-list { list-style: none; padding: 4px 0 0; margin: 11px 0 0; }
.activity-list li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 7px; min-height: 34px; border-top: 1px solid rgba(255, 255, 255, 0.055); font-size: 10px; color: #d8dbe5; }
.activity-list li:first-child { border-top: 0; }
.activity-list i { width: 6px; height: 6px; border-radius: 50%; background: #8b5cf6; box-shadow: 0 0 8px rgba(139,92,246,.3); }
.activity-list time { color: #7c8394; font-size: 9px; }
.demo-call { left: 3%; top: 76px; }
.demo-sms { right: 0.6%; top: 78px; width: 246px; }
.demo-lead { left: -3%; top: 360px; width: 250px; }
.demo-task { left: 48%; bottom: 6px; width: 252px; transform: translateX(-50%); }
.demo-notify { right: -6%; top: 342px; width: 250px; }

.workflow-core {
  position: absolute;
  left: 52.5%;
  top: 51%;
  z-index: 7;
  width: 184px;
  height: 184px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(174, 168, 255, 0.8);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 17%, rgba(255,255,255,.16), transparent 22%),
    radial-gradient(circle at 50% 38%, rgba(104, 89, 255, 0.58), rgba(39, 36, 96, 0.95) 48%, rgba(10, 13, 25, 0.99) 76%);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.18),
    0 0 28px rgba(119, 105, 255, 0.78),
    0 0 78px rgba(99, 102, 241, 0.58),
    0 0 150px rgba(82, 71, 255, 0.32),
    inset 0 0 44px rgba(149, 134, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.workflow-core::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: -3px;
  height: 5px;
  border-radius: 999px;
  background: #f4f2ff;
  box-shadow: 0 0 8px #fff, 0 0 22px #b8b4ff, 0 0 42px #7c74ff;
  opacity: .96;
}
.workflow-core::after {
  content: "";
  position: absolute;
  inset: -58%;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 103, 255, 0.32) 0%, rgba(93, 81, 255, 0.14) 28%, rgba(65, 66, 170, 0.045) 52%, transparent 72%);
  opacity: .9;
}
.core-bloom {
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 144, 255, 0.22), transparent 69%);
}
.core-halo { position: absolute; border: 1px solid rgba(130, 119, 255, 0.17); border-radius: 50%; }
.core-halo-a { inset: -38px; }
.core-halo-b { inset: -78px; border-color: rgba(95, 113, 255, 0.09); }
.workflow-core svg { width: 54px; height: 54px; fill: none; stroke: #efeefe; stroke-width: 1.65; filter: drop-shadow(0 0 11px rgba(202, 195, 255, 0.92)); }
.workflow-core > span { margin-top: 11px; font-size: 10px; font-weight: 850; letter-spacing: 0.08em; }
.core-dots { display: flex; gap: 5px; margin-top: 13px; }
.core-dots i { width: 6px; height: 6px; border-radius: 50%; background: #705cff; box-shadow: 0 0 8px rgba(112,92,255,.7); }

/* What we build */
.build-section { padding-top: 66px; }
.build-shell {
  display: grid;
  grid-template-columns: 1.15fr 3.85fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.017), rgba(255, 255, 255, 0.006));
  overflow: hidden;
}
.build-intro { padding: 38px 34px; border-right: 1px solid var(--line); }
.build-intro h2 { margin: 16px 0 0; font-size: clamp(28px, 2.25vw, 36px); line-height: 1.08; letter-spacing: -0.035em; }
.build-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.build-card {
  position: relative;
  min-height: 340px;
  padding: 32px 24px 26px;
  border-right: 1px solid var(--line);
  isolation: isolate;
  transition: transform var(--transition);
}
.build-card:last-child { border-right: 0; }
.build-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.075), transparent 46%);
  opacity: 0;
  transition: opacity var(--transition);
}
.build-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #818cf8, #c084fc, transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.build-card:hover { transform: translateY(-4px); }
.build-card:hover::before, .build-card:hover::after { opacity: 1; }
.build-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(99, 102, 241, 0.24); border-radius: 11px; background: rgba(77, 87, 230, 0.075); }
.build-icon svg { width: 19px; height: 19px; fill: none; stroke: #8ea0ff; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.build-card h3 { margin: 22px 0 0; font-size: 17px; line-height: 1.18; letter-spacing: -0.02em; }
.build-card > p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.build-visual { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.055); }
.capture-visual { display: grid; gap: 8px; }
.capture-visual span { display: flex; align-items: center; gap: 7px; color: #949cad; font-size: 9px; }
.capture-visual i { width: 6px; height: 6px; border-radius: 50%; background: #7184ff; }
.followup-visual { display: grid; gap: 7px; }
.followup-visual span { width: fit-content; padding: 5px 8px; border: 1px solid rgba(255, 255, 255, 0.055); border-radius: 6px; background: rgba(255, 255, 255, 0.025); color: #939aab; font-size: 8.5px; }
.followup-visual span:nth-child(2) { margin-left: 24px; border-color: rgba(99, 102, 241, 0.18); color: #b5bcff; }
.task-visual { display: flex; align-items: center; gap: 8px; padding-top: 24px; }
.task-visual b { padding: 6px 7px; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 7px; color: #aeb4c3; font-size: 8px; font-weight: 650; }
.task-visual i { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(99, 102, 241, 0.22), rgba(129, 140, 248, 0.68)); }
.metrics-visual { display: grid; gap: 9px; }
.metrics-visual span { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.045); }
.metrics-visual small { color: #777f91; font-size: 8px; }
.metrics-visual strong { color: #b6bfff; font-size: 8px; }

/* Automation flow */
.automation-section { position: relative; }
.automation-heading { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: end; }
.automation-heading h2 { margin: 20px 0 0; font-size: clamp(40px, 4.1vw, 60px); line-height: 1.02; letter-spacing: -0.045em; }
.automation-heading-copy { padding-bottom: 4px; }
.automation-display { margin: 0; color: #edf0f7; font-size: clamp(21px, 2vw, 29px); line-height: 1.35; font-weight: 650; letter-spacing: -0.025em; }
.automation-display span { background: linear-gradient(135deg, #60a5fa, #818cf8 50%, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.automation-heading-copy > p:last-child { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.automation-flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.flow-track { position: absolute; left: 7%; right: 7%; top: 22px; height: 1px; background: linear-gradient(90deg, rgba(59, 130, 246, 0.25), rgba(129, 140, 248, 0.75), rgba(192, 132, 252, 0.42)); }
.automation-step {
  position: relative;
  min-height: 360px;
  padding: 52px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(17, 21, 32, 0.74), rgba(11, 14, 22, 0.82));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16);
}
.automation-number { position: absolute; top: -17px; left: 50%; z-index: 4; width: 36px; height: 36px; transform: translateX(-50%); display: grid; place-items: center; border: 1px solid rgba(129, 140, 248, 0.54); border-radius: 9px; background: #0d111a; color: #e8eaff; font-size: 12px; font-weight: 750; box-shadow: 0 0 22px rgba(99, 102, 241, 0.18); }
.automation-icon { width: 52px; height: 52px; margin: 0 auto; display: grid; place-items: center; border: 1px solid rgba(99, 102, 241, 0.26); border-radius: 14px; background: rgba(76, 83, 210, 0.075); }
.automation-icon svg { width: 25px; height: 25px; fill: none; stroke: #8295ff; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.step-kicker { margin: 22px 0 0; text-align: center; color: #c4c8d5; font-size: 10px; font-weight: 800; letter-spacing: 0.15em; }
.automation-step h3 { margin: 24px auto 0; max-width: 200px; text-align: center; font-size: 16px; line-height: 1.38; letter-spacing: -0.02em; }
.automation-step > p:last-child { margin: 10px auto 0; max-width: 205px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.62; }
.automation-step-core {
  border-color: rgba(99, 102, 241, 0.5);
  background: radial-gradient(circle at 50% 19%, rgba(99, 102, 241, 0.14), transparent 37%), linear-gradient(180deg, rgba(19, 23, 41, 0.95), rgba(11, 14, 25, 0.94));
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08), 0 18px 58px rgba(63, 59, 172, 0.19);
}
.automation-step-core .automation-icon { border-color: rgba(139, 92, 246, 0.42); background: rgba(99, 102, 241, 0.12); box-shadow: 0 0 28px rgba(99, 102, 241, 0.18); }
.automation-step-core .automation-icon svg { stroke: #c4b5fd; }
.integration-panel { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.014); }
.integration-label { display: block; text-align: center; color: #a5acbb; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; }
.integration-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.integration-item { min-width: 0; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.065); border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.012)); color: #939bad; }
.integration-item svg { width: 22px; height: 22px; fill: none; stroke: #7f92ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.integration-item span { font-size: 9px; }
.integration-more svg { stroke: #b8becb; }

/* Problems */
.problems-top { max-width: 700px; }
.problems-top h2 { margin: 20px 0 0; font-size: clamp(38px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.043em; }
.problem-list { margin-top: 58px; border-top: 1px solid var(--line); }
.problem-row { position: relative; display: grid; grid-template-columns: 80px minmax(220px, 0.8fr) minmax(0, 1.5fr) 24px; gap: 28px; align-items: center; min-height: 126px; border-bottom: 1px solid var(--line); }
.problem-index { color: #838b9d; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.problem-row h3 { margin: 0; font-size: 20px; letter-spacing: -0.025em; }
.problem-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.problem-row > svg { width: 20px; height: 20px; fill: none; stroke: #596173; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--transition), opacity var(--transition); opacity: 0.55; }
.problem-row:hover > svg { transform: translate(2px, -2px); opacity: 1; }

/* Process */
.process-shell { display: grid; grid-template-columns: 1.25fr 3.75fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.012); overflow: hidden; }
.process-intro { padding: 40px 34px; border-right: 1px solid var(--line); }
.process-intro h2 { margin: 18px 0 0; max-width: 300px; font-size: clamp(29px, 2.6vw, 39px); line-height: 1.08; letter-spacing: -0.04em; }
.process-pipeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 40px 28px 34px; }
.process-track { position: absolute; left: 8%; right: 8%; top: 59px; height: 1px; border-top: 1px dashed rgba(129, 140, 248, 0.27); }
.process-step { position: relative; padding: 0 18px; }
.process-step span { position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(99, 102, 241, 0.28); border-radius: 10px; background: #0c0f17; color: #9ca9ff; font-size: 11px; font-weight: 800; }
.process-step h3 { margin: 26px 0 0; font-size: 15px; letter-spacing: -0.015em; }
.process-step p { margin: 8px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

/* About */
.about-panel { position: relative; min-height: 340px; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 70px; padding: 56px 58px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(120deg, rgba(15, 19, 35, 0.96), rgba(10, 12, 19, 0.96)); }
.about-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 76% 34%, rgba(82, 76, 220, 0.16), transparent 36%), linear-gradient(90deg, rgba(59, 130, 246, 0.025), transparent 45%); }
.about-intro, .about-copy { position: relative; z-index: 2; }
.about-intro h2 { margin: 20px 0 0; max-width: 540px; font-size: clamp(40px, 4vw, 57px); line-height: 1.03; letter-spacing: -0.045em; }
.about-copy { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 36px; }
.about-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-copy p + p { margin-top: 18px; }
.about-rings { position: absolute; width: 360px; height: 360px; right: -110px; bottom: -140px; border: 1px solid rgba(99, 102, 241, 0.12); border-radius: 50%; }
.about-rings::before, .about-rings::after { content: ""; position: absolute; border: 1px solid rgba(99, 102, 241, 0.09); border-radius: 50%; }
.about-rings::before { inset: 48px; }
.about-rings::after { inset: 96px; }

/* FAQ */
.faq-section { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 80px; align-items: start; }
.faq-heading { position: sticky; top: 118px; }
.faq-heading h2 { margin: 20px 0 0; max-width: 430px; font-size: clamp(38px, 3.8vw, 54px); line-height: 1.05; letter-spacing: -0.043em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #edf0f6; font-size: 15px; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: #98a0b2; transform: translate(-50%, -50%); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--transition), opacity var(--transition); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-item > p { margin: -4px 44px 24px 0; max-width: 720px; color: var(--muted); font-size: 14px; line-height: 1.72; }

/* CTA */
.final-cta { padding-top: 70px; padding-bottom: 108px; }
.cta-panel { position: relative; min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 60px; border: 1px solid rgba(129, 140, 248, 0.18); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(120deg, rgba(13, 18, 35, 0.98), rgba(17, 15, 46, 0.96)); box-shadow: var(--shadow-panel); }
.cta-panel > *:not(.cta-grid):not(.cta-light) { position: relative; z-index: 2; }
.cta-panel h2 { margin: 19px 0 0; max-width: 720px; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.047em; }
.cta-panel > p:not(.eyebrow) { max-width: 650px; margin: 20px 0 0; color: #b0b6c6; font-size: 15px; line-height: 1.7; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.email-link { color: #c5cad7; font-size: 13px; font-weight: 650; }
.email-link span { display: inline-block; margin-left: 5px; transition: transform var(--transition); }
.email-link:hover span { transform: translate(2px, -2px); }
.cta-light { position: absolute; width: 620px; height: 620px; right: -100px; top: -210px; background: radial-gradient(circle, rgba(108, 92, 255, 0.33), rgba(73, 71, 211, 0.10) 40%, transparent 68%); }
.cta-grid { position: absolute; inset: 0; opacity: 0.22; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 42px 42px; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 70%); mask-image: linear-gradient(90deg, transparent 15%, #000 70%); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #090b10; }
.footer-grid { padding-block: 46px 34px; display: grid; grid-template-columns: 1.5fr 0.7fr 0.8fr; gap: 48px; }
.footer-brand p { max-width: 420px; margin: 17px 0 0; color: #7f8798; font-size: 12px; line-height: 1.65; }
.footer-links, .footer-legal { display: grid; align-content: start; gap: 10px; }
.footer-links a, .footer-legal a { color: #9da4b4; font-size: 12px; }
.footer-links a:hover, .footer-legal a:hover { color: #fff; }
.footer-bottom { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.05); color: #7f8798; font-size: 10px; letter-spacing: 0.04em; }

/* Legal pages and 404 */
.legal-header { position: sticky; }
.legal-header .site-header-inner { grid-template-columns: 1fr auto; }
.legal-page { width: min(860px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 124px; }
.legal-page h1 { margin: 18px 0 16px; font-size: clamp(44px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.047em; }
.legal-page h2 { margin: 42px 0 12px; font-size: 21px; letter-spacing: -0.02em; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 14px; line-height: 1.82; }
.legal-page ul { padding-left: 20px; }
.legal-meta { color: #7f8799 !important; font-size: 12px !important; }
.legal-back { display: inline-flex; margin-top: 34px; color: #c1c6d2; font-size: 13px; }
.text-link { color: #b8c1ff; }
.error-page { min-height: calc(100vh - var(--header-h)); width: min(760px, calc(100% - 48px)); margin: 0 auto; display: grid; place-content: center; text-align: center; padding-block: 70px; }
.error-page h1 { margin: 14px 0 0; font-size: clamp(54px, 9vw, 96px); line-height: 1; letter-spacing: -0.06em; }
.error-page p { max-width: 520px; margin: 20px auto 28px; color: var(--muted); line-height: 1.7; }

/* Progressive enhancement reveals */
.reveal { opacity: 1; transform: none; }
.reveal.will-reveal { opacity: 0; transform: translateY(18px); }
.reveal.will-reveal.is-visible { opacity: 1; transform: translateY(0); transition: transform 560ms cubic-bezier(.2,.75,.25,1), opacity 560ms ease; }

@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
  .demo-call, .demo-notify { animation: card-float-a 8s ease-in-out infinite; will-change: transform; }
  .demo-sms, .demo-lead { animation: card-float-b 9s ease-in-out infinite; will-change: transform; }
  .workflow-core::after { animation: core-light 4.2s ease-in-out infinite; will-change: transform, opacity; }
  .core-halo-a { animation: core-ring-a 4.6s ease-in-out infinite; will-change: transform, opacity; }
  .core-halo-b { animation: core-ring-b 5.4s ease-in-out infinite; will-change: transform, opacity; }
  .waveform i:nth-child(odd) { animation: wave-pulse-a 1.35s ease-in-out infinite; will-change: transform, opacity; }
  .waveform i:nth-child(even) { animation: wave-pulse-b 1.6s ease-in-out infinite; will-change: transform, opacity; }
  @keyframes card-float-a { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -5px, 0); } }
  @keyframes card-float-b { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, 4px, 0); } }
  @keyframes core-light { 0%, 100% { transform: scale(.96); opacity: .76; } 50% { transform: scale(1.08); opacity: 1; } }
  @keyframes core-ring-a { 0%, 100% { transform: scale(.97); opacity: .45; } 50% { transform: scale(1.05); opacity: .82; } }
  @keyframes core-ring-b { 0%, 100% { transform: scale(.95); opacity: .26; } 50% { transform: scale(1.08); opacity: .54; } }
  @keyframes wave-pulse-a { 0%, 100% { transform: scaleY(.72); opacity: .72; } 50% { transform: scaleY(1); opacity: 1; } }
  @keyframes wave-pulse-b { 0%, 100% { transform: scaleY(1); opacity: .96; } 50% { transform: scaleY(.66); opacity: .64; } }
}

/* Tablet */
@media (max-width: 1180px) {
  :root { --max: 1080px; }
  .build-shell { grid-template-columns: 1fr; }
  .build-intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .build-grid { grid-template-columns: repeat(2, 1fr); }
  .build-card:nth-child(2) { border-right: 0; }
  .build-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .automation-flow { gap: 10px; }
  .automation-step { padding-inline: 14px; min-height: 375px; }
  .integration-grid { grid-template-columns: repeat(5, 1fr); }
  .process-shell { grid-template-columns: 1fr; }
  .process-intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-intro h2 { max-width: 620px; }
  .process-pipeline { padding-inline: 22px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .section-wrap, .site-header-inner { width: min(100% - 36px, var(--max)); }
  .section { padding-block: 96px; }
  .site-header-inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: grid; justify-self: end; gap: 5px; }
  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    z-index: 20;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(11, 13, 18, 0.97);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
    opacity: 0;
    transform: translateY(-8px) scale(.985);
    transform-origin: top center;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding-inline: 10px; border-radius: 8px; }
  .site-nav a::after { display: none; }
  .header-cta { display: none; }

  .automation-heading { grid-template-columns: 1fr; gap: 28px; }
  .automation-heading-copy { max-width: 740px; }
  .automation-flow { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .flow-track { display: none; }
  .automation-step { min-height: 310px; padding-top: 46px; }
  .automation-step-core { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .automation-number { left: 24px; transform: none; }
  .automation-step:last-child { grid-column: 2; }
  .problem-row { grid-template-columns: 60px minmax(180px, .8fr) minmax(0, 1.4fr) 20px; gap: 20px; }
  .process-pipeline { display: grid; grid-template-columns: 1fr; overflow: visible; padding: 10px 28px 30px; }
  .process-track { left: 47px; right: auto; top: 38px; bottom: 54px; width: 1px; height: auto; border-top: 0; border-left: 1px dashed rgba(129, 140, 248, 0.24); }
  .process-step { min-height: 142px; padding: 26px 0 18px 66px; }
  .process-step span { position: absolute; left: 0; top: 20px; }
  .process-step h3 { margin-top: 0; font-size: 17px; }
  .process-step p { max-width: 650px; font-size: 12.5px; }
  .about-panel { grid-template-columns: 1fr; gap: 32px; padding: 46px; }
  .about-copy { padding-left: 0; border-left: 0; max-width: 720px; }
  .faq-section { grid-template-columns: 1fr; gap: 42px; }
  .faq-heading { position: static; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
}

/* Mobile */
@media (max-width: 768px) {
  html { scroll-behavior: auto; }
  body { background: linear-gradient(180deg, #090b10, #0b0d12 35%, #090b10); }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11, 13, 18, 0.97); }
  .section-wrap, .site-header-inner { width: calc(100% - 32px); }
  .section { padding-block: 78px; }
  .brand { font-size: 16px; }
  .build-section { padding-top: 52px; }
  .build-shell { border-radius: 20px; }
  .build-intro { padding: 28px 24px; }
  .build-intro h2 { font-size: 31px; }
  .build-grid { grid-template-columns: 1fr; }
  .build-card { min-height: 0; padding: 28px 24px; border-right: 0; border-bottom: 1px solid var(--line); transform: none !important; }
  .build-card:last-child { border-bottom: 0; }
  .build-card::before, .build-card::after { display: none; }

  .automation-heading h2 { font-size: clamp(40px, 11vw, 54px); }
  .automation-display { font-size: 22px; }
  .automation-flow { grid-template-columns: 1fr; gap: 18px; margin-top: 52px; }
  .automation-step, .automation-step-core, .automation-step:last-child { grid-column: auto; width: 100%; min-height: 0; padding: 48px 22px 26px; background: #10141e; box-shadow: none; }
  .automation-step-core { border-color: rgba(99, 102, 241, 0.44); background: linear-gradient(180deg, #13172a, #0f1320); }
  .automation-step h3, .automation-step > p:last-child { max-width: 360px; }
  .integration-panel { padding: 22px 16px; background: #0e1118; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-item { min-height: 72px; }

  .problems-top h2 { font-size: clamp(38px, 11vw, 50px); }
  .problem-list { margin-top: 40px; }
  .problem-row { grid-template-columns: 44px 1fr 20px; gap: 12px; padding: 24px 0; min-height: 0; }
  .problem-row h3 { font-size: 18px; }
  .problem-row p { grid-column: 2 / -1; font-size: 13px; }
  .problem-row > svg { grid-column: 3; grid-row: 1; }

  .process-shell { border-radius: 20px; }
  .process-intro { padding: 28px 24px; }
  .process-intro h2 { font-size: 32px; }
  .process-pipeline { padding: 8px 24px 26px; }
  .process-track { left: 42px; top: 34px; bottom: 52px; }
  .process-step { min-height: 150px; padding: 24px 0 18px 62px; }
  .process-step span { top: 18px; }
  .process-step h3 { margin: 0; }

  .about-panel { min-height: 0; padding: 36px 26px; border-radius: 20px; background: #10131d; }
  .about-panel::before { opacity: .65; }
  .about-intro h2 { font-size: clamp(38px, 10vw, 50px); }
  .about-copy p { font-size: 14px; }

  .faq-heading h2 { font-size: clamp(38px, 10vw, 50px); }
  .faq-item summary { min-height: 68px; font-size: 14px; }
  .faq-item > p { margin-right: 28px; font-size: 13px; }

  .final-cta { padding-top: 44px; padding-bottom: 82px; }
  .cta-panel { min-height: 0; padding: 42px 26px; border-radius: 20px; background: linear-gradient(145deg, #101628, #171330); box-shadow: none; }
  .cta-panel h2 { font-size: clamp(40px, 11vw, 54px); }
  .cta-light { width: 360px; height: 360px; right: -160px; top: -120px; opacity: .7; }
  .cta-grid { display: none; }
  .cta-actions { align-items: flex-start; flex-direction: column; }
  .cta-actions .button { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { margin-top: 4px; }

  .legal-header .site-header-inner { grid-template-columns: 1fr auto; }
  .legal-header .header-cta { display: inline-flex; }
  .legal-page { width: calc(100% - 32px); padding: 68px 0 92px; }
  .legal-page h1 { font-size: clamp(42px, 12vw, 58px); }
}

@media (max-width: 430px) {
  .hero-actions .button { width: 100%; flex-basis: auto; }
  .value-badge { font-size: 11.5px; }
  .integration-grid { grid-template-columns: 1fr 1fr; }
  .legal-header .header-cta { display: none; }
}

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

/* v1.5 hero responsive refinement */
@media (max-width: 1240px) and (min-width: 961px) {
  .hero { grid-template-columns: minmax(360px, .78fr) minmax(600px, 1.22fr); gap: 24px; }
  .hero h1 { font-size: clamp(44px, 4.35vw, 56px); }
  .hero-demo { height: 610px; transform: scale(.92); transform-origin: center right; width: 108.7%; margin-left: -8.7%; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-block: 68px 88px; grid-template-columns: 1fr; gap: 62px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 760px; font-size: clamp(48px, 7vw, 64px); }
  .hero-lede { max-width: 640px; }
  .value-badges { max-width: 650px; }
  .hero-demo { width: min(820px, 100%); height: 640px; margin-inline: auto; }
  .demo-notify { right: -1%; }
  .demo-lead { left: -1%; }
}

@media (max-width: 768px) {
  .hero { padding-block: 54px 76px; gap: 48px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .button { flex: 1 1 210px; }
  .hero-ambient { display: none; }
  .hero h1 { margin-top: 22px; font-size: clamp(40px, 11.4vw, 56px); line-height: 1.055; }
  .hero h1 > span { display: inline; }
  .hero h1 > span::after { content: " "; }
  .hero-lede { margin-top: 24px; font-size: 16px; line-height: 1.68; }
  .value-badges { display: grid; grid-template-columns: 1fr; gap: 13px; margin-top: 30px; }
  .value-badge { max-width: none; grid-template-columns: 28px 1fr; }
  .value-icon { width: 28px; height: 28px; }

  .hero-demo {
    height: auto;
    min-height: 0;
    padding: 62px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: transparent;
  }
  .demo-badge { top: 4px; font-size: 10px; letter-spacing: .24em; }
  .demo-backdrop { inset: -2% -22% 55%; background: radial-gradient(circle, rgba(99,102,241,.16), transparent 66%); }
  .demo-tunnel, .demo-connections { display: none; }
  .workflow-core {
    position: relative;
    order: -1;
    left: auto;
    top: auto;
    width: 154px;
    height: 154px;
    margin: 0 auto 18px;
    transform: none;
    box-shadow: 0 0 0 1px rgba(129,140,248,.16), 0 0 30px rgba(99,102,241,.42), 0 0 68px rgba(99,102,241,.24), inset 0 0 38px rgba(149,134,255,.18);
  }
  .workflow-core::after { inset: -42%; opacity: .72; }
  .core-halo-a { inset: -26px; }
  .core-halo-b { inset: -48px; }
  .workflow-core svg { width: 46px; height: 46px; }
  .demo-card {
    position: relative;
    inset: auto !important;
    width: 100% !important;
    margin: 0;
    transform: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #11151f;
    box-shadow: none;
  }
  .demo-call, .demo-sms, .demo-lead, .demo-task, .demo-notify { animation: none !important; will-change: auto !important; }
  .demo-card-head strong { font-size: 12px; }
  .chat { max-width: 82%; font-size: 10.5px; }
  .demo-fields dt, .demo-fields dd { font-size: 10px; }
  .activity-list li { font-size: 10.5px; }
  .activity-list time { font-size: 9px; }
  .core-halo, .workflow-core::after, .waveform i { animation: none !important; will-change: auto !important; }
}

@media (max-width: 430px) {
  .demo-badge { gap: 10px; font-size: 9px; letter-spacing: .2em; }
}

/* v1.5 final hero hierarchy tuning */
@media (min-width: 1241px) {
  .hero { grid-template-columns: minmax(360px, .7fr) minmax(720px, 1.3fr); gap: 34px; }
  .hero-copy { max-width: 500px; }
  .hero h1 { max-width: 500px; font-size: clamp(46px, 3.65vw, 54px); line-height: 1.085; }
  .hero-lede { max-width: 470px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: clamp(38px, 10.3vw, 44px); line-height: 1.07; letter-spacing: -0.042em; }
}
