:root {
  --navy: #22286d;
  --navy-deep: #131746;
  --ink: #1a202c;
  --muted: #4a5568;
  --paper: #f7f8fc;
  --white: #ffffff;
  --accent: #3d8bfd;
  --font: "Poppins", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(61, 139, 253, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(34, 40, 109, 0.22), transparent 50%),
    linear-gradient(165deg, #eef1f9 0%, var(--paper) 45%, #e8ebf5 100%);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 5rem;
}

.hero__content {
  width: min(40rem, 100%);
  animation: rise 0.8s ease-out both;
}

.brand {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
  animation: rise 0.8s ease-out 0.1s both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  animation: rise 0.8s ease-out 0.2s both;
}

.lede {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  animation: rise 0.8s ease-out 0.3s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease-out 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(34, 40, 109, 0.35);
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(34, 40, 109, 0.06);
}

.section {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--navy);
}

.section p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.section code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: rgba(34, 40, 109, 0.08);
  color: var(--navy-deep);
}

.footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
