@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{--ink:#131b2e;--muted:#5e6477;--primary:#4f46e5;--line:#e4e7f1;--bg:#faf8ff;--math:#b86a00;--physics:#006f82;--chem:#006e4b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 'Plus Jakarta Sans',sans-serif}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9b95ff;outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:clamp(34px,4vw,54px);line-height:1.22;letter-spacing:-2px;font-weight:800}h2{font-size:29px;line-height:1.35;letter-spacing:-.8px}h3{font-size:20px;line-height:1.4}p{color:var(--muted)}.wrap{max-width:1240px;margin:auto;padding:0 32px}.header{height:86px;background:#ffffffee;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(16px)}.header .wrap{display:flex;align-items:center;justify-content:space-between;height:100%;gap:24px}.brand{display:flex;gap:10px;align-items:center;line-height:1.2}.brand b{font-size:23px;color:var(--primary);letter-spacing:-1px}.brand small{display:block;font:10px/1.8 Inter,sans-serif;letter-spacing:2px;color:#00687a}.logo{width:40px;height:40px;display:grid;place-items:center;background:var(--primary);color:white;border-radius:12px;font-size:25px}.nav{display:flex;gap:8px;align-items:center}.nav a{padding:9px 16px;font-size:13px;border-radius:30px}.nav a:hover{background:#f0eeff}.nav .active{background:var(--primary);color:white}.pill{display:inline-flex;align-items:center;gap:8px;border-radius:30px;background:white;padding:6px 12px;font:600 10px/1.5 Inter,sans-serif;letter-spacing:.7px;color:#00687a}.dot{width:6px;height:6px;border-radius:50%;background:#10b981}.hero{padding:58px 0 54px;background:radial-gradient(ellipse at 0% 100%,#cff4fc 0,transparent 47%),linear-gradient(120deg,#f0eeff,#faf8ff 70%)}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:56px}.hero h1{margin:18px 0}.accent{color:var(--primary)}.hero p{max-width:560px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:12px 20px;border-radius:9px;background:var(--primary);color:white;font-weight:700;font-size:13px;min-height:44px;transition:.2s}.btn:hover{filter:brightness(.94);transform:translateY(-1px)}.btn.secondary{background:#eeecff;color:var(--primary)}.hero-meta{display:flex;gap:24px;margin-top:26px;font-size:11px;color:#686b7d}.hero-meta b{display:block;color:var(--ink);font-size:15px}.preview{padding:14px;background:white;border:1px solid #e7e8f5;border-radius:20px;box-shadow:0 16px 36px #25236712;transform:rotate(1deg)}.preview-top{background:#111b32;border-radius:12px;color:white;position:relative;overflow:hidden;height:245px}.preview-top svg{width:100%;height:100%}.preview-label{position:absolute;top:16px;left:16px;font:600 10px Inter;letter-spacing:1px;color:#a5f3fc}.preview-caption{position:absolute;bottom:15px;left:20px}.preview-caption strong{font-size:18px}.preview-caption p{color:#bdc8df;font-size:11px}.preview-bottom{display:flex;justify-content:space-between;align-items:center;padding:18px 8px 8px;font-size:12px}.preview-bottom b{color:var(--primary)}.section{padding:55px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:28px}.eyebrow{font:700 10px Inter,sans-serif;letter-spacing:1.4px;color:#00687a;display:block;margin-bottom:9px}.section-heading p{font-size:13px;max-width:390px}.subjects{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.subject{background:white;border:1px solid var(--line);border-radius:17px;padding:27px;display:flex;flex-direction:column;align-items:start;box-shadow:0 4px 8px #18233c04}.subject-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:20px}.subject-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-size:25px;background:var(--tint);color:var(--color);font-weight:600}.math{--color:var(--math);--tint:#fff6e6}.physics{--color:var(--physics);--tint:#e9fafd}.chem{--color:var(--chem);--tint:#e8faf1}.subject p{font-size:13px;margin:10px 0 18px}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:25px}.tag{font:500 10px Inter;padding:5px 8px;border-radius:5px;background:#f0f1fc;color:#4e5267}.subject .btn{width:100%;margin-top:auto;background:var(--color)}.badge{font:600 10px Inter;border-radius:20px;padding:5px 9px;background:var(--tint,#eeecff);color:var(--color,#4f46e5)}.catalog{background:#f0f1ff}.filters{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.search{flex:1;min-width:220px;position:relative}.search input{width:100%;padding:13px 16px 13px 42px;border:1px solid #dce0ef;border-radius:10px;background:white;font-size:13px}.search span{position:absolute;left:16px;top:10px;color:#7b7d91;font-size:20px}select{min-height:46px;border:1px solid #dce0ef;background:white;padding:8px 30px 8px 12px;border-radius:10px;font-size:12px;color:var(--ink)}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{padding:9px 14px;border-radius:24px;background:white;color:#5e6477;font-size:12px;min-height:42px}.chip.selected{background:var(--primary);color:white}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:.2s}.card:hover{transform:translateY(-4px);box-shadow:0 10px 28px #1e25430c}.card-art{height:170px;background:var(--tint);display:grid;place-items:center;position:relative;overflow:hidden}.card-art svg{width:90%;height:130px}.art-badge{position:absolute;left:14px;top:12px;background:white;border-radius:5px;padding:3px 7px;font:600 9px Inter;color:var(--color)}.card-content{padding:20px}.card-content h3{font-size:17px;margin:8px 0}.card-content p{font-size:12px;min-height:42px}.card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:14px;border-top:1px solid #edf0f6;font-size:11px}.card-foot a{font-weight:700;color:var(--color)}.soon{color:#687083;background:#f3f4f8;border-radius:20px;padding:4px 10px;font-size:10px}.count{font-size:12px;color:#5e6477;margin-bottom:18px}.empty{text-align:center;padding:50px;background:white;border-radius:15px}.notice{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px;border-radius:18px;background:#e8e5ff}.notice h3{color:#3727b5;margin-bottom:8px}.notice p{font-size:13px;max-width:720px}.footer{padding:30px 0;background:white;border-top:1px solid var(--line)}.footer .wrap{display:flex;justify-content:space-between;gap:20px;align-items:center}.footer p{font-size:11px}.lab-header{padding:26px 0 20px}.breadcrumb{font-size:12px;color:#6e7286;margin-bottom:18px}.lab-title{display:flex;justify-content:space-between;gap:15px;align-items:center}.lab-title h1{font-size:30px;letter-spacing:-1px;margin:8px 0}.lab-title p{font-size:13px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;padding-bottom:25px}.stage{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;min-width:0}.stage-bar{display:flex;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line);font-size:12px;gap:10px}.canvas-wrap{height:410px;position:relative}canvas{width:100%;height:100%;display:block;touch-action:none}.stage-bottom{padding:16px 20px;background:#fcfcff;border-top:1px solid var(--line);display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:12px}.panel{padding:22px;background:white;border:1px solid var(--line);border-radius:17px}.panel h3{font-size:16px;margin-bottom:20px}.control{margin-bottom:22px}.control label{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:8px}.control output{color:var(--primary);font-family:Inter}.control input[type=range]{width:100%;height:26px;accent-color:var(--primary)}.control select{width:100%}.range-label{display:flex;justify-content:space-between;font-size:10px;color:#74798b}.formula{background:#f0eeff;border-radius:10px;padding:15px;text-align:center;color:#4033b8;font:600 21px Inter;margin-bottom:20px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);padding:18px;border-radius:12px}.metric small{display:block;color:#6f7386;font-size:10px;margin-bottom:5px}.metric b{font:600 20px Inter;color:var(--primary)}.guide{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 45px}.guide .panel p{font-size:12px}.guide h3{margin-bottom:10px}.guide ol{font-size:12px;color:var(--muted);padding-left:18px}.kps{display:grid;grid-template-columns:38px 1fr;gap:9px;font-size:12px}.kps b{color:var(--primary)}.lang{border:1px solid var(--line);background:white;border-radius:8px;padding:8px 12px;font-size:12px;min-height:44px}.challenge{margin-top:16px;padding:16px;border-radius:10px;background:#f5f4ff;font-size:12px}.challenge button{margin-top:10px}.challenge p{margin-top:8px}.check{display:flex;align-items:center;gap:7px}.check input{width:18px;height:18px;accent-color:var(--primary)}[hidden]{display:none!important}@media(max-width:1000px){.hero-grid{gap:30px}.nav a{padding:8px}.workspace{grid-template-columns:minmax(0,1fr) 280px}.wrap{padding:0 22px}.hero-meta{gap:15px}.subject{padding:20px}}@media(max-width:760px){.header{height:auto;min-height:76px}.header .wrap{padding-top:12px;padding-bottom:12px;flex-wrap:wrap;gap:10px}.nav{width:100%;justify-content:space-between;order:3}.nav a{font-size:11px}.header-note{font-size:10px}.hero{padding:35px 0}.hero-grid{grid-template-columns:1fr;gap:30px}.hero h1{font-size:36px;letter-spacing:-1.5px}.preview{transform:none}.preview-top{height:215px}.hero-meta{justify-content:space-between}.section{padding:36px 0}.section-heading{display:block}.section-heading p{margin-top:12px}h2{font-size:25px}.subjects,.cards{grid-template-columns:1fr}.subject{padding:24px}.cards{gap:18px}.card-art{height:180px}.notice{padding:25px;display:block}.notice .btn{margin-top:20px}.footer .wrap{flex-direction:column;align-items:start}.workspace{grid-template-columns:1fr}.canvas-wrap{height:340px}.metrics{grid-template-columns:1fr 1fr}.guide{grid-template-columns:1fr}.lab-title{align-items:start}.lab-title h1{font-size:26px}.wrap{padding:0 18px}.filters select{flex:1}.search{min-width:100%;order:-1}.stage-bar{padding:13px;font-size:10px}.stage-bottom{padding:13px}.header-note{display:none}}
/* Compact header and rotating simulation previews. */
.header{height:72px}
.header .brand b{font-size:21px}
.header .brand .logo{width:36px;height:36px;border-radius:11px}
.header .nav a{padding:7px 14px}
.carousel{min-width:0;position:relative;transform:rotate(1deg);padding:8px;border-radius:18px}
.preview-link{display:block;position:relative;overflow:hidden;border-radius:12px}
.carousel-frame{position:relative;width:100%;height:100%}
.carousel-outgoing{position:absolute;inset:0;pointer-events:none;z-index:1}
.carousel .preview-top{height:280px}
.carousel .preview-label{font-size:10px}
.carousel .preview-caption{left:20px;right:16px;bottom:15px}
.carousel .preview-caption strong{font-size:18px;line-height:1.4;display:block}
.carousel .preview-caption p{font-size:11px}
.carousel .preview-bottom{gap:12px;min-height:42px;padding:10px 7px 5px;font-size:11px}
.carousel .preview-bottom>span{display:flex;align-items:center;gap:7px}
.carousel .preview-bottom b{white-space:nowrap}
.dot-soon{background:#f59e0b}
/* Controls float over the image; no control strip below the card. */
.carousel-controls{position:absolute;inset:8px 8px auto;height:280px;pointer-events:none}
.carousel-arrow{position:absolute;display:grid;place-items:center;pointer-events:auto;width:36px;height:36px;color:#fff;background:#17223c35;border:1px solid #ffffff20;border-radius:50%;font-size:18px;backdrop-filter:blur(8px);box-shadow:0 3px 12px #0001;opacity:.45;transition:opacity .25s ease,background-color .25s ease,border-color .25s ease}
.carousel-arrow{top:50%;transform:translateY(-50%)}
#slide-prev{left:10px}
#slide-next{right:10px}
.carousel-arrow:hover,.carousel-arrow:focus-visible{background:#17223cf2;border-color:#ffffff70;opacity:1}
@media(max-width:760px){.header{height:auto;min-height:66px}.header .wrap{padding-top:9px;padding-bottom:9px;gap:7px}.header .nav a{padding:6px 10px}.carousel .preview-top{height:260px}.carousel .preview-bottom{font-size:10px}.carousel-controls{height:260px}.carousel{transform:rotate(1deg)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
