/* Public home — matches learner dark shell (Tronix navy) */
.lp {
  overflow-x: clip;
  background: #0B1229;
  color: #E8EDF8;
  min-height: 70vh;
}

.lp-brand,
.lp-h2,
.lp-hero__title,
.lp-cta__title,
.lp-step h3,
.lp-animal__word,
.lp-row__title {
  font-family: "Space Grotesk", var(--dz-display), sans-serif;
  letter-spacing: -0.03em;
}

.lp-brand {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 700;
  line-height: 0.95;
  color: #F5D76E;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

/* Full-bleed hero */
.lp-hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: calc(96px + var(--safe-top, 0px)) 0 4rem;
  overflow: hidden;
  background: #0B1229;
}
.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.06);
  animation: lp-ken 22s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.05);
}
.lp-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 18, 41, 0.92) 0%, rgba(11, 18, 41, 0.55) 42%, rgba(11, 18, 41, 0.15) 70%),
    linear-gradient(180deg, rgba(11, 18, 41, 0.35) 0%, transparent 30%, rgba(11, 18, 41, 0.95) 100%);
}
.lp-hero__body {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}
.lp-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 215, 110, 0.15);
  border: 1px solid rgba(245, 215, 110, 0.35);
  color: #F5D76E;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lp-hero__title {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.6rem, 7.5vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
  color: #fff;
  max-width: 11ch;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.4);
}
.lp-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(232, 237, 248, 0.88);
}
.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 56px;
  padding: 0.9rem 1.75rem;
  border-radius: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.25s, border-color 0.25s, color 0.25s;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn--primary {
  background: #F5D76E;
  color: #0B1229 !important;
  border-color: #F5D76E;
}
.lp-btn--primary:hover {
  background: #FFE8A3;
  border-color: #FFE8A3;
  color: #0B1229 !important;
}
.lp-btn--on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.lp-btn--on-dark:hover {
  background: #fff;
  color: #0B1229 !important;
  border-color: #fff;
}
.lp-btn--ghost {
  background: transparent;
  color: #F5D76E !important;
  border-color: rgba(245, 215, 110, 0.55);
}
.lp-btn--ghost:hover {
  background: rgba(245, 215, 110, 0.12);
}

/* Sections on dark canvas */
.lp-section {
  padding: 3.5rem 0 4rem;
  background: #0B1229;
}
.lp-section--animals {
  background: linear-gradient(180deg, #0B1229 0%, #121C3D 100%);
}
.lp-section--loop {
  background: #121C3D;
}
.lp-section--promise {
  background: #0B1229;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-section__head {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  padding: 0 var(--nf-pad, 0);
}
.lp .container .lp-section__head { padding: 0; }
.lp-h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.lp-lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(232, 237, 248, 0.7);
}

/* Horizontal animal row (learner-shelf style) */
.lp-row {
  padding: 0 0 0.5rem;
}
.lp-row__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}
.lp-row__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
}
.lp-row__sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: rgba(232, 237, 248, 0.65);
}
.lp-row__gate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 215, 110, 0.12);
  border: 1px solid rgba(245, 215, 110, 0.4);
  color: #F5D76E !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
  white-space: nowrap;
}
.lp-row__gate:hover {
  background: rgba(245, 215, 110, 0.22);
}
.lp-animals {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 220px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.lp-animals::-webkit-scrollbar { height: 6px; }
.lp-animals::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.lp-animal {
  position: relative;
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #182444;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, box-shadow 0.3s;
}
.lp-animal img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}
.lp-animal:hover,
.lp-animal:focus-visible,
.lp-animal.is-playing {
  transform: translateY(-6px) scale(1.02);
  border-color: #F5D76E;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  outline: none;
}
.lp-animal:hover img,
.lp-animal.is-playing img { transform: scale(1.06); }
.lp-animal__word {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  right: 3.25rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}
.lp-animal__play {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #F5D76E;
  color: #0B1229;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.lp-animal.is-playing .lp-animal__play {
  animation: kid-pulse 500ms cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.lp-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0.5rem 0 0;
}
.lp-more__dot { color: rgba(255, 255, 255, 0.35); }
.lp-link {
  color: #F5D76E !important;
  font-weight: 700;
  text-decoration: none !important;
}
.lp-link:hover { text-decoration: underline !important; }

/* Steps */
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}
.lp-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.lp-step__n {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #2E4596;
  color: #F5D76E;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.lp-step h3 {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
  color: #fff;
}
.lp-step p {
  margin: 0;
  color: rgba(232, 237, 248, 0.7);
  line-height: 1.45;
}
.lp-inline-cta { margin-top: 1.75rem; }

/* Promise */
.lp-promise {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.lp-checklist {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.lp-checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}
.lp-checklist i { color: #F5D76E; font-size: 1.25rem; }
.lp-promise__visual {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(245, 215, 110, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.lp-promise__visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

/* CTA */
.lp-cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(46, 69, 150, 0.55), transparent 55%),
    linear-gradient(180deg, #121C3D 0%, #0B1229 100%);
  color: #fff;
  padding: 5rem 0 5.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-cta__inner { max-width: 36rem; margin: 0 auto; }
.lp-brand--on-cta { text-align: center; color: #F5D76E; }
.lp-cta__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
}
.lp-cta__lead {
  margin: 0 0 1.75rem;
  color: rgba(232, 237, 248, 0.78);
  font-size: 1.15rem;
}
.lp-cta .lp-hero__cta { justify-content: center; }

@keyframes lp-ken {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

@media (max-width: 900px) {
  .lp-promise { grid-template-columns: 1fr; }
  .lp-promise__visual { max-width: 280px; }
}
@media (max-width: 560px) {
  .lp-btn { width: 100%; }
  .lp-hero__cta { width: 100%; }
  .lp-animals { grid-auto-columns: minmax(140px, 70vw); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__media img,
  .lp-animal.is-playing .lp-animal__play { animation: none; }
  .lp-hero__media img { transform: none; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
