/* Page composition; component utility styles live in index.html. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

.hero {
  max-width: 1440px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 56px 40px 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-wordmark {
  margin: 0 0 56px;
  font-family: "Geist Pixel Circle", monospace;
  font-size: clamp(48px, 18.8vw, 270px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(28px, 6.2vw, 78px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.hero-video { opacity: 0.32; }

.stats-grid {
  max-width: 960px;
  margin: 72px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.section-heading {
  font-family: var(--font-display);
  margin-bottom: 24px;
  font-size: clamp(32px, 4.3vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.capability-mark {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  margin-bottom: 32px;
  padding: 10px 14px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.06);
  color: #7dd3fc;
  font: 500 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

.pipeline-stage {
  position: relative;
  min-height: 280px;
}

.pipeline-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pipeline-grid {
  position: relative;
  z-index: 2;
}

.stream-feed-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 132px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.stream-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #a1a1aa;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  animation: slideFeed 0.3s ease-out;
}

.feed-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.feed-time {
  color: #a1a1aa;
  font-size: 11px;
  flex-shrink: 0;
}

.feed-action {
  color: #93c5fd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-ok {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-blocked {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.form-success,
.form-error {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
}

.form-success { color: #34d399; }
.form-error { color: #f87171; }

#wl-email { min-width: 0; }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 5px; }

@media (max-width: 767px) {
  .hero { min-height: auto; padding: 32px 20px 48px; }
  .hero-wordmark { margin-bottom: 48px; }
  .stats-grid { margin-top: 48px; }
  .stream-pipeline-box { padding: 20px 16px; }
  .pipeline-grid { gap: 32px; }
  .stream-feed-item { padding: 10px 8px; gap: 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
   .hero-video { display: none; }
  .stream-feed-item { animation: none; }
}

@keyframes slideFeed {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: #fff;
  color: #000;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.privacy-link { color: #7dd3fc; text-decoration: underline; text-underline-offset: 3px; }
html[data-motion-paused="true"] .stream-feed-item { animation: none; }
html[data-motion-paused="true"] { scroll-behavior: auto; }
