/* Spotit Brand Showcase — brand.css */
/* Source of truth: brand-reference.md */

:root {
  --yellow: #FFD449;
  --cream: #FCECC9;
  --sage: #D2D3A0;
  --paper: #FDFBF5;
  --ink: #0A0A0A;
  --ink-60: rgba(10, 10, 10, 0.6);
  --ink-10: rgba(10, 10, 10, 0.1);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* --- Section rhythm --- */

.section {
  padding-top: 96px;
}

.section:first-child {
  padding-top: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--ink-10);
  margin: 96px 0 0;
}

.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 600px;
}

.prose + .prose {
  margin-top: 16px;
}

.ink-60 {
  color: var(--ink-60);
}

/* --- 1. Masthead --- */

.masthead {
  padding-top: 64px;
}

.masthead-logo {
  width: 140px;
  height: auto;
  display: block;
}

.masthead-wordmark {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.masthead-meta {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-60);
  margin-top: 12px;
}

/* --- 3. The mark — logo reveal --- */

.logo-reveal-container {
  position: relative;
  display: inline-block;
  margin: 48px 0 56px;
}

.logo-reveal-img {
  position: relative;
  z-index: 1;
  width: 240px;
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.logo-reveal-container.revealed .logo-reveal-img {
  opacity: 1;
  transform: scale(1);
}

/* Waveform animation is embedded in assets/spotit-logo-animated.svg */

/* Logo variants grid */

.logo-variants {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.logo-variant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo-variant-box {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-10);
}

.logo-variant-box img {
  width: 72px;
  height: auto;
}

.logo-variant-caption {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-60);
}

.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-yellow { background: var(--yellow); border-color: transparent; }
.bg-ink { background: var(--ink); border-color: transparent; }

/* --- 4. Wordmark lockup --- */

.wordmark-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--cream);
  padding: 80px;
  border-radius: 12px;
  margin-top: 32px;
}

.wordmark-lockup img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.wordmark-lockup-text {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* --- 5. Voice lines --- */

.tagline-primary {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 32px 0 48px;
  position: relative;
}

.tagline-highlight {
  position: relative;
  display: inline;
  white-space: nowrap;
  font-style: italic;
}

.tagline-highlight::before {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 0.35em;
  background: var(--yellow);
  transform: rotate(-0.5deg) scaleX(0);
  transform-origin: left center;
  z-index: -1;
  transition: transform 500ms ease-out;
  border-radius: 2px;
}

.tagline-highlight.swiped::before {
  transform: rotate(-0.5deg) scaleX(1);
}

.tagline-secondary {
  margin-bottom: 40px;
}

.tagline-secondary-text {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline-secondary-meta {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-60);
  margin-top: 6px;
}

/* --- 6. Pillars --- */

.pillar {
  padding: 32px 0;
}

.pillar + .pillar {
  border-top: 1px solid var(--ink-10);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-60);
  margin-bottom: 6px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.pillar-desc {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-60);
  line-height: 1.6;
  max-width: 580px;
}

/* --- 7. Palette --- */

.swatch-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.swatch-row + .swatch-row {
  border-top: 1px solid var(--ink-10);
}

.swatch-chip {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 200ms ease-out;
  border: 1px solid var(--ink-10);
}

.swatch-chip:hover {
  transform: scale(1.02);
}

.swatch-info {
  flex: 1;
  min-width: 0;
}

.swatch-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.swatch-role {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-60);
  margin-top: 2px;
}

.swatch-hex {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-60);
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  min-width: 90px;
  text-align: right;
  transition: color 150ms;
}

.swatch-hex:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms, transform 200ms;
  z-index: 100;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- 8. Typography specimens --- */

.specimen {
  padding: 40px 0;
}

.specimen + .specimen {
  border-top: 1px solid var(--ink-10);
}

.specimen-display {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.specimen-display-italic {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.specimen-heading {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
}

.specimen-body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-60);
  max-width: 580px;
  margin-bottom: 12px;
}

.specimen-caption {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 8px;
}

.keycap {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  background: var(--ink);
  color: var(--sage);
  padding: 8px 16px;
  border-radius: 6px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.keycap-lg {
  font-size: 28px;
  padding: 16px 28px;
  border-radius: 10px;
  transition: transform 150ms ease-out;
}

/* --- 9. Voice --- */

.voice-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
}

.voice-row + .voice-row {
  border-top: 1px solid var(--ink-10);
}

.voice-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  width: 40px;
}

.voice-label-say {
  color: var(--ink);
}

.voice-label-not {
  color: var(--ink-60);
}

.voice-example {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}

.voice-example-not {
  text-decoration: line-through;
  color: var(--ink-60);
}

.banned-words {
  margin-top: 48px;
}

.banned-words-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-60);
  margin-bottom: 12px;
}

.banned-words-list {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-60);
  line-height: 2;
}

.banned-word {
  text-decoration: line-through;
}

/* --- 10. Hotkey --- */

.hotkey-group {
  display: inline-flex;
  gap: 12px;
  margin-top: 32px;
  cursor: pointer;
}

.hotkey-group:hover .keycap-lg:nth-child(1) {
  animation: depress 150ms ease-out 0ms both;
}
.hotkey-group:hover .keycap-lg:nth-child(2) {
  animation: depress 150ms ease-out 100ms both;
}
.hotkey-group:hover .keycap-lg:nth-child(3) {
  animation: depress 150ms ease-out 200ms both;
}

@keyframes depress {
  0% { transform: translateY(0); }
  50% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

/* --- Guided-mode demo animation --- */

.demo-scene {
  position: relative;
  background: var(--cream);
  border-radius: 12px;
  padding: 48px 32px 40px;
  margin-top: 32px;
  overflow: hidden;
  min-height: 220px;
}

.demo-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.demo-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
  background: var(--sage);
  border: 1px solid var(--ink-10);
  border-radius: 6px;
  padding: 8px 16px;
  position: relative;
}

.demo-btn-target {
  position: relative;
}

.demo-ring {
  position: absolute;
  inset: -6px;
  border: 2.5px solid var(--yellow);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-out;
}

.demo-ring.active {
  opacity: 1;
  animation: ring-pulse 1.2s ease-out infinite;
}

@keyframes ring-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 212, 73, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(255, 212, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 212, 73, 0); }
}

.demo-caption {
  position: absolute;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--ink-10);
  border-radius: 6px;
  padding: 6px 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
  pointer-events: none;
}

.demo-caption.active {
  opacity: 1;
  transform: translateY(0);
}

.demo-cursor {
  position: absolute;
  width: 56px;
  height: 56px;
  left: -60px;
  top: 20px;
  transition: left 500ms cubic-bezier(0.4, 0, 0.2, 1), top 500ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(10, 10, 10, 0.15));
  opacity: 0;
}

.demo-cursor.active {
  opacity: 1;
}

.demo-step-counter {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-60);
  opacity: 0;
  transition: opacity 300ms;
}

.demo-step-counter.active {
  opacity: 1;
}

.demo-content-area {
  display: flex;
  gap: 16px;
  align-items: center;
}

.demo-content-block {
  width: 100%;
  height: 48px;
  background: var(--sage);
  border-radius: 6px;
  opacity: 0.4;
}

.demo-menu {
  position: absolute;
  background: white;
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  padding: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 200ms, transform 200ms;
  z-index: 5;
}

.demo-menu.active {
  opacity: 1;
  transform: translateY(0);
}

.demo-menu-item {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  padding: 6px 16px;
  border-radius: 4px;
  position: relative;
  white-space: nowrap;
}

/* --- 11. Footer --- */

.footer {
  padding-top: 48px;
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.8;
}

.footer a {
  color: var(--ink-60);
  text-decoration: underline;
  text-decoration-color: var(--ink-10);
  text-underline-offset: 3px;
  transition: color 150ms;
}

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

.footer-links {
  margin-top: 8px;
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .logo-reveal-img {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
  .tagline-highlight::before {
    transform: rotate(-0.5deg) scaleX(1) !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .cta-cursor {
    display: none !important;
  }
}

/* --- Mobile --- */

@media (max-width: 600px) {
  .page {
    padding: 48px 20px 80px;
  }

  .section {
    padding-top: 64px;
  }

  .divider {
    margin-top: 64px;
  }

  .masthead-wordmark {
    font-size: 56px;
  }

  .section-title {
    font-size: 28px;
  }

  .tagline-primary {
    font-size: 40px;
  }

  .tagline-secondary-text {
    font-size: 28px;
  }

  .wordmark-lockup {
    padding: 40px 24px;
    gap: 16px;
  }

  .wordmark-lockup img {
    width: 60px;
  }

  .wordmark-lockup-text {
    font-size: 60px;
  }

  .logo-variants {
    gap: 12px;
  }

  .logo-variant-box {
    width: 100px;
    height: 100px;
  }

  .logo-variant-box img {
    width: 48px;
  }

  .specimen-display {
    font-size: 40px;
  }

  .specimen-heading {
    font-size: 22px;
  }

  .swatch-row {
    gap: 16px;
  }

  .swatch-chip {
    width: 56px;
    height: 56px;
  }

  .swatch-name {
    font-size: 22px;
  }

  .pillar-title {
    font-size: 26px;
  }

  .keycap-lg {
    font-size: 22px;
    padding: 12px 20px;
  }

  .demo-scene {
    padding: 40px 20px 32px;
    min-height: 180px;
  }

  .demo-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ============================================
   Landing page
   ============================================ */

/* --- Nav --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 32px;
  background: transparent;
  transition: background 300ms, backdrop-filter 300ms, -webkit-backdrop-filter 300ms;
}

.nav.scrolled {
  background: rgba(253, 251, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* --- Landing page layout --- */

.landing-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* --- Hero --- */

.hero {
  padding-top: 140px;
  text-align: center;
}

.hero-logo {
  display: block;
  margin: 0 auto 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-headline-dim {
  opacity: 0.4;
  margin-right: 12px;
}

.hero-headline-bright {
  font-style: italic;
}

.hero-subhead {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--ink-60);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 32px;
}

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

.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  outline: none;
  transition: border-color 200ms;
}

.waitlist-input:focus {
  border-color: var(--ink-60);
}

.waitlist-btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 200ms, box-shadow 200ms, transform 150ms;
}

.waitlist-btn:hover {
  opacity: 0.85;
}

.waitlist-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.waitlist-msg {
  font-family: var(--font-body);
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
  min-height: 20px;
}

.waitlist-msg--ok { color: var(--ink); }
.waitlist-msg--err { color: #c44; }

/* --- CTA cursor animation --- */

.waitlist-cta-wrap {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-cta-wrap .waitlist-form {
  margin: 0;
}

.cta-cursor {
  position: absolute;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(10, 10, 10, 0.15));
  /* Start position: below-right of the button */
  right: -16px;
  bottom: -28px;
  opacity: 0;
  visibility: hidden;
}

.revealed .cta-cursor {
  visibility: visible;
  animation: cta-cursor-loop 4s ease-in-out 1.5s infinite;
}

@keyframes cta-cursor-loop {
  0% {
    opacity: 0;
    right: -16px;
    bottom: -28px;
    transform: scale(1);
  }
  /* Fade in and glide toward button */
  15% {
    opacity: 1;
    right: -16px;
    bottom: -28px;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    right: 44px;
    bottom: -4px;
    transform: scale(1);
  }
  /* Click — cursor presses down */
  48% {
    opacity: 1;
    right: 44px;
    bottom: -4px;
    transform: scale(0.85);
  }
  /* Release */
  56% {
    opacity: 1;
    right: 44px;
    bottom: -4px;
    transform: scale(1);
  }
  /* Hold for a beat, then fade out */
  75% {
    opacity: 1;
    right: 44px;
    bottom: -4px;
    transform: scale(1);
  }
  90% {
    opacity: 0;
    right: 44px;
    bottom: -4px;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    right: -16px;
    bottom: -28px;
    transform: scale(1);
  }
}

/* --- Scroll-reveal --- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

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

/* --- Demo section --- */

.demo-section {
  margin-top: 120px;
}

.demo-container {
  position: relative;
  background: #1A1D21;
  border-radius: 16px;
  padding: 24px;
  min-height: 400px;
  overflow: hidden;
}

.demo-screen {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  transition: opacity 500ms ease;
}

.demo-lp-cursor {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  opacity: 0;
  transition: left 500ms cubic-bezier(0.4,0,0.2,1),
              top 500ms cubic-bezier(0.4,0,0.2,1),
              opacity 300ms;
}

.demo-lp-cursor.active { opacity: 1; }

.demo-lp-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9;
  opacity: 0;
  transition: left 500ms cubic-bezier(0.4,0,0.2,1),
              top 500ms cubic-bezier(0.4,0,0.2,1),
              opacity 300ms;
}

.demo-lp-ring.active {
  opacity: 1;
  animation: ring-pulse 1.2s ease-out infinite;
}

.demo-lp-caption {
  position: absolute;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 212, 73, 0.9);
  color: var(--ink);
  border-radius: 6px;
  padding: 6px 12px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 11;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 300ms, transform 300ms;
}

.demo-lp-caption.active {
  opacity: 1;
  transform: translateY(0);
}

.demo-lp-question {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  transition: opacity 400ms;
}

.demo-lp-question.active { opacity: 1; }

.demo-lp-waveform {
  position: absolute;
  bottom: 30px;
  right: 24px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
  opacity: 0;
  transition: opacity 300ms;
}

.demo-lp-waveform.active { opacity: 1; }

.demo-lp-waveform-bar {
  width: 3px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  animation: waveform-bounce 0.6s ease-in-out infinite alternate;
}

.demo-lp-waveform-bar:nth-child(2) { animation-delay: 0.15s; }
.demo-lp-waveform-bar:nth-child(3) { animation-delay: 0.3s; }

@keyframes waveform-bounce {
  from { height: 4px; }
  to { height: 20px; }
}

.demo-lp-step-counter {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  transition: opacity 300ms;
}

.demo-lp-step-counter.active { opacity: 1; }

.demo-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
  background: var(--yellow);
  padding: 12px 32px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
  z-index: 15;
}

.demo-pill.active,
.demo-pill--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* --- Proof lines --- */

.proof-lines {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proof-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink-60);
  flex-shrink: 0;
}

.proof-text {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}

/* --- Final CTA --- */

.final-cta {
  margin-top: 160px;
  text-align: center;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* --- Landing footer --- */

.landing-footer {
  margin-top: 80px;
}

.landing-footer-divider {
  border: none;
  border-top: 1px solid var(--ink-10);
  margin-bottom: 24px;
}

.landing-footer-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-60);
}

/* --- Landing page mobile --- */

@media (max-width: 600px) {
  .nav { padding: 12px 20px; }
  .nav-wordmark { font-size: 20px; }

  .hero { padding-top: 100px; }
  .hero-headline { font-size: 40px; }
  .hero-subhead { font-size: 16px; }

  .waitlist-form {
    flex-direction: column;
    max-width: 100%;
  }

  .waitlist-cta-wrap { max-width: 100%; }
  .cta-cursor { display: none; }
  .waitlist-btn { width: 100%; }

  .demo-section { margin-top: 80px; }
  .demo-container { padding: 16px; min-height: 260px; }
  .demo-lp-question { font-size: 16px; }
  .demo-pill { font-size: 22px; padding: 10px 24px; }

  .proof-lines { margin-top: 80px; gap: 20px; }
  .proof-text { font-size: 16px; }

  .final-cta { margin-top: 100px; }
  .final-cta-title { font-size: 32px; }
}
