:root {
  --bg: #f6f4ef;
  --ink: #1d2433;
  --muted: #566176;
  --primary: #2f6fed;
  --primary-dark: #2558c2;
  --accent: #ff8a4c;
  --soft: #edf2fb;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(29, 36, 51, 0.12);
}

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

body {
  margin: 0;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-orbs {
  position: fixed;
  inset: -30% -30% auto -30%;
  height: 70vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 220, 180, 0.7), transparent 45%),
    radial-gradient(circle at 70% 10%, rgba(188, 224, 255, 0.8), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255, 236, 186, 0.6), transparent 50%);
  filter: blur(6px);
  z-index: -2;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 6px 16px rgba(47, 111, 237, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: rise 0.8s ease-out;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.hero-text h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin: 0;
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.stat {
  background: var(--soft);
  padding: 14px 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--card);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(47, 111, 237, 0.2), transparent 70%);
}

.wordmark {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.word {
  text-transform: uppercase;
}

.motion {
  color: #3f79f5;
}

.colon {
  color: #1d2433;
  letter-spacing: 0;
}

.reviewer {
  color: #f0a93b;
}

.card-subtitle {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  z-index: 1;
}

.mini {
  background: #f7f8fd;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(29, 36, 51, 0.08);
}

.feature h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-top: 0;
}

.feature p {
  color: var(--muted);
  margin-bottom: 0;
}

.topics {
  display: grid;
  gap: 28px;
}

.topics-header h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 0 0 10px;
}

.topics-header p {
  color: var(--muted);
  margin: 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.topic {
  background: #fdf6ea;
  border-radius: 16px;
  padding: 16px;
  font-weight: 500;
}

.about {
  display: flex;
  justify-content: center;
}

.about-card {
  background: linear-gradient(135deg, #ffffff, #f4f7ff);
  border-radius: 24px;
  padding: 32px;
  max-width: 720px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-card h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-top: 0;
}

.about-card p {
  color: var(--muted);
  line-height: 1.7;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(47, 111, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(47, 111, 237, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(37, 88, 194, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  border: 1px solid rgba(29, 36, 51, 0.12);
}

.btn:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.4);
  outline-offset: 2px;
}

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

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .page {
    padding: 24px 18px 64px;
  }

  .hero-card {
    padding: 24px;
  }

  .wordmark {
    letter-spacing: 0.12em;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

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