*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #ffffff;
  --bg-soft: #fdfcfb;
  --mint: #b8cedc;
  --mint-deep: #315f78;
  --mint-dim: #d0e4f0;
  --mint-faint: #e8f2f8;
  --dark: #1e1e2e;
  --dark-2: #252538;
  --dark-3: #2e2e46;
  --dark-border: rgba(255,255,255,0.08);
  --dark-text: #cdd6f4;
  --dark-muted: #a2a8cf;
  --ink: #1a1820;
  --ink-2: #3d3b4a;
  --ink-3: #555261;
  --ink-4: #767282;
  --border: #d8d4cc;
  --border-2: #e8e4dc;
  --green: #24b868;
  --red: #ff4856;
  --amber: #f59e0b;
  --blue: #0099ff;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
}
body {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  background: var(--dark-2);
  color: var(--dark-text);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
#pageBgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  image-rendering: pixelated;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--dark-2);
  opacity: 0.52;
}
nav,
.hero,
.how,
.demo-section,
.announce-section,
.access-section,
.blog-page,
footer {
  position: relative;
  z-index: 1;
}
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ── NAV ── */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 54px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(17, 19, 28, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.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-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 3px;
  padding: 6px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
  border: none;
  outline: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: var(--dark); background: #fff; border: 1px solid #fff; }
.btn-primary:hover { background: rgba(255, 255, 255, 0.9); }
.btn-outline {
  color: #c8dce8;
  background: rgba(184, 206, 220, 0.12);
  border: 1px solid rgba(184, 206, 220, 0.28);
}
.btn-outline:hover {
  background: rgba(184, 206, 220, 0.2);
  border-color: rgba(184, 206, 220, 0.42);
  color: #fff;
}
.btn-mint { color: #b8cedc; background: rgba(184, 206, 220, 0.12); border: 1px solid rgba(184, 206, 220, 0.25); }
.btn-mint:hover { background: rgba(184, 206, 220, 0.2); }

/* ── HERO ── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  padding: calc(54px + 28px) 0 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: transparent;
  color: rgba(228, 235, 255, 0.96);
}
.hero-inner {
  width: 100%;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4.5vw, 56px);
  align-items: start;
}
.hero-panel-copy { min-width: 0; }
.hero-panel-copy h1 {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  line-height: 1.04;
}
.hero-title-main {
  font-size: clamp(26px, 3.4vw, 46px);
  white-space: nowrap;
}
.hero-title-sub {
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(210, 218, 245, 0.92);
}
.hero-panel-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.hero-api-loop-host {
  width: 100%;
  --hero-api-h: clamp(540px, 56vh, 680px);
  height: var(--hero-api-h);
  min-height: var(--hero-api-h);
  max-height: var(--hero-api-h);
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(17, 19, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.hero-api-fallback {
  display: none;
  margin: 0;
  padding: 18px 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(210, 218, 245, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(17, 19, 28, 0.9);
}
.hero-api-fallback-kicker {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-right: 8px;
}
.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 4px 12px 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: rgba(17, 19, 28, 0.9);
  color: rgba(184, 206, 220, 0.95);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.8;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.4;transform:scale(1)} 50%{opacity:1;transform:scale(1.25)} }
.hero-panel-copy h1,
.hero-title-main {
  color: #fff;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 0, 0, 0.25);
}
h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 760px;
  margin-bottom: 12px;
}
h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero-sub {
  max-width: 540px;
  color: rgba(210, 218, 245, 0.85);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 0; }
.btn-lg { padding: 10px 22px; font-size: 11px; }

/* Hero: indexed-sources marquee */
.hero-source-marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding-top: clamp(20px, 3vw, 32px);
  padding-bottom: 6px;
  box-sizing: border-box;
}
.hero-source-marquee-viewport {
  position: relative;
  overflow: hidden;
  min-height: 80px;
}
.hero-source-marquee-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  gap: 0;
  animation: heroSourceMarquee 70s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .hero-source-marquee-viewport:hover .hero-source-marquee-track {
    animation-play-state: paused;
  }
}
.hero-source-marquee-set {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding-right: 14px;
}
.hero-source-card {
  flex-shrink: 0;
  width: clamp(260px, 32vw, 320px);
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 19, 28, 0.9);
  box-shadow: 0 14px 36px -24px rgba(0, 0, 0, 0.55);
}
.hero-source-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  min-height: 72px;
}
.hero-source-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  box-shadow: none;
}
.hero-source-thumb--podcast {
  object-fit: cover;
  padding: 0;
}
.hero-source-meta {
  flex: 1;
  min-width: 0;
}
.hero-source-title {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin: 0;
}
.hero-source-sub {
  font-size: 11px;
  color: rgba(210, 218, 245, 0.72);
  margin-top: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}
.hero-source-card .audio-badge {
  align-self: flex-start;
  margin-top: 2px;
}
.audio-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  border: 1px solid transparent;
}
.badge-live {
  background: rgba(255, 72, 86, 0.14);
  color: #ffb4bc;
  border-color: rgba(255, 72, 86, 0.32);
}
.badge-idx {
  background: rgba(0, 153, 255, 0.12);
  color: #7dd3fc;
  border-color: rgba(0, 153, 255, 0.28);
}
.badge-podcast {
  background: rgba(184, 206, 220, 0.12);
  color: #c8dce8;
  border-color: rgba(184, 206, 220, 0.28);
}
@keyframes heroSourceMarquee {
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-source-marquee-track {
    animation: none;
    width: 100%;
    max-width: none;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .hero-source-marquee-set {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }
  .hero-source-marquee-set:last-child {
    display: none;
  }
}

/* ── HOW IT WORKS (3-step) ── */
.how {
  padding: 80px 0;
  background: transparent;
  color: rgba(228, 235, 255, 0.96);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 244, 255, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.section-label::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: none;
}
.how h2,
.access-left h2,
.demo-section h2 {
  font-size: clamp(22px,3vw,36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 48px;
  max-width: 480px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 0, 0, 0.25);
}
.demo-section h2 { margin-bottom: 8px; }
.access-left h2 {
  font-size: clamp(24px,3vw,38px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  line-height: 1.1;
  max-width: none;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  background: rgba(17, 19, 28, 0.9);
  padding: 36px 28px;
  transition: background 0.15s;
}
.step:hover { background: rgba(25, 28, 40, 0.95); }
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--mint);
  letter-spacing: 0.12em;
  opacity: 1;
}
.step h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  min-height: 2.4em;
  line-height: 1.2;
}
.step p {
  flex: 1;
  color: rgba(210, 218, 245, 0.85);
  font-size: 13px;
  line-height: 1.65;
}
.step-code {
  margin-top: auto;
  padding: 10px 12px;
  background: var(--dark);
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #7dd3fc;
  letter-spacing: 0.02em;
}

/* ── PLAYGROUND ── */
.demo-section {
  padding: 80px 0;
  background: transparent;
  color: rgba(228, 235, 255, 0.96);
}
.demo-modes-desc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  max-width: 820px;
  margin-bottom: 36px;
}
.demo-mode-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(17, 19, 28, 0.9);
}
.demo-mode-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(232, 237, 255, 0.95);
}
.demo-mode-icon .logo-life-mark {
  width: 18px;
  height: 18px;
}
.demo-mode-copy strong {
  display: block;
  margin-bottom: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 244, 255, 0.95);
}
.demo-mode-copy p {
  margin: 0;
  color: rgba(210, 218, 245, 0.92);
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .demo-modes-desc { grid-template-columns: 1fr; }
}
.demo-box {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #111318;
}
.demo-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #181c23;
  flex-wrap: wrap;
  overflow: visible;
  position: relative;
  z-index: 2;
}
.demo-mode-toggle {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.demo-mode-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.demo-mode-btn.is-active {
  background: rgba(255,255,255,0.1);
  color: #f4f7ff;
}
.demo-mode-btn:hover:not(.is-active) {
  color: rgba(255,255,255,0.72);
}
.demo-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.demo-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: #f4f7ff;
  -webkit-text-fill-color: #f4f7ff;
  caret-color: #7dd3fc;
  color-scheme: dark;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.demo-input:focus {
  border-color: rgba(0,153,255,0.55);
  background: rgba(255,255,255,0.11);
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.demo-input::placeholder {
  color: rgba(255,255,255,0.45);
  -webkit-text-fill-color: rgba(255,255,255,0.45);
  opacity: 1;
}
.demo-query-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: #1a1f28;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}
.demo-query-dropdown[hidden] {
  display: none;
}
.demo-query-option {
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.demo-query-option:hover,
.demo-query-option:focus-visible {
  background: rgba(255,255,255,0.08);
  color: #f4f7ff;
  outline: none;
}
.demo-run-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  color: var(--dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.demo-run-btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.demo-run-btn:active { transform: scale(0.97); }
.demo-run-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.demo-suggestions {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #0f1217;
}
.demo-suggestion {
  flex: 1;
  min-width: 0;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.52);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.demo-suggestion:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.8);
}
.demo-output {
  min-height: 260px;
  padding: 16px;
  max-height: min(70vh, 640px);
  overflow-y: auto;
}
.demo-loading-note {
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.demo-result-meta {
  margin-bottom: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.demo-error {
  padding: 16px;
  border: 1px solid rgba(255,72,86,0.35);
  border-radius: 6px;
  background: rgba(255,72,86,0.08);
  color: #ffb4bc;
  font-size: 12px;
}
.demo-error strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.demo-error p { margin: 0; line-height: 1.5; }
.demo-debug-hint {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted, #8a8f98);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}
.demo-debug {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(120, 200, 255, 0.35);
  border-radius: 6px;
  background: rgba(0, 40, 80, 0.12);
  font-size: 11px;
}
.demo-debug summary {
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ecfff;
}
.demo-debug-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
}
.demo-debug-table th,
.demo-debug-table td {
  padding: 4px 8px 4px 0;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}
.demo-debug-table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #8a8f98;
  white-space: nowrap;
  width: 42%;
}
.demo-empty {
  padding: 24px 0;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}
.demo-research-block {
  margin-bottom: 16px;
}
.demo-research-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
}
.demo-summary-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  line-height: 1.55;
}
.demo-summary-list li { margin-bottom: 6px; }
.demo-overview {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.65;
}
.demo-themes {
  display: grid;
  gap: 8px;
}
.demo-theme-chip {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.68);
}
.demo-theme-chip strong {
  display: block;
  color: #f0f4ff;
  font-size: 12px;
  margin-bottom: 4px;
}
.demo-results-compact { margin-top: 4px; }
.demo-audio-wrap {
  position: relative;
  width: 100%;
  margin-top: 8px;
}
.demo-audio-wrap .demo-audio {
  width: 100%;
  min-height: 32px;
  display: block;
  transition: opacity 0.2s ease;
}
.demo-audio-wrap.is-loading .demo-audio {
  opacity: 0.5;
}
.demo-audio-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  background: rgba(15, 18, 23, 0.78);
  backdrop-filter: blur(3px);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  pointer-events: none;
}
.demo-audio-loading[hidden] {
  display: none !important;
}
.demo-audio-loading-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #7dd3fc;
  border-radius: 50%;
  animation: demo-audio-spin 0.75s linear infinite;
  flex-shrink: 0;
}
@keyframes demo-audio-spin {
  to { transform: rotate(360deg); }
}
@media (max-width: 640px) {
  .demo-audio-wrap .demo-audio {
    min-height: 40px;
  }
}
.result-excerpt mark,
.result-quote mark {
  background: rgba(0,212,170,0.22);
  color: #d7fff4;
  padding: 0 2px;
  border-radius: 2px;
  font-style: normal;
}
.result-link {
  color: #7dd3fc;
  text-decoration: none;
}
.result-link:hover { text-decoration: underline; }
.demo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: rgba(255,255,255,0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  gap: 12px;
  text-align: center;
}
.demo-placeholder svg {
  opacity: 0.55;
  color: rgba(255,255,255,0.65);
}
.demo-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  color: var(--dark-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-pipeline {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--dark-muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}
.pipeline-step.done {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255,255,255,0.75);
}
.pipeline-step .ps-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 10px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  color: #00d4aa;
  flex-shrink: 0;
}
.pipeline-step .ps-time {
  margin-left: auto;
  color: #7dd3fc;
  font-size: 10px;
}
.demo-results { display: grid; gap: 8px; }
.result-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  background: #181c23;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.result-card.show { opacity: 1; transform: translateY(0); }
.result-thumb {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.result-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-thumb-fallback {
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  color: rgba(0,212,170,0.75);
}
.result-title {
  font-size: 12px;
  font-weight: 600;
  color: #f0f4ff;
  margin-bottom: 4px;
}
.result-quote {
  margin: 0 0 8px;
  padding: 10px 12px 10px 14px;
  border: none;
  border-left: 2px solid rgba(0,212,170,0.45);
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,0.03);
  font-size: 11px;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
  font-style: italic;
}
.result-quote::before {
  content: "\201C";
  margin-right: 2px;
  color: rgba(0,212,170,0.55);
  font-style: normal;
}
.result-excerpt {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.result-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #7dd3fc;
  white-space: nowrap;
  text-align: right;
}
.result-src {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0f1217;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}
.demo-footer span { display: flex; align-items: center; gap: 6px; }
.demo-footer .dot-ok {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
}

/* ── ACCESS REQUEST ── */
.access-section {
  padding: 80px 0 96px;
  background: transparent;
  color: rgba(228, 235, 255, 0.96);
}
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,5vw,80px);
  align-items: start;
}
.access-left p {
  color: rgba(210, 218, 245, 0.85);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.trust-items { display: grid; gap: 12px; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(17, 19, 28, 0.9);
}
.trust-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(232, 237, 255, 0.95);
}
.trust-icon .logo-life-mark {
  width: 18px;
  height: 18px;
}
.trust-item h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.trust-item p { font-size: 12px; color: rgba(210, 218, 245, 0.85); line-height: 1.5; margin: 0; }

/* FORM */
.access-form-wrap {
  background: #111318;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
}
.form-header {
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #181c23;
}
.form-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.form-header p { font-size: 12px; color: rgba(255,255,255,0.45); }
.form-required-note {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
}
.field-required {
  color: #ff8a96;
  font-weight: 600;
}
.access-form { padding: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field-label-required::after {
  content: ' *';
  color: #ff8a96;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #f4f7ff;
  -webkit-text-fill-color: #f4f7ff;
  caret-color: #7dd3fc;
  background: rgba(255,255,255,0.08);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  color-scheme: dark;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.52);
  opacity: 1;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(0,153,255,0.55);
  background: rgba(255,255,255,0.11);
  box-shadow: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.field select option {
  color: #f4f7ff;
  background: #181c23;
}
.field select:invalid {
  color: rgba(255, 255, 255, 0.52);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.52);
}
.field select:valid {
  color: #f4f7ff;
  -webkit-text-fill-color: #f4f7ff;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a2a8cf' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%;
  padding: 12px;
  background: #fff;
  border: none;
  border-radius: 4px;
  color: var(--dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-top: 4px;
}
.form-submit:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.form-submit:active { transform: scale(0.99); }
.form-note {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  padding-top: 4px;
}

/* SUCCESS STATE */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 16px;
}
.form-success.show { display: flex; }
.form-success .check-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(36,184,104,0.12);
  border: 2px solid rgba(36,184,104,0.3);
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 22px;
}
.form-success h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.form-success p { font-size: 13px; color: rgba(210, 218, 245, 0.85); line-height: 1.6; }

/* ── FOOTER ── */
footer {
  background: transparent;
  color: rgba(228, 235, 255, 0.96);
  padding: 36px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}
.footer-location {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.footer-location-icon {
  flex-shrink: 0;
  color: var(--mint);
  opacity: 0.9;
}
.footer-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.footer-contact-icon {
  flex-shrink: 0;
  color: var(--mint);
  opacity: 0.9;
}
.footer-contact:hover { color: #fff; }

/* ── BLOG PAGE ── */
.blog-page {
  color: rgba(228, 235, 255, 0.96);
  padding-top: calc(54px + 40px);
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(100px, 160px) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 24px;
  row-gap: 28px;
  align-items: start;
}
.blog-back {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(210, 218, 245, 0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, gap 0.2s ease;
}
.blog-back:hover {
  color: var(--mint);
  gap: 10px;
}
.blog-header {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
}
.blog-article {
  grid-column: 1 / -1;
  grid-row: 3;
  width: 100%;
  max-width: 720px;
  justify-self: center;
}
.blog-meta .hero-badge {
  align-self: center;
  margin-bottom: 0;
}

/* ── ANNOUNCEMENT CARD ── */
.announce-section {
  padding: 8px 0 56px;
  background: transparent;
  color: rgba(228, 235, 255, 0.96);
}
.announce-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(184, 206, 220, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(184, 206, 220, 0.08) 0%, rgba(17, 19, 28, 0.94) 42%, rgba(17, 19, 28, 0.98) 100%);
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 18px 48px rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.announce-card:hover {
  border-color: rgba(184, 206, 220, 0.38);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 22px 56px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(184, 206, 220, 0.08);
}
.announce-card-glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 206, 220, 0.16) 0%, transparent 68%);
  pointer-events: none;
}
.announce-card-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 34px 34px 32px;
}
.announce-card-copy {
  min-width: 0;
}
.announce-card-copy .section-label {
  margin-bottom: 16px;
}
.announce-card-title {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.65);
}
.announce-card-title em {
  font-style: italic;
  font-weight: 500;
  color: rgba(184, 206, 220, 0.96);
}
.announce-card-lede {
  max-width: 680px;
  margin-bottom: 18px;
  color: rgba(210, 218, 245, 0.88);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}
.announce-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(210, 218, 245, 0.58);
}
.announce-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 16px;
  border: 1px solid rgba(184, 206, 220, 0.28);
  border-radius: 999px;
  background: rgba(184, 206, 220, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 244, 255, 0.95);
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.announce-card:hover .announce-card-cta {
  background: rgba(184, 206, 220, 0.16);
  border-color: rgba(184, 206, 220, 0.42);
  color: #fff;
}

/* ── ANIMATIONS ── */
@keyframes rise { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.hero-panel-copy > * { animation: rise 0.55s ease both; }
.hero-panel-copy > *:nth-child(1){animation-delay:0.05s}
.hero-panel-copy > *:nth-child(2){animation-delay:0.12s}
.hero-panel-copy > *:nth-child(3){animation-delay:0.19s}
.hero-panel-copy > *:nth-child(4){animation-delay:0.26s}
.hero-panel-visual { animation: rise 0.55s ease 0.18s both; }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .hero-split{
    grid-template-columns:1fr;
    gap:40px;
  }
  .hero-title-main {
    font-size: clamp(30px, 6.5vw, 52px);
  }
  .hero-api-loop-host{
    --hero-api-h:clamp(520px, 58vh, 640px);
    height:auto;
    min-height:var(--hero-api-h);
    max-height:none;
  }
  .hero-panel-visual{
    margin-left:auto;
    margin-right:auto;
    width:100%;
    max-width:506px;
  }
}
@media(max-width:860px){
  .steps{grid-template-columns:1fr}
  .access-grid{grid-template-columns:1fr}
  .field-row{grid-template-columns:1fr}
  .blog-page{padding-top:calc(54px + 28px)}
  .blog-layout{
    grid-template-columns:1fr;
    row-gap:16px;
  }
  .blog-back{
    grid-column:1;
    grid-row:1;
    padding-top:0;
  }
  .blog-header{grid-column:1;grid-row:2}
  .blog-article{grid-column:1;grid-row:3;max-width:none}
  .announce-card-body{
    grid-template-columns:1fr;
    gap:22px;
    padding:28px 24px;
  }
  .announce-card-cta{
    justify-self:flex-start;
  }
}
@media(max-width:640px){
  nav{padding:0 16px}
  .hero{
    padding-top:calc(54px + 20px);
    padding-bottom:36px;
  }
  .hero-api-loop-host{
    --hero-api-h:clamp(500px, 68svh, 620px);
    --hero-api-h:clamp(500px, 68dvh, 620px);
    height:auto;
    min-height:var(--hero-api-h);
    max-height:none;
  }
  .btn-lg{padding:9px 16px;font-size:10px}
  .demo-suggestions{display:none}
  .footer-inner{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }
  .footer-logo,
  .footer-contact{
    justify-self:center;
  }
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:0.01ms!important;animation-iteration-count:1!important}
  body::after{opacity:0.72}
  #pageBgCanvas{display:none}
  .hero-api-loop-host{display:none!important}
  .hero-api-fallback{display:block!important}
}
