/* Home only. Motion and surfaces follow emilkowalski/skills (emil-design-eng). */

.page-home {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ink: #0c1222;
  --muted: #5c6570;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
  color: var(--ink);
  background: #f7f7f5;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

.page-home a {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.page-home .promo {
  background: #0c1222;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 10px 20px;
  padding-top: calc(10px + env(safe-area-inset-top));
}

.page-home .promo .promo-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
}

.page-home .promo a.promo-link {
  color: #fff;
  text-decoration: none;
}

.page-home .nav {
  background: rgba(247, 247, 245, 0.86);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  transition: background-color 200ms var(--ease-out);
}

.page-home .nav.scrolled {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.page-home .nav-links a,
.page-home .links a {
  letter-spacing: -0.01em;
  font-weight: 550;
}

.page-home .nav-links a.active::after,
.page-home .links a.active::after {
  background: var(--ink);
}

.page-home .btn {
  border-radius: 10px;
  border-color: transparent;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
  touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.page-home .btn:active {
  transform: scale(0.97);
}

.page-home .btn-primary {
  background: #0c1222;
  color: #fff;
  box-shadow: none;
}

.page-home .btn-primary:hover,
.page-home .btn-primary:active {
  background: #0c1222;
  box-shadow: none;
}

.page-home .btn-dark,
.page-home .btn-cyber {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-home .btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
}

.page-home .menu-btn {
  border-color: var(--line);
  border-radius: 10px;
  transition: transform 160ms var(--ease-out);
}

.page-home .menu-btn:active {
  transform: scale(0.97);
}

.page-home .hero {
  background: #f7f7f5;
  padding: 64px 0 72px;
}

.page-home .hero::before {
  opacity: 0.35;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.page-home .hero h1,
.page-home .section-head h2,
.page-home .test-drive-copy h2 {
  letter-spacing: -0.03em;
  font-weight: 650;
}

.page-home .hero h1 .highlight-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--ink);
}

.page-home .hero-lead,
.page-home .section-head p {
  max-width: 65ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.page-home .pill {
  border: 0;
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
  box-shadow: none;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 600;
  font-size: 13px;
}

.page-home .pill.robot,
.page-home .pill.meta,
.page-home .pill.channels {
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
  border: 0;
}

.page-home .ui-main,
.page-home .ui-float,
.page-home .step-card,
.page-home .channel-badge-item,
.page-home .feature-card,
.page-home .plan-card,
.page-home .faq-item,
.page-home .stat-card {
  border: 0;
  box-shadow: var(--shadow);
  background: #fff;
}

.page-home .ui-float {
  animation: none;
}

.page-home .ui-float strong,
.page-home .sim-rich-price,
.page-home .sim-latency,
.page-home .stat-value {
  font-variant-numeric: tabular-nums;
}

.page-home .pulse-dot {
  box-shadow: none;
}

.page-home .pulse-dot::after,
.page-home .status-indicator,
.page-home .typing-indicator span {
  animation: none;
}

.page-home .channel-tab,
.page-home .prompt-chip {
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.page-home .channel-tab:active,
.page-home .prompt-chip:active {
  transform: scale(0.97);
}

.page-home .channels-strip-section,
.page-home .how-it-works-section,
.page-home .comparison-section,
.page-home .testimonials-section,
.page-home .cta-section {
  background: #f7f7f5;
}

.page-home .stats-band {
  background: #0c1222;
}

.page-home .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  box-shadow: none;
}

.page-home .stat-card strong {
  color: #fff;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.page-home .faq-wrap details {
  border: 0;
  box-shadow: var(--shadow);
  transition: box-shadow 180ms var(--ease-out);
}

.page-home .faq-wrap summary::after {
  color: var(--ink);
  transition: transform 160ms var(--ease-out);
}

.page-home .faq-wrap p {
  max-width: 65ch;
}

.page-home .cta-box {
  background: #0c1222;
  box-shadow: var(--shadow);
  border-radius: 20px;
}

.page-home .cta-box::before {
  display: none;
}

.page-home .cta-box h2 {
  letter-spacing: -0.03em;
  font-weight: 650;
}

.page-home .cta-box p {
  max-width: 65ch;
}

.page-home .feature-visual img,
.page-home .feature-visual:hover img {
  transform: none;
  transition: none;
}

.page-home .price-card,
.page-home .testi-card,
.page-home .compare-card {
  border: 0;
  box-shadow: var(--shadow);
}

.page-home .testi-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: #0c1222;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-home .testi-card:nth-child(2) .testi-avatar {
  background: #334155;
}

.page-home .testi-card:nth-child(3) .testi-avatar {
  background: #64748b;
}

.page-home .test-drive-section {
  background: #0c1222;
}

.page-home .test-drive-section::before {
  display: none;
}

.page-home .kicker {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 0;
}

.page-home .hero-content > * {
  animation: home-enter 420ms var(--ease-out) both;
}

.page-home .hero-content > *:nth-child(1) { animation-delay: 0ms; }
.page-home .hero-content > *:nth-child(2) { animation-delay: 40ms; }
.page-home .hero-content > *:nth-child(3) { animation-delay: 80ms; }
.page-home .hero-content > *:nth-child(4) { animation-delay: 120ms; }
.page-home .hero-content > *:nth-child(5) { animation-delay: 160ms; }

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

@media (hover: hover) and (pointer: fine) {
  .page-home .btn:hover {
    transform: translateY(-1px);
  }

  .page-home .btn:active,
  .page-home .btn-ghost:hover {
    transform: scale(0.97);
  }

  .page-home .btn-ghost:hover {
    transform: none;
  }

  .page-home .channel-badge-item:hover,
  .page-home .step-card:hover,
  .page-home .feature-card:hover,
  .page-home .plan-card:hover {
    transform: translateY(-2px);
    transition: transform 200ms var(--ease-out);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-content > * {
    animation: none;
  }

  .page-home .btn,
  .page-home .channel-tab,
  .page-home .prompt-chip,
  .page-home .nav {
    transition: none;
  }

  .page-home .btn:active,
  .page-home .menu-btn:active,
  .page-home .channel-tab:active,
  .page-home .prompt-chip:active {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-home .wrap {
    width: min(1240px, calc(100% - 32px));
  }

  .page-home .hero {
    padding-top: 36px;
  }

  .page-home input,
  .page-home textarea,
  .page-home select {
    font-size: 16px;
  }
}
