:root {
  --bg: #010106;
  --panel: rgba(255, 255, 255, 0.035);
  --panel_strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.085);
  --line_soft: rgba(255, 255, 255, 0.055);
  --text: #ffffff;
  --muted: #a7a5b4;
  --quiet: #73717e;
  --purple: #a645dc;
  --purple_two: #7c45ff;
  --cyan: #7edce5;
  --gold: #eec45e;
  --rose: #d75683;
  --grad: linear-gradient(100deg, #79dce8 0%, #e6d479 29%, #d75980 57%, #a645dc 75%, #5746ff 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

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

p, h1, h2, h3, h4 {
  margin: 0;
}

strong {
  color: #fff;
  font-weight: 700;
}

/* cursor glow + scroll progress */
.cursor_glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(166, 69, 220, 0.13), transparent 62%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: transform;
}

.scroll_bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 80;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(166, 69, 220, 0.6);
}

.page_grid {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(rgba(255,255,255,0.01) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 0.5px, transparent 0.5px),
    radial-gradient(circle at 30% 15%, rgba(166, 69, 220, 0.045), transparent 30%),
    radial-gradient(circle at 80% 45%, rgba(30, 70, 110, 0.035), transparent 28%),
    var(--bg);
  background-size: 96px 96px, 96px 96px, auto, auto, auto;
}

.container,
.nav_shell {
  width: min(1264px, calc(100% - 64px));
  margin: 0 auto;
}

/* header */
.site_header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(1, 1, 6, 0.7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site_header.scrolled {
  background: rgba(1, 1, 6, 0.9);
  border-bottom-color: var(--line_soft);
}

.nav_shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.nav_cluster {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav_tools {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

body.nav_lock {
  overflow: hidden;
}

.nav_toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: 1px solid var(--line_soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav_toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav_toggle_icon {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav_toggle_icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site_header.nav_open .nav_toggle_icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site_header.nav_open .nav_toggle_icon span:nth-child(2) {
  opacity: 0;
}

.site_header.nav_open .nav_toggle_icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav_backdrop {
  position: fixed;
  inset: 64px 0 0;
  z-index: 59;
  background: rgba(1, 1, 6, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.nav_backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand_logo {
  display: block;
  height: 30px;
  width: auto;
}

.brand_sym {
  display: none;
}

.brand_mark {
  position: relative;
  width: 35px;
  height: 35px;
  display: inline-block;
  border-radius: 999px;
  background:
    radial-gradient(circle at 74% 24%, #fff 0 8%, transparent 9%),
    conic-gradient(from 225deg, #3858ff, #9b45ff, #ff995c, #72dce8, #3858ff);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 0 26px rgba(166,69,220,0.45);
  animation: spinmark 14s linear infinite;
}

@keyframes spinmark {
  to { transform: rotate(360deg); }
}

.brand_mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: #010106;
  box-shadow: inset 0 0 16px rgba(255,255,255,0.2);
}

.nav_links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #a6a4b0;
  font-size: 14px;
  font-weight: 500;
}

.nav_links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav_links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.25s ease;
}

.nav_links a:hover {
  color: #fff;
}

.nav_links a:hover::after {
  width: 100%;
}

.nav_actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #f6f3fb;
  font-size: 14px;
  font-weight: 500;
}

.nav_actions_drawer {
  display: none;
}

/* buttons */
.pill_btn,
.outline_btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  padding: 0 32px;
  font-weight: 650;
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pill_btn {
  background: var(--purple);
  box-shadow: 0 0 38px rgba(166,69,220,0.28);
}

.pill_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 46px rgba(166,69,220,0.5);
}

.nav_btn {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 18px;
}

.outline_btn {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.035);
}

.outline_btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.07);
}

.outline_btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 64px 0 0;
  overflow: hidden;
}

.hero_orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.5;
}

.orb_a {
  top: 8%;
  left: -6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 69, 255, 0.5), transparent 70%);
  animation: float1 16s ease-in-out infinite;
}

.orb_b {
  bottom: -10%;
  right: -4%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(126, 220, 229, 0.28), transparent 70%);
  animation: float2 20s ease-in-out infinite;
}

.orb_c {
  top: 38%;
  right: 30%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(215, 86, 131, 0.3), transparent 70%);
  animation: float1 24s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -36px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 30px); }
}

.hero_inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 112px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(166,69,220,0.38);
  border-radius: 999px;
  background: rgba(166,69,220,0.12);
  color: #bf69ee;
  font-size: 14px;
  font-weight: 500;
}

.eyebrow svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

h1, h2 {
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.1;
  overflow-wrap: break-word;
}

h1 {
  margin: 30px auto 0;
  max-width: 980px;
  font-size: clamp(44px, 6vw, 86px);
}

h1 span,
h2 span,
.gradtext {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}

/* rotator */
.rotator_line {
  display: block;
  min-height: 2.2em;
}

.rotator {
  display: inline-block;
  position: relative;
  min-width: 0.5em;
}

.rotator_word {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  animation: rotin 0.5s ease;
}

.rotator_word.out {
  animation: rotout 0.35s ease forwards;
}

@keyframes rotin {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes rotout {
  to { opacity: 0; transform: translateY(-14px); }
}

.hero_text {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.button_row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.centered,
.button_row.centered {
  justify-content: center;
}

.hero_inner .button_row {
  justify-content: center;
}

.hero_stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 60px auto 0;
  padding: 28px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero_stats strong {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 760;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero_stats span {
  display: block;
  margin-top: 8px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.5;
}

.hero_note {
  margin-top: 30px;
  color: #6f6d79;
  font-size: 14px;
}

.scroll_hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  z-index: 3;
}

.scroll_hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* section shells */
section {
  border-top: 1px solid var(--line_soft);
}

.diagnosis,
.demos,
.different,
.products,
.proof,
.final_cta {
  padding: 110px 0;
}

.section_head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  margin-bottom: 18px;
  color: #777582;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.purple {
  color: #b761f0;
}

h2 {
  font-size: clamp(36px, 4.4vw, 60px);
}

.lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.55;
}

.lead.narrow,
.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* TALLY */
.tally {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.tally_count {
  font-size: 16px;
  color: var(--muted);
}

.tally_count b {
  font-size: 22px;
  color: #fff;
}

.tally_track {
  position: relative;
  height: 8px;
  margin: 14px 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.tally_fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 999px;
  background: var(--grad);
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tally_msg {
  color: var(--quiet);
  font-size: 14px;
  transition: color 0.3s ease;
}

/* DIAGNOSIS GRID */
.diag_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flip {
  height: 344px;
  perspective: 1400px;
  cursor: pointer;
}

.flip_inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.flip.flipped .flip_inner {
  transform: rotateY(180deg);
}

.flip_face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.flip:hover .flip_front {
  border-color: rgba(166,69,220,0.5);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-4px);
}

/* persistent flip affordance on every front face */
.flip_front::after {
  content: "⟲";
  position: absolute;
  top: 13px;
  right: 13px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(166,69,220,0.18);
  border: 1px solid rgba(166,69,220,0.45);
  color: #e0b6f7;
  font-size: 15px;
  transition: transform 0.4s ease, background 0.25s ease;
}

.flip:hover .flip_front::after {
  background: rgba(166,69,220,0.36);
  transform: rotate(-180deg);
}

/* one-time wiggle hint on the first card */
.flip.hint .flip_inner {
  animation: flipHint 1.4s ease 2;
}

@keyframes flipHint {
  0%, 100% { transform: rotateY(0); }
  38% { transform: rotateY(-28deg); }
  72% { transform: rotateY(0); }
}

.flip_back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, rgba(126,220,229,0.12), rgba(124,69,255,0.1));
  border-color: rgba(126,220,229,0.32);
}

.diag_icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.diag_tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diag_tag.solved {
  background: rgba(126,220,229,0.18);
  color: #aef0f6;
}

.flip_face h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.28;
}

.flip_face p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.flip_cue {
  align-self: flex-start;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, #a645dc, #7c45ff);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(166,69,220,0.4);
  animation: cuePulse 2.2s ease-in-out infinite;
}

@keyframes cuePulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(166,69,220,0.32); }
  50% { box-shadow: 0 8px 30px rgba(166,69,220,0.7); }
}

.flip:hover .flip_cue {
  background: linear-gradient(120deg, #b455e8, #8a55ff);
}

.flip_cue.back {
  background: rgba(126,220,229,0.16);
  border: 1px solid rgba(126,220,229,0.4);
  color: #aef0f6;
  box-shadow: none;
  animation: none;
}

.diag_cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.diag_cta p {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--muted);
}

/* DEMOS */
.demo_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 46px 0;
}

.demo_row.reverse .demo_copy {
  order: 2;
}

.demo_step {
  display: inline-block;
  margin-bottom: 18px;
  color: #c875ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo_copy h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 640;
  line-height: 1.2;
}

.demo_copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.ticks {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  font-size: 16px;
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(126,220,229,0.16);
  color: #aef0f6;
  font-size: 12px;
  font-weight: 700;
}

.demo_visual {
  display: flex;
  justify-content: center;
}

/* phone (whatsapp) */
.phone {
  width: 100%;
  max-width: 360px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0c1410;
  box-shadow: 0 34px 90px rgba(0,0,0,0.55), 0 0 70px rgba(37, 211, 102, 0.08);
  overflow: hidden;
}

.phone_top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #1f2c25;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.phone_avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #04200f;
  font-weight: 800;
  font-size: 13px;
}

.phone_top b {
  font-size: 15px;
}

.phone_top small {
  display: block;
  color: #8fd6a8;
  font-size: 12px;
}

.phone_body {
  height: 380px;
  overflow: hidden;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background:
    radial-gradient(circle at 20% 10%, rgba(37,211,102,0.05), transparent 40%),
    #0b120e;
}

.bubble_msg {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  animation: pop 0.4s forwards;
}

.bubble_msg.me {
  align-self: flex-end;
  background: #075e54;
  border-bottom-right-radius: 4px;
  color: #eafff4;
}

.bubble_msg.them {
  align-self: flex-start;
  background: #1f2c25;
  border-bottom-left-radius: 4px;
  color: #e9f3ee;
}

.bubble_msg b {
  color: #7ee0a6;
}

@keyframes pop {
  to { opacity: 1; transform: none; }
}

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #1f2c25;
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6f8a7c;
  animation: blink 1.2s infinite;
}

.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* chat card (agent) */
.chat_card {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  overflow: hidden;
}

.chat_head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line_soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #62bf70;
}

.dot.live {
  box-shadow: 0 0 0 0 rgba(98,191,112,0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(98,191,112,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(98,191,112,0); }
  100% { box-shadow: 0 0 0 0 rgba(98,191,112,0); }
}

.chat_body {
  height: 360px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.line {
  max-width: 84%;
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px);
  animation: pop 0.4s forwards;
}

.line.cust {
  align-self: flex-end;
  background: rgba(255,255,255,0.08);
  border-bottom-right-radius: 4px;
}

.line.ai {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(166,69,220,0.22), rgba(124,69,255,0.18));
  border: 1px solid rgba(166,69,220,0.3);
  border-bottom-left-radius: 4px;
  color: #f3e9ff;
}

.line small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--quiet);
}

/* data card */
.data_card {
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0d0d16;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  overflow: hidden;
}

.data_prompt {
  display: flex;
  gap: 10px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line_soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: #e7e2f2;
  background: rgba(255,255,255,0.02);
}

.data_caret {
  color: #c875ff;
  font-weight: 700;
}

.data_answer {
  padding: 24px 22px;
  height: 290px;
  overflow: hidden;
}

.data_kpi b {
  font-size: 20px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.data_kpi small {
  display: block;
  margin-top: 6px;
  color: var(--quiet);
  font-size: 13px;
}

.data_bars {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.dbar {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.dbar_track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.dbar_fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--grad);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dbar_val {
  color: #fff;
  font-weight: 600;
}

.query_pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.qpill {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qpill:hover {
  border-color: rgba(166,69,220,0.5);
  color: #fff;
}

.qpill.active {
  border-color: rgba(166,69,220,0.7);
  background: rgba(166,69,220,0.16);
  color: #fff;
}

/* DIFFERENT / toggle */
.toggle_compare {
  max-width: 820px;
  margin: 0 auto;
}

.toggle_hint {
  margin: 0 auto 14px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.toggle_hint b {
  color: #d9a9f4;
}

.toggle_hint.done {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.hint_hand {
  display: inline-block;
  animation: handBob 1.2s ease-in-out infinite;
}

@keyframes handBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.toggle_head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

/* nudge the Strategy Fox tab until the user interacts */
.tg.pulse {
  animation: tgPulse 1.8s ease-in-out infinite;
}

@keyframes tgPulse {
  0%, 100% { color: var(--muted); text-shadow: none; }
  50% { color: #fff; text-shadow: 0 0 18px rgba(166,69,220,0.9); }
}

.tg {
  position: relative;
  z-index: 2;
  padding: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.25s ease;
}

.tg.active {
  color: #fff;
}

.tg_slider {
  position: absolute;
  z-index: 1;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(166,69,220,0.4), rgba(124,69,255,0.34));
  border: 1px solid rgba(166,69,220,0.5);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toggle_head.us .tg_slider {
  transform: translateX(100%);
}

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

.toggle_panel {
  display: none;
}

.toggle_panel.active {
  display: block;
  animation: fadeup 0.4s ease;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.toggle_panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.toggle_panel li {
  position: relative;
  padding: 18px 22px 18px 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--muted);
  line-height: 1.55;
}

.toggle_panel[data-panel="them"] li::before {
  content: "✕";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(215,86,131,0.18);
  color: #f0a8c2;
  font-size: 12px;
  font-weight: 700;
}

.toggle_panel[data-panel="us"] li {
  border-color: rgba(126,220,229,0.22);
  background: linear-gradient(180deg, rgba(126,220,229,0.07), rgba(255,255,255,0.02));
  color: #d7e9ec;
}

.toggle_panel[data-panel="us"] li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(126,220,229,0.2);
  color: #aef0f6;
  font-size: 12px;
  font-weight: 700;
}

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 960px;
  margin: 48px auto 0;
}

.cap_group {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.cap_group:last-child {
  border-color: rgba(166,69,220,0.32);
  background: linear-gradient(180deg, rgba(166,69,220,0.1), rgba(255,255,255,0.02));
}

.cap_label {
  margin-bottom: 16px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cap_group:last-child .cap_label {
  color: #c875ff;
}

.cap_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cap_chips span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.cap_chips .cap_plus {
  border-color: rgba(166,69,220,0.45);
  background: rgba(166,69,220,0.14);
  color: #e7c4fb;
  font-weight: 600;
}

/* PRODUCTS */
.product_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product_tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product_tile:hover {
  border-color: rgba(166,69,220,0.45);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}

.product_cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #11111a;
  border-bottom: 1px solid var(--line);
}

.product_cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product_tile:hover .product_cover img {
  transform: scale(1.07);
}

.product_cover_grad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(circle at 30% 25%, rgba(126,220,229,0.4), transparent 55%),
    linear-gradient(135deg, rgba(166,69,220,0.55), rgba(124,69,255,0.45));
}

.cover_mono {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.cover_label {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product_mono {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(1,1,6,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-style: normal;
  font-weight: 720;
  font-size: 13px;
}

.product_body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.product_tile h3 {
  font-size: 21px;
}

.product_tile small {
  display: block;
  margin-top: 6px;
  color: #8d8a99;
  font-size: 14px;
}

.product_tile p {
  margin-top: 16px;
  flex: 1;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.product_link {
  display: inline-flex;
  margin-top: 22px;
  color: #c875ff;
  font-weight: 600;
}

/* PROOF */
.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.founder_photo {
  position: relative;
}

.founder_photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(166,69,220,0.32);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.founder_caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(1,1,6,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.founder_caption b {
  display: block;
  font-size: 17px;
}

.founder_caption small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.founder_story p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.founder_story p + p {
  margin-top: 16px;
}

.cred_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cred_chips span {
  padding: 9px 15px;
  border: 1px solid rgba(166,69,220,0.35);
  border-radius: 999px;
  background: rgba(166,69,220,0.1);
  color: #e7c4fb;
  font-size: 13px;
  font-weight: 600;
}

.marquee_label {
  text-align: center;
  color: var(--quiet);
  font-size: 15px;
  margin-bottom: 40px;
}

.logo_wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto 56px;
}

.logo_cell {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.logo_cell:hover {
  border-color: rgba(166,69,220,0.4);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}

.logo_cell img {
  max-width: 100%;
  max-height: 104px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.62;
  transition: opacity 0.25s ease;
}

.logo_cell:hover img {
  opacity: 1;
}

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

.quote_grid article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.025));
}

.quote_grid span {
  color: #c875ff;
  font-size: 38px;
  line-height: 1;
}

.quote_grid p {
  min-height: 96px;
  margin-top: 8px;
  color: #e5e2ed;
  font-size: 17px;
  line-height: 1.7;
}

.quote_grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.quote_grid b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(166,69,220,0.18);
  color: #e2b9ff;
}

.quote_grid small {
  color: var(--muted);
}

/* FINAL CTA */
.final_cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.final_cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(166,69,220,0.16), transparent 55%);
  pointer-events: none;
}

.final_cta .container {
  position: relative;
  max-width: 920px;
}

.final_cta h2 {
  margin-top: 8px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.12;
}

.pill_btn.large,
.outline_btn.large {
  min-width: 220px;
  min-height: 56px;
  font-size: 18px;
}

.fine_print {
  margin-top: 28px;
  color: #777582;
}

/* FOOTER */
.site_footer {
  padding: 62px 0 34px;
  border-top: 1px solid var(--line_soft);
  background: #010106;
}

.footer_grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 44px;
}

.site_footer h4 {
  margin: 0 0 18px;
}

.site_footer p {
  max-width: 320px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.site_footer a:not(.brand) {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site_footer a:not(.brand):hover {
  color: #fff;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line_soft);
  color: #777582;
}

.footer_bottom a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer_bottom a:hover {
  color: #fff;
}

/* EDGE */
.edge {
  padding: 110px 0;
  border-top: 1px solid var(--line_soft);
}

.edge_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.edge_grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.edge_grid i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(166,69,220,0.14);
  color: #d9a9f4;
  font-size: 20px;
  font-style: normal;
}

.edge_grid h3 {
  margin-bottom: 12px;
}

.edge_grid p {
  color: var(--muted);
  line-height: 1.7;
}

.edge_case {
  margin-top: 18px;
  padding: 26px 30px;
  border: 1px solid rgba(126,220,229,0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(126,220,229,0.08), rgba(255,255,255,0.02));
}

.edge_case_tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(126,220,229,0.18);
  color: #aef0f6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edge_case p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.edge_case em {
  color: #aef0f6;
  font-style: italic;
}

.trend_spotlight {
  margin-top: 18px;
  padding: 32px;
  border: 1px solid rgba(166,69,220,0.35);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(166,69,220,0.2), transparent 45%),
    linear-gradient(180deg, rgba(166,69,220,0.1), rgba(255,255,255,0.02));
}

.trend_head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.trend_badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #0c0712;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trend_head h3 {
  font-size: 22px;
}

.trend_spotlight p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.trend_spotlight .trend_cta {
  margin-top: 14px;
  color: #e7c4fb;
}

/* edge accordion */
.edge_acc {
  display: grid;
  gap: 12px;
}

.acc_item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.acc_item.open {
  border-color: rgba(166,69,220,0.4);
  background: linear-gradient(180deg, rgba(166,69,220,0.1), rgba(255,255,255,0.02));
}

.acc_q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.acc_q i {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(166,69,220,0.16);
  color: #d9a9f4;
  font-size: 18px;
  font-style: normal;
}

.acc_q span {
  flex: 1;
}

.acc_ico {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
}

.acc_ico::before,
.acc_ico::after {
  content: "";
  position: absolute;
  background: #c875ff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.acc_ico::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.acc_ico::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.acc_item.open .acc_ico::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc_a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc_item.open .acc_a {
  max-height: 200px;
}

.acc_a p {
  margin: 0;
  padding: 0 22px 22px 78px;
  color: var(--muted);
  line-height: 1.7;
}

/* founder timeline */
.founder_intro {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.timeline li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-left: 2px solid var(--line);
  transition: border-color 0.25s ease;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #1a1422;
  border: 2px solid #7c45ff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.timeline li:hover {
  border-left-color: rgba(166,69,220,0.7);
}

.timeline li:hover::before {
  transform: scale(1.4);
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(166,69,220,0.18);
}

.timeline b {
  font-size: 17px;
}

.timeline small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

/* keep the 'with it' line together on the demos heading */
.demos .section_head {
  max-width: 940px;
}

/* CONTACT FORM */
.lead_form {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: left;
}

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

.form_row2 {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}

.lead_form input,
.lead_form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lead_form textarea {
  resize: vertical;
  min-height: 58px;
}

.lead_form input::placeholder,
.lead_form textarea::placeholder {
  color: var(--quiet);
}

.lead_form input:focus,
.lead_form textarea:focus {
  outline: none;
  border-color: rgba(166,69,220,0.6);
  background: rgba(255,255,255,0.06);
}

.form_row2 .pill_btn {
  white-space: nowrap;
  height: 100%;
}

.form_status {
  margin-top: 14px;
  min-height: 20px;
  font-size: 15px;
  color: var(--muted);
}

.form_status.ok {
  color: #8fe6b0;
}

.form_status.err {
  color: #f0a8c2;
}

.form_alt {
  margin-top: 20px;
  color: var(--quiet);
  font-size: 15px;
}

.form_alt a {
  color: #c875ff;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .diag_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .nav_shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .nav_cluster {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 61;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line_soft);
    background: rgba(1, 1, 6, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  }

  .site_header.nav_open .nav_cluster {
    display: flex;
  }

  .nav_tools {
    grid-column: 2;
    gap: 10px;
  }

  .nav_actions {
    gap: 10px;
  }

  .nav_work_header {
    display: none;
  }

  .nav_actions .nav_btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav_toggle {
    display: inline-flex;
  }

  .nav_links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav_links a {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 10px;
    color: #e8e6ef;
  }

  .nav_links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav_links a::after {
    display: none;
  }

  .nav_actions_drawer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line_soft);
  }

  .nav_actions_drawer .nav_btn {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    white-space: normal;
  }

  .hero_stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .demo_row,
  .founder {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .founder_photo {
    max-width: 340px;
    margin: 0 auto;
  }
  .demo_row.reverse .demo_copy {
    order: 0;
  }
  .quote_grid {
    grid-template-columns: 1fr;
  }
  .logo_wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container,
  .nav_shell {
    width: min(100% - 32px, 1264px);
  }
  .site_header {
    height: 60px;
  }

  .nav_cluster {
    top: 60px;
    max-height: calc(100dvh - 60px);
    padding: 16px 20px 24px;
  }

  .nav_backdrop {
    inset: 60px 0 0;
  }

  .brand_logo {
    height: 26px;
    max-width: min(120px, 34vw);
    object-fit: contain;
    object-position: left center;
  }

  .nav_tools {
    gap: 8px;
  }

  .nav_actions {
    gap: 8px;
  }

  .nav_actions .nav_btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav_toggle {
    width: 40px;
    height: 40px;
    margin: 0;
  }
  .diagnosis,
  .demos,
  .different,
  .products,
  .edge,
  .proof,
  .final_cta {
    padding: 76px 0;
  }
  .diag_grid {
    grid-template-columns: 1fr;
  }
  .flip {
    height: 344px;
  }
  .product_grid,
  .edge_grid {
    grid-template-columns: 1fr;
  }
  .logo_wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .logo_cell img {
    max-height: 80px;
  }
  .form_row3,
  .form_row2 {
    grid-template-columns: 1fr;
  }
  .trend_spotlight,
  .edge_case {
    padding: 24px;
  }
  .hero_stats {
    margin-top: 44px;
  }
  .button_row,
  .pill_btn,
  .outline_btn {
    width: 100%;
  }
  .footer_grid {
    grid-template-columns: 1fr;
  }
  .footer_bottom {
    flex-direction: column;
  }
  .cursor_glow {
    display: none;
  }

  /* larger, more readable body text on mobile */
  .lead {
    font-size: 18px;
  }
  .hero_text {
    font-size: 18px;
  }
  .hero_stats span {
    font-size: 14px;
  }
  .hero_note {
    font-size: 14px;
  }
  .flip_face h3 {
    font-size: 19px;
  }
  .flip_face p {
    font-size: 15.5px;
  }
  .diag_tag {
    font-size: 12px;
  }
  .flip_cue {
    font-size: 14px;
  }
  .tally_count {
    font-size: 17px;
  }
  .tally_msg {
    font-size: 15px;
  }
  .demo_copy > p {
    font-size: 17px;
  }
  .ticks li {
    font-size: 16.5px;
  }
  .product_tile p {
    font-size: 16px;
  }
  .product_tile small {
    font-size: 15px;
  }
  .toggle_panel li {
    font-size: 16px;
  }
  .capabilities {
    grid-template-columns: 1fr;
  }
  .cap_chips span {
    font-size: 15px;
  }
  .cred_chips span {
    font-size: 13px;
  }
  .toggle_hint {
    font-size: 15px;
  }
  .query_pills .qpill {
    font-size: 15px;
  }
  .data_prompt,
  .dbar {
    font-size: 14px;
  }
  .quote_grid p,
  .founder_story p {
    font-size: 17px;
  }
  .founder_caption b {
    font-size: 16px;
  }
  .marquee_label {
    font-size: 15px;
  }
  .site_footer p,
  .site_footer a:not(.brand) {
    font-size: 16px;
  }
  .footer_bottom {
    font-size: 15px;
  }
}

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