/* Landing-only polish. Loaded only on /. Honors prefers-reduced-motion. */

:root {
  --ir-accent: #4f46e5;
  --ir-accent-dark: #4338ca;
  --ir-ink: #18181b;
  --ir-muted: #52525b;
  --ir-surface: #fafafa;
  --ir-radius: 12px;
  --ir-radius-sm: 8px;
  --ir-z-grain: 50;
  --ir-z-nav: 40;
  --ir-z-skip: 60;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.font-display {
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.landing-atmosphere {
  position: relative;
  background:
    radial-gradient(820px 440px at 8% -8%, rgb(79 70 229 / 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
}

/* Fixed grain: never on scrolling containers */
.landing-grain {
  position: fixed;
  inset: 0;
  z-index: var(--ir-z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.landing-panel {
  border-radius: var(--ir-radius);
  border: 1px solid rgb(24 24 27 / 0.08);
  background: #fff;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 18px 40px -24px rgb(79 70 229 / 0.18);
}

.landing-panel-tint {
  background:
    linear-gradient(155deg, rgb(79 70 229 / 0.05), transparent 48%),
    #fff;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .reveal-delay-1 { transition-delay: 0.06s; }
  .reveal-delay-2 { transition-delay: 0.12s; }
  .reveal-delay-3 { transition-delay: 0.18s; }
}

.timeline-step + .timeline-step {
  border-top: 1px solid rgb(24 24 27 / 0.08);
}

.faq-row + .faq-row {
  border-top: 1px solid rgb(24 24 27 / 0.08);
}

.cta-push {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.cta-push:hover {
  transform: translateY(-1px);
}

.cta-push:active {
  transform: translateY(1px) scale(0.98);
}

.cta-push:focus-visible,
.nav-link:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid var(--ir-accent);
  outline-offset: 2px;
}

.nav-link {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-link {
  transition: color 0.2s ease;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: var(--ir-z-skip);
  padding: 0.625rem 1rem;
  border-radius: var(--ir-radius-sm);
  background: var(--ir-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.price-badge-slot {
  min-height: 1.25rem;
}

.engine-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: var(--ir-radius-sm);
  border: 1px solid rgb(24 24 27 / 0.08);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3f3f46;
}

.status-indexed {
  background: rgb(79 70 229 / 0.08);
  color: #3730a3;
  border: 1px solid rgb(79 70 229 / 0.18);
}

.status-submitted {
  background: #f4f4f5;
  color: #52525b;
  border: 1px solid rgb(24 24 27 / 0.1);
}

@media (prefers-reduced-transparency: reduce) {
  .landing-atmosphere {
    background: #fafafa;
  }
  .landing-grain {
    display: none;
  }
}
