:root {
  --bg: #09090b;
  --bg-soft: #111115;
  --ink: #111114;
  --ink-soft: #5f5f68;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --white: #ffffff;
  --line: rgba(17, 17, 20, 0.13);
  --line-dark: rgba(255, 255, 255, 0.13);
  --accent: #b8ff5c;
  --accent-strong: #95ef2b;
  --violet: #aa8cff;
  --cyan: #63e9ff;
  --orange: #ff9d63;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 118px 0;
}

.section-muted {
  background: var(--paper-2);
}

.disclosure-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 18px;
  background: var(--accent);
  color: #10110d;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-align: center;
}

.disclosure-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 9, 11, 0.78);
  color: var(--white);
  backdrop-filter: blur(20px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(9, 9, 11, 0.94);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 720;
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.icon-button:focus-visible,
.lab-tabs button:focus-visible,
.switcher-tabs button:focus-visible,
.sound-chip:focus-visible,
.suggested-prompts button:focus-visible,
.chat-form button:focus-visible {
  outline: 3px solid rgba(184, 255, 92, 0.45);
  outline-offset: 3px;
}

.button-light {
  background: var(--white);
  color: #111;
}

.button-light:hover {
  background: var(--accent);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.button-large {
  min-height: 52px;
  padding: 0 23px;
  font-size: 14px;
}

.button-accent {
  background: var(--accent);
  color: #10120c;
}

.button-accent:hover {
  background: var(--accent-strong);
}

.button-dark-ghost {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1.5px;
  background: white;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 106px 0 0;
  padding: 28px 22px;
  background: rgba(9, 9, 11, 0.98);
  color: white;
}

.mobile-nav a {
  display: block;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.hero {
  min-height: calc(100vh - 106px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 104px;
  padding-bottom: 44px;
  background: var(--bg);
  color: var(--white);
}

.hero-grid,
.final-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.hero-glow,
.lab-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  right: 3%;
  top: 14%;
  background: var(--violet);
}

.hero-glow-b {
  width: 330px;
  height: 330px;
  left: 12%;
  bottom: 0;
  background: var(--accent);
  opacity: 0.1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  gap: 78px;
  align-items: center;
}

.eyebrow,
.kicker,
.editor-kicker,
.platform-tag,
.insight-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 780;
}

.eyebrow {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.63);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(184, 255, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 255, 92, 0); }
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(58px, 6.5vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.072em;
  font-weight: 570;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.microcopy {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.hero-console {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1.2deg);
}

.console-topbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 750;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.status-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(184, 255, 92, 0.1);
  color: rgba(218, 255, 171, 0.9);
  letter-spacing: 0;
  font-size: 9px;
}

.status-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.console-body {
  min-height: 490px;
  display: grid;
  grid-template-columns: 62px 1fr;
}

.console-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-item {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.11);
  color: white;
}

.console-main {
  min-width: 0;
  padding: 22px;
}

.console-label-row,
.console-footer,
.script-meta,
.timeline-head,
.agent-header,
.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-label-row {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.script-card {
  margin-top: 18px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(8, 8, 10, 0.42);
}

.script-card p {
  min-height: 100px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.script-meta {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.script-meta > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7c4ff, #7d61c8);
  color: #211934;
  font-size: 8px;
  font-weight: 800;
}

.wave-stage {
  position: relative;
  height: 138px;
  display: flex;
  align-items: center;
  margin-top: 18px;
  border-radius: 17px;
  background: linear-gradient(140deg, rgba(184, 255, 92, 0.08), rgba(170, 140, 255, 0.08));
  overflow: hidden;
}

.waveform {
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 72px 0 20px;
}

.waveform span {
  width: 3px;
  min-height: 4px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(184, 255, 92, 0.35), rgba(255, 255, 255, 0.85));
  transform-origin: center;
}

.waveform.playing span {
  animation: waveform 0.8s ease-in-out infinite alternate;
}

@keyframes waveform {
  from { transform: scaleY(0.45); opacity: 0.45; }
  to { transform: scaleY(1.2); opacity: 1; }
}

.play-orb {
  position: absolute;
  right: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(184, 255, 92, 0.25);
}

.console-footer {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.console-footer b {
  color: rgba(255, 255, 255, 0.8);
}

.console-footer button {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 9px;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 68px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  text-align: center;
  letter-spacing: 0.13em;
  font-weight: 750;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading .kicker,
.safety-copy .kicker,
.faq-heading .kicker,
.final-cta .kicker {
  margin-bottom: 18px;
  color: #6f6b62;
}

.section-heading h2,
.safety-copy h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(40px, 5.1vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 570;
}

.section-heading > p,
.safety-copy > p,
.final-cta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.platform-switcher {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 70px rgba(45, 42, 34, 0.08);
}

.switcher-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.switcher-tabs button {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #777268;
  cursor: pointer;
  font-weight: 740;
  transition: background 0.2s ease, color 0.2s ease;
}

.switcher-tabs button:last-child {
  border-right: 0;
}

.switcher-tabs button span {
  font-size: 10px;
  color: #9b968c;
}

.switcher-tabs button[aria-selected="true"] {
  background: #151519;
  color: white;
}

.switcher-tabs button[aria-selected="true"] span {
  color: var(--accent);
}

.platform-panel {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
  padding: 58px;
}

.platform-panel[hidden] {
  display: none;
}

.platform-tag {
  margin-bottom: 18px;
  color: #777268;
}

.platform-copy h3 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 590;
}

.platform-copy > p {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 32px;
}

.check-grid span {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: #3d3b37;
}

.check-grid span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #161619;
}

.platform-visual {
  position: relative;
  min-height: 395px;
  overflow: hidden;
  border-radius: 22px;
  background: #111114;
  color: white;
  box-shadow: var(--shadow);
}

.creative-visual {
  padding: 28px;
  background:
    radial-gradient(circle at 82% 15%, rgba(170, 140, 255, 0.23), transparent 35%),
    #111114;
}

.timeline-head {
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-track {
  position: relative;
  height: 58px;
  margin-bottom: 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.timeline-track span,
.timeline-track i,
.timeline-track b {
  position: absolute;
  top: 9px;
  bottom: 9px;
  border-radius: 7px;
}

.track-a span { left: 10px; width: 34%; background: rgba(184, 255, 92, 0.35); }
.track-a i { left: 37%; width: 20%; background: rgba(184, 255, 92, 0.18); }
.track-a b { left: 60%; width: 29%; background: rgba(184, 255, 92, 0.27); }
.track-b span { left: 18%; width: 42%; background: rgba(170, 140, 255, 0.38); }
.track-b i { left: 63%; width: 27%; background: rgba(170, 140, 255, 0.2); }
.track-c span { left: 7%; width: 20%; background: rgba(99, 233, 255, 0.28); }
.track-c i { left: 31%; width: 52%; background: rgba(99, 233, 255, 0.16); }

.timeline-marker {
  position: absolute;
  left: 54%;
  top: 68px;
  bottom: 28px;
  width: 1px;
  background: var(--orange);
}

.timeline-marker::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.floating-chip {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.86);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chip-voice { right: 24px; top: 72px; color: var(--accent); }
.chip-music { right: 36px; bottom: 94px; color: var(--violet); }
.chip-sfx { left: 34px; bottom: 26px; color: var(--cyan); }

.agent-visual {
  padding: 26px;
  background:
    radial-gradient(circle at 20% 10%, rgba(184, 255, 92, 0.13), transparent 35%),
    #111114;
}

.agent-header {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.agent-header span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent-header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.agent-header b {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(184, 255, 92, 0.1);
  color: var(--accent);
  font-size: 9px;
}

.message {
  max-width: 78%;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.55;
}

.message-user {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: white;
  color: #111;
}

.message-agent {
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.action-row span {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(184, 255, 92, 0.09);
  color: rgba(218, 255, 171, 0.8);
  font-size: 9px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.metric-row div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.metric-row small {
  display: block;
  color: rgba(255, 255, 255, 0.4);
}

.metric-row strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  font-weight: 560;
}

.code-visual {
  padding: 25px;
  background:
    radial-gradient(circle at 90% 20%, rgba(99, 233, 255, 0.1), transparent 34%),
    #111114;
}

.code-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.code-visual pre {
  margin: 28px 0 0;
  overflow: auto;
  color: rgba(255, 255, 255, 0.72);
  font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.code-purple { color: #c4a7ff; }
.code-blue { color: #79e7ff; }
.code-green { color: #c6f89b; }

.lab-section {
  overflow: hidden;
  background: var(--bg);
  color: white;
}

.lab-glow {
  width: 620px;
  height: 620px;
  right: -160px;
  top: 180px;
  background: var(--violet);
  opacity: 0.11;
}

.section-heading.inverse .kicker {
  color: rgba(255, 255, 255, 0.48);
}

.section-heading.inverse > p {
  color: rgba(255, 255, 255, 0.56);
}

.lab-shell {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 60px 160px rgba(0, 0, 0, 0.38);
}

.lab-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
}

.lab-tabs button {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.lab-tabs button:last-child {
  border-right: 0;
}

.lab-tabs button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.tab-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  font-size: 10px;
}

.lab-tabs button[aria-selected="true"] .tab-icon {
  border-color: rgba(184, 255, 92, 0.4);
  background: rgba(184, 255, 92, 0.1);
  color: var(--accent);
}

.lab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  min-height: 620px;
}

.lab-panel[hidden] {
  display: none;
}

.lab-editor {
  min-width: 0;
  padding: 52px;
}

.editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.editor-kicker {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.editor-head h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 590;
}

.local-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.local-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.field-label,
.control-grid label {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lab-editor textarea,
.text-input,
.control-grid select,
.chat-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: white;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lab-editor textarea:focus,
.text-input:focus,
.control-grid select:focus,
.chat-form input:focus {
  border-color: rgba(184, 255, 92, 0.58);
  background: rgba(255, 255, 255, 0.075);
}

.lab-editor textarea {
  min-height: 178px;
  margin-top: 10px;
  padding: 20px;
  resize: vertical;
  border-radius: 16px;
  font-size: 18px;
  line-height: 1.65;
}

.editor-counter {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  text-align: right;
}

.control-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.control-grid.compact {
  grid-template-columns: minmax(220px, 0.45fr);
}

.control-grid label {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.control-grid output {
  float: right;
  color: rgba(255, 255, 255, 0.83);
}

.control-grid select {
  height: 38px;
  margin-top: 8px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
}

.control-grid select option {
  background: #151519;
}

.control-grid input[type="range"] {
  width: 100%;
  margin-top: 16px;
  accent-color: var(--accent);
}

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

.demo-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
}

.lab-insight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
  border-left: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.035);
}

.insight-label {
  color: rgba(255, 255, 255, 0.39);
}

.lab-insight h4 {
  margin: 18px 0 0;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 570;
}

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

.lab-insight li {
  position: relative;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.lab-insight li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.lab-insight a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 12px;
  font-weight: 720;
}

.transcript-box {
  min-height: 286px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
}

.transcript-box .placeholder {
  color: rgba(255, 255, 255, 0.26);
}

.mic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
}

.listening .mic-dot {
  background: #ff5d5d;
  animation: pulse-red 1.3s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255, 93, 93, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(255, 93, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 93, 93, 0); }
}

.agent-editor {
  display: flex;
  flex-direction: column;
}

.chat-window {
  min-height: 320px;
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 4px 20px;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(184, 255, 92, 0.13);
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
}

.chat-message.user .chat-avatar {
  background: rgba(255, 255, 255, 0.13);
  color: white;
}

.chat-message div {
  max-width: 72%;
}

.chat-message p {
  margin: 0;
  padding: 13px 15px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.55;
}

.chat-message.user p {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
  background: white;
  color: #111;
}

.chat-message time {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 8px;
}

.chat-message.user time {
  text-align: right;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  margin-top: auto;
}

.chat-form input {
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
}

.chat-form button {
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  cursor: pointer;
  font-size: 20px;
}

.suggested-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.suggested-prompts button,
.sound-chip {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  font-size: 9px;
}

.suggested-prompts button:hover,
.sound-chip:hover,
.sound-chip.active {
  border-color: rgba(184, 255, 92, 0.4);
  color: var(--accent);
}

.text-input {
  height: 54px;
  margin-top: 10px;
  padding: 0 17px;
  border-radius: 14px;
}

.sound-options {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.sound-visual {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(170, 140, 255, 0.13), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.sound-visual span {
  width: 7px;
  height: var(--bar-height, 36%);
  border-radius: 99px;
  background: linear-gradient(to top, rgba(184, 255, 92, 0.28), rgba(255, 255, 255, 0.82));
  transform: scaleY(0.55);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.sound-visual.playing span {
  animation: sound-bars 0.9s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

@keyframes sound-bars {
  from { transform: scaleY(0.35); opacity: 0.45; }
  to { transform: scaleY(1.15); opacity: 1; }
}

.code-block {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.code-toolbar {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.code-toolbar button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 10px;
}

.code-block pre {
  max-height: 370px;
  margin: 0;
  overflow: auto;
  padding: 22px;
  color: rgba(255, 255, 255, 0.78);
  font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.api-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 157, 99, 0.22);
  border-radius: 12px;
  background: rgba(255, 157, 99, 0.06);
  font-size: 11px;
}

.api-warning strong {
  color: #ffc29e;
}

.api-warning span {
  color: rgba(255, 255, 255, 0.46);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
  transition: background 0.25s ease, transform 0.25s ease;
}

.capability-card:hover {
  z-index: 2;
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(44, 41, 34, 0.1);
}

.capability-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 12px;
  font-weight: 750;
}

.card-index {
  position: absolute;
  right: 28px;
  top: 31px;
  color: #a19c92;
  font-size: 10px;
}

.capability-card h3 {
  margin: auto 0 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 610;
}

.capability-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.card-tags span {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  color: #6b675f;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 750;
}

.capability-card-accent {
  background: var(--accent);
}

.capability-card-accent:hover {
  background: var(--accent-strong);
}

.capability-card-accent .capability-icon {
  border-color: rgba(17, 17, 20, 0.2);
}

.capability-card-accent p {
  color: rgba(17, 17, 20, 0.65);
}

.capability-card-accent a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 20, 0.2);
  font-size: 12px;
  font-weight: 750;
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 100px;
  align-items: start;
}

.safety-copy {
  position: sticky;
  top: 120px;
}

.safety-copy > p {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 750;
}

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

.safety-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.safety-card > span {
  display: block;
  color: #9c978e;
  font-size: 10px;
}

.safety-card h3 {
  margin: 92px 0 0;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 590;
}

.safety-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.faq-section {
  background: #f7f5ef;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.faq-heading {
  align-self: start;
  position: sticky;
  top: 120px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

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

.accordion summary span {
  font-size: 23px;
  font-weight: 350;
  transition: transform 0.2s ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 680px;
  margin: -8px 0 28px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.final-cta {
  overflow: hidden;
  background: var(--bg);
  color: white;
  text-align: center;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta .kicker {
  color: rgba(255, 255, 255, 0.44);
}

.final-cta h2 {
  max-width: 820px;
  font-size: clamp(52px, 7vw, 94px);
}

.final-cta p {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.56);
}

.final-cta .button {
  margin-top: 34px;
}

.final-cta small {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.34);
}

.site-footer {
  padding: 65px 0 26px;
  background: #070709;
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
}

.footer-top > p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 22px;
  max-width: calc(100% - 40px);
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(12, 12, 15, 0.95);
  color: white;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 32px, 940px);
  }

  .desktop-nav {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-console {
    max-width: 780px;
    width: 100%;
    justify-self: center;
    transform: none;
  }

  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .platform-panel {
    grid-template-columns: 1fr;
  }

  .platform-visual {
    min-height: 350px;
  }

  .lab-panel {
    grid-template-columns: 1fr;
  }

  .lab-insight {
    min-height: 380px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

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

  .safety-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .safety-copy,
  .faq-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 24px, 680px);
  }

  .section {
    padding: 84px 0;
  }

  .disclosure-bar {
    min-height: 42px;
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .desktop-cta {
    display: none;
  }

  .header-actions .button-light {
    min-height: 40px;
    padding: 0 13px;
  }

  .mobile-nav {
    inset: 108px 0 0;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 35px;
  }

  .hero h1 {
    font-size: clamp(49px, 16vw, 72px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-console {
    border-radius: 19px;
  }

  .console-body {
    min-height: 430px;
    grid-template-columns: 48px 1fr;
  }

  .console-main {
    padding: 14px;
  }

  .script-card {
    padding: 16px;
  }

  .script-card p {
    min-height: 118px;
    font-size: 14px;
  }

  .waveform {
    padding-left: 14px;
    padding-right: 68px;
    gap: 2px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .safety-copy h2,
  .faq-heading h2 {
    font-size: 44px;
  }

  .switcher-tabs button {
    min-height: 68px;
    flex-direction: column;
    gap: 3px;
  }

  .platform-panel {
    min-height: 0;
    gap: 38px;
    padding: 30px 20px 20px;
  }

  .platform-copy h3 {
    font-size: 38px;
  }

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

  .platform-visual {
    min-height: 310px;
  }

  .lab-tabs {
    grid-template-columns: repeat(5, minmax(82px, 1fr));
    overflow-x: auto;
  }

  .lab-tabs button {
    min-height: 76px;
    padding: 0 10px;
    flex-direction: column;
    gap: 5px;
  }

  .lab-editor,
  .lab-insight {
    padding: 28px 20px;
  }

  .editor-head {
    display: block;
  }

  .local-badge {
    margin-top: 15px;
  }

  .control-grid,
  .control-grid.compact {
    grid-template-columns: 1fr;
  }

  .lab-editor textarea {
    font-size: 15px;
  }

  .api-warning {
    flex-direction: column;
  }

  .capability-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 305px;
  }

  .faq-layout {
    gap: 34px;
  }

  .accordion summary {
    min-height: 78px;
    font-size: 16px;
  }

  .final-cta h2 {
    font-size: 52px;
  }

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

  .footer-brand span {
    display: inline;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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