/*
  Inefaible: voice agents landing.
  Theme: dark only (the brand logo exists only in white).
  Radius rule: CTAs are full pill; containers 20px; inner items (tabs, chips, transcript actions) 12px.
  Z-index scale: header 10, skip link 20, grain 30.
*/

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #0A0F1E;
  --bg-alt: #0D1325;
  --surface: #131B31;
  --surface-2: #1A2340;
  --line: rgba(226, 231, 245, .09);
  --line-strong: rgba(226, 231, 245, .16);
  --text: #ECEEF6;
  --muted: #9CA4BA;
  --accent: #6D3CF6;
  --accent-hover: #7D52F8;
  --accent-soft: #BCAAFF;
  --accent-wash: rgba(109, 60, 246, .14);

  --r-container: 20px;
  --r-inner: 12px;

  --font: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(5rem, 10vw, 8rem);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fixed grain overlay to break the flat digital surface. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 20;
  background: var(--text); color: var(--bg);
  padding: .6rem 1rem; border-radius: var(--r-inner); font-weight: 500;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px -12px rgba(109, 60, 246, .7);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn .ph { font-size: 1.05em; }

.btn-sm { min-height: 2.6rem; padding: 0 1.15rem; font-size: .9375rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 3.25rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.btn-ghost:hover { border-color: var(--accent-soft); background: var(--accent-wash); }
.btn-ghost:active { transform: scale(.98); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--accent-soft);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(188, 170, 255, .35);
  padding-bottom: .1rem;
  transition: border-color .25s var(--ease);
}
.text-link:hover { border-color: var(--accent-soft); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 15, 30, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 2rem; width: 100%; }

.brand img { height: 40px; width: auto; }

.site-nav { display: flex; gap: 1.75rem; margin-left: auto; font-size: .9375rem; }
.site-nav a { color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.site-nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  right: -25vw; top: -35vw;
  background: radial-gradient(closest-side, rgba(109, 60, 246, .22), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.hero-media {
  position: relative;
  border-radius: var(--r-container);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  box-shadow: 0 40px 80px -40px rgba(4, 6, 20, .9);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 30, .45));
}

/* Load-in, staggered by --i */
.enter { animation: enter 1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 80ms); }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Sectors marquee ---------- */

.sectors { border-block: 1px solid var(--line); padding-block: 1.4rem; overflow: hidden; }

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 40s linear infinite;
}
.marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--muted);
  font-size: 1.0625rem;
  white-space: nowrap;
}
.marquee-track .ph { font-size: 1.3rem; color: var(--accent-soft); }
.sectors:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }

h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

.head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.head p { margin-top: 1rem; max-width: 65ch; color: var(--muted); font-size: 1.125rem; text-wrap: pretty; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Demo ---------- */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.demo-cases { display: grid; gap: .6rem; }
.demo-cases button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-inner);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.demo-cases button:hover { border-color: var(--line-strong); background: var(--surface); }
.demo-cases button[aria-selected="true"] { border-color: rgba(188, 170, 255, .45); background: var(--accent-wash); }
.demo-cases .ph {
  flex: none;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-inner);
  background: var(--surface-2);
  color: var(--accent-soft);
  font-size: 1.35rem;
}
.demo-cases button[aria-selected="true"] .ph { background: var(--accent); color: #fff; }
.demo-cases strong { display: block; font-weight: 500; }
.demo-cases small { display: block; color: var(--muted); font-size: .9rem; }

.player {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-container);
  padding: 1.4rem 1.5rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.player-head { display: flex; justify-content: space-between; align-items: center; font-size: .9375rem; }
.player-status { display: inline-flex; align-items: center; gap: .5rem; }
.player-status .ph { color: var(--accent-soft); font-size: 1.15rem; }
.player.is-ended .player-status .ph { color: var(--muted); }
.player-time { color: var(--muted); font-variant-numeric: tabular-nums; }

.wave { display: flex; align-items: center; gap: 3px; height: 4rem; margin-block: 1.1rem .4rem; }
.wave span {
  flex: 1;
  height: 100%;
  border-radius: 2px;
  background: var(--line-strong);
  transform: scaleY(.05);
  transition: transform .14s ease-out, background-color .3s var(--ease);
}
.wave[data-who="agent"] span { background: var(--accent-soft); }
.wave[data-who="caller"] span { background: var(--text); }

.transcript {
  height: 21rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .95rem;
  padding-right: .25rem;
  scrollbar-width: none;
  mask-image: linear-gradient(180deg, transparent, #000 3rem);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 3rem);
}
.transcript::-webkit-scrollbar { display: none; }
.transcript > li:first-child { margin-top: auto; }

.line { max-width: 88%; }
.line .who { display: block; font-size: .8125rem; color: var(--muted); margin-bottom: .2rem; }
.line q { quotes: none; font-size: 1.0625rem; line-height: 1.5; }
.line-agent .who { color: var(--accent-soft); }
.line-caller { align-self: flex-end; text-align: right; }

.action {
  display: flex;
  align-items: center;
  gap: .6rem;
  align-self: flex-start;
  padding: .55rem .85rem;
  border-radius: var(--r-inner);
  background: var(--accent-wash);
  border: 1px solid rgba(188, 170, 255, .2);
  font-size: .9rem;
  animation: enter .6s var(--ease) both;
}
.action .ph { color: var(--accent-soft); font-size: 1.1rem; }

.player-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--muted);
}
.replay {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 0; background: none; color: var(--text);
  font: inherit; font-weight: 500; cursor: pointer; padding: .3rem 0;
}
.replay:hover { color: var(--accent-soft); }

/* ---------- Demo en vivo (demo-voz.js) ---------- */

.ficha {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-container);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.ficha-head h3 { font-size: 1.0625rem; }
.ficha-head p { margin-top: .2rem; color: var(--muted); font-size: .9rem; }

.ficha-list { display: grid; gap: .45rem; margin-top: 1.1rem; }
.ficha-list li {
  display: grid;
  grid-template-columns: 1.4rem 5.2rem minmax(0, 1fr) 1.2rem;
  align-items: center;
  gap: .6rem;
  padding: .65rem .8rem;
  border-radius: var(--r-inner);
  border: 1px solid var(--line);
  font-size: .95rem;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.ficha-list .ph { font-size: 1.15rem; color: var(--muted); transition: color .4s var(--ease); }
.ficha-list .k { color: var(--muted); font-size: .875rem; }
.ficha-list .v { color: var(--muted); overflow-wrap: anywhere; }
.ficha-list .ok { opacity: 0; transform: scale(.6); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ficha-list li.is-set { border-color: rgba(188, 170, 255, .28); background: var(--accent-wash); }
.ficha-list li.is-set .ph { color: var(--accent-soft); }
.ficha-list li.is-set .v { color: var(--text); font-weight: 500; }
.ficha-list li.is-set .ok { opacity: 1; transform: none; }

.ficha-ok {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .9rem;
  padding: .85rem 1rem;
  border-radius: var(--r-inner);
  background: linear-gradient(160deg, #3B1FA6, #22145F);
  border: 1px solid rgba(188, 170, 255, .3);
  animation: enter .6s var(--ease) both;
}
.ficha-ok[hidden] { display: none; }
.ficha-ok .ph { font-size: 1.5rem; color: #fff; flex: none; }
.ficha-ok strong { display: block; font-weight: 600; }
.ficha-ok span { font-size: .925rem; color: rgba(236, 238, 246, .85); }

.tips { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.tips > span { width: 100%; font-size: .8125rem; color: var(--muted); }
.tips button {
  border: 1px solid var(--line);
  border-radius: var(--r-inner);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .875rem;
  padding: .4rem .7rem;
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.tips button:hover { border-color: rgba(188, 170, 255, .45); background: var(--accent-wash); }

.live .transcript { height: 20rem; }
.live-empty { margin: auto; text-align: center; color: var(--muted); max-width: 26rem; }
.live-empty strong { color: var(--text); font-weight: 500; }
.line.is-interim q { opacity: .55; }

.live-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; }
.call-btn { min-height: 3rem; }
.call-btn.is-hang { background: #C2414B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px -12px rgba(194, 65, 75, .7); }
.call-btn.is-hang:hover { background: #D04B55; }

.live-type { flex: 1 1 14rem; display: flex; align-items: center; gap: .4rem; min-height: 3rem; padding: .25rem .3rem .25rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); }
.live-type:focus-within { border-color: var(--accent-soft); }
.live-type input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: .975rem; outline: none; }
.live-type input::placeholder { color: var(--muted); }
.live-type button { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.live-type button:hover { background: var(--accent); }

.live-hint { justify-content: flex-start; }
.live-hint.is-warning {
  gap: .6rem; align-items: flex-start;
  color: var(--text); font-size: .9rem;
  padding: .75rem .9rem; border-radius: var(--r-inner);
  border: 1px solid rgba(250, 178, 25, .4); background: rgba(250, 178, 25, .1);
}
.live-hint.is-warning .ph { color: #FAB219; font-size: 1.2rem; flex: none; margin-top: .05rem; }
.live-note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); max-width: 60ch; }

@media (max-width: 900px) {
  .live .ficha { order: 2; }
}
@media (max-width: 767px) {
  .live .transcript { height: 18rem; }
  .call-btn { flex: 1 1 100%; justify-content: center; }
  .ficha-list li { grid-template-columns: 1.4rem 4.6rem minmax(0, 1fr) 1.2rem; }
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(17rem, auto);
  gap: 1rem;
}
.cell {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--r-container);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cell > .ph, .cell-body > .ph { font-size: 1.6rem; color: var(--accent-soft); margin-bottom: auto; padding-bottom: 2rem; }
.cell h3 { margin-bottom: .45rem; }
.cell p { color: var(--muted); max-width: 40ch; }

.cell-wide { grid-column: span 4; }

.cell-accent {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(188, 170, 255, .28), transparent 60%),
    linear-gradient(160deg, #3B1FA6, #22145F);
  border-color: rgba(188, 170, 255, .22);
}
.cell-accent > .ph { color: #fff; }
.cell-accent p { color: rgba(236, 238, 246, .78); }
.cell-accent q {
  quotes: none;
  margin-top: 1.25rem;
  padding: .7rem .95rem;
  border-radius: var(--r-inner);
  background: rgba(10, 15, 30, .35);
  font-style: italic;
  align-self: flex-start;
}

.cell-photo { padding: 0; border: 0; }
.cell-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cell-photo:hover img { transform: scale(1.03); }
.cell-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 15, 30, .15) 0%, rgba(10, 15, 30, .55) 45%, rgba(10, 15, 30, .94) 100%);
}
.cell-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  height: 100%;
  padding: 1.75rem;
}
.cell-body > .ph { color: #fff; }
.cell-photo p { color: rgba(236, 238, 246, .8); }

/* ---------- A medida ---------- */

.measure {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.measure-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.measure-head p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.measure-head .text-link { margin-top: 1.75rem; }

.clusters { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.cluster h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-soft);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.cluster dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.cluster dt { display: flex; align-items: center; gap: .6rem; font-weight: 500; margin-bottom: .35rem; }
.cluster dt .ph { font-size: 1.25rem; color: var(--accent-soft); }
.cluster dd { color: var(--muted); }

/* ---------- Timeline ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.timeline::before, .timeline::after {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  right: calc((100% - 6rem) / 4 - 1.75rem);
  height: 2px;
  border-radius: 2px;
}
.timeline::before { background: var(--line-strong); }
.timeline::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.8s var(--ease) .2s;
}
.timeline.is-in::after { transform: scaleX(1); }

.timeline li { position: relative; z-index: 1; }
.node {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--accent-soft);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px var(--bg-alt);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.timeline.is-in .node { background: var(--accent); color: #fff; border-color: transparent; }
.timeline.is-in li:first-child .node { transition-delay: .2s; }
.timeline.is-in li:nth-child(2) .node { transition-delay: .65s; }
.timeline.is-in li:nth-child(3) .node { transition-delay: 1.1s; }
.timeline.is-in li:nth-child(4) .node { transition-delay: 1.55s; }
.timeline p { margin-top: .5rem; color: var(--muted); max-width: 30ch; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem clamp(2rem, 5vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.qa p { margin-top: .6rem; color: var(--muted); max-width: 52ch; }

/* ---------- CTA ---------- */

.cta-section { padding-bottom: var(--section-y); }

.cta {
  position: relative;
  border-radius: calc(var(--r-container) + 8px);
  overflow: hidden;
  min-height: 30rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
}
.cta-img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--surface) 40%, rgba(19, 27, 49, .55) 65%, rgba(19, 27, 49, .1)),
    radial-gradient(60% 80% at 0% 100%, rgba(109, 60, 246, .3), transparent 70%);
}
.cta-body { position: relative; z-index: 2; padding: clamp(2rem, 5vw, 4rem); max-width: 40rem; }
.cta h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.cta p { margin-top: 1.1rem; color: var(--muted); font-size: 1.125rem; max-width: 30rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: .9375rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.25rem; }
.footer-inner img { height: 32px; width: auto; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--text); }
.footer-inner .copy { margin-left: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .site-nav { gap: 1.25rem; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell { grid-column: span 1; }
  .cell-wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-grid, .demo, .measure { grid-template-columns: minmax(0, 1fr); }
  .hero-media { aspect-ratio: 4 / 3; }
  .measure-head { position: static; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .timeline::before, .timeline::after { display: none; }
  .demo-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-cases button { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

@media (max-width: 767px) {
  .brand img { height: 34px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(15rem, auto); }
  .cell, .cell-wide { grid-column: auto; }
  .cluster dl { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .demo-cases { grid-template-columns: minmax(0, 1fr); }
  .demo-cases button { flex-direction: row; align-items: center; }
  .player { padding: 1.1rem 1rem .9rem; }
  .transcript { height: 19rem; }
  .line { max-width: 94%; }
  .cta { min-height: 0; flex-direction: column; align-items: stretch; }
  .cta-img { position: relative; width: 100%; height: 14rem; }
  .cta::before { background: linear-gradient(180deg, transparent 6rem, var(--surface) 14rem); }
  .hero-actions .btn, .hero-actions .btn-ghost { flex: 1 1 auto; justify-content: center; }
  .footer-inner .copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter, .action { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .timeline::after { transform: scaleX(1); transition: none; }
  .timeline .node { transition: none; }
  .wave span { transition: none; }
}
