@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#062443;--navy2:#0a3156;--blue:#078de5;--cyan:#16c8e8;--ink:#102b48;--muted:#63778b;--line:#dce7f1;--pale:#f2f8fd;--white:#fff;--shadow:0 18px 50px rgba(10,48,81,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:'DM Sans',sans-serif}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.topbar{height:84px;padding:0 max(5.4vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2f7;background:rgba(255,255,255,.95);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.brand img{width:158px;height:65px;object-fit:contain}.topbar nav{display:flex;gap:32px;color:#425c75;font-size:13px;font-weight:600}.topbar nav a:hover{color:var(--blue)}.top-actions{display:flex;align-items:center;gap:10px}.primary,.outline,.ghost{border:0;border-radius:10px;padding:12px 17px;font-size:13px;font-weight:700;cursor:pointer}.primary{background:linear-gradient(110deg,#087ee0,#09bce4);color:#fff;box-shadow:0 8px 20px #078de52b}.primary:hover{filter:brightness(1.06);transform:translateY(-1px)}.ghost{background:#f3f7fb;color:var(--ink)}.outline{background:white;border:1px solid #b9d2e7;color:var(--navy)}.menu-btn{display:none;border:0;background:none;font-size:24px}.hero{background:radial-gradient(ellipse at 83% 38%,#10466d 0,transparent 37%),linear-gradient(115deg,#041b33 0%,#082d4f 62%,#071f39 100%);min-height:520px;padding:82px max(7vw,28px) 68px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;overflow:hidden;position:relative;color:white}.hero:after{content:'';position:absolute;width:470px;height:470px;border:1px solid #ffffff0d;border-radius:50%;right:-160px;top:-160px}.hero-copy{position:relative;z-index:2;max-width:650px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#0899e5;display:inline-flex;align-items:center;gap:8px}.hero .eyebrow{color:#9ceaff}.dot{height:7px;width:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 13px var(--cyan)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(38px,4.2vw,60px);line-height:1.1;letter-spacing:-2.5px;margin:22px 0 18px;font-weight:800}h1 span{color:#24c5ec}.hero-copy>p{color:#c5d6e4;font-size:15px;line-height:1.8;max-width:540px}.hero-actions{display:flex;gap:12px;margin-top:27px}.link-button{display:inline-flex;gap:20px;align-items:center}.hero .outline{background:transparent;color:#fff;border-color:#6a8aa4}.hero-points{display:flex;flex-wrap:wrap;gap:19px;margin-top:32px;color:#d0e0ec;font-size:11px}.hero-points span: first-letter{color:#26c8eb}.hero-art{height:360px;position:relative;display:flex;align-items:center;justify-content:center}.orbit{position:absolute;border:1px solid #1e8fba33;border-radius:50%;width:360px;height:360px}.orbit-two{width:275px;height:275px;border-color:#30d2f333}.book-stack{position:relative;width:340px;z-index:1;transform:rotate(-5deg)}.book{height:53px;margin:7px 0;border-radius:4px 10px 10px 4px;box-shadow:0 10px 20px #0004;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:1px;font-size:13px;color:#173650;border-left:8px solid #dce5ed}.book b{font-size:21px;color:#087fc5}.book-1{background:#f6f9fb}.book-2{background:#cceaf8;border-color:#69bce8}.book-3{background:#e4e8ef;border-color:#9daebf}.book-4{background:#c8d5ed;border-color:#859cc9}.float-card{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;background:#fffffffa;color:var(--ink);padding:12px 15px;border-radius:13px;box-shadow:0 15px 35px #0003}.float-card b,.float-card small{display:block}.float-card b{font-size:11px}.float-card small{font-size:10px;color:#72869a;margin-top:4px}.card-note{right:-4px;top:30px}.card-quiz{left:0;bottom:35px}.mini-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#e5f9ef;color:#16965e;font-size:18px}.mini-icon.blue{background:#e4f4ff;color:#078de5}.learn-section,.how-section{padding:82px max(7vw,28px)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:32px}.section-heading h2{font-size:clamp(25px,3vw,36px);letter-spacing:-1.2px;margin:10px 0}.section-heading p{color:var(--muted);font-size:14px;margin-bottom:0}.search-wrap{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--line);border-radius:12px;height:46px;width:min(310px,100%);color:#7990a5}.search-wrap input{border:0;outline:0;width:100%;font-size:12px;color:var(--ink)}.class-row{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-bottom:32px}.class-btn{border:1px solid var(--line);background:white;border-radius:15px;padding:18px 12px;cursor:pointer;display:flex;align-items:center;gap:12px;text-align:left;transition:.2s}.class-btn:hover{border-color:#6bbdec;transform:translateY(-2px)}.class-btn.active{border-color:#0799ed;background:linear-gradient(130deg,#edfaff,#f5fbff);box-shadow:inset 0 0 0 1px #078de52b}.class-number{width:40px;height:40px;border-radius:12px;background:#edf5fb;color:#1478b6;display:grid;place-items:center;font-weight:800;font-size:18px}.class-btn.active .class-number{background:linear-gradient(135deg,#087ee0,#16c5e6);color:white}.class-btn b{font-size:13px;display:block}.class-btn small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.subject-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.subject-heading h3{font-size:19px;margin:0}.subject-heading>span{background:#eef7fd;border-radius:8px;padding:7px 10px;font-size:11px;color:#0877ba;font-weight:700}.subject-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.subject-card{padding:17px;border:1px solid var(--line);border-radius:15px;background:white;display:flex;align-items:center;gap:13px;text-align:left;cursor:pointer;min-height:86px;transition:.2s}.subject-card:hover{border-color:#7dcaf1;box-shadow:0 10px 24px #0c5c8e0d;transform:translateY(-2px)}.subject-card.active{border-color:#078de5;background:#f1faff;box-shadow:inset 0 0 0 1px #078de51c}.subject-icon{width:44px;height:44px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;font-size:21px;background:var(--tint);color:var(--tone)}.subject-card b{display:block;font-size:13px}.subject-card small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.chapter-panel{margin-top:26px;border:1px solid var(--line);border-radius:18px;padding:25px;background:linear-gradient(135deg,#f9fcff,#fff);min-height:180px}.chapter-empty{text-align:center;padding:22px}.empty-icon{margin:0 auto 12px;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#e6f7ff;color:#0589db;font-size:21px}.chapter-empty h3{font-size:17px;margin-bottom:7px}.chapter-empty p{font-size:12px;color:var(--muted);margin:0}.chapter-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:17px}.chapter-top h3{margin:6px 0;font-size:21px}.chapter-top p{color:var(--muted);font-size:12px;margin:0}.chapter-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.chapter-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border:1px solid var(--line);padding:15px;border-radius:12px;text-align:left;cursor:pointer}.chapter-item:hover{border-color:#16a5e8}.chapter-item b{font-size:12px;display:block}.chapter-item small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.chapter-arrow{color:#098fe0;font-size:18px}.chapter-content{margin-top:17px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:14px}.chapter-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:19px}.tab{border:1px solid var(--line);border-radius:8px;background:white;padding:9px 12px;font-size:11px;cursor:pointer}.tab.active{background:#078de5;color:white;border-color:#078de5}.tab-content h4{margin:0 0 10px;font-size:16px}.tab-content p,.tab-content li{font-size:13px;line-height:1.75;color:#4f657a}.sample-label{display:inline-block;font-size:9px;text-transform:uppercase;letter-spacing:1px;background:#fff4db;color:#97610b;padding:5px 8px;border-radius:5px;font-weight:800;margin-bottom:10px}.quiz-launch{border:0;background:#087fdc;color:white;padding:10px 14px;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer}.how-section{background:#f5f9fc}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.step-card{background:white;border:1px solid #e2ebf3;border-radius:16px;padding:23px;position:relative;min-height:230px}.step-no{position:absolute;right:18px;top:17px;font-size:11px;color:#9aafc1;font-weight:800}.step-icon{height:46px;width:46px;border-radius:13px;background:#e9f7ff;color:#078de5;display:grid;place-items:center;font-size:22px;margin-bottom:22px}.step-card h3{font-size:15px;margin-bottom:9px}.step-card p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.emkay-step{background:#062443;color:white;border-color:#062443}.emkay-step p{color:#bed0df}.emkay-step .step-icon{background:#113e60;color:#28c6e9}.text-button{border:0;background:none;color:#50d4f1;padding:15px 0 0;cursor:pointer;font-size:11px;font-weight:700}.accuracy-note{margin:0 max(7vw,28px) 55px;padding:20px 23px;border-radius:14px;background:#f5f9fc;border:1px solid #e2ebf3;display:flex;gap:14px;align-items:flex-start}.accuracy-mark{height:34px;width:34px;border-radius:10px;background:#e1f8eb;color:#138d54;display:grid;place-items:center;flex-shrink:0}.accuracy-note b{font-size:13px}.accuracy-note p{font-size:11px;line-height:1.7;color:var(--muted);margin:5px 0 0}footer{border-top:1px solid #e7eef4;padding:28px max(7vw,28px);display:flex;align-items:center;gap:25px;color:var(--muted);font-size:11px}footer img{width:120px;height:50px;object-fit:contain}footer p{margin:0;color:var(--ink);font-weight:700}footer span{margin-left:auto}.chat-launcher{position:fixed;right:25px;bottom:24px;z-index:40;border:0;border-radius:999px;padding:12px 17px 12px 12px;display:flex;align-items:center;gap:9px;background:linear-gradient(115deg,#062443,#07578b);color:white;box-shadow:0 12px 30px #0529484d;cursor:pointer;font-size:12px}.chat-spark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#16c4e8;color:#062443;font-size:19px}.chat-online{width:7px;height:7px;border-radius:50%;background:#51e4a3}.chat-panel{position:fixed;z-index:41;right:24px;bottom:90px;width:min(390px,calc(100vw - 28px));height:min(600px,calc(100vh - 125px));background:white;border:1px solid #dce8f2;border-radius:20px;box-shadow:0 25px 90px #082c4a35;display:none;flex-direction:column;overflow:hidden}.chat-panel.open{display:flex;animation:pop .18s ease-out}@keyframes pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.chat-header{display:flex;align-items:center;gap:11px;padding:17px;background:#062443;color:white}.emkay-avatar{width:40px;height:40px;border-radius:13px;background:linear-gradient(140deg,#e9fbff,#75dafa);color:#06375e;display:grid;place-items:center;font-family:Manrope;font-size:21px;font-weight:800;position:relative}.emkay-avatar span{position:absolute;right:-4px;top:-4px;background:#12c2e7;border-radius:50%;font-size:10px;width:17px;height:17px;display:grid;place-items:center}.chat-head-copy{flex:1}.chat-head-copy b{display:block;font-size:14px;letter-spacing:1px}.chat-head-copy small{display:block;color:#b7d2e6;font-size:10px;margin-top:5px}.chat-head-copy i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#45e7a0;margin-right:4px}.chat-header>button,.modal-close{border:0;background:transparent;color:inherit;font-size:25px;cursor:pointer}.chat-context{padding:11px 15px;background:#f0f9fe;border-bottom:1px solid #e1eef6;color:#506a80;font-size:10px;line-height:1.5}.chat-context span{color:#078de5;margin-right:5px}.chat-messages{flex:1;overflow:auto;padding:17px 13px;display:flex;flex-direction:column;gap:14px;background:#fbfdff}.message{display:flex;gap:8px;align-items:flex-start}.message.user-message{justify-content:flex-end}.message-avatar{width:25px;height:25px;border-radius:8px;background:#e1f6ff;color:#087fc5;display:grid;place-items:center;font-size:11px;font-weight:800;flex-shrink:0}.bubble{max-width:85%;border:1px solid #e0eaf2;border-radius:4px 13px 13px 13px;padding:11px 12px;background:white;color:#304b64;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.bubble small{display:block;border-top:1px solid #edf2f6;margin-top:9px;padding-top:8px;color:#75899a;font-size:10px}.user-message .bubble{background:#e5f5ff;border-color:#cceaff;border-radius:13px 4px 13px 13px}.quick-prompts{display:flex;gap:6px;overflow:auto;padding:9px 12px;white-space:nowrap;border-top:1px solid #edf2f7}.quick-prompts button{border:1px solid #d7e7f2;background:white;border-radius:999px;padding:7px 9px;font-size:9px;color:#3c6787;cursor:pointer;flex-shrink:0}.chat-form{display:flex;gap:8px;padding:11px;border-top:1px solid #e8eff5;align-items:end}.chat-form textarea{resize:none;flex:1;border:1px solid #dce7f1;border-radius:12px;padding:11px;outline:0;max-height:100px;font-size:12px;line-height:1.4}.chat-form textarea:focus{border-color:#32aee8}.chat-form button{width:39px;height:39px;border:0;border-radius:12px;background:#078de5;color:white;font-size:21px;cursor:pointer}.chat-form button:disabled{opacity:.5;cursor:wait}.chat-disclaimer{padding:0 13px 10px;color:#8999a7;font-size:9px;line-height:1.4}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#031b30a8;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.quiz-modal{background:white;border-radius:20px;padding:30px;width:min(510px,100%);position:relative;box-shadow:var(--shadow)}.modal-close{position:absolute;right:17px;top:12px;color:#60778a}.quiz-modal h2{font-size:25px;margin:9px 0 18px}.quiz-option{display:block;width:100%;text-align:left;border:1px solid var(--line);background:#fff;padding:12px 14px;border-radius:10px;margin:8px 0;font-size:13px;cursor:pointer}.quiz-option:hover,.quiz-option.selected{border-color:#078de5;background:#eff9ff}.quiz-submit{margin-top:10px}.quiz-feedback{font-size:13px;line-height:1.6;margin-top:15px;padding:13px;border-radius:10px;background:#eff9f3;color:#226744}.no-results{color:var(--muted);font-size:13px;padding:20px}
@media(max-width:950px){.topbar{padding:0 24px}.topbar nav{gap:16px}.hero{padding:60px 5vw;grid-template-columns:1fr .8fr}.hero-art{transform:scale(.86)}.subject-grid{grid-template-columns:repeat(3,1fr)}.steps-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.topbar{height:70px;padding:0 16px}.brand img{width:126px;height:54px}.topbar nav{display:none;position:absolute;top:69px;left:0;right:0;background:white;padding:20px;box-shadow:0 10px 20px #06244315;flex-direction:column}.topbar nav.show{display:flex}.top-actions{gap:6px}.top-actions .ghost{display:none}.top-actions .primary{padding:10px 12px;font-size:11px}.menu-btn{display:block}.hero{display:block;padding:53px 23px 35px;min-height:0}.hero h1{font-size:42px;letter-spacing:-1.8px}.hero-copy>p{font-size:13px}.hero-art{height:270px;transform:scale(.85);margin:0 -20px}.book-stack{width:280px}.book{height:43px;font-size:10px;margin:5px 0}.orbit{width:280px;height:280px}.orbit-two{width:220px;height:220px}.card-note{right:0;top:8px}.card-quiz{left:2px;bottom:9px}.hero-points{gap:10px;font-size:10px}.learn-section,.how-section{padding:55px 18px}.section-heading{display:block}.section-heading h2{font-size:27px}.search-wrap{margin-top:20px;width:100%}.class-row{gap:7px}.class-btn{padding:12px 3px;display:flex;flex-direction:column;text-align:center;gap:7px;border-radius:12px}.class-number{width:34px;height:34px;font-size:15px}.class-btn b{font-size:11px}.class-btn small{font-size:9px}.subject-grid{grid-template-columns:repeat(2,1fr);gap:8px}.subject-card{padding:11px;min-height:75px;gap:9px}.subject-icon{width:36px;height:36px;font-size:18px}.subject-card b{font-size:11px}.subject-card small{font-size:9px}.chapter-panel{padding:14px}.chapter-list{grid-template-columns:1fr}.chapter-top{align-items:flex-start;flex-direction:column}.chapter-top h3{font-size:18px}.chapter-content{padding:13px}.chapter-tabs{gap:5px}.tab{padding:8px;font-size:10px}.steps-grid{grid-template-columns:1fr 1fr;gap:9px}.step-card{padding:15px;min-height:215px}.step-icon{margin-bottom:17px}.step-card h3{font-size:13px}.step-card p{font-size:11px}.accuracy-note{margin:0 18px 35px;padding:16px}.accuracy-note p{font-size:10px}footer{padding:22px 18px;gap:10px;flex-wrap:wrap}footer img{width:100px}footer p{font-size:10px}footer span{width:100%;margin-left:0}.chat-launcher{right:14px;bottom:14px}.chat-panel{right:10px;bottom:78px;width:calc(100vw - 20px);height:min(600px,calc(100vh - 95px))}}
/* EMKAY Learning Series — Classes 6–12 expansion */
.class-row{grid-template-columns:repeat(7,minmax(0,1fr))}
.class-btn{min-width:0}
.class-btn small{white-space:nowrap}
.feature-pills{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.feature-pills span{border:1px solid #dceaf4;background:#f7fbfe;color:#3f617d;border-radius:999px;padding:8px 11px;font-size:11px}
.integrity-copy{font-size:11px!important;color:#71869a!important;line-height:1.7!important;margin:13px 0 0!important}
.lesson-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.lesson-heading h3{font-size:22px;margin:7px 0 0}
.process-flow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0;padding:18px;background:linear-gradient(120deg,#f2faff,#f8fcff);border:1px solid #e0edf7;border-radius:14px}
.process-flow div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.process-flow b{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#087fc5;color:#fff;font-size:11px}
.process-flow span{font-size:11px;color:#31536f;font-weight:700}
.process-flow i{font-style:normal;color:#19a9df;font-size:19px}
.learning-callout{border-left:3px solid #12bfe3;background:#f0faff;padding:14px 16px;margin:18px 0;border-radius:0 10px 10px 0}
.learning-callout b{font-size:12px;color:#075b8e}
.learning-callout p{margin:6px 0 0;font-size:12px;line-height:1.75;color:#49667e}
.concept-row{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid #edf2f6}
.concept-row:last-of-type{border-bottom:0}
.concept-row>span{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:#eaf7ff;color:#087fc5;font-size:11px;font-weight:800}
.concept-row b{font-size:13px}
.concept-row p{margin:5px 0 0;font-size:12px;line-height:1.7;color:#587087}
.qa-item{border:1px solid #e1ebf3;border-radius:11px;margin:9px 0;padding:13px 15px;background:#fff}
.qa-item summary{font-size:12px;font-weight:700;line-height:1.6;cursor:pointer;color:#193b58}
.qa-item p,.qa-item li{font-size:12px;line-height:1.75;color:#506a80}
.qa-item p{margin:12px 0 2px}
.quiz-finish{text-align:center;padding:20px 10px}
.quiz-finish h3{margin:10px 0}
.quiz-finish p{font-size:13px;color:#506a80;line-height:1.7}
@media(max-width:950px){.class-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.class-row{grid-template-columns:repeat(4,minmax(0,1fr))}.class-btn small{white-space:normal}.process-flow{flex-wrap:wrap}.process-flow div{flex-basis:38%}.process-flow i{display:none}.lesson-heading{flex-direction:column}.feature-pills span{font-size:10px;padding:7px 9px}}

/* Keyboard accessibility: keep a clear focus indicator on every interactive control. */
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #b88a43;
  outline-offset: 3px;
}

/* Class 6 Mathematics chapter inventory and self-check additions */
.chapter-item.chapter-ready{border-color:#c9a96e;background:linear-gradient(110deg,#fffdf7,#ffffff)}
.quiz-question{border:1px solid #e1e7ee;border-radius:16px;padding:18px;margin:16px 0;background:#fff}
.quiz-question h4{font-size:1.08rem;line-height:1.5}
.quiz-question .quiz-option{display:block;width:100%;text-align:left;margin:8px 0}
.quiz-question .quiz-submit{margin-top:12px}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Supplied textbook inventory */
.inventory-count{font-size:12px;color:#6c7e8e;margin:-4px 0 16px;font-weight:600}
.inventory-note{border:1px solid #e5d7b9;background:#fffdf7;border-radius:12px;padding:14px 16px;margin:14px 0 18px}
.inventory-note b{font-size:12px;color:#785a24}
.inventory-note p{font-size:12px;line-height:1.7;color:#5f6b74;margin:5px 0 0}
.inventory-book{border:1px solid #e1e9ef;border-radius:14px;padding:12px;margin:12px 0;background:#fff}
.inventory-book-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 7px 12px}
.inventory-book-head b{font-size:13px;color:#173a57}
.inventory-book-head small{font-size:10px;color:#8291a0;text-align:right;overflow-wrap:anywhere}
.inventory-chapter{margin:5px 0}
.inventory-chapter small{color:#8a7b5f!important}
@media(max-width:680px){.inventory-book-head{align-items:flex-start;flex-direction:column}.inventory-book-head small{text-align:left}}

/* V13 — editorial learning-platform refinement */
:root{--navy:#061b32;--navy2:#0b3155;--blue:#1677ee;--cyan:#43d6e8;--ink:#10263d;--muted:#61758b;--line:#e2e9f1;--pale:#f5f8fc;--shadow:0 18px 55px rgba(8,34,61,.08)}
body{font-family:'DM Sans',system-ui,sans-serif;letter-spacing:-.01em;background:#fff}
.topbar{height:78px;padding-inline:clamp(18px,5.5vw,88px);border-bottom-color:#e8edf3}
.brand img{width:166px;height:62px}
.topbar nav{gap:clamp(16px,2.5vw,34px);font-size:13px}
.topbar nav a{position:relative;padding:9px 0}
.topbar nav a:after{content:'';position:absolute;left:0;right:100%;bottom:0;height:2px;background:#1677ee;transition:right .2s}
.topbar nav a:hover:after{right:0}
.primary{background:#1677ee;box-shadow:0 8px 20px #1677ee25;border-radius:9px}
.hero{min-height:590px;padding:clamp(58px,7vw,100px) clamp(24px,8vw,128px);grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:3vw;background:radial-gradient(ellipse at 80% 28%,#164a75 0,transparent 32%),linear-gradient(118deg,#061a30 0%,#092b4b 55%,#0b2540 100%)}
.hero:before{content:'EMKAY / LEARNING SERIES';position:absolute;right:5.5%;bottom:22px;color:#ffffff25;font-size:9px;font-weight:800;letter-spacing:3px}
.hero h1{font-size:clamp(42px,4.6vw,68px);line-height:1.055;letter-spacing:-.055em;margin:24px 0 22px;max-width:720px}
.hero h1 span{color:#69d8ed}
.hero-copy>p{max-width:510px;font-size:15px;line-height:1.9;color:#c5d4e3}
.hero-actions{margin-top:32px;gap:13px}.hero-actions .primary,.hero-actions .outline{padding:14px 18px}
.hero-points{margin-top:30px;gap:18px;color:#d5e4ef;font-size:11px}
.hero-art{transform:scale(.94);transform-origin:center}
.orbit{border-color:#6bd8ed27}.orbit-two{border-color:#6bd8ed3d}
.book{box-shadow:0 14px 26px #00122538;border-radius:9px;transition:transform .25s,filter .25s}.book:hover{transform:translateX(9px);filter:brightness(1.08)}
.float-card{border:1px solid #ffffff45;box-shadow:0 20px 55px #00122550;backdrop-filter:blur(18px);border-radius:14px}
.learn-section{padding:clamp(62px,7vw,100px) clamp(18px,7vw,108px);background:#f7f9fc}
.section-heading{align-items:end;margin-bottom:32px;gap:25px}
.section-heading h2{font-size:clamp(27px,3vw,39px);letter-spacing:-.045em;line-height:1.15;margin:12px 0 11px}
.section-heading p{font-size:13px;line-height:1.7;color:#718197}
.search-wrap{background:#fff;border-color:#dfe7f0;border-radius:12px;box-shadow:0 6px 20px #0c2e4b06;min-width:min(320px,100%)}
.search-wrap:focus-within{border-color:#1677ee;box-shadow:0 0 0 4px #1677ee12}
.class-row{gap:10px;margin:30px 0 32px}
.class-btn{background:#fff;border:1px solid #e0e7ef;border-radius:13px;min-height:78px;transition:all .18s}
.class-btn:hover{transform:translateY(-2px);border-color:#a9c9ed;box-shadow:0 9px 24px #0b31550b}
.class-btn.active{background:#0a2948;border-color:#0a2948;color:#fff;box-shadow:0 10px 25px #06244320}
.class-btn.active small{color:#a9c5dc}.class-number{border-radius:10px}
.subject-heading{margin-bottom:13px}.subject-heading h3{font-size:21px;letter-spacing:-.03em}
.inventory-count{margin:0 0 18px;font-size:11px;color:#7b8b9c}
.subject-grid{gap:12px}
.subject-card{background:#fff;border:1px solid #e2e9f1;border-radius:14px;min-height:100px;padding:17px;transition:transform .18s,border-color .18s,box-shadow .18s}
.subject-card:hover{transform:translateY(-3px);border-color:#b4d5f2;box-shadow:0 12px 28px #0b31550b}
.subject-card.active{border-color:#1677ee;box-shadow:0 0 0 3px #1677ee12}
.subject-card b{font-size:13px;letter-spacing:-.02em}.subject-card small{line-height:1.5;margin-top:5px}
.chapter-panel{margin-top:22px;border:1px solid #e0e8f1;border-radius:18px;padding:clamp(16px,2.5vw,28px);background:#fff;box-shadow:0 15px 45px #0b315507}
.chapter-top h3{letter-spacing:-.035em}.chapter-item{border-radius:10px}
.how-section{padding:clamp(60px,7vw,96px) clamp(18px,7vw,108px)}
.steps-grid{gap:14px}.step-card{border:1px solid #e4eaf1;border-radius:16px;padding:25px;background:linear-gradient(155deg,#fff,#fbfcfe);transition:transform .2s,box-shadow .2s}.step-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px #0b31550d}
.step-no{color:#9aabbc;font-size:10px;letter-spacing:1.5px}.step-icon{border-radius:12px}
.emkay-step{background:linear-gradient(150deg,#f0f8ff,#fff);border-color:#d7e9fa}
.accuracy-note{max-width:1050px;margin:0 auto 50px;border:1px solid #e2eaf2;border-radius:14px;background:#f8fbfe}
footer{border-top:1px solid #e6edf4;background:#fff;padding:28px clamp(18px,7vw,108px)}
.chat-launcher{border-radius:999px;box-shadow:0 12px 35px #061b3240}
.chat-panel{border-radius:18px;box-shadow:0 25px 90px #061b3240}
:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #1677ee;outline-offset:3px}
@media(max-width:950px){.hero{padding:60px 5vw;gap:0}.hero-art{transform:scale(.84)}.learn-section,.how-section{padding-inline:5vw}}
@media(max-width:680px){.topbar{height:68px}.brand img{width:128px}.hero{padding:49px 22px 28px;min-height:0}.hero h1{font-size:clamp(38px,10vw,48px);letter-spacing:-.05em}.hero-copy>p{font-size:13px;line-height:1.8}.hero-art{height:265px;transform:scale(.82);margin:0 -24px}.hero-points{display:flex;flex-wrap:wrap}.learn-section,.how-section{padding:52px 16px}.section-heading h2{font-size:28px}.class-btn{min-height:72px}.subject-card{min-height:83px;padding:12px}.chapter-panel{padding:14px}.step-card{border-radius:13px}.accuracy-note{margin:0 16px 30px}}

/* EMKAY AI Toolbox + account preview */
.toolbox-section{padding:clamp(58px,7vw,94px) clamp(18px,7vw,108px);background:#fff}.toolbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tool-card{padding:25px;border:1px solid #dce7f1;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fbff);min-height:220px;position:relative;transition:transform .2s,border-color .2s,box-shadow .2s}.tool-card:hover{transform:translateY(-3px);border-color:#83cafa;box-shadow:0 16px 34px #0c5c8e10}.tool-card.tool-featured{background:linear-gradient(145deg,#062443,#0b4770);color:#fff;border-color:#0b4770}.tool-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#e6f7ff;color:#078de5;font-size:22px;margin-bottom:17px}.tool-featured .tool-icon{background:#164f75;color:#43d6f2}.tool-tag{position:absolute;right:20px;top:25px;font-size:9px;letter-spacing:1px;color:#8ee9ff;font-weight:800}.tool-card h3{font-size:17px;margin-bottom:9px}.tool-card p{font-size:12px;line-height:1.7;color:#687d90;margin-bottom:18px}.tool-featured p{color:#c8ddeb}.tool-action{border:0;background:transparent;color:#087fc5;font-size:12px;font-weight:800;padding:0;cursor:pointer}.tool-featured .tool-action{color:#62def6}.toolbox-note{margin-top:18px;padding:15px 17px;background:#f0f7fc;border:1px solid #dbeaf4;border-radius:12px;font-size:11px;line-height:1.7;color:#526b80}.toolbox-note b{color:#153b5a}.auth-logo{display:block;width:145px;height:70px;object-fit:contain;margin:0 auto 12px}.auth-modal label{display:block;font-size:12px;font-weight:700;margin:14px 0 7px}.auth-modal input{width:100%;border:1px solid #d8e4ef;border-radius:10px;padding:12px 13px;font-size:13px;outline:0}.auth-modal input:focus{border-color:#078de5}.auth-copy{font-size:12px;line-height:1.7;color:#64798c}.auth-submit{width:100%;margin-top:18px}.auth-status{margin-top:13px;padding:11px;border-radius:9px;background:#fff6df;color:#815b16;font-size:11px;line-height:1.6}.top-actions .outline{padding:11px 14px}@media(max-width:850px){.toolbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.toolbox-section{padding:50px 16px}.toolbox-grid{grid-template-columns:1fr;gap:10px}.tool-card{min-height:0;padding:20px}.top-actions #loginOpen{padding:9px 10px;font-size:11px}.auth-modal{padding:24px 20px}}
