:root {
  --bg: #07152b;
  --bg-soft: #102348;
  --panel: rgba(10, 24, 51, 0.78);
  --panel-strong: rgba(13, 32, 68, 0.94);
  --text: #f5f8ff;
  --muted: #d2dcff;
  --accent: #ffd54d;
  --accent-strong: #ff9f1c;
  --mint: #5be7c4;
  --sky: #73c2fb;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(91, 231, 196, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 213, 77, 0.18), transparent 18%),
    linear-gradient(180deg, #163364 0%, #0a1630 45%, #08111e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  opacity: 0.18;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero,
.section-block {
  backdrop-filter: blur(12px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a,
.site-footer a,
.card-copy a,
.btn,
.trust-card,
.kid-card,
.tile-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #102348;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 36px;
  background: linear-gradient(145deg, rgba(15, 42, 88, 0.92), rgba(10, 22, 48, 0.94));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-kids {
  grid-template-columns: 1.08fr 0.92fr;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 900;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  max-width: 13ch;
}

.hero-text,
.section-heading p,
.card-copy p,
.checks-grid p,
.trust-card span,
.site-footer p,
.hero-points li,
.kid-card span,
.step-card p,
.tile-card span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 18px 0 24px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.btn:hover,
.card-copy a:hover,
.trust-card:hover,
.kid-card:hover,
.tile-card:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #102348;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 32px rgba(255, 159, 28, 0.28);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-badge,
.pill,
.card-badge,
.kid-card-tag,
.tile-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-badge,
.pill,
.tile-tag {
  color: #0c244c;
  background: rgba(255, 255, 255, 0.82);
}

.card-badge,
.kid-card-tag {
  color: #102348;
  background: var(--accent);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.hero-panel,
.soft-panel {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stage {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(180deg, #77c8ff 0%, #4287f5 45%, #21408d 100%);
}

.hero-stage-kids {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.18), transparent 20%),
    radial-gradient(circle at 75% 30%, rgba(255, 213, 77, 0.22), transparent 22%),
    linear-gradient(180deg, #93d8ff 0%, #4b94ff 45%, #29449e 100%);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 6px;
  max-width: 240px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  animation: drift 5s ease-in-out infinite;
}

.sky-card {
  top: 34px;
  left: 30px;
}

.cloud-card {
  right: 24px;
  bottom: 34px;
  animation-delay: -2s;
}

.planet,
.spark {
  position: absolute;
  border-radius: 50%;
}

.planet-yellow {
  width: 118px;
  height: 118px;
  right: 44px;
  top: 48px;
  background: radial-gradient(circle at 30% 30%, #fff5b7, #ffd04d 65%, #ff9a14 100%);
}

.planet-blue {
  width: 78px;
  height: 78px;
  left: 72px;
  bottom: 58px;
  background: radial-gradient(circle at 30% 30%, #d9f2ff, #7ed6ff 65%, #3483f6 100%);
}

.spark {
  width: 12px;
  height: 12px;
  background: white;
  opacity: 0.7;
}

.spark-a {
  top: 74px;
  left: 62%;
}

.spark-b {
  bottom: 120px;
  left: 34%;
}

.section-block {
  margin-top: 24px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.alt-surface {
  background: linear-gradient(145deg, rgba(8, 24, 52, 0.9), rgba(14, 40, 84, 0.9));
}

.section-heading {
  max-width: 72ch;
  margin-bottom: 24px;
}

.section-heading p {
  margin: 12px 0 0;
}

.feature-grid,
.checks-grid,
.trust-grid,
.kid-strip,
.step-grid,
.promo-grid,
.tile-grid {
  display: grid;
  gap: 18px;
}

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

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

.kid-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.promo-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.promo-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 77, 0.24), transparent 24%),
    linear-gradient(145deg, rgba(33, 74, 158, 0.88), rgba(10, 24, 51, 0.96));
}

.promo-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-card-visual .cover-fallback {
  position: absolute;
  inset: 0;
  display: none;
  padding: 18px;
  align-items: end;
  color: var(--text);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.1;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 77, 0.18), transparent 20%),
    linear-gradient(145deg, rgba(19, 45, 92, 0.95), rgba(7, 19, 35, 0.98));
}

.promo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #0c244c;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.promo-card-copy {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.promo-card-copy strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.promo-card-copy p {
  margin: 0;
}

.kid-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  text-decoration: none;
  min-height: 220px;
  align-content: end;
  box-shadow: var(--shadow);
}

.kid-card strong {
  font-size: 1.5rem;
  line-height: 1.1;
}

.kid-card-primary {
  background:
    radial-gradient(circle at top right, rgba(255, 212, 77, 0.26), transparent 24%),
    linear-gradient(145deg, rgba(255, 165, 54, 0.28), rgba(12, 34, 74, 0.96));
}

.kid-card-blue {
  background:
    radial-gradient(circle at top right, rgba(115, 194, 251, 0.24), transparent 24%),
    linear-gradient(145deg, rgba(54, 126, 246, 0.24), rgba(12, 34, 74, 0.96));
}

.kid-card-mint {
  background:
    radial-gradient(circle at top right, rgba(91, 231, 196, 0.24), transparent 24%),
    linear-gradient(145deg, rgba(19, 142, 118, 0.22), rgba(12, 34, 74, 0.96));
}

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

.step-card,
.tile-card,
.checks-grid article,
.trust-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.step-card {
  display: grid;
  gap: 12px;
}

.step-bubble {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 212, 77, 0.18);
  color: var(--accent);
  font-weight: 900;
  font-size: 1.3rem;
}

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

.tile-card {
  display: grid;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.tile-card strong {
  font-size: 1.2rem;
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--panel-strong);
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.card-copy h3,
.checks-grid h3,
.step-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.card-copy p,
.checks-grid p,
.step-card p {
  margin: 0;
}

.card-copy a {
  width: fit-content;
  color: #07152b;
  background: var(--accent);
  text-decoration: none;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 999px;
}

.warm-card {
  background: linear-gradient(180deg, rgba(255, 188, 80, 0.18), rgba(15, 24, 52, 0.92));
}

.blue-card {
  background: linear-gradient(180deg, rgba(84, 174, 255, 0.18), rgba(15, 24, 52, 0.92));
}

.mint-card {
  background: linear-gradient(180deg, rgba(91, 231, 196, 0.18), rgba(15, 24, 52, 0.92));
}

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

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

.trust-card {
  display: grid;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.trust-card strong {
  font-size: 1.06rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
  background: rgba(8, 17, 34, 0.78);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.site-footer p {
  margin: 6px 0 0;
  max-width: 48ch;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--accent);
}

code {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.92em;
  color: #fff1aa;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .feature-grid-two,
  .checks-grid,
  .trust-grid,
  .kid-strip,
  .step-grid,
  .promo-grid,
  .tile-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

  .site-header,
  .site-footer {
    border-radius: 30px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .site-header,
  .hero,
  .section-block,
  .site-footer {
    padding: 20px;
  }

  .site-header {
    border-radius: 24px;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero-stage {
    min-height: 280px;
  }

  .floating-card {
    max-width: 190px;
    padding: 14px;
  }

  .sky-card {
    top: 20px;
    left: 18px;
  }

  .cloud-card {
    right: 18px;
    bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating-card,
  .btn,
  .card-copy a,
  .trust-card,
  .kid-card,
  .tile-card {
    animation: none;
    transition: none;
  }
}
