/* Placeholder hooks. Classes exist. Nothing plays. */
.anim-hook { --anim-duration: 1200ms; --anim-ease: ease; --anim-delay: 0ms; }
.anim-paused { animation: none; }
.autonomy-layer {
  border-top: 1px solid rgba(26, 124, 255, 0.45);
  color: #C8CCD4;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 8px;
}
.autonomy-stack-animation.is-desktop { aspect-ratio: 16 / 9; }
.autonomy-stack-animation.is-mobile { aspect-ratio: 4 / 5; max-width: 360px; }
.autonomy-stack-animation {
  background: #0A0F1F;
  border: 1px solid rgba(26, 124, 255, 0.45);
  border-radius: 12px;
  padding: 12px 16px;
}

/* Card hooks — prepared, not sequenced */
thumbnail-card.hook-elevate,
thumbnail-card.hook-glow,
thumbnail-card.hook-fade {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  thumbnail-card.hook-elevate,
  thumbnail-card.hook-glow,
  thumbnail-card.hook-fade { transition: none; }
}
thumbnail-card.hook-elevate:hover { transform: translateY(-2px); }
thumbnail-card.hook-glow:hover { box-shadow: 0 0 0 1px rgba(212, 168, 87, 0.45); }
thumbnail-card.hook-fade { opacity: 1; }
thumbnail-card.hook-fade[data-inview="false"] { opacity: 0; }
thumbnail-card.hook-fade[data-inview="true"] { opacity: 1; }

.hero-anim.anim-hook { animation: none; }

whats-new-banner, .whats-new {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #0A0F1F;
  border: 1px solid rgba(212, 168, 87, 0.45);
  border-radius: 10px;
  font-family: Inter, system-ui, sans-serif;
}
.whats-new h2 {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 24px);
}
.whats-new a {
  background: #D4A857;
  color: #0A0F1F;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 4px;
}

.start-here {
  margin-top: 28px;
  padding: 24px;
  border-top: 1px solid rgba(212, 168, 87, 0.45);
  font-family: Inter, system-ui, sans-serif;
}
.start-here h2 { margin: 0 0 6px; font-weight: 600; font-size: 24px; color: #fff; }
.start-here p { margin: 0 0 14px; color: #C8CCD4; font-size: 16px; }
.start-here a {
  display: inline-block;
  background: #1A7CFF;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 4px;
}

.autonomy-layer.is-on { color:#fff; border-top-color:#D4A857; }

.autonomy-layer {
  transition: color 980ms cubic-bezier(0.22, 1, 0.36, 1), border-color 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.whats-new-wrap {
  margin: 36px auto 16px;
  animation: reveal-once 720ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}
@media (max-width: 720px) {
  .whats-new { flex-direction: column; align-items: stretch; padding: 16px 18px; gap: 12px; }
  .whats-new a { text-align: center; }
}

#stackCanvas.canvas-fade {
  animation: reveal-once 900ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.hero-wrapper .hero-badge-pill,
.hero-wrapper .hero-terminal-card,
.hero-wrapper .hero-headline,
.hero-wrapper .hero-sub,
.hero-wrapper .hero-tags-stream,
.hero-wrapper .metric-bar {
  animation: reveal-once 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-wrapper .hero-terminal-card { animation-delay: 70ms; }
.hero-wrapper .hero-headline { animation-delay: 140ms; }
.hero-wrapper .hero-sub { animation-delay: 210ms; }
.hero-wrapper .hero-tags-stream { animation-delay: 280ms; }
.hero-wrapper .metric-bar { animation-delay: 350ms; }

.hero-anim.is-live .band,
.hero-anim.is-live .lock {
  animation: reveal-once 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-anim.is-live .band:nth-child(1) { animation-delay: 60ms; }
.hero-anim.is-live .band:nth-child(2) { animation-delay: 180ms; }
.hero-anim.is-live .band:nth-child(3) { animation-delay: 300ms; }
.hero-anim.is-live .band:nth-child(4) { animation-delay: 420ms; }
.hero-anim.is-live .lock { animation-delay: 540ms; }
.hero-anim-mobile.is-live .band:nth-child(2) { animation-delay: 150ms; }
.hero-anim-mobile.is-live .band:nth-child(3) { animation-delay: 240ms; }
.hero-anim-mobile.is-live .band:nth-child(4) { animation-delay: 330ms; }

button[onclick="replayStack()"] {
  animation: replay-pulse 20s ease-in-out infinite;
}
@keyframes replay-pulse {
  0%, 3%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 87, 0); }
  1.2% { box-shadow: 0 0 14px 1px rgba(212, 168, 87, 0.45); }
}
@keyframes reveal-once {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (hover: hover) {
  #featured thumbnail-card:hover,
  #featured .thumb-cta:hover {
    box-shadow: 0 10px 24px rgba(10, 15, 31, 0.28), 0 0 0 1px rgba(212, 168, 87, 0.55);
    transform: translateY(-2px);
  }
  #featured .thumb-cta { transition: box-shadow 220ms ease, transform 220ms ease, background 220ms ease; }
}

@media (prefers-reduced-motion: reduce) {
  .whats-new-wrap,
  #stackCanvas.canvas-fade,
  .hero-wrapper .hero-badge-pill,
  .hero-wrapper .hero-terminal-card,
  .hero-wrapper .hero-headline,
  .hero-wrapper .hero-sub,
  .hero-wrapper .hero-tags-stream,
  .hero-wrapper .metric-bar,
  .hero-anim.is-live .band,
  .hero-anim.is-live .lock,
  button[onclick="replayStack()"] {
    animation: none;
  }
  .autonomy-layer { transition: none; }
}

.launch-banner-wrap { max-width: 880px; margin: 28px auto 0; padding: 0 1.25rem; }
.launch-banner p { margin: 6px 0 0; color: #C8CCD4; font-size: 15px; line-height: 1.45; }
.whats-new a { align-self: center; }
@media (max-width: 720px) {
  .launch-banner-wrap { margin-top: 20px; }
  .whats-new a { align-self: stretch; }
}
