:root {
  color-scheme: dark;
}

html {
  scroll-padding-top: 6rem;
}

body {
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-feature-settings:
    'cv02' 1,
    'cv03' 1,
    'cv04' 1,
    'cv11' 1,
    'ss01' 1,
    'ss03' 1;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  border-radius: 9999px;
  border: 1px solid rgba(138, 199, 255, 0.55);
  background: rgba(9, 9, 15, 0.96);
  color: #eef7ff;
  padding: 0.8rem 1rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-anchor {
  scroll-margin-top: 7rem;
}

:where(a, button, [role='button'], [tabindex]):focus-visible {
  outline: 2px solid rgba(138, 199, 255, 0.95);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(43, 133, 246, 0.18);
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(18px);
}

.text-gradient-vortex {
  background: linear-gradient(90deg, #baddff 0%, #67e8f9 52%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dashboard-overlay {
  background: linear-gradient(135deg, rgba(43, 133, 246, 0.12), transparent 52%, rgba(34, 211, 238, 0.1));
}

.cta-panel {
  background: linear-gradient(135deg, rgba(43, 133, 246, 0.2), rgba(255, 255, 255, 0.05) 55%, rgba(217, 70, 239, 0.1));
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(24, 24, 27, 0.92);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(83, 167, 255, 0.45);
  box-shadow: 0 20px 70px rgba(43, 133, 246, 0.16);
}

.icon-chip {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(83, 167, 255, 0.3);
  background: rgba(43, 133, 246, 0.12);
  color: #d9ecff;
}

.faq-item {
  transition: border-color 180ms ease, background-color 180ms ease;
}

.faq-item.active {
  border-color: rgba(83, 167, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.faq-question {
  border-radius: 1.5rem;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 220ms ease, opacity 220ms ease;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-icon {
  transition: transform 180ms ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.dashboard-card,
.state-card {
  backdrop-filter: blur(14px);
}

.state-card {
  background: rgba(255, 255, 255, 0.04);
}

.state-card-success {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14), rgba(255, 255, 255, 0.04));
}

.dashboard-fade {
  background: linear-gradient(to bottom, transparent, rgba(9, 9, 15, 0.85));
}

.cta-btn-primary,
.cta-btn-secondary {
  white-space: nowrap;
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
}

.header-nav {
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  white-space: nowrap;
}

.header-actions {
  justify-content: flex-end;
  min-width: 0;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.header-actions a {
  white-space: nowrap;
}

.header-download-primary {
  max-width: 100%;
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 5rem;
  }

  .header-shell {
    gap: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-anchor {
    scroll-margin-top: 6rem;
  }

  .dashboard-stack {
    gap: 0.875rem;
  }
}

.hero-screenshot {
  perspective: 1200px;
}

.hero-screenshot img {
  animation: hero-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.beta-input::placeholder {
  color: rgba(161, 161, 170, 0.6);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
