:root {
  --color-bg: var(--background);
  --color-bg-deep: var(--code-background);
  --color-surface: var(--card);
  --color-text: var(--foreground);
  --color-text-secondary: var(--body-copy);
  --color-text-muted: var(--muted-foreground);
  --color-accent-1: var(--primary);
  --color-accent-2: var(--cyan);
  --color-accent-3: var(--lavender);
  --font-display: var(--font-geist-sans);
  --font-body: var(--font-geist-sans);
}
html,
body {
  min-height: 100%;
  height: auto;
  width: 100%;
  background: var(--background);
  color: var(--foreground);
}
body {
  overflow: auto;
  font: 1rem/1.7 var(--font-geist-sans);
}
.talk-header {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: 5.5rem;
  padding: 1rem max(1.25rem, calc((100vw - 80rem) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.lab-back {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--body-copy);
}
.lab-back img {
  width: 2.7rem;
  height: 2.7rem;
}
.lab-back:hover {
  color: var(--primary);
}
.deck {
  width: 100%;
  height: auto;
  min-height: calc(100dvh - 5.5rem);
}
.slide {
  display: none;
  position: relative;
  inset: auto;
  min-height: calc(100dvh - 5.5rem);
  height: auto;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--background) !important;
  transform: none;
  transition: none;
}
.slide.active {
  display: flex;
}
.slide::after {
  display: none;
}
.slide .content {
  max-width: 80rem;
  width: 100%;
  padding: 3rem 3.5rem 2rem;
}
.slide .footerline {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 80rem;
  padding: 1rem 3.5rem 7rem;
  color: var(--muted-foreground);
  font: 0.65rem var(--font-geist-mono);
  gap: 1rem;
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.06em;
  background: none;
  color: var(--foreground);
  text-shadow: none;
}
.section-title {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--foreground);
}
.subtext,
.bullets li {
  color: var(--body-copy);
  font-size: 1rem;
  line-height: 1.8;
}
.eyebrow {
  font: 0.65rem/1.7 var(--font-geist-mono);
  letter-spacing: 0.11em;
  color: var(--primary);
}
.glass,
.terminal,
.step {
  background: var(--card);
  border-color: var(--border);
  box-shadow: none;
}
.glass:hover,
.terminal:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--input);
}
.terminal {
  background: var(--code-background);
}
.code,
pre,
code {
  font: 0.85rem/1.75 var(--font-geist-mono);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.code {
  color: var(--code-foreground);
}
.badge {
  color: var(--primary);
  background: var(--secondary);
  border-color: var(--border);
  font-size: 0.75rem;
}
.stat {
  background: none;
  color: var(--lavender);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.quote-mark {
  color: var(--lavender);
  font-family: var(--font-editorial);
}
.blob {
  opacity: 0.05 !important;
}
.split,
.two,
.three,
.matrix-grid {
  gap: 1.5rem;
}
.split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.slide svg {
  max-width: 100%;
  height: auto;
}
.slide svg text {
  font-family: var(--font-geist-sans);
}
.nav-controls,
.deck-nav {
  max-width: calc(100vw - 2rem);
  bottom: 1rem;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--input);
  padding: 0.5rem 0.75rem;
}
.nav-btn {
  flex-shrink: 0;
  min-width: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--secondary);
  color: var(--primary);
}
.nav-btn:hover {
  background: var(--control-hover);
}
.slide-counter,
.counter {
  font: 0.75rem var(--font-geist-mono);
  color: var(--body-copy);
  min-width: 3.25rem;
}
.slide-dots,
.dots {
  gap: 0.3rem;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--input);
}
.dot.active {
  background: var(--primary);
}
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
}
@media (max-width: 900px) {
  .slide .content {
    padding: 2.5rem 1.25rem 1rem;
  }
  .slide .footerline {
    padding-inline: 1.25rem;
  }
  .split,
  .two,
  .three,
  .matrix-grid,
  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }
  .dots,
  .slide-dots {
    display: none;
  }
  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  .slide .glass,
  .slide .terminal {
    min-width: 0;
    max-width: 100%;
  }
  .slide [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .slide [style*="font-size:3.6rem"] {
    font-size: 2.5rem !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .talk-header,
  .nav-controls,
  .deck-nav {
    display: none;
  }
  .slide {
    display: flex;
    opacity: 1;
    min-height: 0;
    break-after: page;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
