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

:root {
  /* Flat pastels — zero gradients */
  --bg:          #ffffff;
  --bg-2:        #ffffff;
  --mint:        #b8cedc;
  --mint-deep:   #315f78;
  --mint-dim:    #d0e4f0;
  --mint-faint:  #e8f2f8;
  --lav:         var(--mint);
  --lav-dim:     var(--mint-dim);
  --lav-faint:   var(--mint-faint);
  --blush:       var(--mint);
  --blush-dim:   var(--mint-dim);
  --blush-faint: var(--mint-faint);
  --butter:      var(--mint);
  --butter-dim:  var(--mint-dim);
  --butter-faint:var(--mint-faint);
  --sky:         var(--mint);
  --sky-dim:     var(--mint-dim);
  --sky-faint:   var(--mint-faint);
  /* Dark (VS Code night) */
  --dark:        #1e1e2e;
  --dark-2:      #252538;
  --dark-3:      #2e2e46;
  --dark-border: rgba(255,255,255,0.08);
  --dark-text:   #cdd6f4;
  --dark-muted:  #a2a8cf;
  /* Type */
  --ink:         #1a1820;
  --ink-2:       #3d3b4a;
  --ink-3:       #555261;
  --ink-4:       #767282;
  --border:      #d8d4cc;
  --border-2:    #e8e4dc;
  --section-gap: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPE HELPERS ── */
.mono { font-family: 'JetBrains Mono', monospace; }
.headline { font-family: 'Manrope', 'IBM Plex Sans', sans-serif; }
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.label-light { color: rgba(205,214,244,0.65); }
.label-life-mark {
  width: 12px;
  height: 12px;
}
.label-life-mark span {
  width: 4px;
  height: 4px;
  transition: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center;
  padding: 0 48px; height: 56px;
  background: var(--bg);
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.logo-life-mark {
  width: 18px; height: 18px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  flex: 0 0 auto;
}
.logo-life-mark span {
  width: 6px; height: 6px;
  background: transparent;
  transition: background-color 320ms ease;
}
.logo-life-mark span.is-alive {
  background: currentColor;
}
.nav-center { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-center a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-3); text-decoration: none;
  letter-spacing: 0.03em; transition: color 0.15s;
}
.nav-center a:hover { color: var(--ink); }
.nav-dropdown {
  position: relative;
}
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: var(--ink);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 300px;
  padding: 8px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border-2);
  box-shadow: 0 18px 44px rgba(26,24,32,0.12);
  transform: translateX(-50%);
  z-index: 260;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-center .nav-dropdown-menu .nav-product-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  color: var(--ink);
  letter-spacing: normal;
  border-radius: 4px;
  transition: background 0.15s;
}
.nav-center .nav-dropdown-menu .nav-product-card:hover {
  background: var(--mint-faint);
  color: var(--ink);
}
.nav-product-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
}
.nav-product-logo {
  width: 15px;
  height: 15px;
}
.nav-product-logo span {
  width: 5px;
  height: 5px;
  transition: none;
}
.nav-product-sub {
  display: block;
  padding-left: 25px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-4);
}
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: 18px; }
.btn-ghost {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-3); text-decoration: none;
  letter-spacing: 0.05em; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 3px;
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-solid {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--bg); background: var(--ink);
  text-decoration: none; letter-spacing: 0.05em;
  padding: 6px 14px; border-radius: 3px;
  transition: background 0.15s;
}
.btn-solid:hover { background: var(--dark-2); }

/* ── HERO ── */
.hero {
  background: var(--bg);
  /* Match demo proportions (hero-animation-demo.html): taller canvas so waveforms / radial motifs read like full-viewport backdrop */
  min-height: clamp(560px, 88vh, 980px);
  padding: 150px 0 150px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-sound-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  filter: contrast(0.95);
  mix-blend-mode: normal;
  image-rendering: pixelated;
}
.section-life-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  filter: contrast(0.95);
  mix-blend-mode: normal;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.hero-text {
  max-width: 520px;
  padding-bottom: 32px;
  transform: translateY(-18px);
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mint); flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--mint-dim);
}
.hero h1 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--ink);
  margin-bottom: 4px;
}
.hero-h1-sub {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 400; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--ink-3);
  margin-bottom: 24px;
}
.hero-h1-sub strong {
  font-weight: 600; color: var(--mint-deep);
}
.hero-actions {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.hero-chat-input {
  width: min(696px, 100%);
  min-height: 120px;
  margin: 50px auto 0;
  padding: 12px 16px 10px;
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(26,24,32,0.12);
  border-radius: 6px;
  backdrop-filter: blur(14px);
  transform: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.hero-chat-input::before {
  content: none;
}
.hero-chat-input::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.64), transparent 48%);
  pointer-events: none;
}
.hero-chat-input:focus-within {
  border-color: rgba(49,95,120,0.28);
  background: rgba(255,255,255,0.82);
  transform: none;
}
.hero-chat-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-chat-logo {
  width: 15px;
  height: 15px;
}
.hero-chat-logo span {
  width: 5px;
  height: 5px;
  transition: none;
}
.hero-chat-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 2px var(--mint-dim);
}
.hero-chat-prompt {
  width: 100%;
  margin: 8px 0 10px;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink);
}
.hero-chat-prompt::placeholder { color: rgba(26,24,32,0.38); }
.hero-chat-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.hero-chat-run {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.2px;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}
.hero-chat-run:hover {
  transform: translateY(-1px);
}
.hero-chat-run:disabled {
  cursor: progress;
  opacity: 0.82;
  transform: none;
}
.hero-chat-run kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.2px;
  line-height: 1;
  padding: 1px 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 1px;
}
.btn-primary {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.2px; letter-spacing: 0.05em;
  padding: 4px 9px; background: var(--ink); color: var(--bg);
  border-radius: 2px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink);
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--dark); border-color: var(--dark); }
.btn-secondary {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.2px; letter-spacing: 0.05em;
  padding: 4px 9px; background: transparent;
  color: var(--ink-3); border: 1px solid var(--border);
  border-radius: 2px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.15s;
}
.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); }

/* ── HERO DEMO PANEL ── */
.hero-demo {
  background: rgba(232,242,248,0.78);
  border: 1px solid var(--sky-dim);
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; padding: 48px 32px 60px;
}
/* Subtle sound-wave rings behind the input */
.demo-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--sky-dim);
  pointer-events: none; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite;
}
.demo-ring:nth-child(1){ width:220px; height:220px; animation-delay:0s;   opacity:.5; }
.demo-ring:nth-child(2){ width:380px; height:380px; animation-delay:.6s;  opacity:.35; }
.demo-ring:nth-child(3){ width:560px; height:560px; animation-delay:1.2s; opacity:.22; }
.demo-ring:nth-child(4){ width:760px; height:760px; animation-delay:1.8s; opacity:.12; }
@keyframes ringPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1);   opacity: var(--op, .4); }
  50%      { transform: translate(-50%,-50%) scale(1.04); opacity: calc(var(--op,.4) * 0.6); }
}

/* Tab switcher */
.demo-tabs {
  display: inline-flex; gap: 0;
  border: 1px solid var(--border); border-radius: 4px;
  background: rgba(255,255,255,0.8);
  margin-bottom: 20px; position: relative; z-index: 1;
  backdrop-filter: blur(4px);
}
.demo-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.05em;
  padding: 6px 14px; color: var(--ink-3);
  cursor: pointer; border: none; background: transparent;
  border-right: 1px solid var(--border);
  transition: all 0.15s; user-select: none;
}
.demo-tab:last-child { border-right: none; }
.demo-tab.active {
  background: var(--ink); color: white;
  border-radius: 3px; margin: 2px; padding: 4px 12px;
}
.demo-tab:not(.active):hover { color: var(--ink); background: rgba(255,255,255,0.5); }

/* Input bar */
.demo-input-bar {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 0; overflow: hidden;
  width: 100%; max-width: 680px;
  position: relative; z-index: 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
}
.demo-verb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--ink-3);
  padding: 14px 16px; white-space: nowrap;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.demo-query {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--ink);
  padding: 14px 14px; flex: 1;
  border: none; outline: none; background: transparent;
  min-width: 0;
}
.demo-query::placeholder { color: var(--ink-4); }
.demo-from {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--ink-3);
  padding: 14px 16px; white-space: nowrap;
  border-left: 1px solid var(--border); flex-shrink: 0;
}
.demo-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--ink);
  padding: 14px 12px; border: none; outline: none;
  background: transparent; cursor: pointer; flex: 0 0 auto;
  min-width: 140px;
}
.demo-run {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em; padding: 6px 14px;
  background: var(--ink); color: white;
  border: none; cursor: pointer; margin: 4px;
  border-radius: 3px; flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.15s;
}
.demo-run:hover { background: var(--dark); }
.demo-run kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; padding: 2px 5px;
  background: rgba(255,255,255,0.15); border-radius: 2px;
}

/* Results panel (shown after RUN) */
.demo-results {
  width: 100%; max-width: 680px;
  margin-top: 16px; position: relative; z-index: 1;
  display: none; flex-direction: column; gap: 8px;
}
.demo-results.visible { display: flex; }
.demo-result-row {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 14px;
  animation: slideUp 0.2s ease both;
}
.demo-result-row:nth-child(2) { animation-delay: 0.06s; }
.demo-result-row:nth-child(3) { animation-delay: 0.12s; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dr-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--mint-deep);
  font-weight: 600; flex-shrink: 0; width: 36px;
}
.dr-body { flex: 1; min-width: 0; }
.dr-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--ink); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dr-meta { font-size: 11px; color: var(--ink-4); margin-top: 2px; }
.dr-ts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-4);
  flex-shrink: 0; border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 2px;
}

/* Loading spinner */
.demo-loading {
  display: none; align-items: center; gap: 10px;
  margin-top: 16px; position: relative; z-index: 1;
}
.demo-loading.visible { display: flex; }
.demo-spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--sky-dim);
  border-top-color: var(--ink-3);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-loading-txt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.05em;
}

/* Code snippet below hero */
.hero-snippet {
  background: var(--dark); border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); text-align: left;
  max-width: 560px; margin-top: 20px; position: relative; z-index: 1;
}
.code-bar {
  display: flex; align-items: center; padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06); gap: 6px;
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot:nth-child(1) { background: var(--blush); }
.code-dot:nth-child(2) { background: var(--butter); }
.code-dot:nth-child(3) { background: var(--mint); }
.code-file {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dark-muted); margin-left: 8px;
}
.code-body {
  padding: 18px 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  line-height: 1.8; color: var(--dark-text); white-space: pre;
}
.c-kw  { color: var(--mint); }
.c-str { color: var(--mint-dim); }
.c-key { color: var(--dark-text); }
.c-num { color: var(--mint); }
.c-cmt { color: var(--dark-muted); }
.c-fn  { color: var(--mint-dim); }
.c-var { color: var(--dark-text); }

/* ── LOGO BAR ── */
.logos {
  padding: 32px 48px;
  background: var(--bg-2);
  overflow: hidden;
}
.logos-inner { max-width: 1100px; margin: 0 auto; }
.logos-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-4); text-align: center; margin-bottom: 28px;
}
.logo-viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: logoMarquee 42s linear infinite;
}
.logo-viewport:hover .logo-track { animation-play-state: paused; }
.logo-set {
  display: flex;
  align-items: center;
  gap: 54px;
  padding-right: 54px;
}
.logo-mark {
  height: 28px;
  width: 72px;
  object-fit: contain;
  filter: grayscale(1) contrast(0) brightness(0.48);
  opacity: 0.58;
  mix-blend-mode: multiply;
}
@keyframes logoMarquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ── SECTIONS WRAPPER ── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 48px; }

/* ── ABOUT / VALUE PROP ── */
.about-section {
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about-life-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  filter: contrast(0.95);
  mix-blend-mode: normal;
}
.about-section .wrap {
  position: relative;
  z-index: 1;
}
.pillars-section,
.benchmark,
.endpoints-section,
.workflow,
.posts-section,
.start-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pillars-section > .wrap,
.benchmark > .wrap,
.endpoints-section > .wrap,
.workflow > .wrap,
.posts-section > .wrap,
.start-section > .wrap {
  position: relative;
  z-index: 1;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text h2 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600; line-height: 1.25;
  letter-spacing: -0.03em; margin-bottom: 20px; color: var(--ink);
}
.about-text p {
  color: var(--ink-3); font-size: 15px;
  line-height: 1.75; font-weight: 400; margin-bottom: 16px;
}
.about-visual {
  background: transparent;
  border: none;
  padding: 8px 10px; border-radius: 0;
  position: relative; overflow: hidden;
  height: 360px;
}
.about-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-height: 0;
}
.about-hours-card {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 0 10px;
  margin-bottom: -4px;
  border: none;
  background: var(--bg);
}
.about-hours-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 8px;
  line-height: 1.25;
  text-align: center;
}
.about-hours-value {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 26px);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.about-hours-caption {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}
.hours-digit-slot {
  display: inline-flex;
  vertical-align: baseline;
  justify-content: center;
  min-width: 0.58em;
}
.hours-digit-slot.is-comma {
  min-width: 0;
  padding: 0 1px;
}
.hours-digit-stack {
  position: relative;
  width: 1em;
  height: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hours-mini-grid {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 15px;
  height: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.22s ease;
}
.hours-mini-grid span {
  width: 5px;
  height: 5px;
  background: transparent;
  transition: background-color 42ms ease;
}
.hours-mini-grid span.is-alive {
  background: currentColor;
}
.hours-digit-char {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(2px);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.hours-digit-slot.is-revealed .hours-mini-grid {
  opacity: 0;
  pointer-events: none;
}
.hours-digit-slot.is-revealed .hours-digit-char {
  opacity: 1;
  transform: translateY(0);
}
.source-feed-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: -6px;
  padding-top: 6px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.35) 10px,
    #000 28px
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.35) 10px,
    #000 28px
  );
}
.source-feed {
  display: flex; flex-direction: column; gap: 14px;
  animation: sourceScroll 22s linear infinite;
}
.about-visual:hover .source-feed { animation-play-state: paused; }
@keyframes sourceScroll {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 6px)); }
}
.audio-item {
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 14px;
  min-height: 72px;
}
.source-thumb {
  width: 46px; height: 46px; border-radius: 4px;
  object-fit: contain; flex-shrink: 0;
  background: white; border: 1px solid var(--border-2);
  padding: 7px;
}
.source-thumb.podcast { object-fit: cover; padding: 0; }
.audio-meta { flex: 1; min-width: 0; }
.audio-title {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 12px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.audio-sub {
  font-size: 11px; color: var(--ink-4); margin-top: 2px;
}
.audio-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; padding: 2px 7px;
  border-radius: 2px; letter-spacing: 0.08em;
  flex-shrink: 0;
}
.badge-live { background: #fde8e8; color: #b42318; border: 1px solid #f5b5b5; }
.badge-idx  { background: #eef2ff; color: #3443a7; border: 1px solid #c7d2fe; }
.badge-podcast { background: var(--mint-faint); color: var(--mint-deep); border: 1px solid var(--mint-dim); }

/* ── FOUR PILLARS ── */
.pillars-section {
  padding: var(--section-gap) 0;
  background: var(--bg);
}
.pillars-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 40px;
}
.pillars-header-left { max-width: 420px; }
.pillars-header h2 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600; line-height: 1.25; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 12px;
}
.pillars-header p { color: var(--ink-3); font-size: 14px; line-height: 1.7; font-weight: 400; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
.pillar {
  background: var(--bg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.15s;
}
.pillar:hover { background: var(--bg-2); }
.pillar-icon {
  width: 40px; height: 40px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: #000;
}
.pillar-life-mark {
  width: 30px;
  height: 30px;
}
.pillar-life-mark span {
  width: 10px;
  height: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  transition: none;
}
.pillar-life-mark span.is-alive {
  background: #000;
}
.p-icon-1,
.p-icon-2,
.p-icon-3,
.p-icon-4 {
  background: transparent;
  border: 0;
}
.pillar h4 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
}
.pillar p { font-size: 12px; color: var(--ink-3); line-height: 1.65; font-weight: 400; flex: 1; }
.pillar-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-4); letter-spacing: 0.05em;
  padding-top: 12px; border-top: 1px solid var(--border-2);
}

/* ── DARK BENCHMARK ── */
.benchmark {
  background: var(--dark); color: var(--dark-text);
  padding: var(--section-gap) 0;
}
.benchmark-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.benchmark h2 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.03em; color: white; margin-bottom: 18px;
}
.benchmark p { font-size: 14px; line-height: 1.75; font-weight: 400; color: var(--dark-muted); }
.bench-cta {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.05em;
  padding: 6px 14px; color: white;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 3px;
  text-decoration: none; transition: border-color 0.15s;
}
.bench-cta:hover { border-color: rgba(255,255,255,0.5); }
.bench-panel {
  background: var(--dark-2); border: 1px solid var(--dark-border);
  border-radius: 6px; overflow: hidden;
}
.bench-panel-head {
  padding: 16px 20px; border-bottom: 1px solid var(--dark-border);
  display: flex; justify-content: space-between; align-items: center;
}
.bench-panel-head span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dark-muted); letter-spacing: 0.05em;
}
.bench-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; padding: 3px 10px;
  border-radius: 2px; background: var(--dark-3);
  color: var(--mint); letter-spacing: 0.08em;
}
.bench-rows { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bench-row { display: flex; flex-direction: column; gap: 6px; }
.bench-row-top { display: flex; justify-content: space-between; align-items: center; }
.bench-row-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--dark-text);
}
.bench-row-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--dark-muted);
}
.bench-track {
  height: 5px; background: var(--dark-3); border-radius: 2px; overflow: hidden;
}
.bench-fill {
  height: 100%; border-radius: 2px;
  background: var(--mint);
}
.bench-fill.lav   { background: var(--lav); }
.bench-fill.blush { background: var(--blush); }
.bench-fill.sky   { background: var(--sky); }
.bench-fill.butter{ background: var(--butter); }

/* ── ENDPOINTS / USE CASES ── */
.endpoints-section {
  padding: var(--section-gap) 0;
}
.endpoints-section > .wrap > .label { margin-bottom: 8px; }
.endpoints-section > .wrap > h2 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.03em; margin-bottom: 12px;
}
.endpoints-section > .wrap > p {
  color: var(--ink-3); font-size: 15px; max-width: 500px;
  line-height: 1.7; font-weight: 400; margin-bottom: 44px;
}
.endpoints-section > .wrap > h1 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.03em; margin-bottom: 12px;
}
.product-detail-lead {
  color: var(--ink-3); font-size: 15px; max-width: 560px;
  line-height: 1.7; font-weight: 400; margin-bottom: 24px;
}
.product-detail-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 16px; margin-bottom: 48px;
}
.product-detail-demo.endpoint-item {
  padding-top: 0;
}
.endpoint-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 44px 0;
}
@media (min-width: 901px) {
  .endpoint-item.endpoint-item-visual-65 {
    grid-template-columns: minmax(0, 35%) minmax(0, 65%);
  }
}
.endpoint-item > * { min-width: 0; }
.endpoint-item.flip { direction: rtl; }
.endpoint-item.flip > * { direction: ltr; }
.ep-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4);
  display: block; margin-bottom: 16px;
}
.ep-text h3 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 600; letter-spacing: -0.03em;
  margin-bottom: 14px; line-height: 1.25;
}
.ep-text p {
  color: var(--ink-3); font-size: 14px;
  line-height: 1.75; font-weight: 400; margin-bottom: 20px;
}
.ep-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 2px; border: 1px solid;
}
.ep-pill-mint,
.ep-pill-lav,
.ep-pill-blush { color: var(--mint-deep); border-color: var(--mint); background: var(--mint-faint); }

/* Endpoint visual boxes */
.ep-visual {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  overflow: visible;
  border: 0;
  transform: none;
}
.ep-visual::before {
  content: none;
}
.ep-vis-mint  { background: transparent; border-color: transparent; }
.ep-vis-lav   { background: transparent; border-color: transparent; }
.ep-vis-blush { background: transparent; border-color: transparent; }

/* Homepage #endpoints — off-white panel only behind the animated column */
#endpoints .endpoint-item .ep-visual {
  background: #fdfcfb;
  border-radius: 6px;
  padding: 22px 24px;
  box-sizing: border-box;
}

/* Endpoint demo animations — shared top bar + body inset */
.semantic-card-head,
.transcribe-head,
.broadcast-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 0;
}

/* Semantic search animation */
.semantic-search-card {
  padding: 0;
  background: transparent;
}
.semantic-card-inner {
  background: transparent;
  border: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 348px;
}
.semantic-card-label,
.semantic-status,
.semantic-source,
.semantic-score,
.semantic-json-label,
.semantic-json-code {
  font-family: 'JetBrains Mono', monospace;
}
.semantic-card-label {
  font-size: 9px; letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase; color: var(--ink-4);
}
.semantic-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; letter-spacing: 0.1em; color: var(--mint-deep);
  font-weight: 700;
}
.semantic-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: semanticPulse 1.3s ease infinite;
}
.semantic-search-stage {
  transform: translateY(78px);
  animation: semanticSearchStageUp 0.65s ease-in-out 3.25s forwards;
}
.semantic-search-bar {
  display: flex; align-items: center; gap: 9px;
  margin: 14px; padding: 9px 10px;
  background: var(--bg); border: 1px solid var(--border-2);
  border-radius: 3px;
}
.semantic-search-icon {
  width: 14px; height: 14px; color: var(--ink-4); flex-shrink: 0;
}
.semantic-query {
  flex: 1; min-width: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.semantic-query-text {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  animation: semanticTypeQuery 0.95s steps(56, end) 0.18s forwards;
}
.semantic-query-text::after {
  content: "";
  display: inline-block; width: 1px; height: 13px;
  margin-left: 4px; background: var(--mint-deep);
  vertical-align: -2px;
  animation: semanticBlink 1s step-start infinite;
}
.semantic-progress {
  height: 2px; margin: 0 14px 8px;
  background: var(--border-2); border-radius: 2px; overflow: hidden;
  opacity: 0;
  animation: semanticSearchVisible 1.8s ease 1.35s forwards;
}
.semantic-progress span {
  display: block; height: 100%; width: 42%;
  background: var(--mint-deep);
  transform: translateX(-100%);
  animation: semanticProgress 1.55s ease-in-out 1.42s forwards;
}
.semantic-search-state {
  position: relative;
  height: 18px;
  margin: 0 14px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-4);
}
.semantic-search-state span {
  position: absolute; inset: 0 auto auto 0;
  opacity: 0;
}
.semantic-searching {
  animation: semanticSearchingText 1.7s ease 1.45s forwards;
}
.semantic-found {
  color: var(--mint-deep);
  animation: semanticFoundText 0.45s ease-out 3.25s forwards;
}
.semantic-results {
  position: relative;
  height: 0;
  margin: 0 14px;
  overflow: hidden;
  animation: semanticResultsTimeline 5.35s ease-out 3.5s forwards;
}
.semantic-row {
  display: grid; grid-template-columns: 36px 1fr 34px;
  align-items: center; gap: 10px;
  position: absolute; inset: 0;
  min-height: 112px;
  padding: 12px 10px;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  border-left: 2px solid transparent;
  background: rgba(248,246,242,0.82);
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  animation: semanticFileCard 1.65s ease-in-out forwards;
}
.semantic-row::before {
  content: "";
  position: absolute; left: -2px; top: 12px; bottom: 12px;
  width: 2px; border-radius: 2px;
  background: var(--mint-deep);
  opacity: 0;
  animation: semanticScanLine 1.65s ease-in-out forwards;
}
.semantic-row:nth-child(1) { animation-delay: 3.55s; }
.semantic-row:nth-child(1)::before,
.semantic-row:nth-child(1) .semantic-hit { animation-delay: 3.55s; }
.semantic-row:nth-child(2) { animation-delay: 4.85s; }
.semantic-row:nth-child(2)::before,
.semantic-row:nth-child(2) .semantic-hit { animation-delay: 4.85s; }
.semantic-row:nth-child(3) { animation-delay: 5.95s; }
.semantic-row:nth-child(3)::before,
.semantic-row:nth-child(3) .semantic-hit { animation-delay: 5.95s; }
.semantic-time,
.semantic-source,
.semantic-score {
  font-size: 10px; color: var(--ink-4);
}
.semantic-source {
  color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.semantic-thumb {
  width: 34px; height: 34px; border-radius: 4px;
  object-fit: cover;
  background: white; border: 1px solid var(--border-2);
}
.semantic-file-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.semantic-file-title {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.semantic-file-meta,
.semantic-speaker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--ink-4);
}
.semantic-speaker {
  color: var(--mint-deep);
}
.semantic-snippet {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10.5px; line-height: 1.35; color: var(--ink-2);
}
.semantic-hit {
  background-color: transparent;
  background-image: linear-gradient(90deg, #ffe566, #fff2a3);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  animation: semanticHighlightSweep 1.65s ease-in-out forwards;
}
.semantic-score {
  text-align: right; color: var(--mint-deep);
  opacity: 0;
  transform: translateY(3px);
  animation: semanticScoreReveal 0.25s ease-out forwards;
}
.semantic-row:nth-child(1) .semantic-score { animation-delay: 4.35s; }
.semantic-row:nth-child(2) .semantic-score { animation-delay: 5.65s; }
.semantic-row:nth-child(3) .semantic-score { animation-delay: 6.75s; }
.semantic-fast-scan {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0;
  animation: semanticFastScanStage 1.35s ease 7.25s forwards;
}
.semantic-fast-track {
  display: flex; flex-direction: column; gap: 5px;
  transform: translateY(52px);
  animation: semanticFastTrack 1.08s linear 7.28s forwards;
}
.semantic-fast-line {
  display: grid; grid-template-columns: 74px 1fr 36px;
  gap: 8px; align-items: center;
  padding: 5px 8px;
  background: rgba(248,246,242,0.82);
  border: 1px solid var(--border-2);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--ink-4);
  opacity: 0.92;
}
.semantic-fast-line span:nth-child(2) {
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.semantic-fast-line span:last-child {
  color: var(--mint-deep);
  text-align: right;
}
.semantic-batch-hit {
  background-image: linear-gradient(90deg, #ffe566, #fff2a3);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  border-radius: 2px;
  padding: 0 1px;
  animation: semanticBatchHighlight 0.22s ease-out forwards;
}
.semantic-fast-line:nth-child(1) .semantic-batch-hit { animation-delay: 7.32s; }
.semantic-fast-line:nth-child(2) .semantic-batch-hit { animation-delay: 7.40s; }
.semantic-fast-line:nth-child(3) .semantic-batch-hit { animation-delay: 7.48s; }
.semantic-fast-line:nth-child(4) .semantic-batch-hit { animation-delay: 7.56s; }
.semantic-fast-line:nth-child(5) .semantic-batch-hit { animation-delay: 7.64s; }
.semantic-fast-line:nth-child(6) .semantic-batch-hit { animation-delay: 7.72s; }
.semantic-fast-line:nth-child(7) .semantic-batch-hit { animation-delay: 7.80s; }
.semantic-fast-line:nth-child(8) .semantic-batch-hit { animation-delay: 7.88s; }
.semantic-fast-line:nth-child(9) .semantic-batch-hit { animation-delay: 7.96s; }
.semantic-fast-line:nth-child(10) .semantic-batch-hit { animation-delay: 8.04s; }
.semantic-fast-line:nth-child(11) .semantic-batch-hit { animation-delay: 8.12s; }
.semantic-fast-line:nth-child(12) .semantic-batch-hit { animation-delay: 8.20s; }
.semantic-json-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 168px;
  margin: 0;
  padding: 8px;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: semanticJsonPop 0.55s ease-out 8.85s forwards;
}
.semantic-json-label {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 5px;
  font-size: 8px; letter-spacing: 0.12em;
  color: rgba(205,214,244,0.68);
  text-transform: uppercase;
}
.semantic-json-label span:last-child { color: var(--mint); }
.semantic-json-build {
  position: relative;
  height: 108px;
  overflow: hidden;
  margin-bottom: 4px;
  animation: semanticJsonBuildCollapse 0.32s ease 10.25s forwards;
}
.semantic-json-build-track {
  display: flex;
  flex-direction: column;
  gap: 1px;
  transform: translateY(34px);
  animation: semanticJsonBuildUp 1.05s linear 9.05s forwards;
}
.semantic-json-build-line {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px;
  padding: 2px 4px;
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.2px;
  line-height: 1.18;
  color: var(--dark-muted);
}
.semantic-json-build-line span:first-child {
  color: var(--mint);
}
.semantic-json-build-line span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.semantic-json-code {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 8.6px; line-height: 1.48;
  color: var(--dark-text);
  white-space: pre-wrap;
  animation: semanticJsonType 1.05s steps(11, end) 10.42s forwards;
}
.semantic-json-key { color: var(--mint); }
.semantic-json-string { color: #f5d6a3; }
.semantic-json-num { color: #b8cedc; }
@keyframes semanticPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.76); }
}
@keyframes semanticSearchStageUp {
  to { transform: translateY(0); }
}
@keyframes semanticTypeQuery {
  to { max-width: 56ch; }
}
@keyframes semanticBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
@keyframes semanticSearchVisible {
  0%, 100% { opacity: 1; }
}
@keyframes semanticProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(240%); }
}
@keyframes semanticSearchingText {
  0% { opacity: 0; transform: translateY(4px); }
  16%, 78% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes semanticFoundText {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes semanticResultsTimeline {
  0% { height: 0; margin-bottom: 0; }
  7%, 96% { height: 128px; margin-bottom: 14px; }
  100% { height: 0; margin-bottom: 0; }
}
@keyframes semanticFileCard {
  0% { opacity: 0; transform: translateY(12px) scale(0.985); }
  16%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.99); }
}
@keyframes semanticRowScan {
  0%, 7%, 29%, 100% { background: transparent; border-left-color: transparent; }
  10%, 23% {
    background: rgba(184,206,220,0.08);
    border-left-color: rgba(49,95,120,0.32);
  }
}
@keyframes semanticScanLine {
  0%, 10%, 78%, 100% { opacity: 0; transform: scaleY(0.45); }
  18%, 62% { opacity: 1; transform: scaleY(1); }
}
@keyframes semanticWave {
  0%, 100% { transform: scaleY(0.72); opacity: 0.5; }
  50% { transform: scaleY(1.1); opacity: 1; }
}
@keyframes semanticHighlightSweep {
  0%, 34% { background-size: 0% 100%; }
  54%, 100% { background-size: 100% 100%; }
}
@keyframes semanticScoreReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes semanticFastScanStage {
  0% { opacity: 0; transform: translateY(10px); }
  20%, 88% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes semanticFastTrack {
  to { transform: translateY(-244px); }
}
@keyframes semanticBatchHighlight {
  to { background-size: 100% 100%; }
}
@keyframes semanticJsonPop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes semanticJsonBuildUp {
  to { transform: translateY(-82px); }
}
@keyframes semanticJsonBuildCollapse {
  to { height: 0; margin-bottom: 0; opacity: 0; }
}
@keyframes semanticJsonType {
  to { max-height: 14.5em; }
}

/* Mini code block inside endpoint visual */
.ep-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; line-height: 1.8;
  color: var(--ink-2); padding: 28px 24px;
  white-space: pre; overflow: auto;
}
.ep-code .ck,
.ep-code .cs,
.ep-code .cp,
.ep-code .cn { color: var(--mint-deep); }
.ep-code .cc  { color: var(--ink-3); font-style: italic; }
.ep-vis-lav .ep-code .ck,
.ep-vis-blush .ep-code .ck { color: var(--mint-deep); }

/* Waveform visualizer block */
.waveform-block {
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.wf-row { display: flex; align-items: center; gap: 10px; }
.wf-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-4); width: 38px; flex-shrink: 0;
}
.wf-bars { flex: 1; display: flex; gap: 2px; align-items: center; height: 28px; }
.wf-b {
  flex: 1; border-radius: 1px; background: var(--blush);
  transition: height 0.3s;
}
.wf-row:nth-child(2) .wf-b { background: var(--lav); }
.wf-row:nth-child(3) .wf-b { background: var(--mint); }
.wf-snippet {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-3); width: 160px;
  flex-shrink: 0; text-align: right;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* On-demand transcription animation */
.transcribe-card {
  position: relative;
  width: 100%;
  height: 348px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
.transcribe-label,
.transcribe-status,
.transcribe-file-meta,
.transcribe-time,
.transcribe-speaker,
.transcribe-ready,
.transcribe-output-label,
.transcribe-json-pre {
  font-family: 'JetBrains Mono', monospace;
}
.transcribe-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.transcribe-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--mint-deep);
  animation: transcribeStatus 9s ease-in-out infinite;
}
.transcribe-body,
.broadcast-body {
  padding: 12px 14px;
}
.transcribe-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 3px;
}
.transcribe-file-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--mint-faint);
  border: 1px solid var(--mint-dim);
  flex-shrink: 0;
}
.transcribe-file-title {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.transcribe-file-meta {
  margin-top: 2px;
  font-size: 8.5px;
  color: var(--ink-4);
}
.transcribe-progress {
  height: 2px;
  margin: 9px 0;
  background: var(--border-2);
  border-radius: 2px;
  overflow: hidden;
}
.transcribe-progress span {
  display: block;
  height: 100%;
  background: var(--mint-deep);
  animation: transcribeProgress 9s ease-in-out infinite;
}
.transcribe-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 2px 0;
  overflow: hidden;
}
.transcribe-bar {
  flex: 0 0 1px;
  width: 1px;
  min-width: 1px;
  border-radius: 0;
  background: var(--ink-3);
  transform-origin: center;
  animation: wave var(--dur, 2.8s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.transcribe-output {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.transcribe-output-label {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.transcribe-ready {
  color: var(--mint-deep);
  opacity: 0;
  animation: transcribeReady 9s ease-in-out infinite;
}
.transcribe-json {
  position: relative;
  padding: 9px 10px;
  background: #102836;
  border: 1px solid rgba(49,95,120,0.24);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.transcribe-json::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--mint-deep);
  opacity: 0.7;
}
.transcribe-json-pre {
  position: relative;
  margin: 0;
  color: rgba(248,246,242,0.9);
  font-size: 8.4px;
  line-height: 1.34;
  white-space: pre-wrap;
}
.transcribe-json-key { color: #9fdaff; }
.transcribe-json-string { color: #b8f0d2; }
.transcribe-json-number { color: #ffd27a; }
.transcribe-json-literal { color: #ffd27a; }
.transcribe-json-muted { color: rgba(248,246,242,0.48); }
.transcribe-json-line {
  display: block;
  overflow: hidden;
  white-space: pre;
  width: 0;
  animation-duration: 9s;
  animation-timing-function: steps(var(--chars), end);
  animation-iteration-count: infinite;
}
.transcribe-json-line:nth-child(1) { animation-name: transcribeJsonLine1; }
.transcribe-json-line:nth-child(2) { animation-name: transcribeJsonLine2; }
.transcribe-json-line:nth-child(3) { animation-name: transcribeJsonLine3; }
.transcribe-json-line:nth-child(4) { animation-name: transcribeJsonLine4; }
.transcribe-json-line:nth-child(5) { animation-name: transcribeJsonLine5; }
.transcribe-json-line:nth-child(6) { animation-name: transcribeJsonLine6; }
.transcribe-json-line:nth-child(7) { animation-name: transcribeJsonLine7; }
.transcribe-json-line:nth-child(8) { animation-name: transcribeJsonLine8; }
.transcribe-json-line:nth-child(9) { animation-name: transcribeJsonLine9; }
.transcribe-json-line:nth-child(10) { animation-name: transcribeJsonLine10; }
.transcribe-json-line:nth-child(11) { animation-name: transcribeJsonLine11; }
.transcribe-json-line:nth-child(12) { animation-name: transcribeJsonLine12; }
.transcribe-json-cursor {
  display: inline-block;
  width: 5px;
  height: 1em;
  margin-left: 1px;
  background: var(--mint-deep);
  vertical-align: -2px;
  opacity: 0;
  animation: transcribeJsonCursor 9s steps(1, end) infinite;
}
.transcribe-line {
  display: grid;
  grid-template-columns: 38px 58px 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 8px;
  background: rgba(248,246,242,0.78);
  border: 1px solid var(--border-2);
  border-radius: 3px;
  opacity: 0;
  transform: translateY(8px);
  animation: transcribeLineIn 9s ease-in-out infinite;
}
.transcribe-line:nth-child(2) { animation-delay: 1.65s; }
.transcribe-line:nth-child(3) { animation-delay: 2.65s; }
.transcribe-line:nth-child(4) { animation-delay: 3.65s; }
.transcribe-time,
.transcribe-speaker {
  font-size: 8.5px;
  line-height: 1.35;
}
.transcribe-time { color: var(--ink-4); }
.transcribe-speaker { color: var(--mint-deep); }
.transcribe-text {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ink-2);
}
.transcribe-word {
  background: transparent;
  border-radius: 2px;
  padding: 0 1px;
  animation: transcribeWord 9s ease-in-out infinite;
}
.transcribe-line:nth-child(2) .transcribe-word { animation-delay: 2.1s; }
.transcribe-line:nth-child(3) .transcribe-word { animation-delay: 3.1s; }
.transcribe-line:nth-child(4) .transcribe-word { animation-delay: 4.1s; }
@keyframes transcribeStatus {
  0%, 12% { opacity: 0.55; }
  18%, 70% { opacity: 1; }
  78%, 100% { opacity: 0.55; }
}
@keyframes transcribeProgress {
  0%, 12% { width: 0%; }
  62%, 100% { width: 100%; }
}
@keyframes transcribePlayhead {
  0%, 14% { left: 0%; opacity: 0; }
  20%, 72% { opacity: 0.34; }
  78%, 100% { left: 100%; opacity: 0; }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
}
@keyframes transcribeLineIn {
  0%, 18%, 100% { opacity: 0; transform: translateY(8px); }
  25%, 78% { opacity: 1; transform: translateY(0); }
}
@keyframes transcribeWord {
  0%, 28%, 88%, 100% { background: transparent; }
  36%, 78% { background: #ffe566; }
}
@keyframes transcribeJsonLine1 {
  0%, 12%, 100% { width: 0; }
  15%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine2 {
  0%, 15%, 100% { width: 0; }
  22%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine3 {
  0%, 22%, 100% { width: 0; }
  30%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine4 {
  0%, 30%, 100% { width: 0; }
  33%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine5 {
  0%, 33%, 100% { width: 0; }
  40%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine6 {
  0%, 40%, 100% { width: 0; }
  47%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine7 {
  0%, 47%, 100% { width: 0; }
  52%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine8 {
  0%, 52%, 100% { width: 0; }
  66%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine9 {
  0%, 66%, 100% { width: 0; }
  69%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine10 {
  0%, 69%, 100% { width: 0; }
  74%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine11 {
  0%, 74%, 100% { width: 0; }
  80%, 88% { width: var(--w); }
}
@keyframes transcribeJsonLine12 {
  0%, 80%, 100% { width: 0; }
  82%, 88% { width: var(--w); }
}
@keyframes transcribeJsonCursor {
  0%, 58%, 100% { opacity: 0; }
  60%, 66%, 72%, 78%, 84%, 90% { opacity: 1; }
  63%, 69%, 75%, 81%, 87%, 93% { opacity: 0; }
}
@keyframes transcribeReady {
  0%, 58% { opacity: 0; }
  66%, 86% { opacity: 1; }
  100% { opacity: 0; }
}

/* Real-time broadcast monitoring animation */
.broadcast-card {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  height: 348px;
}
.broadcast-label,
.broadcast-status,
.broadcast-source-meta,
.broadcast-source-latency span,
.broadcast-db-head,
.broadcast-stream-text,
.broadcast-realtime-label,
.broadcast-realtime-json,
.broadcast-time,
.broadcast-speaker,
.broadcast-alert-label,
.broadcast-alert-action {
  font-family: 'JetBrains Mono', monospace;
}
.broadcast-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.broadcast-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #ff0000;
  font-weight: 700;
}
.broadcast-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 0 0 rgba(255,0,0,0.4);
  animation: broadcastLivePulse 1.6s ease-out infinite;
}
.broadcast-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 3px;
}
.broadcast-source-thumb {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border-2);
}
.broadcast-source-thumb-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.broadcast-thumb-wave-bar {
  flex: 0 0 1px;
  width: 1px;
  min-width: 1px;
  border-radius: 0;
  background: var(--ink-3);
  transform-origin: center;
  animation: wave var(--dur, 2.8s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.broadcast-source-main {
  min-width: 0;
  flex: 1;
}
.broadcast-source-title {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.broadcast-source-meta {
  margin-top: 1px;
  font-size: 8.5px;
  color: var(--ink-4);
}
.broadcast-source-latency {
  flex: 0 0 auto;
  min-width: 54px;
  text-align: right;
}
.broadcast-source-latency span {
  display: block;
  margin-bottom: 2px;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.broadcast-source-latency strong {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}
.broadcast-meter {
  position: relative;
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  padding: 2px 0;
  overflow: hidden;
}
.broadcast-meter::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1px;
  background: rgba(49,95,120,0.13);
  transform: translateY(-50%);
  pointer-events: none;
}
.broadcast-wave-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: max-content;
  transform: translateX(-50%);
  animation: broadcastWaveLoop 22s linear infinite;
}
.broadcast-meter span {
  flex: 0 0 2px;
  max-width: 2px;
  min-width: 2px;
  height: 18px;
  border-radius: 2px;
  background: #6f9bb3;
  opacity: 0.72;
  transform-origin: center;
  animation: broadcastMeter 7.5s ease-in-out infinite;
}
.broadcast-meter span:nth-child(2n) { animation-delay: 0.18s; }
.broadcast-meter span:nth-child(3n) { animation-delay: 0.36s; }
.broadcast-meter span:nth-child(4n) { animation-delay: 0.54s; }
.broadcast-meter span:nth-child(5n) { animation-delay: 0.72s; }
.broadcast-timeline {
  position: relative;
  height: 3px;
  margin: 12px 0;
  background: var(--border-2);
  border-radius: 3px;
  overflow: hidden;
}
.broadcast-timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  background: var(--mint-deep);
  transform: translateX(-100%);
  animation: broadcastTimeline 8s linear infinite;
}
.broadcast-stream-row {
  display: flex;
  align-items: stretch;
  min-height: 46px;
  margin-top: 10px;
  margin-bottom: 10px;
  background: rgba(248,246,242,0.78);
  border: 1px solid var(--border-2);
  border-radius: 3px;
  overflow: hidden;
}
.broadcast-stream-copy {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.broadcast-stream-copy::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 32px;
  z-index: 1;
  background: linear-gradient(90deg, rgba(248,246,242,0), rgba(248,246,242,0.95));
  pointer-events: none;
}
.broadcast-stream-text {
  display: inline-block;
  min-width: max-content;
  padding-left: 0;
  font-size: 9.5px;
  line-height: 1;
  color: var(--ink-3);
  white-space: nowrap;
  transform: translateX(-100%);
  animation: broadcastTextStream 180s linear infinite;
}
.broadcast-realtime-json {
  position: relative;
  max-width: 100%;
  min-width: 0;
  margin: 7px 0;
  padding: 9px 10px;
  background: #102836;
  border: 1px solid rgba(49,95,120,0.24);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.broadcast-realtime-json::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--mint-deep);
  opacity: 0.72;
}
.broadcast-realtime-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.55);
}
.broadcast-realtime-label span:last-child {
  color: var(--mint);
}
.broadcast-realtime-code {
  position: relative;
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  color: rgba(248,246,242,0.9);
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.4px;
  line-height: 1.34;
  white-space: pre-wrap;
}
.broadcast-realtime-typed {
  display: inline-block;
  width: 118ch;
  white-space: nowrap;
  vertical-align: bottom;
  transform: translateX(0);
  animation: broadcastRealtimeNaturalScroll 18s linear infinite;
  will-change: transform;
}
.broadcast-realtime-value {
  display: inline-block;
  width: calc(100% - 11ch);
  max-width: none;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}
.broadcast-realtime-cursor {
  display: inline-block;
  width: 5px;
  height: 1em;
  margin-left: 1px;
  background: var(--mint-deep);
  vertical-align: -2px;
  animation: broadcastRealtimeCursor 0.75s steps(1, end) infinite;
}
.broadcast-db-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 5px;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  animation: broadcastDbHead 12s ease-in-out infinite;
}
.broadcast-db-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint-deep);
  animation: broadcastIndexedText 12s ease-in-out infinite;
}
.broadcast-db-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint-deep);
  animation: broadcastIndexedDot 1.35s ease-in-out infinite;
}
.broadcast-feed {
  display: grid;
  grid-template-areas: "scan";
  align-items: stretch;
  height: 88px;
  overflow: hidden;
}
.broadcast-chunk {
  grid-area: scan;
  display: grid;
  grid-template-columns: 38px 74px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 10px;
  background: #fbfaf7;
  border: 1px solid var(--border-2);
  border-radius: 3px;
  box-sizing: border-box;
  min-height: 36px;
  align-self: start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}
.broadcast-chunk:nth-child(1) { animation: broadcastChunkOne 12s ease-in-out infinite; }
.broadcast-chunk:nth-child(2) { animation: broadcastChunkTwo 12s ease-in-out infinite; }
.broadcast-chunk:nth-child(3) { animation: broadcastChunkThree 12s ease-in-out infinite; }
.broadcast-time,
.broadcast-speaker {
  font-size: 8px;
  line-height: 1.25;
}
.broadcast-time { color: var(--ink-4); }
.broadcast-speaker { color: var(--mint-deep); }
.broadcast-text {
  font-size: 9.6px;
  line-height: 1.25;
  color: var(--ink-2);
}
.broadcast-keyword {
  background: transparent;
  border-radius: 2px;
  padding: 0 1px;
}
.broadcast-chunk:nth-child(1) .broadcast-keyword { animation: broadcastKeywordOne 12s ease-in-out infinite; }
.broadcast-chunk:nth-child(2) .broadcast-keyword { animation: broadcastKeywordTwo 12s ease-in-out infinite; }
.broadcast-chunk:nth-child(3) .broadcast-keyword { animation: broadcastKeywordThree 12s ease-in-out infinite; }
.broadcast-alert {
  grid-area: scan;
  padding: 8px;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  box-sizing: border-box;
  height: 88px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.985);
  animation: broadcastAlert 12s ease-in-out infinite;
}
.broadcast-alert-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(205,214,244,0.68);
}
.broadcast-alert-label span:last-child {
  color: var(--mint);
}
.broadcast-alert-json {
  margin: 0;
  clip-path: inset(0 0 100% 0);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.4px;
  line-height: 1.28;
  color: var(--dark-text);
  white-space: pre-wrap;
  animation: broadcastJsonType 12s steps(9, end) infinite;
}
.broadcast-json-key { color: var(--mint); }
.broadcast-json-string { color: #f5d6a3; }
.broadcast-json-num { color: #b8cedc; }
@keyframes broadcastLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,0,0,0.4); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(255,0,0,0); }
}
@keyframes broadcastMeter {
  0%, 100% { transform: scaleY(0.92); opacity: 0.62; }
  50% { transform: scaleY(1.08); opacity: 0.78; }
}
@keyframes broadcastWaveLoop {
  to { transform: translateX(0); }
}
@keyframes broadcastTimeline {
  to { transform: translateX(280%); }
}
@keyframes broadcastTextStream {
  to { transform: translateX(100%); }
}
@keyframes broadcastRealtimeNaturalScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-72%); }
}
@keyframes broadcastRealtimeCursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
@keyframes broadcastIndexedText {
  0%, 15%, 24%, 38%, 47%, 61%, 70%, 100% { opacity: 0; visibility: hidden; }
  16%, 23%, 39%, 46%, 62%, 69% { opacity: 1; visibility: visible; }
}
@keyframes broadcastIndexedDot {
  0%, 15%, 24%, 38%, 47%, 61%, 70%, 100% { transform: scale(0.72); opacity: 0; }
  16%, 23%, 39%, 46%, 62%, 69% { transform: scale(1); opacity: 1; }
}
@keyframes broadcastDbHead {
  0%, 74% { opacity: 1; visibility: visible; }
  78%, 96% { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}
@keyframes broadcastChunkOne {
  0%, 8%, 28%, 100% { opacity: 0; visibility: hidden; transform: translateY(8px); }
  11%, 25% { opacity: 1; visibility: visible; transform: translateY(0); }
}
@keyframes broadcastChunkTwo {
  0%, 31%, 51%, 100% { opacity: 0; visibility: hidden; transform: translateY(8px); }
  34%, 48% { opacity: 1; visibility: visible; transform: translateY(0); }
}
@keyframes broadcastChunkThree {
  0%, 54%, 74%, 100% { opacity: 0; visibility: hidden; transform: translateY(8px); }
  57%, 71% { opacity: 1; visibility: visible; transform: translateY(0); }
}
@keyframes broadcastKeywordOne {
  0%, 13%, 25%, 100% { background: transparent; }
  16%, 23% { background: #ffe566; }
}
@keyframes broadcastKeywordTwo {
  0%, 36%, 48%, 100% { background: transparent; }
  39%, 46% { background: #ffe566; }
}
@keyframes broadcastKeywordThree {
  0%, 59%, 71%, 100% { background: transparent; }
  62%, 69% { background: #ffe566; }
}
@keyframes broadcastAlert {
  0%, 77%, 96%, 100% { opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.985); }
  81%, 92% { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
}
@keyframes broadcastJsonType {
  0%, 81%, 96%, 100% { clip-path: inset(0 0 100% 0); }
  88%, 92% { clip-path: inset(0 0 0 0); }
}

/* ── DARK WORKFLOW ── */
.workflow {
  background: var(--dark-2);
  padding: var(--section-gap) 0; color: var(--dark-text);
}
.workflow-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.workflow-left h2 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.03em; color: white; margin-bottom: 18px;
}
.workflow-left p { font-size: 14px; line-height: 1.75; font-weight: 400; color: var(--dark-muted); }
.wf-steps { display: flex; flex-direction: column; }
.wf-step {
  display: flex; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--dark-border);
  align-items: flex-start; cursor: default;
}
.wf-step:first-child { padding-top: 0; }
.wf-step:last-child { border-bottom: none; }
.wf-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dark-muted);
  min-width: 26px; padding-top: 2px;
  letter-spacing: 0.05em;
}
.wf-info h4 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 13px; font-weight: 600; color: white;
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.wf-info p { font-size: 13px; color: var(--dark-muted); line-height: 1.6; font-weight: 400; }

/* ── DOCS / POSTS ── */
.posts-section {
  padding: var(--section-gap) 0;
}
.posts-header {
  display: flex; justify-content: space-between;
  align-items: baseline; margin-bottom: 36px;
}
.posts-header h2 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600; letter-spacing: -0.03em;
}
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.post-card {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.15s;
}
.post-card:hover { background: var(--bg-2); }
.post-thumb {
  height: 112px;
  margin: -28px -28px 10px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-2);
  background:
    linear-gradient(135deg, rgba(232,246,238,0.92), rgba(246,242,232,0.88)),
    var(--bg-2);
}
.post-thumb::before,
.post-thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.post-thumb-retrieval::before {
  inset: 18px 26px auto;
  height: 86px;
  border: 1px solid rgba(26,24,32,0.14);
  background:
    linear-gradient(90deg, rgba(26,24,32,0.24) 0 22%, transparent 22% 100%) 18px 18px / 76% 6px no-repeat,
    linear-gradient(90deg, rgba(26,24,32,0.16) 0 54%, transparent 54% 100%) 18px 38px / 74% 5px no-repeat,
    linear-gradient(90deg, rgba(49,95,120,0.22) 0 68%, transparent 68% 100%) 18px 58px / 78% 5px no-repeat,
    rgba(255,255,255,0.46);
  transform: translateY(-24px);
}
.post-thumb-retrieval::after {
  width: 58px;
  height: 58px;
  right: 24px;
  bottom: -18px;
  border-radius: 50%;
  border: 1px solid rgba(49,95,120,0.26);
  box-shadow: 0 0 0 14px rgba(49,95,120,0.08), 0 0 0 28px rgba(49,95,120,0.04);
}
.post-thumb-product::before {
  left: 22px;
  right: 22px;
  top: 26px;
  height: 72px;
  background:
    repeating-linear-gradient(90deg, rgba(26,24,32,0.28) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, transparent 0 44%, rgba(49,95,120,0.18) 44% 56%, transparent 56%);
  clip-path: polygon(0 36%, 5% 28%, 10% 66%, 15% 20%, 20% 72%, 25% 40%, 30% 54%, 35% 24%, 40% 70%, 45% 34%, 50% 60%, 55% 18%, 60% 78%, 65% 40%, 70% 58%, 75% 28%, 80% 70%, 85% 36%, 90% 56%, 95% 24%, 100% 44%, 100% 100%, 0 100%);
  opacity: 0.76;
}
.post-thumb-product::after {
  left: 34px;
  right: 34px;
  bottom: 20px;
  height: 8px;
  background: linear-gradient(90deg, rgba(26,24,32,0.18), rgba(49,95,120,0.42), rgba(26,24,32,0.18));
  border-radius: 999px;
}
.post-thumb-benchmark::before {
  left: 24px;
  right: 24px;
  bottom: -22px;
  height: 92px;
  background:
    linear-gradient(180deg, rgba(49,95,120,0.52), rgba(49,95,120,0.52)) 0 42px / 18% 50px no-repeat,
    linear-gradient(180deg, rgba(49,95,120,0.28), rgba(49,95,120,0.28)) 27% 22px / 18% 70px no-repeat,
    linear-gradient(180deg, rgba(49,95,120,0.42), rgba(49,95,120,0.42)) 54% 8px / 18% 84px no-repeat,
    linear-gradient(180deg, rgba(49,95,120,0.2), rgba(49,95,120,0.2)) 81% 34px / 18% 58px no-repeat;
}
.post-thumb-benchmark::after {
  inset: 22px 24px auto;
  height: 1px;
  background: rgba(26,24,32,0.16);
  box-shadow: 0 24px 0 rgba(26,24,32,0.1), 0 48px 0 rgba(26,24,32,0.08);
}
.post-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-4);
}
.post-card h4 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--ink);
  line-height: 1.35; letter-spacing: -0.02em; flex: 1;
}
.post-card p { font-size: 12px; color: var(--ink-3); line-height: 1.65; font-weight: 400; }
.post-footer {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 14px; border-top: 1px solid var(--border-2);
}
.post-footer span { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-4); }
.post-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-3); text-decoration: none;
  letter-spacing: 0.05em; transition: color 0.15s;
}
.post-link:hover { color: var(--ink); }

/* ── START BUILDING / UPDATES ── */
.start-section {
  padding: var(--section-gap) 0;
  background: var(--bg);
}
.start-grid {
  display: grid; grid-template-columns: 1.45fr 1fr;
  gap: 72px; align-items: start;
}
.start-card {
  padding: 0;
}
.start-card h2 {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.04em; margin-bottom: 8px;
}
.start-card p {
  color: var(--ink-3); font-size: 14px;
  line-height: 1.7; font-weight: 400; max-width: 620px;
}
.start-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin: 28px 0 26px;
}
.start-action {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 6px 14px; border: 1px solid var(--border);
  background: var(--bg-2); border-radius: 2px;
  transition: all 0.15s;
}
.start-action:hover {
  background: var(--ink); border-color: var(--ink); color: var(--bg);
}
.start-visual {
  height: 230px; border: 1px solid var(--border);
  background:
    repeating-linear-gradient(90deg, rgba(26,24,32,0.16) 0 1px, transparent 1px 6px),
    linear-gradient(135deg, var(--mint-faint), var(--bg-2));
  position: relative; overflow: hidden;
}
.start-visual::before {
  content: "";
  position: absolute; inset: 28px 12px;
  background:
    radial-gradient(circle at 18% 30%, rgba(26,24,32,0.28) 0 34px, transparent 36px),
    radial-gradient(circle at 68% 42%, rgba(26,24,32,0.22) 0 52px, transparent 54px),
    radial-gradient(circle at 42% 74%, rgba(184,206,220,0.78) 0 76px, transparent 78px);
  filter: blur(1px);
}
.start-command {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--bg);
  background: var(--ink);
  padding: 8px 16px; border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.updates-panel {
  padding: 0;
}
.updates-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border-2);
  margin-top: 24px;
}
.update-item {
  display: grid; grid-template-columns: 88px 1fr;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--border-2);
}
.update-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink-4);
}
.update-title {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  line-height: 1.55; color: var(--ink);
  text-decoration: none;
}
.update-title:hover { color: var(--mint-deep); }
.update-tag {
  display: inline-flex; margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--ink-2);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--mint-faint); border: 1px solid var(--mint-dim);
  padding: 3px 7px; border-radius: 2px;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 64px 48px 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer-sound-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.46;
  filter: contrast(1.04) saturate(1.06);
  mix-blend-mode: normal;
  image-rendering: pixelated;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 700; color: white;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; text-decoration: none;
}
.footer-brand p { font-size: 12px; color: var(--dark-muted); line-height: 1.65; max-width: 220px; }
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--dark-muted); text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--dark-text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dark-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dark-muted);
  text-decoration: none; transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--dark-text); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --section-gap: 56px; }
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  .about-grid, .benchmark-inner, .workflow-grid, .start-grid, .endpoint-item { grid-template-columns: 1fr; gap: 40px; }
  .endpoint-item.flip { direction: ltr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 120px 0 150px; }
  .hero-inner { padding: 0 20px; }
  .hero-demo { min-height: 360px; padding: 40px 20px 48px; }
  .demo-tabs { flex-wrap: wrap; justify-content: center; }
  .demo-tab { flex: 1 1 42%; }
  .logos { padding: 32px 20px; }
  .logo-set { gap: 38px; padding-right: 38px; }
  .logo-mark { height: 24px; width: 58px; }
  .about-section, .pillars-section, .benchmark, .endpoints-section, .workflow, .posts-section, .start-section { padding: var(--section-gap) 0; }
  .pillars-header, .posts-header { flex-direction: column; gap: 18px; }
  .endpoint-item { padding: 44px 0; }
  .start-visual { height: 190px; }
  footer { padding: 48px 20px 28px; }
}

@media (max-width: 640px) {
  :root { --section-gap: 48px; }
  body { font-size: 13px; }
  nav { height: auto; min-height: 56px; padding: 12px 16px; gap: 12px; }
  .nav-logo { font-size: 18px; }
  .nav-right { margin-left: auto; gap: 6px; }
  .btn-ghost, .btn-solid, .btn-primary, .btn-secondary, .bench-cta, .start-action {
    font-size: 9px; padding: 6px 10px;
  }
  .hero { padding-top: 112px; }
  .hero-text { padding-bottom: 24px; }
  .hero h1 { font-size: clamp(22px, 9vw, 34px); }
  .hero-h1-sub { font-size: 15px; }
  .hero-actions, .start-actions { gap: 8px; }
  .hero-demo { min-height: auto; padding: 32px 14px 36px; border-radius: 6px 6px 0 0; }
  .demo-tabs { width: 100%; }
  .demo-tab { flex: 1 1 50%; padding: 7px 8px; }
  .demo-tab.active { padding: 5px 8px; }
  .demo-input-bar {
    display: grid; grid-template-columns: auto 1fr;
    gap: 0; overflow: visible;
  }
  .demo-verb, .demo-query, .demo-from, .demo-source, .demo-run {
    min-width: 0; width: 100%; border-radius: 0;
  }
  .demo-verb { border-bottom: 1px solid var(--border); }
  .demo-query { border-bottom: 1px solid var(--border); }
  .demo-from { border-left: none; border-right: 1px solid var(--border); }
  .demo-source { min-width: 0; }
  .demo-run { grid-column: 1 / -1; justify-content: center; margin: 0; border-radius: 0 0 3px 3px; }
  .demo-result-row { align-items: flex-start; gap: 10px; padding: 12px; }
  .dr-title { white-space: normal; }
  .hero-snippet, .ep-visual { max-width: 100%; }
  .code-body, .ep-code { font-size: 10.5px; padding: 16px; }
  .logos-label { text-align: left; }
  .logo-viewport {
    mask-image: linear-gradient(90deg, #000, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000, #000 88%, transparent);
  }
  .about-grid, .benchmark-inner, .workflow-grid, .start-grid, .endpoint-item { gap: 32px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 26px 22px; }
  .benchmark h2, .workflow-left h2, .start-card h2 { font-size: clamp(22px, 8vw, 30px); }
  .bench-panel-head, .bench-row-top, .post-footer, .footer-bottom {
    align-items: flex-start; flex-direction: column; gap: 8px;
  }
  .wf-step { gap: 14px; }
  .posts-header { align-items: flex-start; }
  .start-command { font-size: 10px; width: max-content; max-width: calc(100% - 28px); text-align: center; }
  .update-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sound-canvas,
  .footer-sound-canvas,
  .about-life-canvas,
  .section-life-canvas { display: none; }
}

@media (max-width: 480px) {
  nav { padding: 10px 14px; }
  .btn-ghost { display: none; }
  .wrap, .hero-inner { padding: 0 16px; }
  .hero-text { max-width: none; }
  .hero-demo { width: 100%; margin-left: auto; margin-right: auto; }
  .demo-tab { flex-basis: 100%; }
  .demo-input-bar { grid-template-columns: 1fr; }
  .demo-verb, .demo-query, .demo-from, .demo-source {
    border-right: none; border-left: none; border-bottom: 1px solid var(--border);
  }
  .demo-from { display: none; }
  .audio-item { align-items: flex-start; flex-wrap: wrap; }
  .audio-wave { width: 100%; }
  .wf-row { align-items: flex-start; flex-wrap: wrap; }
  .wf-bars { order: 3; flex-basis: 100%; }
  .wf-snippet { width: auto; text-align: left; }
  .start-visual { height: 160px; }
  .footer-bottom { gap: 16px; }
}

/* Product detail page — extra top padding beneath fixed nav (must follow responsive `padding` resets) */
.endpoints-section.product-detail-section {
  padding-top: calc(56px + var(--section-gap));
}