/* trovul.com — same tokens as the app (src/styles/theme.css in the app repo). */

:root {
  color-scheme: dark;
  --bg: #07070b;
  --surface: rgba(20, 20, 31, 0.62);
  --surface-solid: #121219;
  --surface-2: #191923;
  --surface-3: #22222f;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f4f4fa;
  --text-2: #a3a3b8;
  --text-3: #6c6c82;
  --violet: #8b5cf6;
  --violet-light: #a78bfa;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --red: #f87171;
  --gradient-action: linear-gradient(135deg, #8b5cf6 0%, #6d7cf5 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(90deg, #a78bfa, #22d3ee 55%, #34d399);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 840px;
}

.grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Backdrop ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.glow-a {
  width: 720px;
  height: 720px;
  left: -220px;
  top: -260px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate;
}

.glow-b {
  width: 640px;
  height: 640px;
  right: -200px;
  top: 30vh;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 65%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  to {
    transform: translate(80px, 60px) scale(1.1);
  }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:focus-visible,
.lang button:focus-visible,
.segmented button:focus-visible,
.shot:focus-visible,
summary:focus-visible,
.menu-btn:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-action);
  color: #fff;
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary .icon {
  transition: transform 0.2s var(--ease);
}

.btn-primary:hover .icon {
  transform: translateX(3px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost .icon {
  width: 14px;
  height: 14px;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled,
.nav.open {
  background: rgba(7, 7, 11, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.lang button {
  padding: 5px 9px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.lang button.on {
  background: var(--surface-3);
  color: var(--text);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--nav-h) + 72px) 0 40px;
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  color: #d6ccff;
  font-size: 13px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.hero-title {
  margin: 22px 0 22px;
  font-size: clamp(52px, 7.2vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
}

/* "Uma mesa só." is longer than "One desk.": keep each line whole. */
html[lang="pt-BR"] .hero-title {
  font-size: clamp(44px, 5.1vw, 78px);
}

html[lang="pt-BR"] .hero-title span {
  white-space: nowrap;
}

.hero-lead {
  max-width: 560px;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  width: 17px;
  height: 17px;
  color: var(--violet-light);
}

/* The product stage: the mixer window with the tray mixer and pop-ups around it. */
.hero-visual {
  position: relative;
  perspective: 1600px;
}

.stage {
  position: relative;
  transform: rotateY(-9deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.window {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #0a0a11;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 90px rgba(139, 92, 246, 0.25);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #0d0d15;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2a38;
}

.window-bar em {
  margin-left: 10px;
  color: var(--text-3);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.float {
  position: absolute;
  margin: 0;
  animation: bob 7s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

.float-flyout {
  left: -9%;
  bottom: -14%;
  width: 34%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 50px rgba(6, 182, 212, 0.18);
  transform: translateZ(60px);
  animation-delay: -2s;
}

.float-toast {
  top: 10%;
  right: -6%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--emerald-light);
  border-radius: 12px;
  background: rgba(15, 15, 24, 0.94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation-delay: -4s;
}

.float-toast strong {
  display: block;
  font-size: 14px;
}

.float-toast small {
  color: var(--text-2);
  font-size: 12.5px;
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--emerald-light);
}

.toast-icon .icon {
  width: 18px;
  height: 18px;
}

.float-latency {
  right: 4%;
  bottom: -7%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  background: rgba(8, 30, 38, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  font-size: 13px;
  animation-delay: -1s;
}

.float-latency b {
  font-family: var(--mono);
  color: var(--cyan-light);
}

.float-latency small {
  color: var(--text-2);
}

.lat-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.lat-wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--cyan-light);
  animation: wave 1.1s ease-in-out infinite;
}

.lat-wave i:nth-child(2) { animation-delay: -0.2s; }
.lat-wave i:nth-child(3) { animation-delay: -0.4s; }
.lat-wave i:nth-child(4) { animation-delay: -0.6s; }
.lat-wave i:nth-child(5) { animation-delay: -0.8s; }

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

/* ---------- Facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 110px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.facts > div {
  padding: 26px 28px;
  border-left: 1px solid var(--line);
}

.facts > div:first-child {
  border-left: 0;
}

.facts dt {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.facts dd {
  margin: 4px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

/* ---------- Sections ---------- */

.section {
  padding: 120px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  margin-bottom: 14px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2,
.waitlist-box h2 {
  text-wrap: balance;
}

.section-head h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-head p:not(.kicker) {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 18px;
}

/* ---------- Versus ---------- */

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.versus-col {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.versus-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 20px;
}

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

.versus-col li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 15px;
}

.before li .icon {
  color: var(--text-3);
}

.before li em {
  color: #fca5a5;
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}

.versus-note {
  margin-top: 20px;
  color: var(--text-3);
  font-size: 12.5px;
}

.after {
  position: relative;
  border-color: rgba(167, 139, 250, 0.35);
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(34, 211, 238, 0.12), transparent 70%),
    radial-gradient(400px 220px at 0% 100%, rgba(139, 92, 246, 0.16), transparent 70%),
    var(--surface);
  box-shadow: 0 30px 80px rgba(139, 92, 246, 0.12);
}

.after li {
  grid-template-columns: auto 1fr;
  color: var(--text);
}

.after li .icon {
  color: var(--emerald-light);
}

.versus-price {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}

.versus-price b {
  color: var(--text);
}

.versus-arrow {
  display: grid;
  place-items: center;
  color: var(--violet-light);
}

.versus-arrow .icon {
  width: 34px;
  height: 34px;
}

/* ---------- Bento ---------- */

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

.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(420px 260px at var(--mx) var(--my), rgba(139, 92, 246, 0.1), transparent 70%),
    var(--surface);
  transition: border-color 0.3s;
}

.card:hover {
  border-color: var(--line-2);
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-2);
  font-size: 15px;
}

.card p em {
  color: var(--text-3);
  font-style: normal;
}

.chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.chip .icon {
  width: 14px;
  height: 14px;
}

.chip-violet {
  background: rgba(139, 92, 246, 0.14);
  color: #c4b5fd;
}

.chip-cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #67e8f9;
}

.chip-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
}

.card-xl {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 36px;
  align-items: center;
  padding: 40px;
}

.card-xl .card-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-xl h3 {
  font-size: 32px;
  letter-spacing: -0.03em;
}

.card-xl p {
  font-size: 16.5px;
}

.card-audio,
.card-follow,
.card-clip,
.card-tray {
  grid-column: span 2;
}

.card-apps {
  grid-column: span 4;
}

.card-deck,
.card-duck {
  grid-column: span 3;
}

.shot {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #0a0a11;
  cursor: zoom-in;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.18);
}

.shot img {
  width: 100%;
  object-fit: cover;
}

.shot-mixer img {
  aspect-ratio: 16 / 10;
  object-position: 80% 0;
}

/* Zoomed crops of full screenshots: the part that tells the story. */
.shot-input img {
  aspect-ratio: 16 / 7;
  transform: scale(1.42);
  transform-origin: 58% 50%;
}

.shot-apps img {
  aspect-ratio: 16 / 7;
  transform: scale(1.45);
  transform-origin: 66% 42%;
}

.shot-popups img,
.shot-flyout img {
  height: 230px;
  object-position: 50% 0;
}

/* Where the sound goes */
.flow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.flow-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
}

.flow-pc .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  box-sizing: content-box;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
}

.flow-line {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-line i {
  position: absolute;
  top: 0;
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--cyan-light), transparent);
  animation: flow-r 1.6s linear infinite;
}

.flow-line i:nth-child(2) { animation-delay: -0.4s; }
.flow-line i:nth-child(3) { animation-delay: -0.8s; }
.flow-line i:nth-child(4) { animation-delay: -1.2s; }

.flow[data-dir="receive"] .flow-line i {
  animation-name: flow-l;
}

.flow[data-dir="off"] .flow-line i {
  display: none;
}

@keyframes flow-r {
  from { left: -30px; }
  to { left: 100%; }
}

@keyframes flow-l {
  from { left: 100%; }
  to { left: -30px; }
}

.flow[data-dir="receive"] .flow-pc:first-child .icon,
.flow[data-dir="send"] .flow-pc:last-child .icon {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.25);
}

.segmented {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.segmented button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.segmented .icon {
  width: 15px;
  height: 15px;
}

.segmented button.on {
  border-color: var(--line-2);
  background: var(--surface-3);
  color: var(--text);
}

/* Follow the pointer meters */
.meters {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.meter-row,
.hs-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--gradient-action);
  transition: width 0.6s var(--ease);
}

.m-local {
  animation: focus-a 7s var(--ease) infinite;
}

.m-remote {
  animation: focus-b 7s var(--ease) infinite;
}

@keyframes focus-a {
  0%, 42% { width: 100%; }
  50%, 92% { width: 30%; }
  100% { width: 100%; }
}

@keyframes focus-b {
  0%, 42% { width: 30%; }
  50%, 92% { width: 100%; }
  100% { width: 30%; }
}

.d-voice {
  animation: voice 6s ease-in-out infinite;
}

.d-other {
  background: linear-gradient(135deg, #10b981, #06b6d4) !important;
  animation: ducked 6s ease-in-out infinite;
}

@keyframes voice {
  0%, 30%, 88%, 100% { width: 4%; }
  36% { width: 72%; }
  44% { width: 38%; }
  52% { width: 84%; }
  60% { width: 46%; }
  68% { width: 78%; }
  78% { width: 30%; }
}

@keyframes ducked {
  0%, 28%, 92%, 100% { width: 90%; }
  36%, 82% { width: 28%; }
}

/* Stream Deck keys */
.card-deck .deck {
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, #16161f, #0c0c12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.45);
}

.key {
  --k: var(--violet-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--k) 16%, transparent), transparent 70%), #0b0b12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: var(--k);
  animation: key-press 9s infinite;
}

.key .icon {
  width: 24px;
  height: 24px;
}

.key small {
  color: var(--text-2);
  font-size: 10.5px;
  font-weight: 600;
}

.k-cyan { --k: var(--cyan-light); }
.k-emerald { --k: var(--emerald-light); }
.k-red { --k: var(--red); }

.key.lit {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 45%, transparent), 0 0 22px color-mix(in srgb, var(--k) 25%, transparent);
}

.key:nth-child(1) { animation-delay: 0s; }
.key:nth-child(2) { animation-delay: 1.5s; }
.key:nth-child(3) { animation-delay: 3s; }
.key:nth-child(4) { animation-delay: 4.5s; }
.key:nth-child(5) { animation-delay: 6s; }
.key:nth-child(6) { animation-delay: 7.5s; }

@keyframes key-press {
  0%, 8%, 100% { transform: none; filter: none; }
  3% { transform: scale(0.92); filter: brightness(1.6); }
}






/* ---------- Keyboard & mouse ---------- */

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.spotlight-copy h2 {
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.spotlight-lead {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 18px;
}

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

.checks li {
  display: flex;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
}

.checks .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14);
  color: var(--cyan-light);
  margin-top: 1px;
}

.spotlight-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14px;
}

.spotlight-tip .icon {
  width: 18px;
  height: 18px;
}

.spotlight-shot {
  margin: 0;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 90px rgba(34, 211, 238, 0.14);
}

/* ---------- Details ---------- */

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--line);
}

.detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: #0d0d14;
}

.detail b {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.detail h3 {
  margin-top: 6px;
  font-size: 16.5px;
}

.detail p {
  color: var(--text-2);
  font-size: 14px;
}

/* ---------- Film ---------- */

.player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background: #0a0a11;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 100px rgba(139, 92, 246, 0.18);
}

.player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0a11;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(7, 7, 11, 0.15), rgba(7, 7, 11, 0.45));
  cursor: pointer;
  transition: opacity 0.3s;
}

.play-btn span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--gradient-action);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(139, 92, 246, 0.18), 0 20px 50px rgba(139, 92, 246, 0.45);
  transition: transform 0.25s var(--ease);
}

.play-btn:hover span {
  transform: scale(1.07);
}

.play-btn .icon {
  width: 32px;
  height: 32px;
  margin-left: 5px;
}

.player.playing .play-btn {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.step-n {
  position: absolute;
  top: -18px;
  right: 14px;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
}

.steps .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 13px;
  background: var(--gradient-action);
  color: #fff;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.steps h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}

.steps p {
  color: var(--text-2);
  font-size: 15px;
}

/* ---------- Who ---------- */

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

.who-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.who-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.who-card .icon {
  width: 28px;
  height: 28px;
  color: var(--cyan-light);
}

.who-card h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.who-card p {
  color: var(--text-2);
  font-size: 14.5px;
}

/* ---------- Forms ---------- */

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}







.field input,
.field select,
.field textarea,
.wl-row input,
.wl-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--surface-2);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}


select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  cursor: pointer;
}

select option {
  background: #16161f;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.wl-row input:focus,
.wl-row select:focus {
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}

::placeholder {
  color: var(--text-3);
}

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-msg {
  min-height: 1.2em;
  font-size: 14px;
  font-weight: 600;
}

.form-msg.ok {
  color: var(--emerald-light);
}

.form-msg.err {
  color: var(--red);
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.2s;
}

.faq-list details[open] {
  border-color: var(--line-2);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .icon {
  color: var(--text-3);
  transition: transform 0.25s var(--ease);
}

.faq-list details[open] summary .icon {
  transform: rotate(180deg);
}

.faq-list details p {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------- Waitlist ---------- */

.waitlist-box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 48px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(139, 92, 246, 0.25), transparent 70%),
    radial-gradient(500px 260px at 50% 100%, rgba(6, 182, 212, 0.14), transparent 70%),
    rgba(12, 12, 19, 0.9);
  box-shadow: 0 40px 140px rgba(139, 92, 246, 0.2);
}

.waitlist-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.6));
}

.waitlist-box h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.waitlist-box > p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--text-2);
  font-size: 17.5px;
}

.wl-form {
  max-width: 720px;
  margin: 32px auto 0;
}

.wl-row {
  display: flex;
  gap: 10px;
}

.wl-row input {
  flex: 1.4;
  min-width: 0;
}

.wl-row select {
  flex: 1;
  min-width: 0;
  color: var(--text-2);
}

.wl-row .btn {
  flex: none;
}

.wl-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--text-3);
  font-size: 13.5px;
}

.wl-note .icon {
  width: 15px;
  height: 15px;
  color: var(--emerald-light);
}

/* ---------- Footer ---------- */

.footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: center;
}

.footer-brand p {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--text-2);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12.5px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 8, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
  animation: fade 0.2s;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1400px, 94vw);
  max-height: 88vh;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface-2);
  cursor: pointer;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

/* ---------- Confetti ---------- */

.confetti {
  position: fixed;
  top: -12px;
  z-index: 200;
  width: 9px;
  height: 9px;
  pointer-events: none;
  animation: confetti-fall var(--t, 2.6s) linear forwards;
}

@keyframes confetti-fall {
  to {
    transform: translate(var(--dx, 0), 105vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .float-toast {
    right: -1%;
  }

  .float-flyout {
    left: -1%;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-xl,
  .card-apps {
    grid-column: span 2;
  }

  .card-audio,
  .card-follow,
  .card-clip,
  .card-tray,
  .card-deck,
  .card-duck {
    grid-column: span 1;
  }

  .card-xl {
    grid-template-columns: 1fr;
  }

  /* Two columns: pair the small cards. */
  .card-audio { order: 1; }
  .card-follow { order: 2; }
  .card-apps { order: 3; }
  .card-clip { order: 4; }
  .card-tray { order: 5; }
  .card-deck { order: 6; }
  .card-duck { order: 7; }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .who-grid,
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 11, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 10px;
    font-size: 16px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 84px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head p:not(.kicker) {
    font-size: 16.5px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 44px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    text-align: left;
    font-size: 13.5px;
  }

  .stage {
    transform: none;
  }

  .float-flyout {
    left: -2%;
    bottom: -18%;
    width: 38%;
  }

  .float-toast {
    top: -8%;
    right: -2%;
    padding: 10px 12px 10px 10px;
  }

  .float-toast small {
    display: none;
  }

  .float-latency {
    right: -2%;
    bottom: -12%;
    padding: 8px 12px;
    font-size: 11.5px;
  }

  .float-latency small {
    display: none;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 100px;
  }

  .facts > div {
    padding: 20px;
  }

  .facts > div:nth-child(3) {
    border-left: 0;
  }

  .facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .facts dt {
    font-size: 24px;
  }

  .versus {
    grid-template-columns: 1fr;
  }

  .versus-arrow {
    transform: rotate(90deg);
  }

  .versus-col {
    padding: 24px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .card-xl,
  .card-apps,
  .card-audio,
  .card-follow,
  .card-clip,
  .card-tray,
  .card-deck,
  .card-duck {
    grid-column: span 1;
  }

  .card,
  .card-xl {
    padding: 22px;
  }

  .card-xl h3 {
    font-size: 26px;
  }

  .steps,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail {
    padding: 20px 16px;
  }

  .detail b {
    font-size: 19px;
  }

  .checks li {
    font-size: 15px;
  }

  .waitlist-box {
    padding: 44px 20px;
    border-radius: 24px;
  }

  .wl-row {
    flex-direction: column;
  }

  .play-btn span {
    width: 68px;
    height: 68px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
