:root {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --text: #162033;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --primary: #2457e6;
  --primary-dark: #183db0;
  --cyan: #06b6d4;
  --orange: #f97316;
  --green: #22c55e;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36, 87, 230, 0.14), transparent 34rem),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 32rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  padding-left: 4px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(36, 87, 230, 0.28);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav a {
  color: #334155;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 15px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: #fff;
  background: var(--text);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 70px 0 54px;
}

.hero-content,
.page-hero {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.12);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-copy,
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.choice-card:hover,
.app-card:hover {
  transform: translateY(-3px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 18px 34px rgba(36, 87, 230, 0.25);
}

.btn.secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}

.btn.inline {
  margin-top: auto;
  width: max-content;
  color: #fff;
  background: var(--text);
  min-height: 46px;
  padding: 12px 18px;
}

.hero-card {
  min-height: 520px;
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 25% 25%, rgba(6, 182, 212, 0.28), transparent 14rem),
    radial-gradient(circle at 76% 76%, rgba(249, 115, 22, 0.24), transparent 14rem);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-card::before {
  width: 220px;
  height: 220px;
  right: -62px;
  top: -46px;
  background: rgba(36, 87, 230, 0.2);
}

.hero-card::after {
  width: 170px;
  height: 170px;
  left: -42px;
  bottom: -30px;
  background: rgba(249, 115, 22, 0.18);
}

.floating-card {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.18);
}

.floating-card span {
  opacity: 0.82;
  font-weight: 800;
}

.floating-card strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.card-one {
  left: 34px;
  top: 62px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.card-two {
  right: 30px;
  bottom: 74px;
  background: linear-gradient(135deg, var(--orange), #fb7185);
}

.orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset -24px -24px 60px rgba(36, 87, 230, 0.16), 0 26px 80px rgba(15, 23, 42, 0.14);
}

.chooser,
.page-list {
  padding: 24px 0 70px;
}

.section-heading {
  margin-bottom: 24px;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.one-column {
  grid-template-columns: minmax(0, 760px);
}

.choice-card,
.app-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.09);
  transition: 0.2s ease;
  overflow: hidden;
  position: relative;
}

.choice-card::after,
.app-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -65px;
  top: -65px;
  border-radius: 50%;
  background: rgba(36, 87, 230, 0.08);
}

.choice-card.kids::after {
  background: rgba(34, 197, 94, 0.13);
}

.choice-card.adults::after,
.accent-cyan::after {
  background: rgba(6, 182, 212, 0.13);
}

.accent-orange::after {
  background: rgba(249, 115, 22, 0.13);
}

.icon {
  font-size: 2.1rem;
}

.label,
.app-badge {
  width: max-content;
  color: var(--primary);
  background: rgba(36, 87, 230, 0.08);
  border: 1px solid rgba(36, 87, 230, 0.13);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.choice-card strong,
.app-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.choice-card small,
.app-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-hero {
  margin-top: 44px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

.page-hero.compact h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.app-card {
  min-height: 320px;
}

.app-card h2 {
  position: relative;
  z-index: 1;
}

.app-card p,
.app-card .btn,
.app-card .app-badge {
  position: relative;
  z-index: 1;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer a {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 24px;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero-card {
    min-height: 360px;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    padding: 12px;
    flex-direction: column;
    position: static;
  }

  .top-nav {
    width: 100%;
    justify-content: stretch;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .top-nav a {
    text-align: center;
    padding: 11px 8px;
    font-size: 0.86rem;
    background: rgba(15, 23, 42, 0.05);
  }

  main,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding: 38px 0 34px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .floating-card {
    min-width: 170px;
    padding: 18px;
  }

  .floating-card strong {
    font-size: 1.45rem;
  }

  .card-one {
    left: 16px;
    top: 32px;
  }

  .card-two {
    right: 16px;
    bottom: 38px;
  }

  .orb {
    width: 150px;
    height: 150px;
  }

  .choice-card,
  .app-card {
    min-height: 250px;
    border-radius: 22px;
  }

  .page-hero {
    margin-top: 28px;
    border-radius: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
