/* AIIN brand overrides on top of FAM visual system */
body {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.how, .features, .cli, .cta {
  padding: 88px 0;
}

.how h2, .features h2, .cli h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 28px;
  max-width: 720px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.how-step {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
}

.how-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 14px;
}

.how-arrow {
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.features-grid {
  margin-top: 8px;
}

.cta {
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.22), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.14), transparent 45%),
    var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-arrow {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    order: 1;
  }
  .hero-illustration {
    order: 2;
    min-height: 320px;
  }
}

h1, h2, h3, .brand-text, .price {
  font-family: "Syne", ui-sans-serif, system-ui, sans-serif;
}

.brand {
  gap: 10px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: "Syne", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-ai {
  color: #fff;
}

.brand-in {
  background: linear-gradient(120deg, #22d3ee 0%, #8b5cf6 55%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tld {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: 1px;
}

.brand-text {
  letter-spacing: 0.06em;
}

.brand-wordmark-lg {
  font-size: clamp(1.6rem, 4vw, 2.15rem);
}

.brand-wordmark-lg .brand-tld {
  font-size: 0.58em;
}

.aiin-hero-mark {
  display: grid;
  place-items: center;
  padding: 8px 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card.featured {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 20px 50px rgba(139, 92, 246, 0.12);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}

.price-card .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.code-block {
  background: #070A10;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  overflow-x: auto;
  color: #E2E8F0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--border-subtle);
  background: #070A10;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  color: var(--muted);
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
}

.policy-page {
  padding: 120px 0 80px;
  max-width: 800px;
}

.policy-page h1 {
  margin-bottom: 8px;
}

.policy-page h2 {
  margin-top: 36px;
  font-size: 1.25rem;
}

.policy-page .tbd {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.35);
  color: #F9A8D4;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
