:root{--ink:#151a34;--muted:#596178;--purple:#7651ed;--mint:#62e3c0;--cream:#fbfaf6;--line:#e3e5ed}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--cream)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Space Grotesk',sans-serif;letter-spacing:-.045em}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.container{width:min(1170px,calc(100% - 48px));margin-inline:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:absolute;top:-100px;z-index:100;background:white;padding:12px}.skip-link:focus{top:5px}.site-header{background:#10162a;color:white;position:relative;z-index:10}.header-inner{min-height:84px;display:flex;align-items:center;gap:30px}.logo{display:inline-flex;align-items:center;gap:11px;font:700 23px 'Space Grotesk',sans-serif;letter-spacing:-.05em;white-space:nowrap}.logo-symbol{display:inline-flex;align-items:center;justify-content:center;background:#8260ff;color:#fff;border-radius:12px;width:37px;height:37px;font-size:26px}.logo-symbol span{color:#b6f5ce}.logo-em{color:#ab98ff}.desktop-links{display:flex;gap:28px;margin-left:auto;font-size:14px;color:#d8ddef}.desktop-links a:hover,.footer-links a:hover{color:#b8fbe1}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 22px;border-radius:12px;border:0;font-weight:700;transition:transform .2s,background .2s}.button:hover:not(:disabled){transform:translateY(-2px)}.button-light{background:white;color:#1c2140;font-size:13px}.button-primary{background:#7553ed;color:white}.button-ghost{background:#ffffff1c;color:white;border:1px solid #ffffff40}.mobile-menu-button,.mobile-links{display:none}.hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#12182f 0%,#211950 65%,#152644 100%);color:white}.hero-glow{position:absolute;filter:blur(65px);opacity:.24;border-radius:50%;pointer-events:none}.hero-glow-one{width:500px;height:500px;background:#8064ff;right:-120px;top:-100px}.hero-glow-two{width:350px;height:350px;background:#44d8d2;left:8%;bottom:-260px}.hero-inner{position:relative;display:grid;grid-template-columns:1.08fr 1fr;gap:45px;align-items:center;padding-block:100px 100px}.eyebrow,.section-overline,.join-kicker{font-size:12px;font-weight:800;letter-spacing:.12em}.eyebrow{display:inline-flex;gap:10px;align-items:center;color:#c6e9e3}.eyebrow-pulse,.join-kicker span{width:9px;height:9px;display:inline-block;border-radius:50%;background:#67eabc;box-shadow:0 0 0 6px #67eabc20}.hero h1{font-size:clamp(53px,6.5vw,88px);line-height:1.03;margin:24px 0;max-width:750px}.gradient-text{color:#b6a5ff}.hero-copy>p{font-size:19px;line-height:1.75;color:#d6dbed;max-width:530px}.hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.hero-proof{margin-top:30px;color:#bfcadf;font-size:13px}.tiny-orb{color:#7af3bd}.hero-preview{position:relative;padding:28px 12px}.dashboard-preview{background:#f9fafc;color:#18213b;border:8px solid #ffffff23;border-radius:24px;overflow:hidden;box-shadow:0 30px 90px #070c25a8;transform:rotate(2deg)}.dashboard-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:white;border-bottom:1px solid #e7e7f1;font-weight:800}.dashboard-icon{color:#7453ea}.dashboard-demo{font-size:10px;letter-spacing:.1em;color:#7d849a}.dashboard-content{padding:26px}.dash-greeting,.question-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:#7e69ce}.dash-greeting{display:flex;justify-content:space-between}.dashboard-content h2{font-size:29px;margin:13px 0 25px}.progress-top,.dashboard-bottom{display:flex;justify-content:space-between;align-items:center;font-size:13px}.progress-track{height:9px;background:#e5e7f0;border-radius:99px;margin:10px 0 24px;overflow:hidden}.progress-track span{display:block;background:#7352e8;width:65%;height:100%;border-radius:inherit}.dash-question{background:#efecff;border-radius:15px;padding:22px}.question-equation{font:700 29px 'Space Grotesk';padding:15px 0}.question-answer{display:flex;align-items:center;gap:10px;font-size:13px}.check-bubble{display:grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:#5ebc98;color:white}.dashboard-bottom{margin-top:23px;gap:6px;flex-wrap:wrap}.dash-level{color:#7352e8}.dash-next{font-size:12px}.float-pill{position:absolute;z-index:2;background:#fff;color:#2a2954;box-shadow:0 13px 40px #080b2250;border-radius:99px;padding:12px 17px;font-size:12px;font-weight:800}.float-pill-top{top:4px;right:-20px;transform:rotate(7deg)}.float-pill-bottom{bottom:0;left:-28px;transform:rotate(-6deg)}.sparkle{position:absolute;color:#b1f6d9;font-size:34px}.sparkle-a{left:-8px;top:20%}.sparkle-b{right:0;bottom:12%}.hero-strip{display:flex;justify-content:space-between;gap:20px;color:#aeb7d7;letter-spacing:.1em;font-size:11px;font-weight:700;padding-bottom:23px}.how-section,.practice-section,.faq-section{padding:105px 0}.practice-section{background:#fff}.practice-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.section-overline{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#7655df;margin-bottom:26px}.practice-copy h2,.how-header h2,.roulette-copy h2,.faq-grid h2{font-size:clamp(35px,4.3vw,58px);line-height:1.11}.practice-copy h2 span,.how-header h2 span,.roulette-copy h2 span{color:#7553dc}.practice-copy>p,.how-header>p,.roulette-copy>p{line-height:1.8;color:var(--muted);font-size:17px}.practice-points{display:grid;gap:12px;margin:26px 0;font-weight:700}.practice-note{font-size:12px!important}.lesson-card{border:1px solid #dfdcf2;background:linear-gradient(#f9f8ff,#fff);box-shadow:0 25px 70px #4a3c8220;border-radius:22px;padding:30px}.lesson-top,.lesson-bottom{display:flex;justify-content:space-between;font-size:11px;color:#775dc5;font-weight:800;letter-spacing:.05em;gap:12px}.lesson-topic{color:#687083}.lesson-instruction{font-size:16px;margin-top:30px}.lesson-equation{font:700 clamp(32px,4vw,48px) 'Space Grotesk';margin:15px 0 25px}.lesson-steps{background:#f0edff;border-radius:14px;padding:22px;min-height:147px;line-height:1.6}.lesson-steps p{margin-bottom:8px}.worked-line{font:700 20px 'Space Grotesk';margin:10px 0;color:#4038a5}.lesson-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:19px 0 24px}.lesson-reset{background:none;border:0;color:#514ca0;font-weight:700}.lesson-bottom{display:block;color:#687083;letter-spacing:0}.how-header{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:end}.how-header>p{max-width:380px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:35px}.how-card{position:relative;padding:30px;background:white;border:1px solid var(--line);border-radius:20px;min-height:260px}.how-icon{width:53px;height:53px;display:grid;place-items:center;font-size:25px;font-weight:800;border-radius:16px}.icon-lavender{background:#eee8ff;color:#7750e9}.icon-peach{background:#fff0d9;color:#d88a39}.icon-mint{background:#dff9ed;color:#288d73}.how-index{position:absolute;right:28px;top:30px;color:#c1c3cb}.how-card h3{font-size:24px;margin:34px 0 9px}.how-card p{color:var(--muted);line-height:1.65}.worlds-section{background:#0f162b;color:white;padding:105px 0}.worlds-header{display:grid;grid-template-columns:1.2fr .8fr;gap:80px;align-items:end;margin-bottom:40px}.bright-overline{color:#aaeecc}.worlds-header h2{font-size:clamp(40px,5vw,65px);line-height:1.1}.worlds-header h2 span{color:#b8a9ff}.worlds-intro p{line-height:1.8;color:#c7cee5}.worlds-intro a{color:#98efc5;font-weight:800}.worlds-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.world-card{position:relative;isolation:isolate;background:var(--world-base);border-radius:18px;overflow:hidden;min-height:295px;display:flex;flex-direction:column;border:1px solid #ffffff20;transition:transform .25s}.world-card:hover{transform:translateY(-6px)}.world-scene{height:126px;position:relative;background:radial-gradient(circle at 75% 5%,var(--world-pop),transparent 70%);overflow:hidden}.scene-sun{width:78px;height:78px;position:absolute;border-radius:50%;background:var(--world-pop);opacity:.5;top:14px;right:12px;filter:blur(4px)}.scene-shape{position:absolute;width:160px;height:90px;border-radius:50% 50% 0 0;background:#0002;bottom:-35px}.shape-two{left:80px;bottom:-45px;background:#fff2}.shape-three{left:-45px;bottom:-60px}.scene-emoji{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);font-size:68px;filter:drop-shadow(0 9px 9px #0005)}.scene-particle{position:absolute;color:#ffffffa8}.particle-a{top:22px;left:30px}.particle-b{right:25px;bottom:15px}.world-content{padding:15px;display:flex;flex:1;flex-direction:column;color:var(--world-text)}.world-topline,.world-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:9px;letter-spacing:.08em;font-weight:800}.equal-tag{border:1px solid #ffffff55;border-radius:99px;padding:4px;font-size:8px}.world-body{margin-top:20px;flex:1}.world-kicker{font-size:10px;opacity:.76}.world-body h3{font-size:20px;margin:5px 0 8px}.world-body p{font-size:11px;line-height:1.55;opacity:.87}.world-bottom{margin-top:12px;font-size:10px;letter-spacing:0}.world-mini-icon{font-size:20px}.worlds-footer{display:flex;justify-content:space-between;gap:30px;margin-top:25px;font-size:12px;color:#bec5da}.equal-symbol{font-size:22px;color:#98efc5}.roulette-section{background:#f3f0ff;padding:105px 0}.roulette-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.roulette-steps{display:grid;gap:10px;margin:30px 0}.roulette-steps>div{display:flex;gap:17px;align-items:center;background:#ffffffb0;border:1px solid #e9e4ff;padding:16px;border-radius:13px}.roulette-steps>div>span{color:#7959ed;font-weight:800}.roulette-steps p{margin:0}.roulette-steps small{display:block;color:#697087;margin-top:4px}.demo-disclaimer{font-size:12px!important}.spin-card{background:white;padding:29px;border-radius:25px;box-shadow:0 25px 65px #4b3b9726}.spin-top,.spin-collection-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.spin-eyebrow{font-size:10px;letter-spacing:.12em;color:#7f65df;font-weight:800}.spin-top h3{font-size:26px;margin:5px 0}.xp-count{font-size:13px;color:#7654e7;font-weight:800;background:#eeeaff;padding:11px;border-radius:99px}.wheel-wrap{position:relative;width:min(100%,330px);aspect-ratio:1;margin:25px auto}.wheel{position:absolute;inset:0;border-radius:50%;border:11px solid #27233c;box-shadow:0 14px 25px #12122832;transition:transform 3.8s cubic-bezier(.16,.82,.18,1)}.wheel:after{content:'';position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(#fff5 0deg 1deg,transparent 1deg 36deg);pointer-events:none}.wheel-pointer{position:absolute;z-index:4;left:50%;top:-10px;transform:translateX(-50%);width:0;height:0;border-left:17px solid transparent;border-right:17px solid transparent;border-top:30px solid #161527;filter:drop-shadow(0 2px 1px #fff)}.wheel-icons{position:absolute;inset:0}.wheel-label{position:absolute;top:50%;left:50%;font-size:26px;transform:rotate(var(--angle)) translateY(-112px) rotate(calc(-1 * var(--angle)));margin:-15px}.wheel-label.is-owned{opacity:.5}.wheel-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:66px;height:66px;display:grid;place-items:center;background:#151b31;border:5px solid white;border-radius:50%;font:800 29px 'Space Grotesk';color:white}.spin-result{background:#f4f1ff;color:#504781;border-radius:12px;padding:15px;font-size:13px;text-align:center;min-height:48px}.spin-result.is-winner{background:#e1f9ed;color:#176b50;font-weight:800}.spin-button{width:100%;border:0;background:#7351eb;color:white;border-radius:12px;padding:16px;margin-top:15px;font-weight:800}.spin-controls{display:flex;justify-content:center;gap:12px;margin:13px 0 24px}.spin-controls button{background:none;border:0;color:#665d90;font-size:12px;text-decoration:underline}.spin-collection{border-top:1px solid #e9e7f0;padding-top:20px}.spin-collection-title{font-size:13px}.spin-collection-title span{color:#756e83}.collection-icons{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;margin-top:15px}.collection-item{text-align:center;background:#eeedf3;border-radius:9px;padding:7px 0;font-size:16px}.collection-item.is-owned{background:#e2f6ea}.faq-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:80px}.faq-items details{border-bottom:1px solid #d9d9e2;padding:20px 0}.faq-items summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px;font-weight:800;list-style:none}.faq-items summary::-webkit-details-marker{display:none}.faq-items p{color:var(--muted);line-height:1.7;margin:12px 0 2px}.join-section{background:#121832;color:white;padding:90px 0}.join-panel{position:relative;overflow:hidden;background:radial-gradient(circle at 85% 20%,#7f66e9 0,transparent 47%),linear-gradient(145deg,#302261,#151b3a);border:1px solid #ffffff27;border-radius:28px;text-align:center;padding:80px 30px}.join-content{position:relative;z-index:1;max-width:580px;margin:auto}.join-kicker{color:#b9f7dc}.join-panel h2{font-size:clamp(45px,6vw,72px);line-height:1.1;margin:17px 0}.join-panel h2 span{color:#b7f7d8}.join-panel p{color:#e4e6f6;line-height:1.7}.join-star{position:absolute;font-size:60px;color:#ffffff33}.star-left{top:60px;left:8%}.star-right{right:10%;bottom:60px}.signup-form{margin:28px 0 12px}.signup-row{display:flex;gap:8px;background:white;padding:6px;border-radius:13px}.signup-row input{min-width:0;flex:1;border:0;padding:14px;outline-offset:2px;border-radius:9px}.signup-row button{background:#7554e7;color:white;border:0;border-radius:9px;padding:15px 22px;font-weight:800}.consent-row{display:flex;gap:10px;align-items:flex-start;margin-top:15px;font-size:12px;line-height:1.6;text-align:left;color:#e2e2ee}.consent-row input{accent-color:#7453eb;margin-top:4px}.honeypot{position:absolute;left:-9999px}.join-fine{font-size:12px!important}.join-fine a{text-decoration:underline}.site-footer{background:#0d1428;color:white;padding:42px 0}.footer-content{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.footer-content p{margin:0;font-size:13px;color:#b9c1d4}.footer-links{display:flex;gap:18px;margin-left:auto;font-size:13px;color:#d0d4e1}.footer-copyright{width:100%;font-size:12px;color:#a7b0c3}.reveal{opacity:1}.mobile-links[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #3fbda7;outline-offset:3px}
@media(max-width:1050px){.worlds-grid{grid-template-columns:repeat(3,1fr)}.hero-inner{gap:22px}.roulette-grid{gap:35px}}@media(max-width:760px){.container{width:min(100% - 32px,590px)}.header-inner{min-height:70px}.desktop-links,.header-join{display:none}.mobile-menu-button{display:grid;gap:4px;margin-left:auto;background:transparent;border:0;padding:10px}.mobile-menu-button span{width:24px;height:2px;background:white}.mobile-links:not([hidden]){display:grid;padding:12px 25px 25px;gap:15px;background:#11172d}.hero-inner,.practice-layout,.how-header,.worlds-header,.roulette-grid,.faq-grid{grid-template-columns:1fr;gap:27px}.hero-inner{padding:70px 0 55px}.hero h1{font-size:clamp(49px,12vw,72px)}.hero-copy>p{font-size:16px}.hero-preview{max-width:500px;margin:auto;width:100%}.float-pill-top{right:0}.float-pill-bottom{left:0}.hero-strip{font-size:9px}.how-section,.practice-section,.worlds-section,.roulette-section,.faq-section{padding:70px 0}.how-grid{grid-template-columns:1fr}.how-card{min-height:0}.worlds-grid{grid-template-columns:repeat(2,1fr);gap:12px}.world-card{min-height:280px}.worlds-footer{flex-wrap:wrap}.lesson-card,.spin-card{padding:20px}.join-panel{padding:65px 20px}.footer-links{margin-left:0}.signup-row button{padding:10px 13px}.signup-row input{padding:10px}.wheel-wrap{width:min(100%,290px)}.wheel-label{transform:rotate(var(--angle)) translateY(-96px) rotate(calc(-1 * var(--angle)))}}@media(max-width:400px){.worlds-grid{grid-template-columns:1fr 1fr}.world-body h3{font-size:17px}.equal-tag{font-size:7px}.logo{font-size:20px}.hero-buttons .button{width:100%}.signup-row{flex-direction:column}.signup-row button{min-height:46px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}


/* Shared, fully styled interior pages: matches the public XplainMaths header, logo and footer. */
.interior-hero{background:radial-gradient(circle at 83% 20%,#463a8b77,transparent 47%),linear-gradient(140deg,#12182f 0%,#211950 75%,#152644 100%);color:#fff;overflow:hidden}
.interior-hero-inner{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:70px;padding-block:105px 112px}
.interior-kicker{font-size:12px;letter-spacing:.14em;font-weight:800;color:#c8f2dd;display:flex;gap:11px;align-items:center}
.interior-kicker-dot{width:9px;height:9px;background:#67eabc;box-shadow:0 0 0 6px #67eabc20;border-radius:50%;display:inline-block}
.interior-success-check{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:#102537;background:#88eabf;font-size:25px;font-weight:800;margin:28px 0 -8px;box-shadow:0 12px 35px #0003}
.interior-hero-copy h1{font-size:clamp(45px,5.7vw,77px);line-height:1.09;margin:25px 0;max-width:800px;color:#fff}
.interior-hero-copy h1 span{color:#b6a5ff}
.interior-hero-copy>p{font-size:18px;line-height:1.8;color:#d6dbed;max-width:530px}
.interior-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.interior-lesson-preview{background:#f9fafc;color:#18213b;border:8px solid #ffffff26;border-radius:24px;padding:30px 29px;box-shadow:0 30px 80px #070c2580;transform:rotate(2deg)}
.interior-lesson-label{font-size:11px;font-weight:800;letter-spacing:.065em;color:#6760a1;display:flex;gap:10px;align-items:center}
.interior-lesson-question{font:700 clamp(29px,3.4vw,42px) 'Space Grotesk',sans-serif;letter-spacing:-.055em;padding:27px 0 22px}
.interior-lesson-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid #e7e8ef}
.interior-step-number{font:800 12px 'DM Sans',sans-serif;background:#ebe6ff;color:#7651ed;width:29px;height:29px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}
.interior-lesson-row>div{display:flex;flex-direction:column;gap:5px;flex:1}
.interior-lesson-row strong{font-size:13px}
.interior-lesson-row>div span{font:700 18px 'Space Grotesk',sans-serif;color:#6550b7}
.interior-step-tick{color:#24865f}
.interior-lesson-footer{display:flex;align-items:center;justify-content:space-between;background:#efeafd;border-radius:10px;padding:12px;margin-top:14px;font-weight:700;font-size:12px;color:#5d489a}
.interior-follow-up{padding:83px 0 95px;background:#fff}
.interior-follow-inner{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center}
.interior-follow-inner h2{font-size:clamp(34px,4.4vw,55px);line-height:1.12}
.interior-follow-inner h2 span{color:#7553dc}
.interior-follow-inner>p{font-size:17px;line-height:1.75;color:var(--muted)}
.interior-hero--compact .interior-hero-inner{padding-block:80px}
.interior-hero--compact .interior-hero-copy h1{margin-bottom:22px}
.privacy-sidecard{background:#f8f7ff;color:#18213b;border-radius:22px;padding:34px;max-width:390px;justify-self:end;box-shadow:0 20px 60px #0004}
.privacy-sidecard-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#e8e1ff;color:#7553dc;font-size:28px;margin-bottom:22px}
.privacy-sidecard strong{font:700 23px 'Space Grotesk',sans-serif;letter-spacing:-.04em}
.privacy-sidecard p{margin-top:14px;color:#616783;font-size:15px;line-height:1.7}
.privacy-sidecard a{color:#6047c4;font-weight:700;font-size:14px;overflow-wrap:anywhere}
.legal-section{padding:66px 0 110px;background:#fff}
.legal-article{max-width:850px;font-size:16px;line-height:1.85;color:#40495f}
.legal-article>h2{font-size:clamp(23px,3vw,29px);color:#18213b;letter-spacing:-.035em;margin:37px 0 10px}
.legal-article>p{margin-bottom:14px}
.legal-article a:not(.button){color:#6750cd;text-decoration:underline;text-underline-offset:3px}
.legal-date{color:#686e82;font-size:13px;border-bottom:1px solid #e3e5ed;padding-bottom:19px;margin-bottom:28px!important}
.legal-back{border-top:1px solid #e3e5ed;margin-top:48px;padding-top:30px}
@media(max-width:850px){.interior-hero-inner,.interior-follow-inner{grid-template-columns:1fr;gap:34px}.interior-hero-inner{padding-block:68px 84px}.interior-lesson-preview{max-width:530px;margin:0 auto;width:100%}.privacy-sidecard{justify-self:start;max-width:550px}.interior-follow-up{padding:60px 0}.interior-hero--compact .interior-hero-inner{padding-block:65px}.legal-section{padding:45px 0 80px}}
@media(max-width:480px){.interior-hero-copy h1{font-size:clamp(43px,11vw,59px)}.interior-hero-copy>p{font-size:16px}.interior-actions .button{width:100%}.interior-lesson-preview{padding:20px;transform:none}.privacy-sidecard{padding:25px}.legal-article{font-size:15px}}

/* Waitlist submission, duplicate and error states — matched to XplainMaths */
.waitlist-status{max-width:600px;margin:14px auto 8px;text-align:left;border-radius:13px;padding:15px 18px;font-size:14px;line-height:1.55;background:#fff;color:#212640;box-shadow:0 10px 26px #05091825;border-left:4px solid #7957ee}
.waitlist-status[hidden]{display:none!important}
.waitlist-status--duplicate{border-left-color:#8e72e9;background:#f4f0ff}
.waitlist-status--error{border-left-color:#ff805f;background:#fff3ee}
.waitlist-status--sending{border-left-color:#60bfab;background:#effdf8}
.waitlist-status strong{display:block;margin-bottom:3px;color:#1b2141}
.waitlist-status a{text-decoration:underline;color:#5440c0;font-weight:700}


/* AI tutor first: interactive learning preview */
.mini-tutor-bubble{display:flex;align-items:flex-start;gap:11px;background:#fff;border:1px solid #e5defe;border-radius:13px;padding:13px;margin-top:5px}
.mini-avatar,.tutor-message-avatar{display:grid;place-items:center;flex:none;color:#fff;background:linear-gradient(135deg,#7553ed,#9a6cf5);width:29px;height:29px;border-radius:9px;font-size:18px}
.mini-tutor-bubble p{margin:0;font-size:12px;line-height:1.5;color:#41425d}
.mini-tutor-bubble strong{color:#6350be;font-size:11px}
.mini-tutor-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}
.mini-tutor-actions span{background:#fff;border:1px solid #e4dffb;border-radius:8px;padding:7px 9px;font-weight:700;font-size:10px;color:#6756b2}
.tutor-demo{box-shadow:0 25px 70px #4a3c8220;padding:25px}
.tutor-online-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#43bd96;margin-right:6px}
.tutor-question-label{margin-top:23px;font-size:14px;color:#5c637a}
.tutor-demo .lesson-equation{margin:9px 0 19px;font-size:clamp(33px,3.6vw,43px)}
.tutor-mode-label{font-weight:800;font-size:13px;margin-bottom:11px;color:#404566}
.tutor-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;border:1px solid #ded9f6;background:#f1effb;border-radius:13px;padding:5px}
.tutor-mode{border:0;background:transparent;color:#5b5878;font-weight:800;font-size:12px;min-height:43px;border-radius:10px;padding:6px 4px;transition:background .2s,color .2s}
.tutor-mode.is-active{background:#fff;color:#5e42c9;box-shadow:0 2px 8px #332f7521}
.tutor-panel{margin-top:17px;min-height:240px}
.tutor-message{display:flex;gap:12px;align-items:flex-start;background:#f0ecff;border:1px solid #e6e1ff;padding:16px;border-radius:14px 14px 14px 4px}
.tutor-message>div{flex:1;min-width:0}
.tutor-message strong{color:#5843b7;font-size:12px}
.tutor-message p{margin:7px 0 0;line-height:1.65;font-size:14px;color:#33344f}
.tutor-message p strong{font-size:inherit}
.tutor-choices{display:grid;gap:9px;margin-top:13px}
.tutor-choices button{border:1px solid #dcd6f0;background:white;border-radius:11px;min-height:43px;text-align:left;padding:10px 14px;color:#363559;font-weight:700;font-size:13px}
.tutor-choices button:hover{border-color:#896cf1;background:#f9f7ff}
.tutor-choices button:focus-visible{outline-offset:2px}
.tutor-feedback{color:#784f33;background:#fff6e9;border:1px solid #ffe3bb;border-radius:9px;padding:10px 12px;font-size:13px;margin:10px 0 0;line-height:1.55}
.tutor-success{padding:12px;background:#e5faef;color:#1e7655;border-radius:11px;margin-top:14px;font-size:13px;font-weight:700}
.tutor-primary-action{background:#7651ed;color:white;border:0;border-radius:11px;padding:12px 17px;font-weight:800;margin:14px 0 0}
.tutor-switch-tip{background:#fff;padding:13px;border-radius:10px;border:1px dashed #c5b8f3;color:#66558d;font-size:12px;margin-top:14px;line-height:1.6}
.tutor-solution{margin:15px 0 0;padding:0;list-style:none;counter-reset:solution}
.tutor-solution li{counter-increment:solution;margin:10px 0;background:white;border:1px solid #e6e0f7;border-radius:10px;padding:13px 14px 13px 42px;position:relative;font-size:13px}
.tutor-solution li::before{content:counter(solution);position:absolute;top:12px;left:12px;width:22px;height:22px;border-radius:7px;background:#eae5ff;color:#7053d9;display:grid;place-items:center;font-weight:800}
.tutor-solution li strong{display:block;color:#313455;font-size:13px}
.tutor-solution li span{display:block;padding-top:5px;font-family:'Space Grotesk',sans-serif;color:#5742a9;font-weight:700}
.tutor-demo-bottom{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid #e8e3f8;padding-top:15px;font-size:11px;font-weight:700;color:#6d668c}
.tutor-demo-bottom button{font-size:12px;white-space:nowrap}
@media(max-width:470px){.tutor-demo{padding:17px}.tutor-mode{font-size:11px;padding:7px 2px}.tutor-panel{min-height:260px}.tutor-choices button{min-height:46px}.mini-tutor-actions span{font-size:9px}.dashboard-content{padding:17px}.dash-question{padding:16px}.dashboard-head{padding:12px}}


/* Interactive learning challenge — gameplay is secondary to maths. */
:root{--active-world-base:#12182f;--active-world-pop:#8260ff;--active-world-ink:#fff}
body{transition:background-color .55s ease}
body.has-unlocked-world .site-header{background:color-mix(in srgb,var(--active-world-base),#000 23%);transition:background .6s ease}
body.has-unlocked-world .hero{background:radial-gradient(circle at 82% 19%,color-mix(in srgb,var(--active-world-pop),transparent 68%) 0%,transparent 47%),linear-gradient(135deg,color-mix(in srgb,var(--active-world-base),#000 22%),var(--active-world-base) 63%,color-mix(in srgb,var(--active-world-base),var(--active-world-pop) 20%));transition:background .65s ease}
body.has-unlocked-world .hero-glow-one{background:var(--active-world-pop)}
body.has-unlocked-world .hero-glow-two{background:var(--active-world-pop);opacity:.16}
body.has-unlocked-world .logo-symbol{background:var(--active-world-pop);color:#14223a}
body.has-unlocked-world .logo-symbol span{color:#14223a}
body.has-unlocked-world .logo-em{color:var(--active-world-pop)}
body.has-unlocked-world .gradient-text{background:linear-gradient(120deg,#fff,var(--active-world-pop));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body.has-unlocked-world .button-primary{background:var(--active-world-pop);color:#10172b}
body.has-unlocked-world .hero-proof .tiny-orb{color:var(--active-world-pop)}
body.has-unlocked-world .practice-copy h2 span,body.has-unlocked-world .how-header h2 span,body.has-unlocked-world .roulette-copy h2 span{color:color-mix(in srgb,var(--active-world-base),#7354e4 42%)}
body.has-unlocked-world .how-icon{box-shadow:0 0 0 2px color-mix(in srgb,var(--active-world-pop),transparent 65%)}
body.has-unlocked-world .roulette-section{background:linear-gradient(132deg,color-mix(in srgb,var(--active-world-pop),#fff 89%),#fff 64%,color-mix(in srgb,var(--active-world-base),#fff 94%))}
body.has-unlocked-world .spin-button{background:var(--active-world-base);color:#fff}
body.has-unlocked-world .worlds-section{background:linear-gradient(135deg,color-mix(in srgb,var(--active-world-base),#000 30%),#0e1629 70%)}
body.has-unlocked-world .join-section{background:color-mix(in srgb,var(--active-world-base),#000 38%)}
body.has-unlocked-world .join-panel{background:radial-gradient(circle at 90% 15%,color-mix(in srgb,var(--active-world-pop),transparent 58%),transparent 48%),linear-gradient(135deg,var(--active-world-base),#111a32)}
body.has-unlocked-world .site-footer{background:color-mix(in srgb,var(--active-world-base),#000 45%)}
.world-atmosphere{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden;opacity:0;transition:opacity .65s ease}
body.has-unlocked-world .world-atmosphere{opacity:1}
.world-atmosphere span{position:absolute;filter:drop-shadow(0 13px 20px #0005);animation:drift 7s ease-in-out infinite alternate}
.atmosphere-a{top:19%;right:8%;font-size:105px;transform:rotate(13deg);opacity:.35}
.atmosphere-b{top:62%;right:49%;font-size:64px;animation-delay:-2s!important;opacity:.25}
.atmosphere-c{bottom:9%;right:25%;font-size:82px;animation-delay:-4s!important;opacity:.30}
@keyframes drift{from{translate:0 0}to{translate:12px -28px}}
.world-now{margin-top:21px;display:inline-flex;gap:12px;align-items:center;border:1px solid #ffffff42;padding:10px 13px;border-radius:12px;background:#ffffff14;backdrop-filter:blur(8px);font-size:13px;font-weight:700}
.world-now[hidden]{display:none}
.world-now>a{color:var(--active-world-pop);font-size:12px;margin-left:6px}
.challenge-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}
.challenge-progress-label{font-size:10px;font-weight:800;letter-spacing:.12em;color:#8277a1}
.challenge-dots{display:flex;gap:7px}
.challenge-dots span{display:block;width:54px;height:9px;border-radius:99px;background:#ebe6f4;transition:background .3s}
.challenge-dots span.is-filled{background:linear-gradient(90deg,#71d6ae,#775be6)}
.challenge-question{background:#f8f6ff;border:1px solid #e9e3ff;border-radius:18px;padding:20px;margin-top:20px}
.question-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;font-weight:800;letter-spacing:.07em;color:#7565ad}
.question-reward{color:#467e66;background:#e7f8ed;border-radius:99px;padding:7px 10px;white-space:nowrap;letter-spacing:0}
.challenge-prompt{font:700 clamp(19px,2.3vw,25px)/1.36 'Space Grotesk',sans-serif;color:#202442;letter-spacing:-.035em;margin:19px 0}
.challenge-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.challenge-option{display:flex;align-items:center;gap:8px;border:1px solid #dcd5ef;border-radius:12px;background:#fff;color:#1e2741;font-weight:800;min-height:52px;padding:9px;justify-content:center;cursor:pointer;transition:background .15s,transform .15s}
.challenge-option:hover:not(:disabled){transform:translateY(-2px);border-color:#8069f3;background:#fefcff}
.challenge-option:disabled{cursor:default}
.challenge-option.is-correct{background:#e0f8eb;border-color:#61bd8a;color:#226647}
.challenge-option.is-incorrect{background:#fff0e9;border-color:#ed9a7a;color:#a64b32}
.option-letter{display:grid;place-items:center;background:#f2edff;color:#7864b4;border-radius:7px;font:800 10px 'DM Sans',sans-serif;width:22px;height:22px;flex:none}
.option-tick{font-weight:900}
.challenge-feedback{border-radius:12px;margin-top:14px;padding:12px 14px;font-size:13px;line-height:1.65}
.challenge-feedback[hidden],.challenge-next[hidden],.spin-available[hidden],.unlock-overlay[hidden]{display:none!important}
.challenge-feedback.correct{background:#e6fbef;color:#256345;border:1px solid #b1e6cb}
.challenge-feedback.incorrect{background:#fff3ea;color:#734632;border:1px solid #ffd4bb}
.challenge-feedback strong{display:block;margin-bottom:3px}
.challenge-feedback p{margin:0}
.challenge-next{width:100%;background:white;border:1px solid #b6a4ec;border-radius:10px;color:#5d3cc5;padding:13px;margin-top:13px;font-weight:800}
.challenge-next:hover{background:#f3eaff}
.spin-available{border-radius:12px;background:#e8fbef;color:#23694b;padding:12px 14px;margin-top:17px;font-size:13px;font-weight:800;text-align:center}
.spin-available>span{margin-right:5px}
.spin-card .wheel-wrap{margin:17px auto 12px;width:min(100%,270px)}
.spin-card .wheel-label{transform:rotate(var(--angle)) translateY(-91px) rotate(calc(-1 * var(--angle)))}
.spin-button{margin-top:10px;min-height:50px}
.spin-button:disabled{background:#dcd9e7;color:#6e6c7f;cursor:not-allowed;opacity:1}
.spin-result{min-height:39px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px}
.spin-collection{margin-top:19px}
.collection-icons{gap:6px}
.collection-item{border:2px solid transparent;display:grid;place-items:center;padding:7px 0;min-height:39px;cursor:pointer;font-size:17px}
.collection-item.is-owned{background:#e1f7eb}
.collection-item.is-selected{border-color:#7155ed;box-shadow:0 0 0 2px #7656ee25}
.collection-item.is-locked{filter:grayscale(1);opacity:.6;cursor:not-allowed}
.collection-note{font-size:11px;color:#73718a;line-height:1.55;margin:12px 0 0}
.challenge-done{text-align:center;padding:20px 0;color:#252743}
.challenge-done>span{font-size:43px}
.challenge-done h4{font:800 23px 'Space Grotesk',sans-serif;margin:10px 0}
.challenge-done p{font-size:14px;line-height:1.7;color:#6d7083;margin:0}
.unlock-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--overlay-pop),transparent 64%),transparent 65%),var(--overlay-base);color:white;animation:unlockIn 1.7s ease both;pointer-events:none;overflow:hidden}
.unlock-core{display:flex;flex-direction:column;text-align:center;gap:10px;align-items:center;z-index:1;padding:24px}
.unlock-emoji{font-size:clamp(70px,18vw,140px);filter:drop-shadow(0 13px 24px #0005);animation:unlockFloat 1.7s ease-in-out}
.unlock-kicker{font-size:12px;letter-spacing:.25em;font-weight:800;color:var(--overlay-pop)}
.unlock-core strong{font:800 clamp(35px,7vw,70px)/1.05 'Space Grotesk',sans-serif;letter-spacing:-.065em}
.unlock-core small{font-size:15px;color:#ffffffd8}
.unlock-burst span{position:absolute;font-size:clamp(30px,7vw,80px);color:var(--overlay-pop);animation:burst 1.7s ease-out both}
.unlock-burst span:nth-child(1){top:21%;left:22%}.unlock-burst span:nth-child(2){top:12%;right:23%;animation-delay:.12s}.unlock-burst span:nth-child(3){bottom:19%;left:15%;animation-delay:.2s}.unlock-burst span:nth-child(4){bottom:15%;right:21%;animation-delay:.07s}
@keyframes unlockIn{0%{opacity:0}17%,80%{opacity:1}100%{opacity:0}}
@keyframes unlockFloat{0%{transform:scale(.25) rotate(-30deg);opacity:0}45%{transform:scale(1.15) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0)}}
@keyframes burst{0%{transform:translateY(40px) scale(.5);opacity:0}40%{opacity:1}100%{transform:translateY(-30px) scale(1.5);opacity:0}}
@media(max-width:700px){.challenge-question{padding:14px}.challenge-option{flex-wrap:wrap;gap:4px}.spin-card .wheel-label{transform:rotate(var(--angle)) translateY(-91px) rotate(calc(-1 * var(--angle)))}.world-atmosphere span{opacity:.17}.atmosphere-a{right:1%}.world-now{font-size:11px}.roulette-grid{gap:37px}.unlock-core small{font-size:13px}}
@media(max-width:410px){.question-meta{flex-wrap:wrap}.challenge-options{gap:5px}.challenge-option{padding:6px;min-height:50px}.challenge-progress .challenge-dots span{width:32px}}
@media(prefers-reduced-motion:reduce){.world-atmosphere span,.unlock-overlay,.unlock-emoji,.unlock-burst span{animation:none!important}.unlock-overlay{opacity:1}}



/* XplainMaths cinematic one-page scroll experience. Native scrolling, no scroll hijacking. */
html{scroll-padding-top:86px}body{overflow-x:clip}::selection{background:#b5a3ff;color:#10162a}
.scroll-track{position:fixed;z-index:180;left:0;right:0;top:0;height:3px;pointer-events:none;background:#ffffff14}
.scroll-track>span{height:100%;display:block;width:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#70ecc4,#9678ff,#ffd68a);will-change:transform}
.site-header{position:sticky;top:0;z-index:90;backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);box-shadow:0 6px 25px #060c230f}
.hero{isolation:isolate;min-height:calc(94svh - 84px)}.hero-inner{min-height:calc(94svh - 130px)}
.hero-preview{transform:translate3d(0,var(--hero-float,0px),0);will-change:transform}
.hero-glow-one{transform:translate3d(0,var(--hero-back-shift,0px),0)}
.hero h1{letter-spacing:-.066em;text-wrap:balance}.hero-copy>p{max-width:570px}
/* Story chapter: 3 x viewport of native scroll, one sticky cinematic frame. */
.story-scroll{position:relative;height:330svh;background:#090f26;color:white;isolation:isolate}
.story-sticky{position:sticky;top:0;height:100svh;min-height:650px;overflow:hidden;display:flex;align-items:center;background:radial-gradient(ellipse at calc(62% + var(--story-x,0px)) 46%,color-mix(in srgb,var(--active-world-pop),#5851c5 55%) 0%,transparent 39%),linear-gradient(145deg,#0b1232,#171344 55%,#080f25);transition:background-color .6s}
.story-sticky:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#080d23aa,transparent 65%);pointer-events:none}
.story-aura{position:absolute;inset:0;pointer-events:none;transform:translateY(var(--story-aura-offset,0px))}
.aura-orbit{position:absolute;border:1px solid #ffffff2c;border-radius:50%;width:630px;aspect-ratio:1;top:50%;left:68%;transform:translate(-50%,-50%) scale(var(--aura-scale,1))}
.aura-two{width:875px;border-color:#ffffff11}.aura-spark{position:absolute;font-size:45px;color:#aaf6d9;filter:drop-shadow(0 0 15px #90e9cd);animation:cinematicSpark 5s ease-in-out infinite alternate}.spark-one{right:10%;top:23%}.spark-two{right:46%;bottom:16%;animation-delay:-2s}.spark-three{right:28%;bottom:11%;animation-delay:-1s}
@keyframes cinematicSpark{to{transform:translateY(-25px) rotate(25deg);opacity:.4}}
.story-frame{position:relative;z-index:2;display:flex;flex-direction:column;min-height:min(800px,92svh);justify-content:space-between}
.story-overline,.story-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.17em;color:#b5bfd9;font-weight:800}
.story-overline{padding-top:22px}.story-bottom{padding-bottom:22px;justify-content:space-between}.story-progress{width:38%;height:2px;background:#ffffff26;overflow:hidden;border-radius:10px}.story-progress>span{width:100%;height:100%;background:#8aeece;display:block;transform:scaleX(0);transform-origin:left}
.story-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:56px;flex:1;min-height:0}
.story-headlines{position:relative;min-height:490px}.story-beat{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;transform:translateY(44px) scale(.98);transition:opacity .6s ease,transform .65s cubic-bezier(.23,1,.32,1),visibility .6s}
.story-beat.is-active{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.story-chapter{font-size:12px;font-weight:800;letter-spacing:.16em;color:#8debc7}.story-beat h2{font-size:clamp(47px,5.25vw,84px);line-height:1.02;letter-spacing:-.077em;margin:23px 0 22px;text-wrap:balance}.story-beat h2 em{font-style:normal;color:#d2c2ff}.story-beat h2 em span{color:#a0f3cb}.story-beat p{font-size:clamp(16px,1.4vw,20px);line-height:1.7;color:#cbd4e9;max-width:470px}
.story-device{--tilt:0deg;position:relative;isolation:isolate;background:#fdfcff;color:#202540;border:7px solid #ffffff36;border-radius:30px;padding:26px;box-shadow:0 38px 95px #0009,0 0 85px #9f76ff4b;transform:perspective(1100px) rotateY(calc(-11deg + var(--tilt))) rotateZ(-2deg) translateY(var(--device-shift,0px)) scale(var(--device-scale,1));transition:transform .6s ease,box-shadow .5s;max-width:485px;margin:auto;width:100%}
.story-device:before{content:"";position:absolute;z-index:-1;inset:-18px;border:1px solid #ffffff37;border-radius:39px}
.device-nav,.device-context,.device-progress{display:flex;justify-content:space-between;align-items:center;gap:10px}.device-nav{padding-bottom:23px;border-bottom:1px solid #e2e4ed;font-size:15px;font-weight:800}.device-brand>span{color:#8160e7}.device-chip{font-size:9px;letter-spacing:.1em;color:#797f96}.device-context{margin:26px 0 12px;font-size:11px;letter-spacing:.12em;font-weight:800;color:#7660bd}.device-context>span{color:#a1a4b6}.device-equation{font:800 clamp(32px,4vw,53px) 'Space Grotesk',sans-serif;letter-spacing:-.055em;margin:15px 0 24px}.device-message{display:grid;grid-template-columns:38px 1fr;gap:13px;background:linear-gradient(145deg,#f0ecff,#eee8ff);border-radius:17px;padding:22px;min-height:165px}.device-avatar{width:37px;height:37px;background:#7a55e5;color:white;display:grid;place-items:center;border-radius:10px}.device-message strong{font-size:13px;color:#5940af}.device-message p{line-height:1.7;margin:9px 0 0;font-size:15px;color:#323652}.device-progress{justify-content:start;gap:8px;margin-top:20px}.device-dot{width:32px;height:7px;border-radius:99px;background:#e5dfff}.device-dot.is-on{background:#7f5aff}.device-progress strong{font-size:12px;color:#6b55ba;margin-left:auto}
body.has-unlocked-world .story-sticky{background:radial-gradient(ellipse at 65% 38%,color-mix(in srgb,var(--active-world-pop),transparent 62%),transparent 51%),linear-gradient(135deg,color-mix(in srgb,var(--active-world-base),#050a1c 25%),#10132a)}
body.has-unlocked-world .story-beat h2 em span{color:var(--active-world-pop)}body.has-unlocked-world .story-chapter{color:var(--active-world-pop)}
body.has-unlocked-world .story-progress>span{background:var(--active-world-pop)}
/* Second scroll scene: an immersive transition from learning to the themes. */
.portal-scroll{position:relative;height:185svh;isolation:isolate;color:#fff;background:#111a32}
.portal-sticky{position:sticky;top:0;height:100svh;min-height:550px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(160deg,#133d49,#162e51 50%,#111b34)}
.portal-sky{position:absolute;inset:-5%;background:radial-gradient(ellipse at 50% 35%,#7eeebd48,transparent 38%);transform:scale(calc(1 + var(--portal-zoom,0)));will-change:transform}
.portal-sun{width:min(49vw,650px);height:min(49vw,650px);position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#a5facb50 0%,#8fdfff37 30%,#9376ff22 45%,transparent 70%);box-shadow:0 0 120px #81ecdf40;border:1px solid #ffffff35}
.portal-hill{position:absolute;width:130%;height:44%;bottom:-23%;left:-15%;border-radius:50% 50% 0 0;background:#081e37;transform:translateY(var(--hill-shift,0px)) rotate(-7deg)}.hill-b{background:#103a44;height:35%;left:15%;bottom:-24%;transform:translateY(var(--hill-shift-b,0px)) rotate(8deg)}
.portal-orbit{position:absolute;font-size:clamp(34px,4vw,70px);color:#a7f9d7;opacity:.55}.orbit-a{left:15%;top:22%}.orbit-b{right:18%;top:26%}.orbit-c{right:22%;bottom:24%}
.portal-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;transform:translateY(var(--portal-shift,0px));padding-block:65px}
.portal-kicker{font-size:12px;letter-spacing:.17em;font-weight:800;color:#aef0dc}.portal-content h2{font-size:clamp(49px,8.2vw,118px);letter-spacing:-.075em;line-height:.98;margin:18px auto 26px}.portal-content h2 span{color:#b8ffa5}.portal-content p{max-width:590px;color:#e4eef6;font-size:clamp(16px,1.7vw,20px);line-height:1.75}.portal-hint{font-size:10px;letter-spacing:.14em;font-weight:800;margin-top:36px;color:#b6cfe6}.portal-emojis{display:flex;gap:18px;margin-top:14px;font-size:clamp(26px,4.6vw,54px);filter:drop-shadow(0 12px 16px #05102b)}.portal-emojis span{display:inline-block;transform:translateY(var(--portal-symbol-y,0px))}
body.has-unlocked-world .portal-sticky{background:linear-gradient(150deg,color-mix(in srgb,var(--active-world-base),#12223e 35%),var(--active-world-base))}body.has-unlocked-world .portal-content h2 span{color:var(--active-world-pop)}body.has-unlocked-world .portal-sun{background:radial-gradient(circle,color-mix(in srgb,var(--active-world-pop),transparent 45%),transparent 65%)}
/* A gentle 'moment' between chapters, while keeping the quiz, game and signup distinct. */
.practice-section,.how-section,.worlds-section,.roulette-section,.faq-section,.join-section{position:relative;isolation:isolate}
.practice-section,.how-section,.roulette-section{scroll-margin-top:84px}
.practice-section{background:linear-gradient(180deg,#fff 0%,#fbf9ff 100%)}
.how-section{background:linear-gradient(180deg,#fbfaf6,#f2efff)}
.worlds-section{background:radial-gradient(circle at 50% 0%,#364771,#0f162b 62%)}
.worlds-header h2{font-size:clamp(40px,5vw,72px)}.worlds-grid{perspective:1200px}.world-card{box-shadow:0 16px 44px #0000002b}
.world-card:nth-child(5n+2){transform-origin:center center}.world-card:nth-child(5n+2):hover{transform:translateY(-9px) rotate(-1deg)}
.join-panel{box-shadow:0 28px 85px #0004}
@media(min-width:901px){.worlds-grid{gap:18px}.world-card{min-height:310px}.practice-section{padding-top:135px;padding-bottom:135px}.how-section{padding-top:135px;padding-bottom:135px}}
@media(max-width:900px){.story-sticky{min-height:600px}.story-layout{gap:18px}.story-headlines{min-height:430px}.story-beat h2{font-size:clamp(38px,5.3vw,59px)}.story-device{padding:18px}.device-message{padding:17px}.portal-content h2{font-size:clamp(47px,8vw,82px)}}
@media(max-width:700px){
 .hero{min-height:0}.hero-inner{min-height:0}
 .story-scroll{height:310svh}.story-sticky{min-height:0;height:100svh;top:0}.story-frame{min-height:100svh;max-height:100svh;width:min(100% - 38px,520px)}
 .story-overline{padding-top:76px;font-size:9px}.story-bottom{padding-bottom:30px;font-size:8px}.story-bottom>span:last-child{display:none}.story-progress{width:45%}
 .story-layout{display:flex;flex-direction:column;justify-content:center;gap:0;min-height:0;flex:1;padding-bottom:12px}
 .story-headlines{flex:0 0 255px;min-height:255px;width:100%;}.story-beat{text-align:center;align-items:center}.story-chapter{font-size:10px}.story-beat h2{font-size:clamp(39px,9vw,57px);margin:14px 0}.story-beat p{font-size:13px;line-height:1.55;max-width:330px;margin:0 auto}
 .story-device{flex:0 1 auto;width:min(100%,340px);padding:14px 17px;border-width:5px;border-radius:22px;transform:rotate(-2deg) translateY(var(--device-shift,0px)) scale(var(--device-scale,1))}.story-device:before{display:none}
 .device-nav{font-size:12px;padding-bottom:10px}.device-chip{font-size:8px}.device-context{font-size:9px;margin:13px 0 6px}.device-equation{font-size:32px;margin:8px 0 12px}.device-message{grid-template-columns:29px 1fr;gap:9px;min-height:106px;padding:11px 12px}.device-avatar{width:29px;height:29px;font-size:13px}.device-message strong{font-size:11px}.device-message p{font-size:12px;margin:5px 0 0;line-height:1.4}.device-progress{margin-top:12px}.device-dot{width:25px;height:5px}.device-progress strong{font-size:10px}
 .aura-orbit{width:420px;left:65%}.aura-two{width:650px}.aura-spark{font-size:26px}.story-sticky:after{background:linear-gradient(180deg,#080d2340,transparent 40%)}
 .portal-scroll{height:155svh}.portal-sticky{min-height:0;height:100svh}.portal-content h2{font-size:clamp(46px,12vw,75px)}.portal-content p{font-size:15px;max-width:310px}.portal-kicker{font-size:9px}.portal-hint{font-size:9px}.portal-sun{width:105vw;height:105vw}
 .worlds-section{padding-top:85px}.hero h1{font-size:clamp(52px,10vw,70px)}
}
@media(max-width:390px){.story-headlines{flex-basis:250px;min-height:250px}.story-overline{padding-top:66px}.story-beat h2{font-size:39px}.story-beat p{font-size:12px}.story-device{width:min(100%,295px)}.device-message{min-height:100px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.story-aura span,.portal-orbit{animation:none!important}.story-beat,.story-device,.portal-sky,.hero-preview,.portal-content{transition:none!important;will-change:auto}.story-beat{transform:none!important}.unlock-overlay{animation:none}.scroll-track>span{will-change:auto}}

/* A permanent one-tap route to the waitlist. The mobile header CTA remains visible
   even while scrolling through the immersive chapters. */
.header-mobile-join{display:none}
#join{scroll-margin-top:88px}
@media(max-width:760px){
 .header-inner{gap:12px}
 .header-mobile-join{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-left:auto;padding:10px 12px;border:1px solid #bdabff70;background:#ffffff;min-height:40px;border-radius:11px;color:#171b36;font-size:12px;font-weight:800;white-space:nowrap}
 .mobile-menu-button{margin-left:0;padding:9px}
 .site-header{background:#10162af7}
}
@media(max-width:390px){
 .header-inner{gap:8px}
 .logo{font-size:19px;gap:7px}
 .logo-symbol{width:32px;height:32px;font-size:22px}
 .header-mobile-join{font-size:11px;padding:9px 9px}
 .mobile-menu-button{padding:7px}
}
@media(max-width:350px){.header-mobile-join{font-size:0;gap:0}.header-mobile-join span{font-size:14px}.header-mobile-join:before{content:'Join';font-size:11px;margin-right:4px}}

/* Five-question challenge · three milestone spins · immersive results */
.challenge-progress{margin-top:21px;align-items:flex-end}
.challenge-dots{flex:1;max-width:270px;justify-content:space-between}
.challenge-dots span{position:relative;flex:1;width:auto!important;height:11px;border-radius:20px;background:#eae5f3;transition:background .3s,transform .3s}
.challenge-dots span.is-milestone::after{content:'✦';position:absolute;left:50%;top:-21px;transform:translateX(-50%);font-size:11px;color:#a29ab5}
.challenge-dots span.is-filled{background:linear-gradient(90deg,#63d1a7,#8063f3)}
.challenge-dots span.is-current{outline:2px solid #b6a1ff;outline-offset:3px}
.challenge-dots span.is-filled.is-milestone::after{color:#6a48c9}
.challenge-milestones{display:flex;justify-content:space-between;gap:7px;color:#756b94;font-size:10px;font-weight:800;letter-spacing:.015em;margin-top:14px}
.challenge-milestones span{color:#8365c6}
.spin-top h3{max-width:300px}
.challenge-score{padding:16px 6px 9px}
.score-overline{display:block;margin:8px auto;font-size:11px;letter-spacing:.16em;color:#8266bf;font-weight:900}
.challenge-done .score-trophy{display:block;font-size:38px}
.score-number{font:900 clamp(64px,8vw,100px)/1 'Space Grotesk',sans-serif;letter-spacing:-.09em;color:#7651dc;margin:8px 0}
.score-number span{font-size:.33em;color:#79748a;letter-spacing:-.03em}
.challenge-score h4{font-size:24px;margin:11px 0 7px}
.challenge-score .score-detail{margin:12px auto;font-size:12px;max-width:420px;color:#625f76}
.challenge-signup{display:flex;justify-content:center;align-items:center;gap:12px;border-radius:12px;margin:22px auto 12px;background:#7250e8;color:#fff;min-height:52px;padding:13px 16px;font-weight:900;text-decoration:none;transition:transform .2s,filter .2s}
.challenge-signup:hover{filter:brightness(1.1);transform:translateY(-2px)}
.score-disclaimer{display:block;font-size:11px;color:#77718a;line-height:1.5}
@media(max-width:520px){.challenge-progress{align-items:stretch;flex-direction:column;gap:23px}.challenge-dots{width:100%;max-width:none}.challenge-milestones{font-size:9px}.challenge-score h4{font-size:20px}}

/* Earned-spin milestones refer to correct answers, not question positions. */
.challenge-milestones span{color:#756b94;transition:color .35s,transform .35s}
.challenge-milestones span.is-earned{color:#5331b8;transform:scale(1.04)}
