/* ============================================================
   NODEPOOL — v2 · Minimal, ordered, editorial
   Inspirado en soygalo.com: tons de espacio, jerarqu a clara,
   pill eyebrows, headlines en sans con  nfasis en serif it lico.
   Paleta original preservada: cyan + violet/magenta SOLO en el
   widget de voz/chat (donde aporta significado).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ah: 196;    /* accent hue   cyan */
  --ah2: 212;   /* secondary accent hue   toward teal */

  /* Voice palette   vivid spectrum for the orb + waves (KEEP) */
  --g1: oklch(0.64 0.18 248);  /* blue   */
  --g2: oklch(0.58 0.21 292);  /* purple */
  --g3: oklch(0.64 0.21 354);  /* magenta */
  --g4: oklch(0.74 0.14 196);  /* cyan   */

  --font-scale: 1;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1160px;
  --gut: clamp(20px, 5vw, 48px);
  --sp-section: clamp(48px, 5.5vw, 88px);

  --ease: cubic-bezier(.22, 1, .36, 1);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
}

/* Light (default) */
:root, [data-theme="light"] {
  --bg:        #ffffff;
  --bg-2:      oklch(0.985 0.002 285);
  --bg-inset:  oklch(0.965 0.003 285);
  --ink:       oklch(0.18 0.005 285);
  --ink-soft:  oklch(0.44 0.008 285);
  --ink-faint: oklch(0.62 0.008 285);
  --line:      oklch(0.925 0.003 285);
  --line-soft: oklch(0.96 0.002 285);
  --accent:    oklch(0.52 0.16 var(--ah));
  --accent-2:  oklch(0.55 0.15 var(--ah2));
  --accent-ink: #ffffff;
  --accent-wash: oklch(0.52 0.16 var(--ah) / 0.08);
  --btn-bg: oklch(0.18 0.005 285);
  --btn-fg: #ffffff;
  --card:      #ffffff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.03), 0 12px 32px -14px rgb(0 0 0 / 0.10);
}

[data-theme="dark"] {
  --bg:        oklch(0.16 0.005 285);
  --bg-2:      oklch(0.198 0.006 285);
  --bg-inset:  oklch(0.235 0.007 285);
  --ink:       oklch(0.96 0.004 285);
  --ink-soft:  oklch(0.76 0.007 285);
  --ink-faint: oklch(0.56 0.008 285);
  --line:      oklch(0.30 0.007 285);
  --line-soft: oklch(0.245 0.006 285);
  --accent:    oklch(0.72 0.14 var(--ah));
  --accent-2:  oklch(0.74 0.13 var(--ah2));
  --accent-ink: oklch(0.16 0.01 285);
  --accent-wash: oklch(0.72 0.14 var(--ah) / 0.14);
  --btn-bg: oklch(0.96 0.004 285);
  --btn-fg: oklch(0.16 0.006 285);
  --card:      oklch(0.20 0.006 285);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 18px 40px -16px rgb(0 0 0 / 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: calc(15.5px * var(--font-scale));
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}

::selection { background: var(--ink); color: var(--bg); }
[data-i18n-hide] { display: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Typography ---------- */
/* Headlines now lead with sans heavy + italic-serif emphasis (a la soygalo) */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.018em; color: var(--ink); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--accent); }

.display {
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.022em;
}
.h2 { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; }
.lede {
  font-size: clamp(14.5px, 0.95vw, 16.5px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 52ch;
}
.hero .lede { font-size: clamp(15px, 1.05vw, 17.5px); }

/* ---------- Eyebrow (mono uppercase + accent rule) ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  opacity: .7;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: transform .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bg);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: oklch(0.24 0.006 285);
  border-color: oklch(0.24 0.006 285);
}
[data-theme="dark"] .btn-primary:hover {
  background: oklch(0.90 0.004 285);
  border-color: oklch(0.90 0.004 285);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-2); transform: translateY(-1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translate(3px, 0); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--ink);
  position: relative; flex: none; display: grid; place-items: center;
}
.brand-mark svg { width: 16px; height: 16px; overflow: visible; }
.brand-mark path { fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: var(--bg); }
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 500;
  position: relative; transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* tiny pill toggles */
.toggle {
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  border-radius: 999px; cursor: pointer; font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  height: 36px; transition: border-color .2s, color .2s, background .2s;
  display: inline-flex; align-items: center; justify-content: center;
}
.toggle:hover { border-color: var(--ink); color: var(--ink); }
.lang-toggle { width: 64px; gap: 0; overflow: hidden; padding: 0; }
.lang-toggle span { flex: 1; padding: 8px 0; transition: color .2s, background .2s; }
.lang-toggle span.on { background: var(--ink); color: var(--bg); }
.theme-toggle { width: 36px; }
.theme-toggle svg { width: 15px; height: 15px; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .moon { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(36px, 5vw, 72px); padding-bottom: var(--sp-section); overflow: hidden; }
#particles { display: none; } /* clean stage   no noise */

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr minmax(340px, 420px);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 { margin: 18px 0 22px; }
.hero-cta { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-meta .stat .n {
  font-family: var(--sans); font-weight: 600;
  font-size: 30px; line-height: 1; letter-spacing: -0.03em;
}
.hero-meta .stat .n em {
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink);
}
.hero-meta .stat .l {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint);
  margin-top: 10px; letter-spacing: -0.002em;
}
.hero-meta .stat { position: relative; padding-left: 0; }
.hero-meta .stat::before { display: none; }

/* ---------- Voice / chat demo card (phone-shaped silhouette) ---------- */
.voice-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 22px 18px;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.04),
    0 28px 64px -22px rgb(0 0 0 / 0.18);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  align-content: start;
  min-height: 660px;
  max-width: 420px;
  margin: 0 auto;
}
.voice-card::before { content: none; }
.vc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; grid-area: 1 / 1; }
.vc-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }

.live-dot { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--ink-soft); letter-spacing: .06em; }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 var(--accent-wash); opacity:1 } 50%{ box-shadow: 0 0 0 6px transparent; opacity:.5 } }

.vc-transcript { min-height: 132px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.bubble {
  font-size: 14.5px; line-height: 1.45; padding: 11px 15px; border-radius: 14px; max-width: 86%;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.bubble.show { opacity: 1; transform: none; }
.bubble.user { align-self: flex-end; background: var(--bg-inset); color: var(--ink); border-bottom-right-radius: 5px; }
.bubble.agent {
  align-self: flex-start; background: var(--bg-2); color: var(--ink);
  border-bottom-left-radius: 5px; border: 1px solid var(--line);
}
.bubble .who { font-family: var(--mono); font-size: 10px; letter-spacing:.08em; text-transform: uppercase; color: var(--ink-faint); display:block; margin-bottom: 3px; }
.typing i { display:inline-block; width:5px; height:5px; border-radius:50%; background: var(--ink-soft); margin-right:3px; animation: typing 1.2s infinite; }
.typing i:nth-child(2){ animation-delay:.2s } .typing i:nth-child(3){ animation-delay:.4s }
@keyframes typing { 0%,60%,100%{ transform: translateY(0); opacity:.4 } 30%{ transform: translateY(-4px); opacity:1 } }

/* ---------- Voice stage (KEEP   vibrant orb) ---------- */
@property --ga   { syntax: "<angle>";  initial-value: 0deg;  inherits: false; }
@property --pmax { syntax: "<number>"; initial-value: 1.04;  inherits: true; }
@property --gop  { syntax: "<number>"; initial-value: 0.42;  inherits: true; }

.vc-foot { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.gem-stage { display: flex; align-items: center; justify-content: center; gap: 12px; }

.gem-orb {
  width: 64px; height: 64px; flex: none; border: none; cursor: pointer; padding: 0;
  position: relative; background: transparent; border-radius: 36%;
  --pmax: 1.04; --gop: .42;
  animation: orbPulse 2.7s ease-in-out infinite;
  transition: --pmax .7s var(--ease), --gop .7s var(--ease), filter .4s var(--ease);
}
.gem-orb:hover { filter: brightness(1.06); }
@keyframes orbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(var(--pmax)); } }

.gem-orb .orb-inner {
  position: absolute; inset: 0;
  border-radius: 34% 38% 32% 36% / 36% 32% 38% 34%;
  background: conic-gradient(from var(--ga), var(--g1), var(--g2), var(--g3), var(--g4), var(--g1));
  box-shadow: 0 8px 24px -8px var(--g2);
  animation: orbSpin 6s linear infinite, orbMorph 8s ease-in-out infinite;
}
.gem-orb .orb-inner::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(110% 80% at 32% 24%, oklch(1 0 0 / .6), oklch(1 0 0 / 0) 52%);
}
.gem-orb .orb-glow {
  position: absolute; inset: -9px; border-radius: 42%; z-index: -1;
  background: conic-gradient(from var(--ga), var(--g1), var(--g2), var(--g3), var(--g4), var(--g1));
  filter: blur(calc(13px + (var(--gop) - .42) * 22px)); opacity: var(--gop);
  animation: orbSpin 6s linear infinite;
}
@keyframes orbSpin { to { --ga: 360deg; } }
@keyframes orbMorph {
  0%, 100% { border-radius: 34% 38% 32% 36% / 36% 32% 38% 34%; }
  50%      { border-radius: 40% 30% 38% 32% / 30% 40% 32% 38%; }
}

.gem-orb.listening { --pmax: 1.055; --gop: .50; }
.gem-orb.thinking  { --pmax: 1.05;  --gop: .58; }
.gem-orb.active    { --pmax: 1.11;  --gop: .64; }

.gem-orb::before, .gem-orb::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
}
.gem-orb:not(.listening):not(.thinking):not(.active)::after {
  border: 2px solid var(--g4);
  animation: idlePulse 3.6s ease-in-out infinite;
}
@keyframes idlePulse {
  0%, 100% { transform: scale(1); opacity: 0; }
  50%      { transform: scale(1.16); opacity: .28; }
}
.gem-orb.thinking::before {
  inset: -5px; border-radius: 50%; opacity: .95;
  background: conic-gradient(from var(--ga), transparent 0 64%, var(--g3) 80%, var(--g2) 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: orbSpin 1s linear infinite;
}
.gem-orb.active::before { border: 2px solid var(--g1); animation: speakRipple 1.15s ease-out infinite; }
.gem-orb.active::after  { border: 2px solid var(--g3); animation: speakRipple 1.15s ease-out infinite .58s; }
@keyframes speakRipple {
  0%   { transform: scale(.9); opacity: .5; }
  100% { transform: scale(1.95); opacity: 0; }
}

.vc-foot { --wamp: .5; --wspd: 3.6s; }
.wave {
  position: relative; flex: 1; height: 42px; overflow: hidden;
  transform: scaleY(var(--wamp)); transform-origin: center;
  transition: transform .6s var(--ease);
}
.gw-left  { -webkit-mask: linear-gradient(to left,  #000 0%, #000 22%, transparent 96%); mask: linear-gradient(to left,  #000 0%, #000 22%, transparent 96%); }
.gw-right { -webkit-mask: linear-gradient(to right, #000 0%, #000 22%, transparent 96%); mask: linear-gradient(to right, #000 0%, #000 22%, transparent 96%); }
.sine { position: absolute; top: 0; left: 0; width: 200%; height: 100%; animation: flow var(--wspd) linear infinite; }
.gw-right .sine { animation-direction: reverse; }
.sine path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sine.s1 { opacity: .9; }  .sine.s1 path { stroke: var(--g1); }
.sine.s2 { opacity: .65; animation-delay: -1.5s; } .sine.s2 path { stroke: var(--g3); }
.sine.s3 { opacity: .5;  animation-delay: -3s; }   .sine.s3 path { stroke: var(--g2); }
@keyframes flow { to { transform: translateX(-50%); } }

.vc-foot:has(.gem-orb.listening) { --wamp: .72; --wspd: 3.2s; }
.vc-foot:has(.gem-orb.thinking)  { --wamp: .34; --wspd: 4s; }
.vc-foot:has(.gem-orb.active)    { --wamp: 1;   --wspd: 2.2s; }

.gem-status { display: flex; align-items: center; justify-content: space-between; }
.gem-state { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); transition: color .3s ease; }
.vc-foot:has(.gem-orb.thinking) .gem-state { color: var(--g2); }
.vc-foot:has(.gem-orb.active) .gem-state { color: var(--g1); }
.vc-foot:has(.gem-orb.listening) .gem-state { color: var(--g4); }
.latency { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); text-align: right; flex: none; }
.latency b { color: var(--ink); font-weight: 600; }

/* ---------- Versiones del chat   tabs (KEEP, refinado) ---------- */
.chat-tabs {
  display: flex; width: 100%;
  background: var(--bg-inset);
  border-radius: var(--r-sm); padding: 3px; gap: 2px;
}
.chat-tab {
  flex: 1 1 0; text-align: center; border: none; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: -0.003em;
  text-transform: none;
  color: var(--ink-faint); padding: 8px 6px; border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.chat-tab:hover { color: var(--ink-soft); }
.chat-tab.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); }

.chat-panel {
  display: block;
  grid-area: 2 / 1;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.chat-panel.active {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto; z-index: 1;
}

/* product mini-cards (sales demo, injected into voice/text panels) */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: stretch; margin-top: 2px; }
.product {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card);
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .25s;
  display: flex; flex-direction: column;
}
.product.show { opacity: 1; transform: none; }
.product:hover { border-color: var(--ink-faint); }
.product .thumb {
  height: 74px; position: relative;
  background:
    repeating-linear-gradient(45deg, var(--bg-inset) 0 7px, transparent 7px 14px),
    var(--bg-2);
}
.product .thumb .tag-ph {
  position: absolute; left: 8px; top: 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .08em;
  color: var(--ink-faint);
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  padding: 2px 6px; border-radius: 5px; text-transform: uppercase;
}
.product .pmeta { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; }
.product .pname { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.product .psub { font-family: var(--mono); font-size: 10px; color: var(--ink-faint); letter-spacing: .02em; }
.product .prow { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.product .price { font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.product .add {
  border: none; cursor: pointer;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 7px;
  background: var(--bg-inset); color: var(--ink);
  transition: background .2s, color .2s;
}
.product .add:hover, .product .add.added { background: var(--ink); color: var(--bg); }

/* text composer */
.tc-input { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.tc-field {
  flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-soft);
  border-radius: 11px; padding: 11px 14px; font-family: var(--sans); font-size: 14px; outline: none;
  cursor: default;
}
.tc-field::placeholder { color: var(--ink-faint); }
.tc-send {
  flex: none; width: 42px; height: 42px; border-radius: 12px; border: none; cursor: default;
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--g4), var(--g1) 38%, var(--g2) 70%, var(--g3));
  box-shadow: 0 7px 18px -7px var(--g2);
  display: grid; place-items: center;
}
.tc-send::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 28% 18%, oklch(1 0 0 / .5), oklch(1 0 0 / 0) 55%);
}
.tc-send svg { position: relative; width: 18px; height: 18px; }

.streaming::after {
  content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px;
  background: var(--ink); vertical-align: -2px; border-radius: 2px;
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* search */
.srch-bar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 12px; padding: 10px 12px; }
.srch-ic { width: 18px; height: 18px; color: var(--ink-faint); flex: none; }
.srch-q { flex: 1; min-height: 1.2em; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srch-mic { flex: none; width: 30px; height: 30px; border-radius: 8px; border: none; cursor: default; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g3)); }
.srch-mic svg { width: 15px; height: 15px; }
.srch-block { margin-top: 16px; }
.sline-label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 7px; }
.srch-a { font-size: 14.5px; line-height: 1.55; color: var(--ink); min-height: 3.1em; margin: 0; }
.sres-list { display: flex; flex-direction: column; gap: 8px; }
.sres { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; }
.sthumb { width: 34px; height: 34px; border-radius: 8px; flex: none; background: repeating-linear-gradient(45deg, var(--bg-inset) 0 6px, transparent 6px 12px), var(--bg-2); }
.sres .sname { font-size: 14px; font-weight: 500; color: var(--ink); }
.sres .ssub { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.sres .sprice { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 600; }

/* product */
.prod-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--card); }
.prod-img {
  position: relative; height: 148px; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--bg-inset) 0 9px, transparent 9px 18px), var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.tag-ph { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-faint); background: color-mix(in oklch, var(--bg) 70%, transparent); padding: 4px 8px; border-radius: 6px; text-transform: uppercase; }
.prod-fab {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--card); cursor: default; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  box-shadow: 0 7px 18px -6px var(--g2); display: grid; place-items: center;
}
.prod-fab svg { width: 17px; height: 17px; }
.prod-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 11px; }
.prod-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.prod-name { font-family: var(--sans); font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -0.018em; }
.prod-price { font-family: var(--mono); font-size: 15.5px; color: var(--ink); font-weight: 600; }
.prod-rate { display: flex; align-items: center; gap: 9px; }
.prod-rate .stars { color: var(--ink); font-size: 13px; letter-spacing: 1px; }
.prod-rate .rcount { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.prod-add {
  margin-top: 2px; border: none; cursor: default; width: 100%;
  background: var(--btn-bg); color: var(--btn-fg); border-radius: 10px;
  padding: 11px 16px; font-family: var(--sans); font-size: 14px; font-weight: 600;
}
.prod-agent { margin-top: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.pa-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.pa-head .sline-label { margin-bottom: 0; }
.prod-badge { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: var(--card); }
.prod-q { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 9px; display: flex; align-items: center; gap: 9px; }
.prod-q::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.prod-a { font-size: 14px; line-height: 1.55; color: var(--ink-soft); min-height: 3.4em; margin: 0; }
.prod-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.chip { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .gem-orb, .gem-orb .orb-inner, .gem-orb .orb-glow,
  .gem-orb::before, .gem-orb::after, .sine { animation: none; }
}

/* ---------- Trust band ---------- */
.trust { border-block: 1px solid var(--line); padding-block: 36px; background: var(--bg-2); }
.trust-inner {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap; justify-content: center;
}
.trust-label {
  font-family: var(--sans); font-size: 13px;
  color: var(--ink-soft); letter-spacing: -0.003em;
}
.seg-pills { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.seg-pill {
  font-family: var(--sans); font-weight: 500;
  font-size: 16px; color: var(--ink); padding: 4px 0;
}
.seg-pill em { font-family: var(--serif); font-style: italic; color: var(--ink-faint); font-weight: 400; }

/* ---------- Section header ---------- */
section { position: relative; }
.section-pad { padding-block: var(--sp-section); }
.sec-head {
  max-width: 720px; margin-bottom: clamp(24px, 2.8vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
}
.sec-head .eyebrow { align-self: flex-start; }
.sec-head h2 { margin: 0; }
.sec-head .lede { margin-top: 4px; max-width: 60ch; }

/* ---------- Use cases grid ---------- */
.usecases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.uc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 26px 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  position: relative; min-height: 188px;
  display: flex; flex-direction: column;
}
.uc:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.uc-num {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint);
  letter-spacing: .04em;
}
.uc-ic { width: 26px; height: 26px; margin: 16px 0 14px; color: var(--ink); }
.uc-ic svg { width: 100%; height: 100%; }
.uc h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.022em; }
.uc p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; line-height: 1.5; }
.uc::after { display: none; } /* removed gradient underline */

/* ---------- Voice spotlight ---------- */
.voice-spot {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.metric-big {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(64px, 9.5vw, 124px); line-height: .9; letter-spacing: -0.045em;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.metric-big sub {
  font-size: .24em; font-family: var(--sans); font-weight: 500;
  color: var(--ink-faint); vertical-align: baseline; letter-spacing: -0.01em; margin-left: 8px;
}
.lat-compare { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.lat-row .lr-top { display:flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.lat-row .lr-top .name { color: var(--ink); font-weight: 500; white-space: nowrap; }
.lat-row .lr-top .val { font-family: var(--mono); color: var(--ink-faint); }
.lat-bar { height: 8px; border-radius: 4px; background: var(--bg-inset); overflow: hidden; }
.lat-bar i { display:block; height:100%; border-radius:4px; width:0; transition: width 1.1s var(--ease); }
.lat-bar.ours i { background: var(--ink); }
.lat-bar.them i { background: var(--ink-faint); opacity:.4; }
.voice-spot .lede { font-size: 17px; max-width: none; }
.cost-note {
  margin-top: 28px; padding: 18px 22px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--card); font-size: 14.5px; color: var(--ink-soft);
}
.cost-note b { color: var(--ink); font-weight: 600; }

/* ---------- How it works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; counter-reset: step;
}
.step {
  position: relative; padding: 26px 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; flex-direction: column;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-faint);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.step.in::after { display: none; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.022em; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }
.step .tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:18px; }
.step .tag {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  border:1px solid var(--line); color: var(--ink-soft); background: var(--bg-2);
}

/* ---------- Flow Viz (KEEP   animated graph) ---------- */
.flow-viz {
  position: relative;
  margin: 0 auto clamp(40px, 4vw, 64px);
  max-width: 1100px;
  padding: 22px clamp(14px, 2vw, 24px) 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
}
.flow-viz::before { content: none; } /* drop glow halo for cleaner read */
.flow-viz::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center center;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, black 0%, transparent 80%);
          mask-image: radial-gradient(60% 70% at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.flow-canvas { position: relative; z-index: 1; }
.flow-stage { position: relative; width: 100%; }
.flow-svg { width: 100%; height: auto; display: block; }

.flow-orb {
  --orb-size: 6.5%;
  position: absolute;
  left: 50%; top: 50%;
  width: var(--orb-size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  animation: flowOrbPulse 3.4s ease-in-out infinite;
}
.flow-orb-inner {
  position: absolute; inset: 0;
  border-radius: 34% 38% 32% 36% / 36% 32% 38% 34%;
  background: conic-gradient(from var(--ga, 0deg), var(--g1), var(--g2), var(--g3), var(--g4), var(--g1));
  box-shadow: 0 14px 38px -10px var(--g2);
  animation: flowOrbSpin 8s linear infinite, flowOrbMorph 9s ease-in-out infinite;
}
.flow-orb-shine {
  position: absolute; inset: 0;
  border-radius: 34% 38% 32% 36% / 36% 32% 38% 34%;
  background: radial-gradient(110% 80% at 32% 24%, oklch(1 0 0 / .6), oklch(1 0 0 / 0) 52%);
  animation: flowOrbMorph 9s ease-in-out infinite;
  mix-blend-mode: screen;
}
.flow-orb-glow {
  position: absolute; inset: -14px;
  border-radius: 42%;
  background: conic-gradient(from var(--ga, 0deg), var(--g1), var(--g2), var(--g3), var(--g4), var(--g1));
  filter: blur(20px); opacity: 0.42;
  animation: flowOrbSpin 8s linear infinite;
}
.flow-orb-ring {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-soft);
  opacity: 0.35;
  animation: flowOrbRing 2.4s ease-out infinite;
}
@keyframes flowOrbPulse { 0%,100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.05); } }
@keyframes flowOrbSpin { to { --ga: 360deg; } }
@keyframes flowOrbMorph {
  0%, 100% { border-radius: 34% 38% 32% 36% / 36% 32% 38% 34%; }
  50%      { border-radius: 40% 30% 38% 32% / 30% 40% 32% 38%; }
}
@keyframes flowOrbRing {
  0%   { transform: scale(0.92); opacity: 0.45; }
  80%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.flow-svg .edge {
  fill: none;
  stroke: url(#fEdge);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 2 7;
  opacity: 0.85;
  animation: flow-dash 1.8s linear infinite;
}
@keyframes flow-dash { to { stroke-dashoffset: -18; } }
.flow-svg .pulse { fill: var(--ink); opacity: 0.5; }
.flow-svg .pulse-rev { fill: var(--accent); opacity: 0.45; }
.flow-svg .node rect { fill: var(--card); stroke: var(--line); stroke-width: 1.3; }
.flow-svg .node text {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  fill: var(--ink); letter-spacing: 0.02em; pointer-events: none;
}

@media (max-width: 760px) {
  .flow-viz { padding: 18px 0 12px; }
  .flow-canvas { overflow-x: auto; overflow-y: hidden; padding: 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .flow-canvas::-webkit-scrollbar { display: none; }
  .flow-stage { width: 720px; }
  .flow-svg .node text { font-size: 14px; }
  .flow-canvas {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-viz .edge { animation: none !important; }
  .flow-viz .pulse { display: none; }
  .flow-orb, .flow-orb-inner, .flow-orb-glow, .flow-orb-shine, .flow-orb-ring { animation: none !important; }
}

/* ---------- Segments ---------- */
.segments {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.seg {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.seg:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.seg .tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  text-transform: none; color: var(--ink-soft);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px;
  display: inline-block; background: var(--bg-2);
}
.seg h3 { font-size: 21px; margin: 16px 0 11px; font-weight: 600; letter-spacing: -0.024em; }
.seg p { color: var(--ink-soft); font-size: 14.5px; }
.seg ul { list-style:none; margin-top: 18px; display:flex; flex-direction:column; gap:10px; }
.seg li {
  font-size: 14px; color: var(--ink); padding-left: 22px; position: relative;
}
.seg li::before {
  content:""; position:absolute; left:0; top:9px;
  width:8px; height:8px; border-radius:50%; background: var(--ink);
}

/* ---------- CTA final ---------- */
.cta-final {
  text-align:center;
  padding-block: clamp(56px, 7vw, 96px);
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-final h2 { font-size: clamp(34px, 5vw, 64px); margin-bottom: 22px; max-width: 16ch; margin-inline: auto; }
.cta-final .lede { margin: 0 auto 36px; text-align:center; max-width: 50ch; }
.cta-glow { display: none; } /* removed   no fancy bg circle */
.cta-final .wrap { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid transparent; padding-block: 56px 36px; }
.footer-top { display:flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--ink-soft); font-size: 14.5px; margin-top: 16px; }
.footer-cols { display:flex; gap: clamp(36px,6vw,80px); flex-wrap: wrap; }
.fcol h4 {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint);
  margin-bottom: 14px; font-weight: 500; letter-spacing: -0.003em;
}
.fcol a { display:block; color: var(--ink); text-decoration:none; font-size: 14.5px; margin-bottom: 10px; transition: color .25s; white-space: nowrap; }
.fcol a:hover { color: var(--ink-soft); }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; gap:20px; padding-top: 28px; border-top:1px solid var(--line); flex-wrap: wrap; }
.footer-bottom small { color: var(--ink-faint); font-size: 13px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s } .reveal[data-d="2"]{ transition-delay:.16s }
.reveal[data-d="3"]{ transition-delay:.24s } .reveal[data-d="4"]{ transition-delay:.32s }
.reveal[data-d="5"]{ transition-delay:.40s } .reveal[data-d="6"]{ transition-delay:.48s }

[data-motion="off"] .reveal { opacity:1 !important; transform:none !important; }
[data-motion="off"] #particles { display:none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity:1; transform:none; transition:none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .voice-card { max-width: 420px; margin: 0 auto; }
  .voice-spot { grid-template-columns: 1fr; }
  .usecases, .segments, .steps { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .usecases, .segments, .steps { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .footer-top { flex-direction: column; }
}

/* ============================================================
   ROADMAP   2026 (preserved, lightly recolored)
   ============================================================ */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--bg);
  padding: 7px 14px 7px 12px; border-radius: 999px;
}
.eyebrow-pill .dia { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.evo-head { max-width: 640px; margin-bottom: clamp(26px, 3.5vw, 42px); }
.evo-head h2 { margin: 14px 0 0; }
.evo-head .lede { margin-top: 14px; max-width: 58ch; }

.evo-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.evo-chart {
  position: relative; min-width: 680px; height: clamp(300px, 32vw, 396px);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2);
  padding: 0; overflow: hidden;
}
.evo-chart::before {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px);
  background-size: 100% 25%;
}
.evo-curve { position:absolute; inset:0; width:100%; height:100%; }
.evo-area { fill: var(--accent-wash); }
.evo-line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.evo-curve .es0 { stop-color: var(--ink); }
.evo-curve .es1 { stop-color: var(--ink); }
.evo-y, .evo-x {
  position:absolute; font-family: var(--mono); font-size: 10px; letter-spacing:.06em;
  text-transform: uppercase; color: var(--ink-faint); z-index:2;
}
.evo-y { left: 14px; top: 50%; transform: rotate(-90deg) translateX(50%); transform-origin: left center; white-space: nowrap; }
.evo-x { right: 16px; bottom: 12px; }

.evo-node { position: absolute; z-index: 3; transform: translate(-50%, -50%); }
.evo-dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1.5px solid var(--line);
  color: var(--ink); position: relative;
}
.evo-dot svg { width: 17px; height: 17px; }
.evo-node.now .evo-dot { border-color: var(--ink); }
.evo-node.now .evo-dot::after {
  content:""; position:absolute; inset:-5px; border-radius:50%; border:1.5px solid var(--ink);
  animation: ring 1.8s var(--ease) infinite;
}
@keyframes ring { 0%{ transform: scale(.92); opacity:.5;} 80%{ transform: scale(1.18); opacity:0;} 100%{ transform: scale(1.18); opacity:0;} }
.evo-label { position: absolute; left: 52px; top: 50%; transform: translateY(-50%); white-space: nowrap; display:flex; flex-direction:column; gap:2px; }
.evo-node.lbl-left .evo-label { left: auto; right: 52px; text-align: right; align-items: flex-end; }
.evo-node.lbl-down .evo-label { left: 50%; top: 54px; transform: translateX(-50%); text-align:center; align-items:center; }
.evo-when { font-family: var(--mono); font-size: 11px; letter-spacing:.04em; color: var(--ink-soft); }
.evo-title { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.018em; }
.evo-title .evo-badge {
  font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing:.06em;
  background: var(--ink); color: var(--bg); padding: 2px 7px; border-radius: 999px; margin-left: 8px; vertical-align: middle;
}
.evo-sub { font-size: 12.5px; color: var(--ink-soft); white-space: normal; max-width: 230px; }
.evo-node.lbl-left .evo-sub { margin-left:auto; }

/* ============================================================
   DEMO MODAL (preserved structure   refinada paleta)
   ============================================================ */
body.modal-locked { overflow: hidden; }

.demo-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 32px);
  pointer-events: none; opacity: 0;
  transition: opacity .28s var(--ease);
}
.demo-modal.open { pointer-events: auto; opacity: 1; }
.dm-backdrop {
  position: absolute; inset: 0;
  background: color-mix(in oklch, var(--bg) 30%, oklch(0.12 0.01 285 / 0.72));
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
}
.dm-shell {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 32px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / .45), 0 8px 28px -8px rgb(0 0 0 / .25);
  overflow: hidden;
  transform: translateY(14px) scale(.985);
  opacity: 0;
  transition: transform .42s var(--ease), opacity .32s var(--ease);
  display: flex; flex-direction: column;
}
.demo-modal.open .dm-shell { transform: none; opacity: 1; }
.dm-shell::before { content: none; } /* clean top   no rainbow strip */

.dm-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  cursor: pointer; display: grid; place-items: center;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.dm-close:hover { color: var(--ink); border-color: var(--ink); transform: rotate(90deg); }
.dm-close svg { width: 16px; height: 16px; }

.dm-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  min-height: 0;
  overflow: auto;
}

.dm-pitch {
  padding: clamp(24px, 3vw, 38px) clamp(22px, 2.5vw, 32px);
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.dm-eyebrow {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ink-soft); letter-spacing: -0.003em;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; border: 1px solid var(--line);
  background: var(--card); border-radius: 999px; line-height: 1;
  align-self: flex-start;
}
.dm-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.dm-title {
  font-family: var(--sans); font-size: clamp(28px, 3vw, 38px); font-weight: 600;
  line-height: 1.05; letter-spacing: -0.028em; margin-top: 2px;
}
.dm-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink); }
.dm-lede {
  font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 40ch;
}
.dm-feats {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin: 6px 0 0;
}
.dm-feats li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  font-size: 13.5px; color: var(--ink); line-height: 1.45;
}
.dm-feats li svg { width: 18px; height: 18px; color: var(--ink); margin-top: 1px; }
.dm-meta {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.dm-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--ink); align-self: flex-start;
  background: var(--card); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
}
.dm-tag-sub {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .02em;
}

.cal-card--modal {
  border: none; border-radius: 0; box-shadow: none; background: var(--card);
  padding: clamp(20px, 2.6vw, 32px);
  min-height: 0;
}
.cal-card--modal::before { display: none; }

/* ============================================================
   CALENDAR
   ============================================================ */
.cal-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.4vw, 30px);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  min-height: 540px;
}
.cal-card::before { content: none; }
.cal-card-head { margin-bottom: 18px; }
.cal-eyebrow {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
}
.cal-title {
  font-family: var(--sans); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600;
  letter-spacing: -0.028em; line-height: 1.1; margin-top: 8px;
}
.cal-sub {
  font-size: 13.5px; color: var(--ink-soft); margin-top: 6px;
  font-family: var(--sans);
}

.cal-step { display: none; flex: 1; flex-direction: column; }
.cal-step.active { display: flex; animation: stepIn .42s var(--ease); }
@keyframes stepIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }

.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -0.022em; text-transform: capitalize; }
.cal-arrow {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .2s var(--ease), color .2s, background .2s;
}
.cal-arrow:hover:not(:disabled) { border-color: var(--ink); }
.cal-arrow:disabled { color: var(--ink-faint); cursor: not-allowed; opacity: .5; }
.cal-arrow svg { width: 14px; height: 14px; }

.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.cal-dow span {
  text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  color: var(--ink-faint); padding: 4px 0;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-cell {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent; background: transparent;
  border-radius: 10px;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; position: relative;
  transition: background .18s var(--ease), border-color .18s, color .18s, transform .18s;
}
.cal-cell.empty { cursor: default; }
.cal-cell .cd-n { font-feature-settings: "tnum"; }
.cal-cell .cd-dot {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: transparent;
}
.cal-cell.day.avail { background: var(--bg-2); }
.cal-cell.day.avail .cd-dot { background: var(--ink); }
.cal-cell.day.avail:hover {
  background: var(--bg-inset);
  border-color: var(--ink-faint);
  transform: translateY(-1px);
}
.cal-cell.day.full { color: var(--ink-faint); }
.cal-cell.day.full .cd-dot { background: color-mix(in oklch, var(--ink-faint) 70%, transparent); }
.cal-cell.day.full::after {
  content: ""; position: absolute; left: 22%; right: 22%; top: 50%;
  height: 1px; background: var(--ink-faint); opacity: .6;
}
.cal-cell.day.past, .cal-cell.day.off { color: var(--ink-faint); opacity: .35; cursor: not-allowed; }
.cal-cell.day.today { box-shadow: inset 0 0 0 1px var(--ink); }
.cal-cell.day.selected {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
[data-theme="dark"] .cal-cell.day.selected { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.cal-cell.day.selected .cd-dot { background: var(--bg); }
.cal-cell.day:disabled { pointer-events: none; }

.cal-legend {
  margin-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-family: var(--sans); font-size: 12px; color: var(--ink-faint);
}
.cal-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.cal-legend .lg-avail { background: var(--bg-2); border: 1px solid var(--line); position: relative; }
.cal-legend .lg-avail::after { content:""; position:absolute; left:50%; bottom:1px; transform: translateX(-50%); width:3px; height:3px; border-radius:50%; background: var(--ink); }
.cal-legend .lg-full { background: transparent; border: 1px solid var(--line); position: relative; }
.cal-legend .lg-full::after { content:""; position:absolute; left: 15%; right: 15%; top:50%; height:1px; background: var(--ink-faint); }
.cal-tz { margin-left: auto; }
.cal-tz b { color: var(--ink); font-weight: 600; }

.cal-back {
  align-self: flex-start; background: transparent; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ink-soft); padding: 0 0 12px; transition: color .2s;
}
.cal-back:hover { color: var(--ink); }
.cal-back .back-ar { display: inline-block; margin-right: 4px; transition: transform .25s var(--ease); }
.cal-back:hover .back-ar { transform: translateX(-3px); }

.cal-selected, .cal-summary {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.sel-eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  color: var(--ink-soft);
}
.cal-selected strong, .cal-summary strong {
  font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -0.022em;
  text-transform: capitalize;
}
.sum-time {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
}
.sum-time i { color: var(--ink-faint); font-style: normal; }

.cal-times { display: flex; flex-direction: column; gap: 14px; }
.slot-block { display: flex; flex-direction: column; gap: 8px; }
.slot-h {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 6px; }
.slot {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  padding: 9px 6px; border-radius: 8px; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.slot:hover { border-color: var(--ink); background: var(--bg-2); transform: translateY(-1px); }
.cal-empty { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); padding: 14px 0; }

.cal-form { display: flex; flex-direction: column; gap: 12px; }
.cal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cal-field { display: flex; flex-direction: column; gap: 6px; }
.cal-field > span {
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  color: var(--ink-soft);
}
.cal-field input, .cal-field textarea {
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; outline: none; resize: vertical;
  transition: border-color .2s, background .2s;
}
.cal-field input::placeholder, .cal-field textarea::placeholder { color: var(--ink-faint); }
.cal-field input:focus, .cal-field textarea:focus {
  border-color: var(--ink); background: var(--card);
  box-shadow: 0 0 0 3px var(--bg-inset);
}
.cal-field.err input, .cal-field.err textarea {
  border-color: oklch(0.62 0.18 25);
  background: oklch(0.62 0.18 25 / 0.06);
}
.cal-msg {
  font-family: var(--sans); font-size: 13px; color: oklch(0.55 0.18 25);
  background: oklch(0.62 0.18 25 / 0.08); border: 1px solid oklch(0.62 0.18 25 / 0.3);
  padding: 8px 10px; border-radius: 8px;
}
.cal-submit { margin-top: 4px; align-self: flex-start; }

.cal-confirm {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 18px 8px; margin: auto 0;
}
.confirm-ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink);
  color: var(--bg); display: grid; place-items: center;
}
.confirm-ic svg { width: 28px; height: 28px; }
.confirm-title { font-family: var(--sans); font-size: 24px; font-weight: 600; letter-spacing: -0.028em; }
.confirm-when {
  font-family: var(--mono); font-size: 13px; color: var(--ink); text-transform: capitalize;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px;
}
.confirm-msg { font-size: 14px; color: var(--ink-soft); max-width: 36ch; line-height: 1.5; }
.cal-reset {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; margin-top: 6px;
  transition: border-color .2s, color .2s;
}
.cal-reset:hover { border-color: var(--ink); }

@media (max-width: 860px) {
  .dm-grid { grid-template-columns: 1fr; }
  .dm-pitch { border-right: 0; border-bottom: 1px solid var(--line); }
  .dm-feats { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; }
  .dm-feats li { flex: 1 1 220px; }
  .dm-meta { padding-top: 14px; }
  .cal-card--modal { padding: 22px; }
}
@media (max-width: 600px) {
  .cal-row { grid-template-columns: 1fr; }
  .slot-row { grid-template-columns: repeat(3, 1fr); }
  .cal-tz { display: none; }
  .dm-shell { max-height: calc(100vh - 16px); border-radius: 16px; }
  .demo-modal { padding: 8px; }
  .dm-pitch { padding: 22px; gap: 12px; }
  .dm-feats { flex-direction: column; gap: 8px; }
  .dm-title { font-size: 26px; }
}

/* Roadmap mobile list */
.evo-list { display: none; list-style: none; }
.evo-list li { position: relative; padding: 0 0 24px 42px; }
.evo-list li:last-child { padding-bottom: 0; }
.evo-list li::before {
  content: ""; position: absolute; left: 16px; top: 30px; bottom: -6px; width: 2px; background: var(--line);
}
.evo-list li:last-child::before { display: none; }
.el-dot {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
}
.el-dot svg { width: 16px; height: 16px; }
.evo-list li.now .el-dot { border-color: var(--ink); }
.el-when { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 2px; }
.el-title { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.022em; }
.el-title .evo-badge { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; background: var(--ink); color: var(--bg); padding: 2px 7px; border-radius: 999px; margin-left: 7px; vertical-align: middle; }
.el-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 760px) {
  .evo-scroll { display: none; }
  .evo-list { display: block; }
}
@media (max-width: 600px) {
  .voice-card { padding: 18px; }
  .hero-meta .stat .n { font-size: 24px; }
  .seg-pill { font-size: 15px; }
}

/* ============================================================
   MOBILE — Landing page responsive fixes
   ============================================================ */

/* ── 960px: hero stacks, card goes full width ── */
@media (max-width: 960px) {
  /* card fills column instead of being capped at 520px */
  .voice-card {
    max-width: 100%;
    min-height: auto;
  }
  /* less height on the voice area so transcript + orb fit */
  .vc-transcript { min-height: 80px; }
}

/* ── 600px: phone layout ── */
@media (max-width: 600px) {
  /* card padding tighter */
  .voice-card { padding: 16px; border-radius: 14px; }

  /* chat tabs: smaller text, no overflow */
  .chat-tabs { gap: 1px; padding: 2px; }
  .chat-tab  { font-size: 9.5px; padding: 6px 2px; letter-spacing: .02em; }

  /* transcript shorter on phone */
  .vc-transcript { min-height: 60px; gap: 8px; margin-bottom: 12px; }

  /* bubbles a bit smaller */
  .bubble { font-size: 13.5px; padding: 9px 12px; border-radius: 12px; max-width: 92%; }

  /* product cards: stack vertically on very small screens */
  .products { grid-template-columns: 1fr; gap: 8px; }

  /* orb row tighter */
  .gem-stage { gap: 8px; }
  .gem-orb   { width: 52px; height: 52px; }
  .wave      { height: 36px; }

  /* status row */
  .gem-status { margin-top: 2px; }
  .gem-state  { font-size: 10.5px; }
  .latency    { font-size: 11.5px; }

  /* search panel */
  .srch-bar { padding: 8px 10px; }
  .srch-q   { font-size: 13px; }

  /* product surface */
  .prod-img  { height: 110px; }
  .prod-name { font-size: 17px; }
  .prod-info { padding: 11px 13px 13px; gap: 8px; }

  /* hero copy */
  .hero-cta  { gap: 10px; }
  .hero-meta { gap: 16px; flex-wrap: wrap; }
  .hero-meta .stat .n { font-size: 22px; }

  /* use cases & segments already 1 col, just tighten padding */
  .uc   { padding: 18px 18px 22px; min-height: auto; }
  .seg  { padding: 20px 18px; }

  /* voice spotlight */
  .metric-big { font-size: clamp(48px, 14vw, 80px); }
  .voice-spot { padding: 22px 18px; border-radius: 14px; }

  /* flow viz */
  .flow-viz { border-radius: 14px; }
}

/* ── 400px: very small phones ── */
@media (max-width: 400px) {
  .chat-tab  { font-size: 9px; padding: 5px 1px; }
  .gem-orb   { width: 44px; height: 44px; }
  .wave      { height: 30px; }
  .bubble    { font-size: 13px; }
  .btn       { font-size: 13.5px; padding: 11px 18px; }
}

/* ── How it works — step counter fix on mobile ── */
@media (max-width: 960px) {
  .steps {
    border-left: 2px solid var(--line);
    padding-left: 24px;
    gap: 0;
  }
  .step {
    border-top: none;
    border-left: none;
    padding: 0 0 32px 0;
    position: relative;
  }
  /* pull the counter out of absolute so it never overlaps text */
  .step::before {
    position: static;
    display: block;
    left: auto; top: auto;
    padding-top: 0;
    margin-bottom: 8px;
    font-size: 12px;
  }
  /* dot on the left timeline */
  .step::after {
    content: "";
    position: absolute;
    left: -31px;   /* sits on the 2px border line */
    top: 4px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid color-mix(in oklch, var(--accent) 60%, var(--line));
    box-shadow: none;
    width: 10px; height: 10px;
    transition: none;
    animation: none;
  }
  .step.in.revealed::after {
    background: var(--accent);
    border-color: var(--accent);
    width: 10px; height: 10px;
  }
  .step h3 { font-size: 19px; }
}

@media (max-width: 600px) {
  .steps { padding-left: 20px; }
  .step  { padding-bottom: 26px; }
  .step::after { left: -27px; }
  .step h3 { font-size: 17px; }
  .step p  { font-size: 14px; }
}

/* specificity fix — override .step.in::after { display:none } from the earlier breakpoint */
@media (max-width: 960px) {
  .step.in::after {
    display: block;
    content: "";
    position: absolute;
    left: -31px;
    top: 4px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid color-mix(in oklch, var(--accent) 60%, var(--line));
    box-shadow: none;
    animation: none;
    transition: background .3s, border-color .3s;
  }
  .step.in.revealed::after {
    background: var(--accent);
    border-color: var(--accent);
  }
}

@media (max-width: 600px) {
  .step.in::after { left: -27px; }
}
