.numi-page{--accent:#7147dc;--ink:#29203c;--muted:#71677f;background:#fff;color:var(--ink)}
.numi-page .site-header{background:#faf7ffed;border-color:#e8e0f045}.numi-page .brand{letter-spacing:-.06em}.numi-page .nav-wrap{height:86px}
.numi-hero{background:#faf7ff;position:relative;overflow:hidden}
.hero-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:650px;padding-block:62px 84px;gap:10px}.hero-copy{position:relative;z-index:2}
.hero-copy .eyebrow{font-size:.9rem;letter-spacing:.09em;margin-bottom:28px}.hero-copy h1{font-size:clamp(4rem,7.2vw,7rem);line-height:1.02;letter-spacing:-.075em}.hero-copy h1 em{font-style:normal;color:var(--accent)}
.hero-lead{font-size:1.3rem;line-height:1.65;color:var(--muted);margin-top:32px}.hero-button{margin-top:34px;min-height:58px;padding-inline:32px;font-size:1.05rem}
.flight-stage{height:470px;position:relative;isolation:isolate}.bird-halo{position:absolute;width:360px;height:360px;border-radius:50%;top:45px;left:50%;transform:translateX(-50%);background:#e7dcfa}.bird-halo::after{content:'';position:absolute;inset:-28px;border:1px solid #e6dcf4;border-radius:50%}
.bird-home{position:absolute;inset:45px -30px auto -35px;z-index:2}
#numi-flyer{display:block;width:100%;height:auto;transform-origin:55% 55%;will-change:transform;filter:drop-shadow(0 20px 16px #7c54ac13)}
#numi-flyer.landed{animation:numi-hover 5s ease-in-out infinite}@keyframes numi-hover{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(-1deg)}}
.stage-star{position:absolute;color:#9f7ad5;font-size:2.6rem}.star-one{top:20px;right:35px;transform:rotate(12deg)}.star-two{bottom:110px;left:10px;font-size:1.4rem;color:#d4b25b}
.flight-controls{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}
.quiet-button,.motion-toggle{display:inline-flex;align-items:center;gap:7px;background:none;border:0;color:#71578a;padding:10px 4px;min-height:44px;font-size:.875rem;text-underline-offset:5px}.quiet-button:hover,.motion-toggle:hover{text-decoration:underline}.quiet-button .icon{width:18px;height:18px}.motion-toggle{color:#82748f;font-size:.8rem}.motion-toggle:disabled{opacity:1;cursor:default}.quiet-button:disabled{opacity:.45;text-decoration:none}
#numi-effects{position:fixed;inset:0;width:100%;height:100%;z-index:70;pointer-events:none}
.learning-idea{padding-block:100px 105px;text-align:center}.learning-idea h2{font-size:clamp(2.3rem,4vw,3.6rem);line-height:1.2}.learning-idea h2 span{color:#84728e}
.idea-points{display:flex;justify-content:center;gap:65px;margin-top:50px}.idea-points>div{display:flex;align-items:center;gap:13px}.idea-points .icon{color:#9268d9;width:27px;height:27px}.idea-points h3{font-weight:700;font-size:1rem;letter-spacing:-.025em}
.task-section{background:#eee8f8;padding-block:96px}.task-layout{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:80px}.task-intro h2{font-size:clamp(3.1rem,5vw,4.8rem)}.task-intro>p{font-size:1.12rem;line-height:1.7;color:var(--muted);margin-top:26px}.task-bird{width:190px;margin:25px 0 -25px;transform:rotate(-8deg)}
.task-shell{background:white;border-radius:22px;padding:25px;box-shadow:0 20px 60px #4b2c7009;min-width:0}
.exercise-picker{display:flex;gap:5px;margin-bottom:23px;padding:4px;border-radius:8px;background:#f4f2f8}.exercise-picker button{flex:1;border:0;background:none;padding:12px 10px;min-height:46px;font-size:.875rem;font-weight:700;border-radius:5px;color:#776a8b}.exercise-picker button[aria-pressed=true]{background:#fff;box-shadow:0 2px 8px #4a2c7010;color:#57368d}
.stack-surface{background:#e6f3f6;border:1px solid #acd6e2;border-radius:5px;color:#102b3e;padding:28px;font-family:'Segoe UI',Arial,sans-serif}.stack-surface p{font-size:1rem;line-height:1.65}.native-formula{margin:24px 0;min-height:48px;font-size:1.75rem}math{font-family:'Cambria Math','STIX Two Math',serif;font-size:1.2em}
.stack-help{border:0;margin:12px 0}.stack-help summary{font-family:'Segoe UI',Arial,sans-serif;display:inline-flex;min-height:44px;padding:9px 18px;border-radius:23px;background:#007bff;color:#fff;font-weight:400;font-size:.94rem;line-height:1.5;margin-top:4px}.stack-help summary::after{display:none}.stack-help[open] p{padding:13px 0 0;color:#234d60;font-size:1rem}
.native-answer{display:flex;align-items:center;gap:12px;margin-top:24px;font-size:1.35rem;font-family:'Cambria Math','Segoe UI',serif}.native-answer input,.guided-input input{min-height:48px;width:140px;max-width:60%;border:1px solid #8197a0;border-radius:3px;background:#fff;color:#102b3e;padding:8px 12px;font-family:'Segoe UI',sans-serif;font-size:1.12rem}.native-answer input[aria-invalid=true]{border:2px solid #b25629}.native-answer input:read-only{background:#edf6ed;border-color:#8cab88}
.answer-validation{margin-top:9px;color:#396579;overflow-wrap:anywhere;font-size:.875rem!important}.answer-validation:empty{display:none}
.task-feedback{margin-top:20px;padding:15px;background:#fffbe6;border-left:3px solid #d4b75d;font-size:1rem;line-height:1.6}.task-feedback[data-state=correct]{background:#ecf7df;border-color:#6fa445;color:#315723}.task-feedback[data-state=invalid]{border-color:#b66b45;color:#834526;background:#fff2e9}
.native-task-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:24px}.stack-check{border:1px solid #c5cdd2;background:#d0d5d9;border-radius:5px;padding:11px 19px;min-height:46px;color:#162b3a;font-family:'Segoe UI',sans-serif;font-size:1rem;transition:background .2s}.stack-check:hover{background:#bec8ce}.native-task-actions .quiet-button{font-size:.9rem;color:#285b7a;padding-inline:2px}
.guided-work{margin-top:22px;padding-top:21px;border-top:1px solid #b9d5df}.guided-work>label{display:block;margin-bottom:14px;font-size:1rem;line-height:1.6;font-weight:600}.guided-input{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.guided-input input{width:120px}.guided-work p{margin-top:12px;font-size:.94rem}
.solution{border:0;border-top:1px solid #bed6df;margin-top:22px}.solution summary{padding:18px 0 0;font-weight:500;font-size:.94rem}.solution>div{padding:16px 0 0;line-height:1.7;font-size:1rem}.solution p{color:#234d60;padding:0;font-size:1rem}.solution math{display:block;margin:12px 0;font-size:1.25rem}
.preview-info{border:0;margin-top:10px}.preview-info summary{font-size:.8rem;color:#85768e;font-weight:400;padding:10px 0 0;justify-content:start;gap:12px;min-height:44px}.preview-info summary::after{font-size:1rem}.preview-info p{padding:14px 0 0;font-size:.875rem;color:#746780}
.numi-finale{padding-block:100px;text-align:center}.numi-finale h2{font-size:clamp(3rem,5.5vw,4.8rem)}.numi-finale .btn{margin-top:30px;font-size:1rem}.numi-finale>p{margin-top:25px;color:var(--muted);font-size:.9rem}.numi-finale>p a{text-decoration:underline;text-underline-offset:4px}
.compact-footer{padding-block:28px;border-top:1px solid #eee8f5}.compact-footer>.wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.compact-footer .brand{font-size:1.25rem}.compact-footer nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap;font-size:.875rem;color:var(--muted)}.compact-footer nav a{min-height:44px;display:flex;align-items:center}.compact-footer nav a:hover{text-decoration:underline}.draft-note{font-size:.8rem;color:var(--muted)}
@media(max-width:1050px){.hero-layout{min-height:600px}.hero-copy h1{font-size:5.5rem}.hero-lead{font-size:1.15rem}.bird-halo{width:300px;height:300px;top:80px}.bird-home{top:80px;left:-20px;right:-20px}.task-layout{gap:45px}.idea-points{gap:30px}.idea-points h3{font-size:.94rem}.stack-surface{padding:24px}}
@media(max-width:760px){.numi-page .nav-wrap{height:74px}.hero-layout{display:flex;flex-direction:column;padding-block:38px 22px;gap:0;min-height:0}.hero-copy{width:100%}.hero-copy .eyebrow{font-size:.78rem;margin-bottom:20px}.hero-copy h1{font-size:clamp(3.6rem,15vw,5.7rem)}.hero-lead{font-size:1.1rem;margin-top:22px}.hero-button{margin-top:24px;min-height:52px;padding:13px 25px;font-size:1rem}.flight-stage{width:100%;max-width:440px;height:340px;margin-top:10px}.bird-halo{width:240px;height:240px;top:33px}.bird-halo::after{inset:-20px}.bird-home{inset:20px -15px auto -15px}.star-one{top:15px;right:10px;font-size:2rem}.star-two{bottom:80px;left:5px}.flight-controls{gap:9px;bottom:3px}.quiet-button{font-size:.83rem}.motion-toggle{font-size:.77rem}.learning-idea{padding-block:65px}.learning-idea h2{font-size:2.3rem}.idea-points{display:grid;gap:25px;text-align:left;justify-content:start;margin:35px auto 0;width:max-content;max-width:100%}.idea-points h3{font-size:.96rem}.task-section{padding-block:58px}.task-layout{grid-template-columns:1fr;gap:28px}.task-intro{position:relative}.task-intro h2{font-size:2.9rem}.task-intro>p{font-size:1rem;margin-top:17px;max-width:260px}.task-bird{position:absolute;width:115px;right:0;bottom:10px;margin:0;opacity:.9}.task-shell{padding:16px;border-radius:16px}.exercise-picker{margin-bottom:17px}.exercise-picker button{font-size:.85rem;padding:10px 7px}.stack-surface{padding:22px 18px}.native-formula{font-size:1.6rem;margin:22px 0}.native-answer input{width:130px;min-width:0}.native-task-actions{gap:11px}.preview-info summary{font-size:.77rem}.numi-finale{padding-block:65px}.numi-finale h2{font-size:2.8rem}.compact-footer>.wrap{gap:12px}.compact-footer nav{gap:8px 21px;font-size:.8rem}.draft-note{font-size:.75rem}.compact-footer{padding-block:24px}.task-intro .eyebrow{font-size:.77rem}}
@media(max-width:370px){.hero-copy h1{font-size:3.4rem}.hero-lead{font-size:1rem}.flight-stage{height:300px}.bird-halo{width:210px;height:210px}.bird-home{top:27px}.flight-controls{gap:3px}.task-bird{width:90px;right:-5px;bottom:45px}.task-shell{padding:12px}.stack-surface{padding:18px 14px}.task-intro h2{font-size:2.7rem}.guided-input .stack-check{padding-inline:12px}.learning-idea h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){#numi-flyer.landed{animation:none}#numi-effects{display:none}}
.bird-home,.task-bird{pointer-events:none}.flight-controls{z-index:3}
/* Clear benefits and a compact look at learning rewards. */
.numi-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;text-align:left;margin-top:48px}.numi-benefits article{border-top:1px solid #e2d9ed;padding-top:27px}.numi-benefits .icon{width:30px;height:30px;color:#9467d2;margin-bottom:22px}.numi-benefits h3{font-size:1.3rem;letter-spacing:-.03em}.numi-benefits p{font-size:1rem;line-height:1.75;color:#766783;margin-top:14px;max-width:340px}
.reward-section{background:#fff}.reward-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}.reward-layout h2{font-size:clamp(2.6rem,4.3vw,4rem)}.reward-layout>div>p{margin-top:24px;font-size:1.1rem;color:#766783;max-width:490px;line-height:1.75}.reward-art{text-align:center}.reward-orbit{position:relative;width:310px;max-width:100%;height:260px;margin:0 auto 20px}.reward-orbit::before{content:'';position:absolute;width:230px;height:230px;border-radius:50%;background:#f0e6ff;left:40px;top:10px}.reward-orbit img{position:absolute;width:350px;max-width:none;left:-20px;top:0;transform:rotate(-9deg)}.reward-coin,.reward-xp{position:absolute;display:grid;place-items:center;font-weight:800;box-shadow:0 8px 24px #35244c12;transform:rotate(10deg)}.reward-coin{bottom:10px;left:10px;width:76px;height:76px;border-radius:50%;border:7px solid #ffe295;background:#f9c653;color:#8f5a13;font-size:2rem}.reward-xp{top:8px;right:0;border-radius:16px;width:80px;height:65px;background:#7849ca;color:#fff;font-size:1.7rem;transform:rotate(8deg)}.reward-labels{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.reward-labels span{border:1px solid #e6d9f3;border-radius:30px;background:#fbf8ff;padding:11px 16px;color:#71528f;font-size:.875rem;font-weight:700}.reward-art>.small{font-size:.875rem;line-height:1.6;margin:18px auto 0;max-width:350px;color:#81718c}
.numi-finale{border-top:1px solid #eee7f7}.finale-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:30px}.numi-finale .finale-actions .btn{margin-top:0}.numi-finale .access-preview-note{font-size:.875rem}.motion-toggle{font-size:.875rem}.preview-info summary{font-size:.875rem}.numi-page .hero-lead{max-width:570px}
@media(max-width:1000px){.reward-layout{gap:40px}.numi-benefits{gap:25px}.numi-benefits h3{font-size:1.2rem}}
@media(max-width:760px){.numi-benefits{grid-template-columns:1fr;gap:28px;margin-top:35px}.numi-benefits article{position:relative;padding:22px 0 0 47px}.numi-benefits .icon{position:absolute;left:0;top:25px;width:27px;height:27px}.numi-benefits h3{font-size:1.25rem}.numi-benefits p{font-size:1rem;margin-top:10px;max-width:none}.reward-layout{grid-template-columns:1fr;gap:36px}.reward-layout h2{font-size:2.65rem}.reward-layout>div>p{font-size:1rem;margin-top:20px}.reward-orbit{width:280px;height:240px}.reward-orbit img{width:310px;left:-15px}.reward-orbit::before{width:210px;height:210px;left:35px}.reward-art>.small{font-size:.875rem}.reward-labels{gap:8px}.reward-labels span{padding:10px 12px;font-size:.875rem}.finale-actions{gap:12px}.finale-actions .btn{min-width:200px}.motion-toggle,.quiet-button{font-size:.875rem}.task-intro>p{max-width:235px}.task-bird{bottom:23px;width:100px}.flight-controls{gap:8px}.preview-info summary{font-size:.875rem}.numi-page .hero-lead{font-size:1.05rem}}
@media(max-width:370px){.numi-page .hero-copy h1{font-size:3rem}.task-bird{display:none}.reward-layout h2{font-size:2.3rem}.reward-orbit{width:250px}.reward-orbit img{width:280px;left:-10px}.reward-orbit::before{left:20px}.flight-stage{height:320px}.flight-controls{gap:0;flex-direction:column;bottom:0}.numi-finale h2{font-size:2.4rem}}
@media(max-width:370px){.reward-orbit img{width:250px;left:0}}
/* The input rows and feedback follow the existing Numi-Fly STACK embed. */
.stack-surface.que.stack{padding:24px;border:1px solid #acd6e2;border-radius:5px;background:#e6f3f6;font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#102b3e}
.stack-surface .qtext>p{margin:0 0 16px}.stack-surface .native-formula{font-size:1.45rem;min-height:0;margin:18px 0 22px}.stack-surface .stack-help{margin:8px 0 14px}.stack-surface .stack-help summary{position:relative;min-height:44px;padding:0 14px;background:transparent;isolation:isolate;color:white;font-size:.94rem}.stack-surface .stack-help summary::before{content:'';position:absolute;inset:8px 0;border-radius:20px;background:#007bff;z-index:-1}.stack-surface .stack-help[open] summary::before{background:#0069d9}.stack-surface .stack-help[open] p{padding:4px 0 6px;font-size:1rem}
.stack-surface .native-answer{margin:18px 0 23px;gap:12px;font-size:1.5rem;line-height:1.4}.stack-surface .native-answer math{font-size:1.2em}.stack-surface .native-answer input{width:94px;min-width:0;max-width:none;min-height:44px;padding:5px 8px;border-radius:2px;font-size:1.12rem}.stack-surface .native-answer input[data-correct=true]{border-color:#6e9764;background:#f1f9ee}.stack-surface .native-answer input[data-correct=false]{border-color:#b38b41;background:#fffef6}.stack-surface .native-answer input[aria-invalid=true]{border:2px solid #ad5637}
.stack-surface .vertex-answer{gap:8px;flex-wrap:nowrap}.stack-surface .vertex-answer input{width:86px;flex:0 1 86px}.coordinate-separator{font-family:'Cambria Math',Georgia,serif;margin-inline:2px}
.stack-surface .answer-validation{background:#fff;border:0;padding:12px;margin:0 0 14px;color:#12324a;font-size:.875rem!important;line-height:1.5}.stack-surface .answer-validation strong{display:block;margin-top:7px;font-weight:400;font-family:'Cambria Math',Georgia,serif;font-size:1.35rem}.stack-surface .task-feedback{border-radius:0;padding:12px 14px;margin:14px 0 0;font-size:1rem;line-height:1.6}.stack-surface .native-task-actions{margin-top:18px;gap:12px}.stack-surface .native-task-actions .quiet-button{padding-inline:0;font-size:.875rem}.stack-surface .solution summary{font-size:1rem}.counting-steps{color:#21475e!important;letter-spacing:.02em}.vertex-result{font-family:'Cambria Math',Georgia,serif;font-size:1.4rem!important}
@media(max-width:760px){.stack-surface.que.stack{padding:20px 18px}.stack-surface .native-formula{font-size:1.35rem}.stack-surface .native-answer{gap:10px}.stack-surface .vertex-answer{gap:6px}.stack-surface .vertex-answer input{width:78px;flex-basis:78px}.stack-surface .native-task-actions{gap:9px 16px}.stack-surface .native-task-actions #harder-task{flex-basis:100%;justify-content:flex-start}.exercise-picker button{font-size:.875rem}}
@media(max-width:370px){.stack-surface.que.stack{padding:18px 14px}.stack-surface .vertex-answer{gap:4px;font-size:1.35rem}.stack-surface .vertex-answer input{width:62px;flex-basis:62px;padding-inline:6px}.stack-surface .native-formula{font-size:1.2rem}.exercise-picker button{padding-inline:5px}.stack-surface .guided-input input{width:95px}}
