/* Subject discovery: local vector illustrations, responsive geometry, no remote assets. */
.discover{width:var(--container);margin:0 auto;padding:54px 0 0;--d-purple:#5138da;--d-purple-edge:#372397;--d-lime:#dcf477;--d-dark:#172526}
.discover-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,190px);align-items:center;gap:clamp(24px,4vw,64px);max-width:1080px;margin:0 auto 32px}
.discover-intro>div:first-child{min-width:0}
.discover-kicker{display:flex;align-items:center;gap:9px;margin:0 0 17px;font-size:.8rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-2)}
.discover-spark{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#f5d86c;color:#312b1c;font-size:1.25rem}
.discover .discover-title{margin:0;font:800 clamp(2.9rem,5.6vw,4.8rem)/1.05 var(--sans);letter-spacing:-.06em;color:var(--ink);overflow-wrap:normal;text-wrap:balance}
.discover .discover-title span{color:var(--d-purple)}
.discover-lead{max-width:600px;margin:24px 0 0;color:var(--ink-2);font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.7}
.discover-stamp{position:relative;justify-self:center;width:100%;max-width:180px;height:auto;margin:0;text-align:center}
.discover-stamp svg{display:block;width:100%;height:auto;fill:#f4ce59;stroke:#d4ab26;stroke-width:2;transform:rotate(-8deg);filter:drop-shadow(0 7px 0 #d9b74840)}
.discover-stamp .stamp-arrow{fill:none;stroke:#332d20;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.discover-stamp>span{display:block;margin-top:15px;text-align:center;font:500 .9rem/1.4 var(--sans);color:var(--ink-2)}
.discover-stamp b{font-size:1.2rem;color:var(--ink)}
.discover-subjects{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.discover-subject{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:290px;padding:25px 30px 29px;overflow:hidden;border-radius:26px;border:2px solid transparent;border-bottom-width:7px;text-decoration:none;transition:transform .18s var(--ease),box-shadow .18s var(--ease)}
.discover-math{background:var(--d-purple);color:#fff;border-color:var(--d-purple-edge)}
.discover-science{background:var(--d-lime);color:var(--d-dark);border-color:#b1c95c}
.discover-subject:hover{transform:translateY(-4px);box-shadow:0 14px 0 -5px #14162214;text-decoration:none}
.discover-subject:active{transform:translateY(2px)}
.discover-subject:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
.discover-subject-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px}
.discover-label{font-size:.74rem;font-weight:750;letter-spacing:.02em}
.discover-math .discover-label{color:#e3e8f2}
.discover-arrow{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid currentColor;border-radius:50%}
.discover-arrow .ico{width:20px;height:20px}
.discover-subject-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;margin-top:auto;padding-top:37px;max-width:74%}
.discover-subject-title{font-size:clamp(1.8rem,3.15vw,2.65rem);font-weight:800;line-height:1.15;letter-spacing:-.045em}
.discover-subject-text{max-width:225px;margin-top:11px;font-size:.9rem;font-weight:500;line-height:1.5}
.discover-math .discover-subject-text{color:#e3e8f2}
.discover-subject-cta{display:inline-flex;align-items:center;gap:12px;margin-top:25px;padding:9px 13px;background:#fff;color:#2f237c;border-radius:10px;font-size:.8rem;font-weight:800;box-shadow:0 3px 0 #0002}
.discover-science .discover-subject-cta{background:var(--d-dark);color:white}
.discover-subject-cta .ico{width:17px;height:17px;transition:transform .18s}
.discover-subject:hover .discover-subject-cta .ico{transform:translateX(3px)}
.discover-art{position:absolute;z-index:1;right:-5px;bottom:14px;width:47%;height:auto;pointer-events:none;overflow:visible}
.discover-math-art{transform:rotate(-8deg);right:5px;bottom:10px}
.da-shadow{fill:#2c1e86}.da-white{fill:#f4f7ff}.da-accent{fill:#f4d65d}.da-deep{fill:#32218c}.da-line{fill:none;stroke:#b7a7f5;stroke-width:3}.da-white-stroke{fill:none;stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.da-orbit-bg{fill:#c7e45d}.da-orbits{fill:none;stroke:#234b40;stroke-width:3.5}.da-core{fill:#234b40}.da-electron{fill:#fff;stroke:#234b40;stroke-width:3}.da-deep-stroke{fill:none;stroke:#234b40;stroke-width:3;stroke-linecap:round}.discover-science-art .da-deep{fill:#234b40}
.discover-perks{display:flex;justify-content:center;flex-wrap:wrap;gap:15px 38px;padding:25px 5px 28px;border-bottom:1px solid var(--border);color:var(--ink-2);font-size:.82rem;font-weight:650}
.discover-perks>span{display:flex;align-items:center;gap:9px}.discover-perks .ico{width:19px;height:19px;color:var(--d-purple)}
.discover-physics{padding-bottom:35px;border-bottom:1px solid var(--border)}
.discover-physics .discover-title span{color:#0f766e}
.discover-physics .discover-stamp svg{fill:var(--d-lime);stroke:#b1c95c}
.discover-physics-start{max-width:1080px;margin:auto}
.discover-physics-actions{display:flex;flex-wrap:wrap;gap:12px}
.discover-levels{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}
.discover-levels a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 19px;border:2px solid #c6ded7;border-bottom-width:5px;border-radius:14px;background:#ecfdf3;color:#164f45;text-decoration:none;font-size:.9rem;font-weight:800;transition:background .18s,transform .18s}
.discover-levels a:hover{background:#d4ede0;transform:translateY(-2px)}
.discover-levels .ico{flex:none;width:19px;height:19px}
.discover-cross{margin:20px 0 0;color:var(--ink-2);font-size:.85rem}.discover-cross a{display:inline-flex;align-items:center;gap:6px;font-weight:750}.discover-cross .ico{width:16px;height:16px}
/* Make the rest of the homepage feel part of the same learning world. */
.discover~.lp-hero{padding-top:42px}
.discover~.lp-hero .lp-title{font:800 clamp(1.8rem,3.5vw,3rem)/1.12 var(--sans);letter-spacing:-.045em}
.discover~.lp-hero .lp-daily{border-radius:24px;border-color:#d8dcf0;border-bottom-width:6px;box-shadow:0 9px 0 -3px #f4f7ff}
.discover~.lp-sec .lp-h2,.discover~.lp-band .lp-h2{font-family:var(--sans);font-weight:800;letter-spacing:-.04em}
.discover~.lp-sec .lp-course{border-radius:21px;border-bottom-width:5px}
.discover~.lp-sec .lp-course .lp-ico{width:60px;height:60px;border-radius:17px}
.lp-course-art .trc-art-svg{width:52px;height:52px}.lp-course-art .a-w{fill:#fff}.lp-course-art .a-d{fill:#17264c}.lp-course-art .a-y{fill:#f4d65d}
.discover~.lp-sec .lp-tool{border-bottom-width:4px}
.discover~.lp-sec .topic{border-bottom-width:4px}
.discover~.lp-sec .how-n{display:grid;place-items:center;width:48px;height:48px;background:#eee9ff;color:#5138da;border-radius:14px;font-family:var(--sans);font-size:1.1rem;font-weight:800;margin-bottom:15px}
@media(min-width:1100px){.discover-subject{min-height:310px}.discover-art{width:48%;right:7px}.discover-subject-copy{max-width:70%}.discover-subject-title{font-size:2.65rem}}
@media(max-width:850px){.discover{padding-top:36px}.discover-intro{gap:20px}.discover-stamp{width:140px;height:185px;margin-right:5px}.discover-stamp svg{width:140px;height:140px}.discover-stamp>span{font-size:.85rem}.discover-stamp b{font-size:1rem}.discover-subjects{gap:16px}.discover-subject{padding:20px;min-height:280px}.discover-subject-copy{max-width:85%}.discover-art{opacity:.8;width:48%;right:-10px;bottom:20px}.discover-subject-title{font-size:2rem}.discover-subject-text{max-width:170px}.discover-label{font-size:.65rem}.discover-levels{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.discover{padding-top:29px}.discover-intro{margin-bottom:26px;position:relative}.discover .discover-title{font-size:clamp(2.7rem,10.8vw,3.8rem)}.discover-kicker{font-size:.64rem;letter-spacing:.035em;margin-bottom:17px}.discover-stamp{display:none}.discover-lead{font-size:.95rem;line-height:1.65;margin-top:18px;max-width:370px}.discover-subjects{grid-template-columns:1fr;gap:17px}.discover-subject{min-height:250px;padding:19px 23px 24px;border-radius:23px}.discover-subject-copy{padding-top:21px;max-width:73%}.discover-subject-title{font-size:2.2rem}.discover-subject-text{max-width:195px;font-size:.84rem}.discover-subject-cta{margin-top:19px;font-size:.77rem}.discover-label{font-size:.7rem}.discover-art{width:45%;right:0;bottom:9px;opacity:1}.discover-perks{justify-content:flex-start;gap:12px 18px;padding:24px 0;font-size:.75rem}.discover-perks .ico{width:17px;height:17px}.discover-physics-actions>a{width:100%;justify-content:center}.discover-levels{gap:10px;margin-top:22px}.discover-levels a{padding:13px 12px;font-size:.79rem}.discover-cross{font-size:.8rem}.discover~.lp-hero{padding-top:30px}.discover~.lp-sec .lp-course{grid-template-columns:60px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.discover-subject,.discover-subject-cta .ico,.discover-levels a{transition:none}.discover-subject:hover,.discover-subject:active,.discover-subject:hover .discover-subject-cta .ico,.discover-levels a:hover{transform:none}}

/* A warm learning playground, rather than an uninterrupted white sheet. */
body.discovery-page,body:has(.discover){--bg:#fff4e6;--surface:#ffffff;--surface-soft:#fff4e6;background-color:#fff4e6;background-image:radial-gradient(circle at 12% 16%,#d9cef94f 0,transparent 27%),radial-gradient(circle at 91% 9%,#f5df8d4d 0,transparent 24%);background-repeat:no-repeat;background-size:100% 1200px}
.discovery-page .site-header,body:has(.discover) .site-header{background:#ffffff}
.discovery-page .subject-bar,body:has(.discover) .subject-bar{background:#e3e8f2}
.discovery-page .site-footer,body:has(.discover) .site-footer{background:#e3e8f2;border-top-color:#dcd3ec}
.discovery-page .lp-hero,body:has(.discover) .lp-hero{background:#e3e8f2;border-top:1px solid #e5ddf2;border-bottom:1px solid #e0d6ee}
.discovery-page .lp-hero::before,body:has(.discover) .lp-hero::before{background:none}
.discovery-page #kursy,body:has(.discover) #kursy{margin-top:clamp(32px,5vw,64px);padding:clamp(24px,4vw,44px);background:#e3e8f2;border:1px solid #dcd6eb;border-radius:30px}
.discovery-page .lp-course,body:has(.discover) .lp-course{background:#ffffff}
.discovery-page .lp-tools li:nth-child(even) .lp-tool,body:has(.discover) .lp-tools li:nth-child(even) .lp-tool{background:#fff4e6}
.discovery-page .lp-offer-school,body:has(.discover) .lp-offer-school{background:#e7f0db}
.discovery-page .lp-how,body:has(.discover) .lp-how{padding-bottom:40px}
.discover{padding-top:clamp(30px,4.2vw,55px)}
.discover-spark{box-shadow:0 3px 0 #d9ba4b}
.discover-perks{border-bottom:0;padding-bottom:18px}
.discover-stamp svg{animation:discover-stamp-hello .85s cubic-bezier(.2,.8,.2,1) both}
.discover-art{transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.discover-subject:hover .discover-math-art,.discover-subject:focus-visible .discover-math-art{transform:translateY(-9px) rotate(-3deg)}
.discover-subject:hover .discover-science-art,.discover-subject:focus-visible .discover-science-art{transform:translateY(-5px) rotate(5deg)}
.discover-subject:hover .da-electron,.discover-subject:focus-visible .da-electron{animation:discover-electron-pop .65s ease-out both;transform-box:fill-box;transform-origin:center}
.discover-subject:hover .da-electron:nth-last-child(2){animation-delay:.1s}
.discover-subject:hover .da-electron:nth-last-child(1){animation-delay:.18s}
@keyframes discover-stamp-hello{0%{opacity:0;transform:translateY(13px) rotate(-18deg) scale(.9)}65%{opacity:1;transform:translateY(-4px) rotate(-4deg) scale(1.03)}100%{opacity:1;transform:translateY(0) rotate(-8deg) scale(1)}}
@keyframes discover-electron-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.3)}}

/* Tiny, immediately usable experiment: the same direct feedback as the lessons. */
.discovery-lab{position:relative;margin:14px 0 32px;padding:clamp(20px,3.4vw,34px);border:2px solid #cfc2e6;border-bottom-width:6px;border-radius:28px;background:#eee6f8;box-shadow:0 9px 0 -5px #b6a6d52b;overflow:hidden}
.lab-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.lab-heading>div{min-width:0;max-width:600px}
.lab-heading h2{margin:0;font:800 clamp(1.45rem,3.1vw,2rem)/1.18 var(--sans);letter-spacing:-.04em;color:#27213d;text-wrap:balance}
.lab-heading p{margin:9px 0 0;color:#554967;font-size:.91rem;line-height:1.6;max-width:58ch}
.lab-heading .lp-kicker{margin:0 0 9px;color:#523798;font-size:.72rem}
.lab-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px;border:1px solid #cabadd;border-radius:15px;background:#f4f7ff}
.lab-tabs button{min-height:44px;padding:9px 14px;border:2px solid transparent;border-radius:10px;background:transparent;color:#4a3c60;font:800 .82rem/1.3 var(--sans);cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.lab-tabs button[aria-pressed=true]{background:#5138ca;border-color:#5138ca;color:#fff;box-shadow:0 3px 0 #36248b}
.lab-tabs button:hover:not([aria-pressed=true]){background:#e7ddf5;color:#312245}
.lab-tabs button:active{transform:translateY(2px)}
.lab-stage{position:relative;display:grid;place-items:center;min-height:190px;min-width:0;margin:0;border:1px solid #ddd6fe;border-radius:21px;background:#ffffff;overflow:hidden;background-image:radial-gradient(#c9bfd538 1px,transparent 1px);background-size:20px 20px}
.lab-stage svg{display:block;width:100%;height:auto;max-height:235px;overflow:visible}
.lab-ball{transform-box:fill-box;transform-origin:50% 100%}
.lab-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:18px}
.lab-control{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:46px;min-height:46px;padding:10px 16px;border:2px solid #493199;border-radius:13px;background:#5c43ca;color:#fff;box-shadow:0 4px 0 #3b267e;font:800 .88rem/1.3 var(--sans);cursor:pointer;transition:background .16s,transform .16s,box-shadow .16s}
.lab-control:hover{background:#4e35b7}.lab-control:active{transform:translateY(3px);box-shadow:0 1px 0 #3b267e}
.lab-control:disabled{background:#ddd4e9;border-color:#c4b9d3;color:#70647e;box-shadow:0 3px 0 #bcb0cd;cursor:default}
.lab-controls label{display:flex;align-items:center;gap:12px;min-height:44px;color:#443650;font-size:.85rem;font-weight:750;flex-wrap:wrap}
.lab-controls input[type=range]{accent-color:#563bc7;min-height:36px;max-width:100%}
.lab-controls>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lab-readout{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:0;color:#39265e;font:800 1.25rem/1.4 var(--sans);font-variant-numeric:tabular-nums}
.lab-readout output,.lab-readout strong{font-size:1.8rem}
.lab-reset{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border:1px solid #b7a8ca;border-radius:11px;background:#f4f7ff;color:#4c3a65;font:750 .8rem/1.3 var(--sans);cursor:pointer}
.lab-reset:hover{background:#e1d5f1}
.lab-status{min-height:1.65em;margin:16px 0 0;color:#534263;font-size:.87rem;line-height:1.65}
.lab-control:focus-visible,.lab-reset:focus-visible,.lab-tabs button:focus-visible,.lab-controls input:focus-visible{outline:3px solid #49309b;outline-offset:4px}
@media(max-width:850px){.discover-intro{grid-template-columns:minmax(0,1fr) 135px;gap:22px}.discover-stamp{width:100%;height:auto;margin:0}.discover-stamp svg{width:100%;height:auto}.discover-stamp>span{font-size:.8rem}.discover-stamp b{font-size:.95rem}.lab-heading{gap:16px}.lab-tabs{width:fit-content}}
@media(max-width:580px){.discover-intro{grid-template-columns:minmax(0,1fr);gap:0}.discover .discover-title{font-size:clamp(2.65rem,10.1vw,3.5rem)}.discover-stamp{display:none}.discovery-lab{border-radius:21px;padding:18px;margin-top:10px}.lab-heading{margin-bottom:15px}.lab-heading h2{font-size:1.52rem}.lab-heading p{font-size:.83rem}.lab-tabs{width:100%;justify-content:stretch}.lab-tabs button{flex:1;padding:9px 10px;font-size:.76rem}.lab-stage{min-height:140px;border-radius:15px}.lab-controls{gap:14px}.lab-controls>div{width:100%;justify-content:space-between}.lab-controls label{width:100%;justify-content:space-between}.lab-control{padding:10px 12px;font-size:.8rem}.lab-readout{font-size:1rem;gap:5px}.lab-readout output,.lab-readout strong{font-size:1.4rem}.lab-status{font-size:.81rem}.discovery-page #kursy,body:has(.discover) #kursy{padding:23px 17px;border-radius:22px}}
@media(prefers-reduced-motion:reduce){.discover-stamp svg,.discover-subject:hover .da-electron,.discover-subject:focus-visible .da-electron{animation:none}.discover-art,.lab-control,.lab-tabs button{transition:none}.discover-subject:hover .discover-math-art,.discover-subject:focus-visible .discover-math-art{transform:rotate(-8deg)}.discover-subject:hover .discover-science-art,.discover-subject:focus-visible .discover-science-art,.lab-control:active,.lab-tabs button:active{transform:none}}

.discover-intro{position:relative;isolation:isolate}
.discover-intro::before{content:"";position:absolute;left:-24px;top:14px;width:92px;height:92px;z-index:-1;pointer-events:none;background-image:linear-gradient(#b6a3d646 1px,transparent 1px),linear-gradient(90deg,#b6a3d646 1px,transparent 1px);background-size:18px 18px;transform:rotate(-9deg);opacity:.55;border-radius:12px}
.discover-intro::after{content:"";position:absolute;right:-6px;top:14px;width:210px;height:210px;border:1px dashed #b5a0d7;border-radius:50%;z-index:-1;pointer-events:none;transform:rotate(-18deg) scaleY(.82);opacity:.7}
.lab-math,.lab-physics{width:100%;min-width:0;padding:24px}
.lab-math .lab-readout{font-size:clamp(1.55rem,4vw,2.1rem);letter-spacing:.025em}
.lab-ball-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(11px,2vw,20px);padding:25px 0 13px}
button.lab-ball{--ball-face:#7252d7;position:relative;display:grid;place-items:center;flex:none;width:58px;height:58px;margin:0;padding:0;border:2px solid #503397;border-radius:50%;background:radial-gradient(circle at 28% 24%,#ffffff70 0,transparent 48%),conic-gradient(from -25deg,#8969e6 0deg 110deg,#c6b3f3 110deg 170deg,#5f3aba 170deg 290deg,#a788ec 290deg 360deg);box-shadow:0 5px 0 #b8acd3;cursor:pointer;transition:transform .15s,box-shadow .15s;touch-action:manipulation}
button.lab-ball:nth-child(4){margin-left:13px}
button.lab-ball-gold{--ball-face:#e7ad2d;border-color:#a57713;background:radial-gradient(circle at 28% 24%,#ffffff90 0,transparent 48%),conic-gradient(from -25deg,#f9c64e 0deg 110deg,#ffe7a4 110deg 170deg,#dca026 170deg 290deg,#f4d274 290deg 360deg);box-shadow:0 5px 0 #d8c18e}
button.lab-ball:hover{transform:translateY(-4px) rotate(-7deg);box-shadow:0 9px 0 #b8acd3}
button.lab-ball-gold:hover{box-shadow:0 9px 0 #d8c18e}
button.lab-ball[aria-pressed=true]{border-color:#24633f;box-shadow:0 0 0 4px #e8f5da,0 0 0 6px #668845;transform:translateY(-2px)}
button.lab-ball:focus-visible{outline:3px solid #49309b;outline-offset:7px}
.lab-ball-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid #ffffffb0;border-radius:50%;background:#ffffff36;color:#fff;font:800 1rem/1 var(--sans);text-shadow:0 1px 1px #42226b}
button.lab-ball[aria-pressed=true] .lab-ball-mark{border-color:#fff;background:#fff;color:#235737;text-shadow:none}
.lab-ball.is-bouncing{animation:lab-ball-count .55s cubic-bezier(.22,.68,.2,1) both}
.lab-hint{text-align:center;margin:10px 0 0;color:#65546f;font-size:.8rem;line-height:1.5}
.lab-math .lab-status{margin:0;font-weight:750}
.lab-drop-ball circle{fill:#7453d5;stroke:#4a2c9c;stroke-width:2}
.lab-drop-shadow{fill:#8c77a4;opacity:.22;transform-origin:250px 155px}
.lab-physics{color:#66566f}
.lab-physics .lab-status{color:#51405d}
.lab-controls select{min-height:44px;max-width:100%;padding:8px 30px 8px 11px;border:1px solid #b7a8ca;border-radius:11px;background:#ffffff;color:#352248;font:750 .82rem/1.4 var(--sans)}
.lab-controls select:focus-visible{outline:3px solid #49309b;outline-offset:3px}
@keyframes lab-ball-count{0%,100%{transform:translateY(-2px) scale(1)}35%{transform:translateY(-23px) rotate(12deg) scale(1.04)}70%{transform:translateY(0) scale(1.08,.93)}}
@media(max-width:850px){.discover-intro::after{width:160px;height:160px;right:-9px;top:12px}}
@media(max-width:580px){.discover-intro::before{left:auto;right:5px;top:10px;opacity:.24}.discover-intro::after{display:none}.lab-math,.lab-physics{padding:18px 14px}.lab-ball-row{gap:11px;padding-top:22px}button.lab-ball{width:44px;height:44px;box-shadow:0 4px 0 #b8acd3}button.lab-ball-gold{box-shadow:0 4px 0 #d8c18e}button.lab-ball:nth-child(4){margin-left:3px}.lab-ball-mark{width:23px;height:23px;font-size:.9rem}.lab-hint{font-size:.75rem}.lab-physics .lab-controls label{font-size:.78rem}.lab-controls select{padding:8px 20px 8px 8px;font-size:.77rem}}
@media(prefers-reduced-motion:reduce){button.lab-ball,.lab-ball.is-bouncing{transition:none;animation:none}button.lab-ball:hover{transform:none}button.lab-ball[aria-pressed=true]{transform:none}}
@media(max-width:360px){.lab-ball-row{max-width:220px;margin-inline:auto;column-gap:15px}button.lab-ball:nth-child(4){margin-left:0}.lab-physics .lab-controls label{align-items:stretch;flex-direction:column;gap:7px}.lab-controls select{width:100%}}
@media(min-width:581px) and (max-width:850px){.discover-intro::after{right:16px}}
/* State changes keep text and its background in sync, including re-enabled controls. */
.lab-control,.lab-tabs button{transition:transform .16s,box-shadow .16s}
@media(prefers-reduced-motion:reduce){.lab-control,.lab-tabs button{transition:none}}

/* The daily task is the first invitation: one clear action, then exploration. */
.discovery-page .daily-first{padding:clamp(24px,3.6vw,52px) 0 clamp(28px,4vw,48px);background:radial-gradient(ellipse at 8% 15%,#ddd6fe 0,transparent 49%),linear-gradient(110deg,#f4f7ff,#fff4e6);border-top:0;border-bottom:1px solid #d9cdeb}
.daily-first .lp-hero-grid{column-gap:clamp(28px,4vw,64px);align-items:center;row-gap:16px}
.daily-first .lp-intro{align-self:end;padding-top:0;min-width:0}
.daily-first .lp-eyebrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.75rem;line-height:1.5;letter-spacing:.045em;color:#513892}
.daily-first .lp-eyebrow::before{content:"";width:9px;height:9px;flex:none;background:#7450cc;border-radius:50%;box-shadow:0 0 0 4px #e4d8f4}
.daily-first .lp-title{margin:16px 0;font:800 clamp(2.3rem,4.7vw,4rem)/1.04 var(--sans);letter-spacing:-.055em;text-wrap:balance;max-width:13ch;color:#20182f}
.daily-first .lp-title-accent{font-style:normal;color:#5837bc}
.daily-first .lp-lead{max-width:37ch;font-size:1.05rem;line-height:1.6;color:#51455f}
.daily-invite{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0 0;color:#4b3c59;font-size:.78rem;font-weight:750;line-height:1.6}
.daily-invite .ico{width:18px;height:18px;color:#5d3dae}
.daily-first .lp-daily{min-width:0;border:2px solid #8564cd;border-bottom-width:6px;border-radius:25px;background:#ffffff;box-shadow:0 12px 0 -6px #d9cbea,0 24px 42px -30px #49307c55}
.daily-step-label{margin:0;padding:13px 20px 9px;color:#5b3b91;font:800 .69rem/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;background:#eee5fa}
.daily-task-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 20px 10px;background:#eee5fa;color:#51358a;font-weight:800;font-size:.8rem}
.daily-task-header .ico{width:20px;height:20px}
.daily-first .lp-levels{padding:8px;background:#eee5fa;gap:6px;border-bottom-color:#e1d6ed}
.daily-first .lp-level{min-height:46px;border:1px solid #d2c2e8;border-bottom-width:3px;border-radius:11px;background:#ffffff;color:#493b5b;font-size:.86rem;gap:7px;transition:transform .15s,box-shadow .15s}
.daily-first .lp-level.is-active,.daily-first .lp-levels:not([role]) .lp-level[data-active]{background:var(--ci);border-color:var(--ci);color:#fff;box-shadow:0 3px 0 #0002}
.daily-first a.lp-level:hover{transform:translateY(-2px);box-shadow:0 4px 0 #c9b6e2}
.daily-first .lp-problem{padding:23px 26px 25px}
.daily-first .lp-problem-kicker{margin-bottom:10px;font-size:.8rem}
.daily-first .lp-problem-level{font-size:.68rem;min-height:25px;padding:0 10px}
.daily-first .lp-problem-title{font:800 clamp(1.3rem,2.2vw,1.7rem)/1.2 var(--sans);letter-spacing:-.03em;margin-bottom:12px}
.daily-first .lp-problem-title a:hover{text-decoration-thickness:2px}
.daily-first .lp-problem-body{font-size:1rem;line-height:1.6;max-height:12em}
.daily-first a.lp-problem-body{display:block;color:inherit;text-decoration:none;border-radius:10px;transition:background .15s}
.daily-first a.lp-problem-body:hover{background:#f4f7ff}
.daily-first a.lp-problem-body:focus-visible{outline:3px solid #5837bc;outline-offset:5px}
.daily-first .lp-problem-body .display{padding:13px 10px;margin:10px 0 4px;background:#f4f7ff;border-radius:12px}
.daily-first .lp-problem-foot{gap:9px 15px;margin-top:15px;padding-top:17px;border-top-color:#e7dff0}
.daily-first .lp-problem-foot .btn-primary{justify-content:center;min-height:53px;padding:13px 22px;border-radius:14px;background:#5d3ac4;border:1px solid #4c2ba9;box-shadow:0 4px 0 #382078;font-size:.99rem;transition:transform .15s,box-shadow .15s}
.daily-first .lp-problem-foot .btn-primary:hover{background:#5131b3;transform:translateY(-2px);box-shadow:0 6px 0 #382078}
.daily-first .lp-problem-foot .btn-primary:active{transform:translateY(3px);box-shadow:0 1px 0 #382078}
.daily-first .lp-problem-note{font-size:.79rem;line-height:1.5;color:#62536d}
.daily-first .lp-cta{align-self:start;min-width:0}
.daily-first .lp-actions{margin-top:0;gap:9px}
.daily-first .lp-actions .btn-soft{background:#f4f7ff;border-color:#d3c2e5;color:#513892;min-height:44px;font-size:.85rem}
.daily-first .lp-meta{margin-top:12px;gap:8px}
.daily-first .chip{background:#f4f7ff;border-color:#d8c9e8;color:#554363;font-size:.73rem}
.daily-first+.discover{padding-top:clamp(35px,5vw,62px)}
.daily-first+.discover .discover-title{font-size:clamp(2.3rem,4.5vw,3.65rem)}
@media(max-width:900px){
  .daily-first .lp-hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "daily" "cta";row-gap:21px;max-width:660px}
  .daily-first .lp-intro{align-self:start}.daily-first .lp-title{max-width:20ch;font-size:clamp(2rem,5.3vw,3rem)}
  .daily-first .lp-lead{max-width:53ch}.daily-first .lp-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
  .daily-first .lp-meta{margin:0}.daily-first .lp-problem-foot .btn-primary{flex:1}
}
@media(max-width:580px){
  .discovery-page .daily-first{padding:21px 0 24px}.daily-first .lp-hero-grid{row-gap:16px;width:calc(100% - 28px)}
  .daily-first .lp-eyebrow{font-size:.75rem;letter-spacing:.025em;gap:6px;line-height:1.5}
  .daily-first .lp-title{font-size:clamp(1.85rem,8.2vw,2.2rem);line-height:1.06;letter-spacing:-.045em;margin:11px 0 10px;max-width:18ch}
  .daily-first .lp-lead{font-size:.88rem;line-height:1.55;max-width:41ch}.daily-invite{margin-top:10px;font-size:.8rem;gap:6px}
  .daily-first .lp-daily{border-radius:20px;border-bottom-width:5px}
  .daily-first .lp-levels{grid-template-columns:repeat(4,minmax(0,1fr));padding:7px;gap:4px}
  .daily-first .lp-level{min-height:44px;font-size:.76rem;padding:0 4px;gap:4px;border-radius:9px}
  .daily-first .lp-level-dot{width:7px;height:7px}.daily-first .lp-level-check{width:15px;height:15px}.daily-first .lp-level-check .ico{width:11px;height:11px}
  .daily-step-label,.daily-task-header{padding:10px 13px 5px;font-size:.72rem}
  .daily-first .lp-problem{padding:16px 17px 19px}.daily-first .lp-problem-kicker{font-size:.72rem;margin-bottom:8px;gap:6px 9px}
  .daily-first .lp-problem-level{font-size:.7rem;min-height:23px;padding:0 8px}.daily-first .lp-problem-title{font-size:1.23rem;line-height:1.2;margin-bottom:9px}
  .daily-first .lp-problem-body{font-size:.91rem;line-height:1.55;max-height:8.6em}.daily-first .lp-problem-body p{margin-bottom:7px}
  .daily-first .lp-problem-body .display{margin:7px 0 3px;padding:10px 7px}.daily-first .lp-figure{padding:7px;margin-top:8px}.daily-first .lp-figure svg{max-height:110px}
  .daily-first .lp-problem-foot{margin-top:11px;padding-top:12px;gap:9px}.daily-first .lp-problem-foot .btn-primary{width:100%;min-height:51px;font-size:.94rem;padding:11px 14px}
  .daily-first .lp-problem-note{font-size:.8rem;line-height:1.45}.daily-first .lp-cta{gap:10px}.daily-first .lp-actions{order:2}.daily-first .lp-meta{gap:6px}.daily-first .chip{font-size:.75rem;padding-inline:9px}
  .daily-first+.discover .discover-title{font-size:clamp(2.2rem,9vw,3rem)}
}
@media(max-width:359px){.daily-first .lp-level{font-size:.72rem;padding-inline:2px;gap:3px}.daily-first .lp-level-dot{width:6px;height:6px}.daily-first .lp-problem{padding-inline:14px}.daily-invite{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.daily-first .lp-level,.daily-first .lp-problem-foot .btn-primary{transition:none}.daily-first a.lp-level:hover,.daily-first .lp-problem-foot .btn-primary:hover,.daily-first .lp-problem-foot .btn-primary:active{transform:none}}
