/* Ages 7–9 — confidence + independence (calm game vibe) */

.page-a79 {
  background: #eef1f8;
  color: var(--ink);
}

.page-a79 main > section {
  position: relative;
}

/* ——— Hero ——— */
.a79-hero {
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 11vw, 108px) 20px 44px;
  overflow: hidden;
}
.a79-hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #dbe4f5 0%, #e8e6ff 38%, #dde8f9 72%, #cfd9f0 100%);
  background-size: 150% 150%;
}
@media (prefers-reduced-motion: no-preference) {
  .a79-hero__sky {
    animation: a79Sky 22s ease-in-out infinite;
  }
}
@keyframes a79Sky {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 55%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .a79-hero__sky {
    animation: none;
    background-size: auto;
  }
}
.a79-hero__path-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(520px, 95vw);
  height: min(200px, 28vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(99, 102, 241, 0.18), transparent 72%);
  pointer-events: none;
}
.a79-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 880px) {
  .a79-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  }
}
.a79-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--ink);
}
.a79-hero__sub {
  margin: 0 0 20px;
  font-size: clamp(1rem, 2vw, 1.14rem);
  font-weight: 600;
  color: rgba(12, 16, 40, 0.7);
  max-width: 40ch;
  line-height: 1.5;
}
.a79-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.a79-hero__stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 220px;
}
.a79-hero__star {
  width: min(150px, 40vw);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 36px rgba(74, 86, 196, 0.35));
}
@media (prefers-reduced-motion: no-preference) {
  .a79-hero__star {
    animation: a79HeroStar 4.5s ease-in-out infinite;
  }
}
@keyframes a79HeroStar {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .a79-hero__star {
    animation: none;
  }
}
.a79-hero__curve {
  position: absolute;
  bottom: 8%;
  left: 8%;
  right: 8%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}
.a79-hero__curve svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.a79-hero__curve-path {
  fill: none;
  stroke: url(#a79HeroGrad);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.55;
  stroke-dasharray: 8 14;
}

.page-a79 .a79-hero .btn--ghost {
  background: rgba(12, 16, 40, 0.06);
  color: var(--ink);
  border: 1px solid rgba(12, 16, 40, 0.14);
}

/* ——— Hook cards ——— */
.a79-hooks {
  padding: 44px 20px 52px;
  background: #fff;
}
.a79-hooks__inner {
  max-width: 1040px;
  margin: 0 auto;
}
.a79-hooks__head {
  text-align: center;
  margin-bottom: 26px;
}
.a79-hooks__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .a79-hooks__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.a79-hook-card {
  position: relative;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  border-radius: 18px;
  padding: 20px 18px;
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.07), #fff 55%);
  border: 1px solid rgba(12, 16, 40, 0.08);
  box-shadow: 0 14px 40px rgba(31, 35, 82, 0.06);
  transition:
    transform 0.25s var(--ease-out-soft),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.a79-hook-card:hover,
.a79-hook-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
  outline: none;
}
.a79-hook-card:active {
  transform: translateY(-1px);
}
.a79-hook-card.is-pulse {
  animation: a79HookPulse 0.55s ease;
}
@keyframes a79HookPulse {
  0% {
    box-shadow: 0 14px 40px rgba(31, 35, 82, 0.06);
  }
  40% {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25), 0 24px 56px rgba(99, 102, 241, 0.22);
  }
  100% {
    box-shadow: 0 14px 40px rgba(31, 35, 82, 0.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .a79-hook-card.is-pulse {
    animation: none;
  }
}
.a79-hook-card__media {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.a79-hook-card__media img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.35s var(--ease-out-soft);
}
.a79-hook-card:hover .a79-hook-card__media img,
.a79-hook-card:focus-visible .a79-hook-card__media img {
  transform: scale(1.08) rotate(-3deg);
}
.a79-hook-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
}
.a79-hook-card p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(12, 16, 40, 0.55);
  line-height: 1.4;
}

/* ——— Try it (moment demo) ——— */
.a79-moment {
  padding: 48px 20px 56px;
  background: linear-gradient(180deg, #f1f4fb 0%, #e8ecff 100%);
}
.a79-moment__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.a79-moment__grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 860px) {
  .a79-moment__grid {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: 36px;
  }
}
.a79-moment__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 16, 40, 0.45);
  margin: 0 0 8px;
}
.a79-moment__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 16px;
}
.a79-moment__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.a79-moment__choice {
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  padding: 12px 16px;
  border-radius: 999px;
  border: 2px solid rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.a79-moment__choice:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}
.a79-moment__choice.is-active {
  border-color: transparent;
  background: linear-gradient(120deg, #4f46e5, #7c3aed);
  color: #fff;
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.35);
}
.a79-moment__device {
  position: relative;
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 16, 40, 0.08);
  box-shadow: 0 28px 70px rgba(31, 35, 82, 0.12);
}
.a79-moment__glow-ring {
  position: absolute;
  inset: -5%;
  border-radius: 28px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(99, 102, 241, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.a79-moment__device.is-pulse .a79-moment__glow-ring {
  opacity: 1;
}
.a79-moment__panels {
  position: relative;
  min-height: 400px;
}
@media (min-width: 520px) {
  .a79-moment__panels {
    min-height: 440px;
  }
}
.a79-moment__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-soft), transform 0.4s var(--ease-out-soft);
  transform: translateY(10px);
}
.a79-moment__panel.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  pointer-events: auto;
  transform: translateY(0);
}
.a79-moment__quote {
  margin: 16px 0 0;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 800;
  font-style: italic;
  color: var(--dawn-deep);
}

/* ——— Learn path (scroll) ——— */
.a79-path {
  padding: 52px 20px 60px;
  background: #fff;
}
.a79-path__inner {
  max-width: 960px;
  margin: 0 auto;
}
.a79-path__head {
  text-align: center;
  margin-bottom: 28px;
}
.a79-path__viz {
  position: relative;
  margin-top: 8px;
  padding: 0 0 28px;
}
.a79-path__line-wrap {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 36px;
  height: 6px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  overflow: hidden;
}
.a79-path__line-fill {
  height: 100%;
  width: calc(var(--a79-path, 0) * 100%);
  border-radius: 6px;
  background: linear-gradient(90deg, #6366f1, #a78bfa, #34d399);
  transition: width 0.15s ease-out;
}
.a79-path__star {
  position: absolute;
  top: 8px;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  left: calc(10% + var(--a79-path, 0) * 80%);
  transition: left 0.15s ease-out;
  z-index: 2;
  filter: drop-shadow(0 10px 24px rgba(99, 102, 241, 0.4));
}
.a79-path__star img {
  width: 100%;
  height: auto;
}
.a79-path__steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  z-index: 1;
  margin-top: 72px;
}
@media (min-width: 800px) {
  .a79-path__steps {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
  }
}
.a79-path-step {
  text-align: center;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(12, 16, 40, 0.06);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
}
.a79-path-step span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12, 16, 40, 0.45);
  margin-bottom: 6px;
}

/* ——— Independence dual ——— */
.a79-dual {
  padding: 48px 20px;
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
}
.a79-dual__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.a79-dual__head {
  text-align: center;
  max-width: 48ch;
  margin: 0 auto 28px;
}
.a79-dual__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .a79-dual__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.a79-dual__col {
  padding: 22px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(12, 16, 40, 0.08);
  box-shadow: 0 16px 44px rgba(31, 35, 82, 0.07);
  text-align: center;
}
.a79-dual__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dawn-deep);
  margin-bottom: 12px;
}
.a79-dual__col .phone {
  width: min(200px, 70vw);
  margin: 12px auto 0;
}

/* ——— Sound ——— */
.a79-sound {
  padding: 56px 20px 64px;
  background: linear-gradient(165deg, #1e293b 0%, #312e81 50%, #1e1b4b 100%);
  color: #e2e8f0;
  overflow: hidden;
}
.a79-sound__inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 860px) {
  .a79-sound__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }
}
.a79-sound__viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.a79-sound__waves {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 56px;
}
.a79-sound__waves span {
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #a5b4fc, #6366f1);
  opacity: 0.85;
}
@media (prefers-reduced-motion: no-preference) {
  .a79-sound__waves span:nth-child(1) {
    height: 22px;
    animation: a79Bar 1.1s ease-in-out infinite;
  }
  .a79-sound__waves span:nth-child(2) {
    height: 38px;
    animation: a79Bar 1.1s ease-in-out infinite 0.08s;
  }
  .a79-sound__waves span:nth-child(3) {
    height: 52px;
    animation: a79Bar 1.1s ease-in-out infinite 0.16s;
  }
  .a79-sound__waves span:nth-child(4) {
    height: 34px;
    animation: a79Bar 1.1s ease-in-out infinite 0.24s;
  }
  .a79-sound__waves span:nth-child(5) {
    height: 18px;
    animation: a79Bar 1.1s ease-in-out infinite 0.32s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .a79-sound__waves span:nth-child(1) {
    height: 22px;
  }
  .a79-sound__waves span:nth-child(2) {
    height: 38px;
  }
  .a79-sound__waves span:nth-child(3) {
    height: 52px;
  }
  .a79-sound__waves span:nth-child(4) {
    height: 34px;
  }
  .a79-sound__waves span:nth-child(5) {
    height: 18px;
  }
}
@keyframes a79Bar {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.65;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
.a79-sound__headphone {
  width: 72px;
  height: 72px;
  color: #c4b5fd;
}
.a79-sound__orb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), rgba(99, 102, 241, 0.5) 45%, rgba(30, 27, 75, 0.9));
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.45);
}
@media (prefers-reduced-motion: no-preference) {
  .a79-sound__orb {
    animation: a79Orb 3.2s ease-in-out infinite;
  }
}
@keyframes a79Orb {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(167, 139, 250, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 56px rgba(167, 139, 250, 0.6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .a79-sound__orb {
    animation: none;
  }
}
.a79-sound__copy .caption {
  color: rgba(226, 232, 240, 0.55);
}
.a79-sound__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  margin: 8px 0 12px;
  color: #fff;
}
.a79-sound__copy p {
  margin: 0;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.55;
  max-width: 44ch;
}

.a79-sound__phone {
  margin-top: 22px;
  max-width: min(240px, 92vw);
}
.a79-sound__phone .phone {
  margin: 0;
  width: 100%;
  max-width: 230px;
}

/* ——— Trust + ESA strip (match 4–6 tone) ——— */
.a79-trust {
  padding: 44px 20px;
  background: #fff;
  text-align: center;
}
.a79-trust__inner {
  max-width: 40ch;
  margin: 0 auto;
}
.a79-trust p {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  font-weight: 700;
  color: rgba(12, 16, 40, 0.76);
  line-height: 1.55;
}

.a79-esa {
  padding: 40px 20px;
  background: linear-gradient(180deg, #f1f5f9 0%, #eef2ff 100%);
  border-top: 1px solid rgba(12, 16, 40, 0.06);
  text-align: center;
}
.a79-esa__inner {
  max-width: 560px;
  margin: 0 auto;
}
.a79-esa__inner > p:first-of-type {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 1rem;
}
.a79-esa ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}
.a79-esa li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(12, 16, 40, 0.72);
}
.a79-esa li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--dawn-deep);
  font-weight: 800;
}

.page-a79 .hiw-learn__grid {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .page-a79 .hiw-learn__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .page-a79 .hiw-learn__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
