.math-page{color:var(--navy)}
.math-page main{overflow:clip}
.math-page figure{margin:0}
.math-wrap{width:calc(100% - 88px);max-width:1240px;margin-inline:auto}
.math-section{padding-block:94px;scroll-margin-top:28px}
.math-page h1,.math-page main h2{letter-spacing:-1.7px;line-height:1.15}
.math-page main h2{font-size:52px;font-weight:700}
.math-page main h3{font-size:21px;line-height:1.4;letter-spacing:-.4px}
.math-page main em{color:var(--pink);font-style:normal}
.math-page main p{color:#566173;line-height:1.75}
.math-page .button{font-family:Poppins,Arial,sans-serif;font-size:14px;font-weight:500;min-height:50px;box-shadow:none;padding:14px 22px}
.math-page .button.primary{color:white}
.math-page .math-outline{border:1px solid #f0c3d5;background:#fff;color:var(--navy)}
.math-page .math-outline:hover{background:#fff2f7}
.math-eyebrow{font-size:12px;font-weight:700;letter-spacing:1.7px;color:var(--pink)!important;margin-bottom:18px;line-height:1.6!important}
.math-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;padding-block:52px 66px}
.math-hero h1{font-size:clamp(42px,4.15vw,59px);margin-bottom:23px}
.math-hero .math-lead{font-size:16px;max-width:565px}
.math-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:27px}
.math-hero .button{font-size:13px;padding-inline:19px}
.math-facts{display:grid;grid-template-columns:repeat(3,1fr);margin:34px 0 0;max-width:490px;padding-top:24px;border-top:1px solid #e2e7ef}
.math-facts>div+div{padding-left:22px;border-left:1px solid #e2e7ef}
.math-facts dt{font-size:21px;font-weight:700;line-height:1.4}
.math-facts dd{margin:4px 0 0;font-size:11px;color:#687285}
.math-hero-visual{position:relative;padding-bottom:34px}
.math-hero-visual>img{width:100%;aspect-ratio:1/1.06;object-fit:cover;object-position:54% center;border-radius:26px 26px 70px 26px}
.math-hero-visual figcaption{position:absolute;right:18px;left:24px;bottom:8px;padding:20px 24px;border-radius:16px;background:white;box-shadow:0 6px 35px #112f5b12;border:1px solid #eff1f5}
.math-hero-visual figcaption strong{display:block;font-size:18px;margin-bottom:4px}
.math-hero-visual figcaption span{font-size:11px;color:#687285}
.math-jump{display:flex;gap:30px;overflow-x:auto;border-block:1px solid #e7ebf1;padding-block:19px;scrollbar-width:thin;scrollbar-color:#f4b5ce transparent}
.math-jump a{font-size:12px;white-space:nowrap;color:#5d6778;font-weight:500}
.math-jump a:hover{color:var(--pink)}
.math-heading{margin-bottom:40px;max-width:800px}
.math-heading>p:last-child:not(.math-eyebrow){font-size:16px;max-width:735px;margin-top:23px}
.math-centered{text-align:center;margin-inline:auto}
.math-centered>p:last-child{margin-inline:auto}
.math-what{padding-top:110px}
.math-what h2{font-size:62px!important}
.math-foundations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px;margin-top:50px;text-align:center}
.math-foundations article{padding:0 14px}
.math-symbol{display:flex;width:max-content;min-width:78px;height:68px;align-items:center;justify-content:center;margin:0 auto 22px;font-weight:700;font-size:27px;letter-spacing:3px;color:var(--pink);background:#fff0f6;border-radius:20px;padding-inline:16px}
.math-foundations p{font-size:14px;margin-top:12px}
.math-foundation-note{font-size:13px;text-align:center;margin-top:40px!important}
.math-early{background:var(--pale);border-block:1px solid #edf1f7}
.math-early-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;margin-top:46px}
.math-early-grid article{border-top:1px solid #d9e2ef;padding-top:23px}
.math-early-grid article>span{font-size:15px;font-weight:700;color:var(--pink)}
.math-early-grid h3{margin-top:13px;font-size:20px!important}
.math-early-grid p{margin-top:12px;font-size:14px}
.math-signs{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:center}
.math-signs figure img{aspect-ratio:1/1.05;object-fit:cover;border-radius:24px;object-position:45% center}
.math-signs figcaption{font-size:11px;color:#6f798a;margin-top:13px}
.math-signs h2{font-size:43px!important}
.math-sign-list{list-style:none;padding:0;margin:28px 0 22px;display:grid;gap:20px}
.math-sign-list li{display:flex;gap:15px;align-items:start}
.math-sign-list li>span{height:34px;width:34px;background:#fff0f6;color:var(--pink);display:grid;place-items:center;border-radius:10px;flex-shrink:0;font-size:20px;font-weight:500}
.math-sign-list h3{font-size:15px!important;letter-spacing:0!important;margin-bottom:5px}
.math-sign-list p{font-size:13px}
.math-text-link{font-weight:500;color:var(--pink);font-size:13px;text-underline-offset:5px;text-decoration:underline}
.math-support{display:flex;justify-content:space-between;align-items:center;gap:30px;background:var(--navy);color:#fff;border-radius:20px;padding:28px 34px;margin-bottom:4px}
.math-support strong{font-size:19px}
.math-support p{color:#dce7f6!important;font-size:13px;max-width:700px;margin-top:6px}
.math-support .button{background:#fff;color:var(--navy);white-space:nowrap;flex-shrink:0}
.math-levels{padding-top:95px}
.math-level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.math-level{border:1px solid #eadce3;border-radius:20px;padding:27px 24px;background:#fff}
.math-level-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.math-step{width:43px;height:43px;display:grid;place-items:center;background:#ffe7f0;color:var(--pink);border-radius:13px;font-size:14px;font-weight:700}
.math-age{font-size:11px;font-weight:500;color:#657388;background:#f1f5fa;padding:7px 11px;border-radius:20px}
.math-level h3{font-size:26px!important;margin-bottom:8px}
.math-level-focus{font-size:13px!important;color:var(--pink)!important;font-weight:500}
.math-level ul{padding-left:18px;margin:23px 0 25px;color:#596575;font-size:13px;line-height:1.8;min-height:118px}
.math-level li+li{margin-top:8px}
.math-level li::marker{color:var(--pink)}
.math-schedule{border-top:1px solid #eee2e7;padding-top:19px}
.math-schedule summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;background:#fff0f6;color:var(--pink);border-radius:25px;padding:12px 17px;font-weight:500;font-size:13px;list-style:none;min-height:45px}
.math-schedule summary::-webkit-details-marker,.math-faq summary::-webkit-details-marker{display:none}
.math-schedule summary>span:last-child{font-size:22px;line-height:1;transition:transform .15s}
.math-schedule[open] summary>span:last-child{transform:rotate(45deg)}
.math-table-scroll{overflow-x:auto;margin-top:18px}
.math-schedule table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}
.math-schedule thead th{padding:8px 0;color:#798293;font-size:10px;font-weight:500}
.math-schedule tbody th,.math-schedule td{padding:12px 0;border-top:1px solid #edf0f4;vertical-align:top}
.math-schedule tbody th{font-size:12px;font-weight:500;width:48%}
.math-schedule th small{display:block;font-size:10px;color:#788294;font-weight:400;margin-top:4px}
.math-schedule td{font-size:11px;color:#526177;line-height:1.6;white-space:nowrap}
.math-schedule td span{display:block;font-size:9px;color:#858c99}
.math-level-register{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-block:9px;color:var(--pink);font-size:12px;font-weight:500}
.math-eligibility{display:flex;align-items:center;gap:15px;background:#f3f7fd;border-radius:14px;margin-top:26px;padding:20px 24px}
.math-eligibility>span{width:32px;height:32px;border-radius:50%;background:#e1edfc;color:var(--blue);display:grid;place-items:center;flex-shrink:0}
.math-eligibility p{font-size:13px;line-height:1.65!important}
.math-eligibility strong{display:block;color:var(--navy)}
.math-schedule-note{font-size:11px!important;margin-top:14px}
.math-testimonial{display:grid;grid-template-columns:1fr 1fr;gap:95px;align-items:center;border-top:1px solid #e7ebf1}
.math-testimonial blockquote{font-size:24px;font-weight:500;line-height:1.65;letter-spacing:-.5px;margin:28px 0 22px}
.math-parent-name{font-weight:700;color:var(--navy)!important;font-size:15px}
.math-parent-label{font-size:12px;margin-top:5px}
.math-testimonial-context{font-size:11px!important;margin-top:17px;max-width:360px}
.math-testimonial .button{margin-top:25px}
.math-testimonial figure img{border-radius:18px;border:1px solid #f1ebdd}
.math-pricing{background:#fff6fa}
.math-fee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1010px;margin-inline:auto}
.math-fee-grid article{border:1px solid #f0d9e3;border-radius:20px;background:#fff;padding:30px}
.math-fee-grid article>span{font-size:13px;font-weight:500}
.math-fee-grid article>p{font-size:43px;font-weight:700;color:var(--navy)!important;line-height:1.2!important;margin:20px 0 14px;letter-spacing:-1.4px}
.math-fee-grid small{font-size:11px;font-weight:400;color:#758093;letter-spacing:0}
.math-fee-grid p small{font-size:12px;color:inherit;margin-left:5px;white-space:nowrap}
.math-fee-grid .math-monthly{background:var(--pink);border-color:var(--pink);color:#fff}
.math-monthly>p,.math-monthly small{color:#fff!important}
.math-pricing-action{text-align:center;margin-top:34px}
.math-pricing-action p{font-size:11px;margin-top:16px}
.math-gallery-section .math-heading{max-width:none}
.math-gallery{max-width:1080px;margin-inline:auto}
.math-gallery-stage{position:relative;overflow:hidden;border-radius:22px;background:#e9eef5}
.math-gallery-stage>img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center;transition:opacity .15s}
.math-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid #ffffff80;background:#fffffff2;color:var(--navy);font-size:35px;line-height:1;display:grid;place-items:center;box-shadow:0 2px 14px #112f5b24}
.math-gallery-arrow:hover{background:#fff}
.math-gallery-arrow.previous{left:20px}.math-gallery-arrow.next{right:20px}
.math-gallery-count{position:absolute;bottom:18px;right:20px;padding:7px 13px;font-size:12px;border-radius:25px;background:#112f5bd9;color:#fff}
.math-gallery-thumbnails{display:flex;overflow-x:auto;gap:12px;padding:15px 1px 10px;scrollbar-width:thin;scrollbar-color:#f4b5ce transparent;scroll-snap-type:x proximity}
.math-gallery-thumb{border:2px solid transparent;border-radius:10px;padding:3px;background:#fff;flex:0 0 125px;scroll-snap-align:start;opacity:.65;transition:opacity .15s,border-color .15s}
.math-gallery-thumb img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:5px}
.math-gallery-thumb[aria-pressed=true]{border-color:var(--pink);opacity:1}
.math-gallery-thumb:hover{opacity:1}
.math-gallery-caption{font-size:11px!important;margin-top:7px}
.math-gallery-action{text-align:center;margin-top:25px}
.math-faq{background:var(--pale)}
.math-faq-list{max-width:860px;margin-inline:auto}
.math-faq-list details{border-bottom:1px solid #dce3ed;padding:19px 0}
.math-faq-list details:first-child{border-top:1px solid #dce3ed}
.math-faq-list summary{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;list-style:none;font-size:15px;font-weight:500}
.math-faq-list summary:after{content:'+';font-size:25px;color:var(--pink);font-weight:400;line-height:1;flex-shrink:0}
.math-faq-list details[open] summary:after{content:'−'}
.math-faq-list details>p{font-size:13px;margin-top:14px;padding-right:42px}
.math-registration{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:start}
.math-registration-intro h2{font-size:46px!important;margin-bottom:25px}
.math-registration-intro>p:not(.math-eyebrow){font-size:15px;max-width:440px}
.math-registration-note{border-left:3px solid var(--pink);padding:2px 0 2px 20px;margin-top:29px}
.math-registration-note strong{font-size:14px}
.math-registration-note p{font-size:12px;margin-top:5px;max-width:365px}
.math-form{padding:28px;border:1px solid #efe1e8;background:#fffbfd;border-radius:20px;display:grid;gap:19px}
.math-form label{display:block;font-size:12px;font-weight:500}
.math-form label>span{color:var(--pink)}
.math-form label>small{font-size:10px;font-weight:400;color:#7d8593}
.math-form input,.math-form select,.math-form textarea{font-family:Poppins,Arial,sans-serif;font-size:13px;display:block;width:100%;border:1px solid #e2e5eb;background:#fff;color:var(--navy);border-radius:9px;padding:11px 12px;margin-top:8px;min-width:0;min-height:44px}
.math-form textarea{resize:vertical;min-height:88px}
.math-form textarea::placeholder{color:#7f8793;font-size:11px}
.math-form select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.math-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.math-form .button{width:100%}
.math-form-note{font-size:10px!important;text-align:center;line-height:1.6!important;margin-top:-7px}
.math-dialog{width:min(1100px,calc(100% - 40px));max-height:92dvh;border:0;border-radius:20px;padding:0;color:var(--navy);box-shadow:0 15px 80px #0004;overscroll-behavior:contain}
.math-dialog::backdrop{background:#07172ddd;backdrop-filter:blur(5px)}
.math-dialog-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;padding:17px 24px;border-bottom:1px solid #e9edf3}
.math-dialog-bar h2{font-size:16px;letter-spacing:0;line-height:1.5}
.math-dialog-bar>button{flex-shrink:0;width:40px;height:40px;border:0;border-radius:50%;background:#f2f5fa;color:var(--navy);font-size:27px;line-height:1}
.math-gallery-dialog{background:#0d203d;color:#fff}
.math-full-photo{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;padding:15px 8px 0;gap:6px}
.math-full-photo img{width:100%;height:min(70dvh,740px);object-fit:contain}
.math-full-photo button{font-size:37px;background:none;border:0;color:#fff;min-height:60px}
.math-dialog-gallery-status{text-align:center;padding:12px;font-size:12px;color:#fff}
.math-testimonial-dialog{max-width:860px}
.math-testimonial-dialog>img{width:100%;height:auto}
.math-review-dialog{max-width:650px}
.math-review-content{padding:25px}
.math-review-content>p{font-size:12px;color:#647185;line-height:1.7}
.math-review-content dl{display:grid;grid-template-columns:125px minmax(0,1fr);font-size:13px;line-height:1.7;gap:11px 18px;margin-block:22px;padding-block:20px;border-block:1px solid #e2e7ef}
.math-review-content dt{color:#788193}.math-review-content dd{margin:0;font-weight:500;overflow-wrap:anywhere;white-space:pre-wrap}
.math-review-content .math-actions{gap:10px}
.math-review-content .button{font-size:12px;padding-inline:17px}
html:has(.math-dialog[open]){overflow:hidden}
@media(min-width:1600px){.math-hero{padding-block:70px 80px}}
@media(max-width:1100px){.math-hero{gap:30px}.math-hero h1{font-size:46px}.math-hero .math-lead{font-size:14px}.math-hero .button{font-size:11px;padding-inline:15px}.math-facts dt{font-size:18px}.math-signs{gap:40px}.math-signs h2{font-size:38px!important}.math-testimonial{gap:50px}.math-level{padding:23px 19px}.math-level-grid{gap:17px}.math-level h3{font-size:23px!important}.math-registration{gap:45px}}
@media(max-width:800px){.math-wrap{width:calc(100% - 48px)}.math-section{padding-block:65px}.math-page main h2{font-size:40px}.math-hero{padding-block:32px 40px;gap:25px}.math-hero h1{font-size:36px;letter-spacing:-1.3px}.math-hero .math-eyebrow{font-size:9px;letter-spacing:1px}.math-hero .math-lead{font-size:12px;line-height:1.7}.math-hero .math-actions{gap:8px;margin-top:20px}.math-hero .button{font-size:10px;min-height:43px;padding:11px 12px}.math-facts{margin-top:23px;padding-top:18px}.math-facts dt{font-size:16px}.math-facts dd{font-size:9px}.math-facts>div+div{padding-left:12px}.math-hero-visual>img{aspect-ratio:3/4;border-radius:20px 20px 45px 20px}.math-hero-visual figcaption{left:13px;right:9px;padding:14px;bottom:13px}.math-hero-visual figcaption strong{font-size:13px}.math-hero-visual figcaption span{font-size:9px;line-height:1.5;display:block}.math-jump{gap:23px;padding-block:16px}.math-jump a{font-size:10px}.math-what h2{font-size:48px!important}.math-foundations{gap:17px;margin-top:36px}.math-foundations article{padding:0}.math-foundations h3{font-size:17px!important}.math-foundations p{font-size:12px}.math-early-grid{gap:24px;margin-top:35px}.math-early-grid h3{font-size:17px!important}.math-early-grid p{font-size:12px}.math-signs{gap:30px}.math-signs h2{font-size:31px!important}.math-sign-list{gap:17px}.math-sign-list h3{font-size:12px!important}.math-sign-list p{font-size:11px}.math-sign-list li{gap:10px}.math-support{padding:24px;gap:23px}.math-support strong{font-size:16px}.math-support p{font-size:11px}.math-support .button{font-size:11px;padding-inline:17px}.math-level-grid{grid-template-columns:1fr;gap:19px}.math-level{padding:25px}.math-level-top{margin-bottom:16px}.math-level h3{font-size:25px!important}.math-level ul{min-height:0;margin-block:18px 22px;font-size:13px}.math-level-focus{font-size:14px!important}.math-schedule summary{font-size:13px}.math-schedule table{font-size:13px}.math-schedule td{font-size:12px}.math-testimonial{gap:35px}.math-testimonial blockquote{font-size:19px}.math-parent-label{font-size:11px}.math-testimonial .button{font-size:11px}.math-fee-grid{gap:13px}.math-fee-grid article{padding:23px 20px}.math-fee-grid article>span{font-size:11px}.math-fee-grid article>p{font-size:34px}.math-fee-grid small{font-size:9px}.math-fee-grid p small{font-size:10px;display:block;margin:5px 0 0}.math-registration{gap:30px}.math-registration-intro h2{font-size:36px!important}.math-registration-intro>p:not(.math-eyebrow){font-size:13px}.math-form{padding:22px}.math-form-pair{grid-template-columns:1fr}.math-gallery-thumb{flex-basis:105px}}
@media(max-width:600px){.math-wrap{width:calc(100% - 40px)}.math-section{padding-block:54px;scroll-margin-top:18px}.math-page main h2{font-size:35px;letter-spacing:-1.2px;line-height:1.2}.math-page main h3{font-size:18px}.math-eyebrow{font-size:10px;letter-spacing:1.4px;margin-bottom:14px}.math-heading{margin-bottom:28px}.math-heading>p:last-child:not(.math-eyebrow){font-size:13px;margin-top:18px}.math-hero{grid-template-columns:1fr;gap:28px;padding-top:29px;padding-bottom:25px}.math-hero .math-eyebrow{font-size:10px;letter-spacing:1.2px}.math-hero h1{font-size:39px;line-height:1.17;margin-bottom:17px;letter-spacing:-1.5px}.math-hero .math-lead{font-size:13px}.math-hero .math-actions{margin-top:22px;flex-wrap:nowrap;gap:8px}.math-hero .button{font-size:10px;padding:12px 13px;min-height:44px}.math-hero .button span{font-size:14px}.math-facts{margin-top:25px;padding-top:20px}.math-facts dt{font-size:18px}.math-facts dd{font-size:9px}.math-facts>div+div{padding-left:18px}.math-hero-visual{padding-bottom:27px}.math-hero-visual>img{aspect-ratio:4/3;object-position:center 50%;border-radius:18px 18px 44px 18px}.math-hero-visual figcaption{left:17px;right:17px;bottom:0;padding:15px 18px;border-radius:12px}.math-hero-visual figcaption strong{font-size:14px}.math-hero-visual figcaption span{font-size:9px}.math-jump{gap:24px;padding-block:17px;width:calc(100% - 40px)}.math-jump a{font-size:10px}.math-what{padding-top:56px}.math-what h2{font-size:42px!important}.math-foundations{grid-template-columns:1fr;gap:30px;text-align:left;margin-top:31px}.math-foundations article{position:relative;padding-left:72px;min-height:60px}.math-symbol{position:absolute;left:0;top:0;margin:0;min-width:54px;width:54px;height:54px;border-radius:15px;font-size:19px;letter-spacing:1px;padding:0}.math-foundations article:nth-child(2) .math-symbol{font-size:14px;letter-spacing:0}.math-foundations h3{font-size:16px!important;letter-spacing:-.3px}.math-foundations p{font-size:12px;margin-top:7px}.math-foundation-note{font-size:11px!important;text-align:left;margin-top:28px!important}.math-early-grid{grid-template-columns:1fr;gap:24px;margin-top:30px}.math-early-grid article{padding-top:20px;display:grid;grid-template-columns:30px 1fr;gap:6px 12px}.math-early-grid article>span{grid-row:1/3;font-size:13px;margin-top:2px}.math-early-grid h3{margin:0;font-size:17px!important}.math-early-grid p{margin:0;font-size:12px}.math-signs{grid-template-columns:1fr;gap:30px}.math-signs figure img{aspect-ratio:4/3;border-radius:18px}.math-signs figcaption{font-size:9px;margin-top:10px}.math-signs h2{font-size:33px!important}.math-sign-list{gap:21px;margin-top:25px}.math-sign-list h3{font-size:13px!important}.math-sign-list p{font-size:12px}.math-sign-list li{gap:13px}.math-sign-list li>span{width:31px;height:31px}.math-support{display:block;padding:25px;border-radius:16px}.math-support strong{font-size:17px}.math-support p{font-size:12px;margin-top:9px}.math-support .button{margin-top:19px;font-size:12px}.math-levels{padding-top:55px}.math-level{padding:23px;border-radius:17px}.math-level-top{margin-bottom:17px}.math-level h3{font-size:26px!important}.math-level-focus{font-size:12px!important}.math-level ul{font-size:12px;line-height:1.8}.math-age{font-size:10px}.math-level-register{font-size:12px}.math-schedule tbody th{font-size:12px}.math-eligibility{padding:18px;gap:12px}.math-eligibility p{font-size:11px}.math-schedule-note{font-size:10px!important}.math-testimonial{grid-template-columns:1fr;gap:28px}.math-testimonial blockquote{font-size:23px;margin-block:22px 18px}.math-testimonial figure{max-width:440px;margin-inline:auto}.math-testimonial-context{font-size:10px!important}.math-testimonial .button{font-size:12px;margin-top:20px}.math-fee-grid{grid-template-columns:1fr;gap:13px}.math-fee-grid article{display:grid;grid-template-columns:1fr auto;gap:5px 15px;align-items:center;padding:22px 23px;border-radius:15px}.math-fee-grid article>span{font-size:12px;grid-column:1;grid-row:1}.math-fee-grid article>small{font-size:9px;grid-column:1;grid-row:2}.math-fee-grid article>p{font-size:32px;grid-column:2;grid-row:1/3;margin:0;text-align:right}.math-fee-grid p small{font-size:10px}.math-pricing-action{margin-top:25px}.math-pricing-action .button{font-size:12px}.math-pricing-action p{font-size:10px;line-height:1.7}.math-gallery-stage{border-radius:16px}.math-gallery-stage>img{aspect-ratio:4/3}.math-gallery-arrow{width:35px;height:35px;font-size:27px}.math-gallery-arrow.previous{left:11px}.math-gallery-arrow.next{right:11px}.math-gallery-count{bottom:12px;right:12px;font-size:10px;padding:5px 10px}.math-gallery-thumbnails{gap:8px;padding-top:12px}.math-gallery-thumb{flex-basis:83px;border-radius:9px;padding:2px}.math-gallery-caption{font-size:10px!important}.math-gallery-action{margin-top:22px}.math-gallery-action .button{font-size:12px}.math-faq-list details{padding-block:18px}.math-faq-list summary{font-size:13px;gap:15px}.math-faq-list details>p{font-size:12px;padding-right:23px}.math-registration{grid-template-columns:1fr;gap:28px}.math-registration-intro h2{font-size:35px!important;margin-bottom:20px}.math-registration-intro>p:not(.math-eyebrow){font-size:13px}.math-registration-note{margin-top:23px}.math-form{padding:22px 20px;gap:18px;border-radius:17px}.math-form input,.math-form select,.math-form textarea{font-size:13px}.math-form-pair{grid-template-columns:1fr 1fr;gap:10px}.math-form-pair label{font-size:11px}.math-form .button{font-size:12px}.math-form-note{font-size:9px!important}.math-dialog{width:calc(100% - 20px);max-height:94dvh;border-radius:14px}.math-dialog-bar{padding:12px 15px;gap:12px}.math-dialog-bar h2{font-size:12px;line-height:1.5}.math-dialog-bar>button{width:34px;height:34px;font-size:24px}.math-full-photo{grid-template-columns:28px minmax(0,1fr) 28px;gap:2px;padding-inline:2px}.math-full-photo img{height:min(65dvh,620px)}.math-full-photo button{font-size:30px}.math-dialog-gallery-status{font-size:10px}.math-review-content{padding:20px}.math-review-content dl{grid-template-columns:95px minmax(0,1fr);gap:10px 12px;font-size:11px}.math-review-content>p{font-size:11px}.math-review-content .math-actions{flex-direction:column}.math-review-content .button{width:100%;font-size:11px}.math-testimonial-dialog>img{height:auto}}
@media(max-width:360px){.math-hero h1{font-size:34px}.math-hero .math-actions{flex-direction:column}.math-hero .button{font-size:11px}.math-facts dt{font-size:16px}.math-facts>div+div{padding-left:12px}.math-page main h2{font-size:31px}.math-what h2{font-size:37px!important}.math-signs h2{font-size:30px!important}.math-form-pair{grid-template-columns:1fr}.math-level{padding:20px}.math-registration-intro h2{font-size:31px!important}}
@media(prefers-reduced-motion:reduce){.math-page *{scroll-behavior:auto!important;transition:none!important}}

/* Keep the original preview sizes with the KCMM black and pink colours. */
.math-hero h1{color:#17151d}
.math-hero h1 em{color:var(--pink)}
.math-hero .math-eyebrow{color:var(--label)!important}

/* Clearer, wider hero actions with the same bold treatment as KCMM. */
.math-hero .math-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;width:100%;max-width:490px}
.math-hero .button{width:100%;min-height:48px;padding:13px 20px;font-size:14px;font-weight:700;text-transform:uppercase;white-space:nowrap}
@media(max-width:1100px){.math-hero .button{font-size:12px;padding-inline:10px}}
@media(max-width:800px) and (min-width:601px){.math-hero .math-actions{grid-template-columns:1fr}.math-hero .button{font-size:13px}}
@media(max-width:600px){.math-hero .math-actions{gap:8px}.math-hero .button{font-size:11px;padding:13px 8px}}
@media(max-width:380px){.math-hero .math-actions{grid-template-columns:1fr}.math-hero .button{font-size:12px;padding-inline:18px}}

.math-hero-visual figcaption{background:#fff5f9;border:1px solid #f2b7cf;box-shadow:0 6px 28px #ec156810}
.math-what{padding-top:80px}
.math-what h2{font-size:66px!important}
.math-what h2 em{display:inline-block;white-space:nowrap}
.math-foundations{gap:22px;align-items:stretch}
.math-foundations article{--foundation-accent:#ec1568;background:#fff3f8;border:1px solid #f3ccdc;border-radius:20px;padding:28px 22px}
.math-foundations article:nth-child(2){--foundation-accent:#136ccd;background:#eff6ff;border-color:#cddff5}
.math-foundations article:nth-child(3){--foundation-accent:#28764d;background:#f0faf4;border-color:#cce6d5}
.math-foundations .math-symbol{background:#fff;color:var(--foundation-accent)}
@media(max-width:800px){.math-what{padding-top:44px}.math-what h2{font-size:54px!important}.math-foundations article{padding:24px 18px}}
@media(max-width:600px){
 .math-what{padding-top:30px}
 .math-what h2{font-size:clamp(28px,9.2vw,50px)!important}
 .math-foundations{gap:14px;margin-top:26px}
 .math-foundations article{padding:20px 18px 20px 82px;border-radius:16px}
 .math-foundations .math-symbol{left:18px;top:20px;width:48px;min-width:48px;height:48px;font-size:18px}
}

.math-sign-list{padding:0 22px;gap:0;background:#fff9fc;border:1px solid #f0cadb;border-radius:18px}
.math-sign-list li{padding:20px 0}
.math-sign-list li+li{border-top:1px solid #efd9e4}
.math-signs .math-signs-cta{min-width:230px;max-width:100%;min-height:48px;font-size:13px;font-weight:700;padding:14px 24px}
@media(max-width:600px){
 .math-sign-list{padding-inline:16px;gap:0;border-radius:16px}
 .math-sign-list li{padding:18px 0}
 .math-signs .math-signs-cta{width:100%;font-size:12px}
}

/* Distinct learning levels with clearer, brighter age badges. */
.math-level{--level-accent:#c90f58;--level-tint:#ffe6f0;--level-border:#f2bfd2;background:#fff3f8;border-color:var(--level-border)}
.math-level:nth-child(2){--level-accent:#1763b6;--level-tint:#e2efff;--level-border:#bcd7f5;background:#eff6ff}
.math-level:nth-child(3){--level-accent:#16734b;--level-tint:#d8f4e6;--level-border:#b8e0cc;background:#edfaf3}
.math-level .math-step{background:var(--level-tint);color:var(--level-accent)}
.math-level .math-age{background:var(--level-accent);color:#fff;font-size:14px;font-weight:700;padding:9px 14px;line-height:1.5;white-space:nowrap}
.math-level .math-level-focus{color:var(--level-accent)!important}
.math-level li::marker{color:var(--level-accent)}
.math-level .math-schedule{border-color:var(--level-border)}
.math-level .math-schedule summary{background:var(--level-tint);color:var(--level-accent)}
.math-level .math-level-register{color:var(--level-accent)}

/* Image-led feedback carousel, following the primary package page. */
.math-feedback{background:#f7fbff}
.math-feedback .math-heading{max-width:900px}
.math-feedback-carousel{position:relative;max-width:752px;margin:0 auto;padding:0 56px;touch-action:pan-y}
.math-feedback-poster{display:block;width:100%;padding:0;border:0;border-radius:24px;background:#fff;overflow:hidden;cursor:zoom-in}
.math-feedback-poster img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.math-feedback-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #f5ccdd;border-radius:50%;background:#fff;color:var(--pink);box-shadow:0 3px 12px #112f5b0c;z-index:1}
.math-feedback-arrow.previous{left:0}.math-feedback-arrow.next{right:0}
.math-feedback-arrow svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.math-feedback-arrow:hover{background:#fff0f6}
.math-feedback-poster:focus-visible,.math-feedback-carousel:focus-visible{outline:3px solid var(--pink);outline-offset:4px}
.math-page .math-feedback-author{margin:17px 0 0;text-align:center;color:var(--navy);font-size:13px;font-weight:600;line-height:1.5}
.math-page .math-feedback-hint{text-align:center;font-size:12px;margin-top:5px;color:#64748b}

/* One Math plan with the same card hierarchy and spacing as KCMM. */
.math-pricing{background:#fff}
.math-plan{max-width:470px;margin:0 auto;padding:30px 30px 25px;border-radius:45px;border:1px solid #eee2e9;box-shadow:0 2px 5px #112f5b16;background:#fff5f9;color:#173b65}
.math-plan-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:26px;border-bottom:1px solid #e8dfe4}
.math-page .math-plan h3{font-size:30px!important;line-height:1.2;letter-spacing:-.7px;margin:0}
.math-plan-frequency{font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;border-radius:22px;background:#fff;padding:8px 12px}
.math-page .math-plan-price{font-weight:800;font-size:50px;line-height:1.2;margin:29px 0 0;letter-spacing:-1px;color:#173b65}
.math-plan-price span{font-weight:700;font-size:16px;letter-spacing:0;margin-left:3px;white-space:nowrap}
.math-page .math-plan-per-class{font-size:13px;font-weight:700;letter-spacing:.3px;color:var(--pink);margin-top:5px}
.math-plan ul{margin:28px 0;padding:0;list-style:none;color:#25212a}
.math-plan li{position:relative;padding-left:30px;font-size:15px;line-height:1.65;margin-bottom:18px}
.math-plan li:before{content:'›';position:absolute;left:0;top:3px;background:#88ba86;color:#fff;border-radius:50%;width:18px;height:18px;line-height:17px;text-align:center;font-size:20px;font-weight:700}
.math-page .math-plan .button{width:100%;border-radius:22px;min-height:46px;font-size:13px;font-weight:600;box-shadow:none;padding:12px 15px;text-align:center}
.math-page .math-plan-note{max-width:470px;margin:18px auto 0;font-size:11px;text-align:center}
@media(max-width:760px){
 .math-feedback-carousel{max-width:640px;padding:0}
 .math-feedback-arrow{width:38px;height:38px}
 .math-feedback-arrow.previous{left:-14px}.math-feedback-arrow.next{right:-14px}
}
@media(max-width:600px){
 .math-signs .math-signs-cta{padding-inline:12px;font-size:12px;line-height:1.6;text-align:center}
 .math-level .math-age{font-size:14px;padding:8px 13px}
 .math-feedback .math-heading{text-align:left}
 .math-feedback .math-heading h2{font-size:32px;letter-spacing:-1px}
 .math-feedback-poster{border-radius:18px}
 .math-feedback-arrow{width:36px;height:36px}
 .math-feedback-arrow svg{width:20px;height:20px}
 .math-page .math-feedback-author{margin-top:13px;font-size:12px}
 .math-page .math-feedback-hint{font-size:11px}
 .math-plan{padding:27px 23px;border-radius:31px}
 .math-plan-header{gap:10px}
 .math-page .math-plan h3{font-size:27px!important}
 .math-plan-frequency{font-size:11px;padding:7px 10px}
 .math-page .math-plan-price{font-size:43px}
 .math-plan-price span{font-size:14px}
 .math-page .math-plan-per-class{font-size:12px}
 .math-plan li{font-size:15px;padding-left:28px}
}
@media(max-width:360px){
 .math-signs .math-signs-cta{font-size:11px;padding-inline:8px}
 .math-feedback .math-heading h2{font-size:29px}
 .math-page .math-plan h3{font-size:23px!important}
 .math-plan-frequency{font-size:10px;padding-inline:8px}
 .math-page .math-plan .button{font-size:11px}
}
