.home-page { position: relative; isolation: isolate; overflow: clip; --home-motion-state: paused; --home-purple: #7338cf; background: radial-gradient(ellipse 80% 22% at 95% 0%, #eadfff 0%, transparent 80%), radial-gradient(ellipse 70% 20% at 0% 8%, #dff6ff 0%, transparent 80%), #fcfcff; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 32% 68%; align-items: center; padding-block: 14px 24px; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 6% 0 12% 20%; border-radius: 50%; background: radial-gradient(ellipse at 70% 45%, #d9b6ff96, #9fefff66 45%, transparent 70%); pointer-events: none; animation: home-aura 12s ease-in-out infinite; animation-play-state: var(--home-motion-state); }
.hero-copy { position: relative; z-index: 1; padding-bottom: 32px; transform: translateY(20px); }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; border: 1px solid #c5c6ff; border-radius: 999px; padding: 9px 12px; background: #ffffffba; box-shadow: 0 4px 18px #7252ce0d; line-height: 1.45; }
.hero-copy .eyebrow .icon { width: 18px; height: 18px; color: #8753c8; flex-shrink: 0; }
.hero h1 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: clamp(38px, 4.9vw, 68px); letter-spacing: -.035em; line-height: 1.035; }
.hero h1 span, .parents-copy h2 span { display: block; }
.hero h1 span:last-child { color: #6633cd; }
@supports (background-clip: text) {
  .hero h1 span:last-child { background: linear-gradient(105deg, #123fe5 5%, #7331cf 55%, #b8249e); background-clip: text; color: transparent; }
}
.hero-intro { max-width: 350px; margin-top: 30px; font-size: clamp(13px, 1.55vw, 20px); line-height: 1.55; }
.hero-actions { margin-top: 42px; }
.hero-actions .button { min-height: 46px; padding-inline: 22px; font-size: clamp(11px, 1.22vw, 16px); }
.mission-cta { position: relative; isolation: isolate; background: linear-gradient(110deg, #0725f5, #6530e4 68%, #a123c5); border-color: #6141ee; box-shadow: 0 9px 25px #572ac633; }
.mission-cta::before, .mission-cta::after { content: ''; position: absolute; inset: -5px; z-index: -1; border-radius: 16px; pointer-events: none; }
.mission-cta::before { border: 2px solid #6943e9; opacity: 0; animation: mission-signal 3.6s ease-out infinite; animation-play-state: var(--home-motion-state); }
.mission-cta::after { inset: 0; border-radius: inherit; box-shadow: 0 0 22px 5px #6741eb40, inset 0 0 0 1px #ffffff59; opacity: .3; animation: mission-glow 3.6s ease-in-out infinite; animation-play-state: var(--home-motion-state); }
.mission-cta > .icon { animation: mission-arrow 3.6s ease-in-out infinite; animation-play-state: var(--home-motion-state); }
.mission-cta:is(:hover, :focus-visible)::before, .mission-cta:is(:hover, :focus-visible)::after, .mission-cta:is(:hover, :focus-visible) > .icon { animation-play-state: paused; }
@keyframes mission-signal {
  0% { opacity: 0; transform: scale(.98); }
  18% { opacity: .6; }
  65%, 100% { opacity: 0; transform: scale(1.07, 1.28); }
}
@keyframes mission-glow {
  0%, 70%, 100% { opacity: .3; }
  28% { opacity: 1; }
}
@keyframes mission-arrow {
  0%, 16%, 44%, 100% { transform: translateX(0); }
  28% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .mission-cta::before, .mission-cta::after, .mission-cta > .icon { animation: none; }
  .mission-cta::after { opacity: .5; }
}
.availability { font-size: clamp(10px, 1vw, 12px); color: var(--muted); margin: 9px 0 16px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--royal); font-weight: 500; font-size: .86rem; padding: 4px; }
.text-link .icon { width: 16px; height: 16px; transition: transform 180ms ease; }
.text-link:hover .icon { transform: translateX(3px); }
.hero-art { align-self: start; width: calc(100% + 12px); margin: -12px 0 0 -6px; }
.universe-cards { width: 100%; height: auto; animation: home-float 8s ease-in-out infinite; animation-play-state: var(--home-motion-state); }
.hero-art figcaption { display: flex; align-items: center; flex-direction: column; gap: 0; min-height: 104px; text-align: center; margin-top: 3px; }
.sound-link { display: inline-flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 32px; font-size: .82rem; color: var(--royal); font-weight: 500; }
.sound-link .icon { width: 26px; height: 26px; }
.coming-soon { font-size: 10px; padding: 2px 6px; border: 1px solid #d8dfff; border-radius: 5px; line-height: 1.3; color: #6975a2; }
.universe-caption { color: var(--muted); font-size: 10px; }
.home-motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: 4px; padding: 7px 12px; border: 1px solid #cbd1fa; border-radius: 999px; background: #ffffffc9; color: #505784; font-size: 11px; line-height: 1.4; cursor: pointer; }
.home-motion-toggle .icon { width: 15px; height: 15px; }
.home-motion-toggle:hover, .home-motion-toggle[aria-pressed='true'] { background: #eceaff; color: #4825a3; border-color: #b5a6ee; }
.section-heading { text-align: center; }
.section-heading p { color: var(--muted); margin-top: 6px; }
.classes-section { position: relative; padding-top: clamp(40px, 5vw, 72px); padding-bottom: 28px; isolation: isolate; }
.cloud-decoration { position: absolute; width: 27%; max-width: 330px; top: 23px; z-index: -1; pointer-events: none; }
.cloud-left { left: -28px; }
.cloud-right { right: -28px; transform: scaleX(-1); }
.class-groups { max-width: 920px; margin: 26px auto 0; }
.class-group { --class-color: #a82e82; --class-soft: #fff0fa; --class-line: #efc8e7; display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; margin-top: 14px; padding: 16px 18px; border: 1px solid var(--class-line); border-radius: 20px; background: linear-gradient(110deg, var(--class-soft), #ffffffed 85%); box-shadow: 0 6px 22px #2d387207; }
.class-group:nth-child(2) { --class-color: #2656c9; --class-soft: #eaf4ff; --class-line: #c7dcfb; }
.class-group:nth-child(3) { --class-color: #7738bb; --class-soft: #f3eaff; --class-line: #decef4; }
.class-group h3 { font-weight: 700; color: var(--class-color); }
.class-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.class-button { display: flex; align-items: center; justify-content: center; min-height: clamp(44px, 5vw, 65px); border: 1px solid var(--class-line); border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: 1rem; padding: 9px; box-shadow: 0 3px 0 var(--class-line); transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.class-options:has(.class-button-detail) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.class-button:has(.class-button-detail) { flex-direction: column; gap: 3px; }
.class-button-detail { font-size: 12px; font-weight: 500; line-height: 1.5; }
.class-button-detail > span { display: block; }
.class-button:hover { border-color: var(--class-color); background: var(--class-soft); }
.class-button[aria-pressed='true'] { border-color: var(--class-color); background: var(--class-color); color: #fff; box-shadow: 0 3px 0 var(--class-line), 0 5px 15px #6634c026; }
.class-button:active { transform: translateY(2px); box-shadow: none; }
.class-status { min-height: 15px; margin-top: 6px; color: var(--royal); font-size: 11px; text-align: center; }
.subjects-section { width: min(1040px, calc(100% - 214px)); padding-block: 24px 32px; }
.subjects-section h2 { font-size: clamp(22px, 2.6vw, 35px); }
.subjects-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.subjects-grid > li { --subject-color: #4053c9; --subject-soft: #eef0ff; --subject-line: #d7ddff; }
.subjects-grid > li:nth-child(4n + 2) { --subject-color: #a53179; --subject-soft: #fff0f8; --subject-line: #f3d4e7; }
.subjects-grid > li:nth-child(4n + 3) { --subject-color: #14716f; --subject-soft: #e8f8f5; --subject-line: #c8e9e3; }
.subjects-grid > li:nth-child(4n) { --subject-color: #92531e; --subject-soft: #fff5e5; --subject-line: #efdec4; }
.subject-card { height: 100%; min-height: clamp(70px, 7vw, 96px); display: flex; align-items: center; gap: clamp(10px, 1.3vw, 17px); padding: 14px clamp(12px, 1.4vw, 18px); border: 1px solid var(--subject-line); border-radius: 17px; background: linear-gradient(135deg, #fff, var(--subject-soft)); box-shadow: 0 4px 14px #27308706; font-size: clamp(10px, 1.16vw, 15px); font-weight: 600; line-height: 1.4; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.subject-symbol { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: var(--subject-soft); color: var(--subject-color); transition: transform 220ms ease; }
.subject-card .icon { width: 29px; height: 29px; color: inherit; }
.subject-card:hover { border-color: var(--subject-color); box-shadow: 0 9px 22px #38317714; }
.section-note { text-align: center; color: var(--muted); margin-top: 12px; font-size: .94rem; }
.journey-section { padding-top: 34px; padding-bottom: 52px; }
.journey-section > h2 { text-align: center; font-size: clamp(20px, 2.3vw, 31px); }
.journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; margin-top: 28px; counter-reset: home-step; }
.journey-step { position: relative; min-width: 0; text-align: center; padding: 14px 10px 22px; border: 1px solid #d9e0ff; border-radius: 24px; background: linear-gradient(155deg, #eff8ff, #f5f0ff); box-shadow: 0 8px 22px #1e37840a; }
.journey-step:nth-child(2) { background: linear-gradient(155deg, #fff1f8, #f4edff); border-color: #efdaee; }
.journey-step:nth-child(3) { background: linear-gradient(155deg, #eafaf7, #edf4ff); border-color: #d2e8e7; }
.journey-step::before { counter-increment: home-step; content: '0' counter(home-step); position: absolute; inset: 15px auto auto 17px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #2d56dc, #933ed0); font-size: 12px; font-weight: 700; box-shadow: 0 4px 10px #5336ac26; }
.step-art { width: 100%; height: clamp(168px, 20vw, 275px); object-fit: contain; object-position: center bottom; }
.journey-step h3 { margin-top: 8px; font-weight: 600; font-size: .96rem; }
.step-arrow { position: absolute; right: -24px; top: 48%; z-index: 1; color: var(--royal); }
.step-arrow .icon { width: clamp(26px, 3vw, 40px); height: clamp(26px, 3vw, 40px); }
.journey-section .section-note { margin-top: 20px; }
.parents-section { position: relative; isolation: isolate; overflow: clip; color: #fff; background: radial-gradient(ellipse at 85% 5%, #a046ed99, transparent 55%), radial-gradient(ellipse at 0% 100%, #00b9dd77, transparent 60%), linear-gradient(120deg, #1739bc, #371c97 65%, #711faa); border-top: 4px solid #9785ee; }
.parents-section::before { content: ''; position: absolute; z-index: -1; width: min(70vw, 850px); aspect-ratio: 1.4; right: -12%; top: -18%; border: 1px solid #d7b9ff40; border-radius: 50%; box-shadow: 0 0 0 34px #ab93ff09, 0 0 0 72px #ab93ff07; transform: rotate(-24deg); pointer-events: none; animation: home-orbit 14s ease-in-out infinite; animation-play-state: var(--home-motion-state); }
.parents-inner { display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); align-items: center; padding: 22px 30px; gap: 12px; }
.parents-copy { padding-right: 42px; }
.parents-copy h2 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: clamp(36px, 4.35vw, 59px); line-height: 1.03; font-weight: 800; letter-spacing: -.03em; margin-bottom: 26px; }
.parents-copy > p { font-size: clamp(14px, 1.55vw, 20px); line-height: 1.6; margin-top: 16px; }
.parents-copy .button { margin-top: 25px; }
.parents-copy .parents-availability { color: #b4c4ff; font-size: 11px; margin-top: 8px; }
.parent-preview { min-width: 0; }
.parent-dashboard { background: linear-gradient(135deg, #1836a9ed, #23105be8); border: 1px solid #b2a5ff7a; box-shadow: 0 16px 42px #14094440, inset 0 1px 0 #ffffff26; border-radius: 22px; padding: 18px 24px 10px; }
.child-progress { display: grid; grid-template-columns: 22% 1fr; gap: 18px; align-items: center; margin-bottom: 14px; }
.child-avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid #b291ff; box-shadow: 0 0 0 4px #8c6bd329; }
.child-course { min-width: 0; }
.course-topline { display: flex; gap: 16px; align-items: center; }
.course-thumbnail { width: 50%; height: auto; border-radius: 10px; }
.course-awards { display: flex; justify-content: space-between; gap: 8px; flex: 1; min-width: 0; }
.award { color: #65c8ff; filter: drop-shadow(0 1px 4px #2ca7ff80); }
.award .icon { width: clamp(20px, 3vw, 37px); height: clamp(20px, 3vw, 37px); }
.award-gold { color: #ffd04f; filter: drop-shadow(0 1px 4px #ffab3b80); }
.award-muted { color: #3a477e; filter: none; }
.course-progress { height: 10px; margin-top: 9px; background: #112774; border-radius: 20px; overflow: hidden; }
.course-progress > span { display: block; width: 53%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00b9f5, #b4edff); }
.child-progress-second .course-progress > span { width: 34%; }
.dashboard-row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 14px; border: 1px solid #133581; border-radius: 12px; margin-top: 7px; background: linear-gradient(100deg, #0a287e, #102764); font-size: .95rem; font-weight: 500; }
.dashboard-row > .icon:first-child { color: #ffcf47; }
.dashboard-row > .icon:last-child { width: 18px; height: 18px; margin-left: auto; }
.dashboard-row-track { width: 29%; height: 8px; margin-left: auto; background: #20357d; border-radius: 20px; position: relative; }
.dashboard-row-track::before { content: ''; display: block; width: 65%; height: 100%; border-radius: inherit; background: #c5edff; }
.dashboard-note { color: #a6c5e7; font-size: .82rem; line-height: 1.4; margin-top: 12px; }
.parent-preview figcaption { text-align: center; color: #b4c4ff; font-size: 10px; margin-top: 8px; }
.home-page .launch-signup { background: radial-gradient(ellipse at 0% 0%, #06a6e477, transparent 55%), radial-gradient(ellipse at 100% 100%, #aa38d955, transparent 65%), linear-gradient(115deg, #182b9b, #47219a); border-top-color: #bca1ff; }
.home-page .launch-form { border-color: #d7c6fb; box-shadow: 0 18px 48px #180f6238, inset 0 1px 0 #fff; }
.home-page .launch-submit { background: linear-gradient(110deg, #163cf0, #762adc); border-color: #6234d7; }
[data-home-motion-zone] { --home-motion-state: paused; }
.home-page[data-motion='running'] [data-home-motion-zone].is-in-view { --home-motion-state: running; }
.home-page[data-motion='running'] .home-arrive { animation: home-arrive 560ms cubic-bezier(.2,.7,.2,1) both; }
.home-page[data-motion='paused'] *, .home-page[data-motion='paused'] *::before, .home-page[data-motion='paused'] *::after { animation-play-state: paused !important; }
@keyframes home-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes home-aura { 0%, 100% { transform: scale(.96); opacity: .65; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes home-orbit { 0%, 100% { transform: rotate(-24deg) translateY(0); } 50% { transform: rotate(-20deg) translateY(16px); } }
@keyframes home-arrive { from { opacity: .72; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .class-button:hover { transform: translateY(-2px); }
  .subject-card:hover { transform: translateY(-4px); }
  .subject-card:hover .subject-symbol { transform: rotate(-7deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 1100px) {
  .subjects-section { width: calc(100% - 64px); }
  .subject-symbol { width: 34px; height: 34px; border-radius: 10px; }
  .subject-card .icon { width: 24px; height: 24px; }
  .hero-copy .eyebrow { margin-bottom: 22px; }
  .hero-intro { margin-top: 24px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .button { padding-inline: 16px; gap: 10px; }
  .class-groups { max-width: 555px; }
  .class-group { grid-template-columns: 100px 1fr; gap: 12px; }
  .class-options { gap: 10px; }
  .classes-section { padding-bottom: 4px; }
  .journey-section { padding-top: 22px; padding-bottom: 20px; }
  .parents-inner { padding: 16px 30px; }
  .parents-copy { padding-right: 14px; }
  .parents-copy h2 { margin-bottom: 18px; }
  .parents-copy > p { margin-top: 10px; font-size: 13px; line-height: 1.55; }
  .parents-copy .button { margin-top: 20px; min-height: 48px; }
  .parent-dashboard { padding: 14px 20px 10px; }
  .child-progress { gap: 14px; margin-bottom: 10px; }
  .course-topline { gap: 12px; }
  .course-awards { gap: 4px; }
  .dashboard-row { padding: 10px 12px; min-height: 47px; gap: 10px; }
  .dashboard-row-track { width: 23%; }
  .dashboard-note { font-size: 11px; }
}
@media (min-width: 720px) and (max-width: 819px) {
  .hero { grid-template-columns: 36% 64%; }
  .hero h1 { font-size: 38px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-intro { font-size: 13px; margin-top: 18px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { font-size: 11px; padding-inline: 12px; }
}
@media (max-width: 819px) {
  .subject-card { font-size: 11px; gap: 12px; padding: 12px; }
  .parents-inner { padding: 24px 0; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); }
  .parents-copy { padding-right: 22px; }
  .parents-copy h2 { font-size: 34px; }
  .parents-copy > p { font-size: 13px; }
  .parent-dashboard { padding: 14px 12px 10px; }
  .dashboard-row { font-size: 11px; gap: 8px; }
  .dashboard-row-track { display: none; }
}
@media (max-width: 719px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-copy { padding: 0; text-align: center; transform: none; }
  .hero-copy .eyebrow { margin-bottom: 16px; font-size: 12px; }
  .hero h1 { font-size: clamp(42px, 8vw, 58px); }
  .hero-intro { max-width: 370px; margin: 20px auto 0; padding: 0; font-size: 15px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { font-size: 13px; padding-inline: 22px; }
  .availability { font-size: 11px; margin-bottom: 2px; }
  .hero-art { width: 100%; margin: 16px 0 0; }
  .hero-art figcaption { margin-top: 2px; }
  .classes-section { padding-top: 34px; padding-bottom: 10px; }
  .class-group { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 17px; }
  .class-group h3 { font-size: 15px; }
  .class-options { gap: 8px; }
  .class-button { min-height: 48px; border-radius: 9px; font-size: 14px; padding: 8px 2px; }
  .class-status { margin-top: 14px; min-height: 36px; font-size: 11px; }
  .cloud-decoration { top: 24px; width: 37%; }
  .cloud-left { left: -18px; }
  .cloud-right { right: -18px; }
  .subjects-section { padding-top: 12px; }
  .subjects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .subject-card { min-height: 68px; font-size: 12px; gap: 13px; padding: 12px; }
  .subject-card .icon { width: 24px; height: 24px; }
  .section-note { font-size: 13px; }
  .journey-section { padding-top: 38px; padding-bottom: 32px; }
  .journey-section > h2 { max-width: 360px; margin-inline: auto; font-size: 25px; }
  .journey-steps { grid-template-columns: 1fr; gap: 32px; margin-top: 22px; }
  .journey-step { max-width: 350px; width: 100%; margin-inline: auto; }
  .step-art { height: 215px; object-fit: contain; }
  .journey-step h3 { font-size: 15px; margin-top: 10px; }
  .step-arrow { right: calc(50% - 13px); top: auto; bottom: -32px; transform: rotate(90deg); }
  .step-arrow .icon { width: 26px; height: 26px; }
  .journey-section .section-note { margin: 28px auto 0; max-width: 350px; }
  .parents-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 30px 24px; }
  .parents-copy { padding: 0; max-width: 440px; margin-inline: auto; text-align: center; }
  .parents-copy h2 { font-size: clamp(35px, 7.8vw, 48px); margin-bottom: 24px; }
  .parents-copy > p { font-size: 15px; }
  .parents-copy .button { margin-top: 23px; }
  .parent-preview { width: 100%; max-width: 480px; margin-inline: auto; }
  .parent-dashboard { padding: 18px 20px 14px; }
  .child-progress { gap: 18px; margin-bottom: 14px; }
  .award .icon { width: 26px; height: 26px; }
  .course-progress { height: 8px; }
  .dashboard-row { font-size: 13px; min-height: 48px; }
  .dashboard-note { font-size: 11px; }
}
@media (max-width: 540px) {
  .subjects-section { width: calc(100% - 40px); }
  .section-heading h2 { font-size: 25px; }
  .section-heading p { font-size: 13px; }
  .subject-card { gap: 10px; font-size: 11px; padding: 11px 10px; }
}
@media (max-width: 359px) {
  .class-options { gap: 7px; }
  .hero h1 { font-size: 40px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-intro { font-size: 14px; }
  .subject-card { gap: 7px; font-size: 10px; padding: 10px 8px; }
  .subject-symbol { width: 29px; height: 29px; border-radius: 9px; }
  .subject-card .icon { width: 21px; height: 21px; }
  .parent-dashboard { padding: 14px 12px 12px; }
  .course-topline { gap: 8px; }
  .award .icon { width: 20px; height: 20px; }
}
