:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#172238;background:#f7f9fc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}:root{--bg:#f7f9fc;--surface:#fff;--text:#172238;--muted:#68748a;--line:#e5eaf2;--accent:#3868e9;--accent-light:#eaf0ff;--shadow:0 10px 36px rgba(28,49,92,.045)}:root[data-theme=dark]{--bg:#101723;--surface:#1a2433;--text:#f0f4fc;--muted:#a8b5c9;--line:#344052;--accent:#89a8ff;--accent-light:#263759;--shadow:none;color-scheme:dark}body{background:var(--bg);color:var(--text)}.app{min-height:100vh;display:flex;flex-direction:column}.container{width:min(1100px,calc(100% - 40px));margin:auto}.header{border-bottom:1px solid var(--line);background:var(--surface)}.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:24px;border:0;background:transparent;color:var(--text);padding:0;letter-spacing:-1px}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:var(--accent);color:white;border-radius:13px}.brand-dot,.accent{color:var(--accent)}.nav{display:flex;align-items:center;gap:20px}.nav>a{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);font-weight:600}.nav>a:hover{color:var(--accent)}.icon-btn{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:11px;display:grid;place-items:center;width:39px;height:39px}.lang-select,.grade-row select{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:10px 13px}.mobile-menu{display:none}.hero{margin:42px 0 24px;min-height:300px;background:var(--surface);border:1px solid var(--line);border-radius:26px;display:flex;align-items:center;justify-content:space-between;padding:40px 54px;overflow:hidden;box-shadow:var(--shadow)}.hero-copy{max-width:620px;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-size:13px;font-weight:750}.hero h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.8px;line-height:1.12;margin:18px 0 15px}.hero p{color:var(--muted);line-height:1.7;font-size:16px;max-width:520px}.grade-row{display:flex;align-items:center;gap:13px;margin-top:26px}.grade-row label{font-size:14px;font-weight:700}.grade-row select{min-width:100px}.hero-art{width:250px;height:250px;position:relative;flex:none;display:grid;place-items:center}.orbit{position:absolute;border:1px solid var(--line);border-radius:50%}.orbit-one{width:235px;height:235px}.orbit-two{width:175px;height:175px}.art-center{height:124px;width:124px;border-radius:32px;background:var(--accent-light);color:var(--accent);display:grid;place-items:center;transform:rotate(-9deg)}.art-star{position:absolute;color:var(--accent);font-size:35px}.art-star.one{top:15px;right:28px}.art-star.two{bottom:24px;left:13px}.art-star.three{bottom:32px;right:20px}.progress-strip{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:17px 21px;display:flex;align-items:center;gap:16px}.progress-icon{height:42px;width:42px;background:#fff4d9;color:#9d6d0d;border-radius:12px;display:grid;place-items:center}.progress-info{display:flex;flex-direction:column;gap:3px;min-width:160px}.progress-info strong{font-size:14px}.progress-info span{color:var(--muted);font-size:12px}.progress-track{height:9px;border-radius:20px;background:var(--line);flex:1;overflow:hidden}.progress-track span{display:block;background:#40a988;height:100%;border-radius:20px;transition:width .3s}.subjects-section,.lessons-section{margin-top:36px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.section-head h2{font-size:22px;letter-spacing:-.6px;margin:0}.subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.subject-card{position:relative;min-height:168px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px;color:var(--text);transition:transform .18s,border-color .18s;box-shadow:var(--shadow)}.subject-card:hover,.lesson-card:hover{transform:translateY(-3px);border-color:var(--accent)}.subject-card.active{border:2px solid var(--accent);padding:19px;background:var(--accent-light)}.subject-icon{height:47px;width:47px;border-radius:14px;display:grid;place-items:center}.math{background:#e8efff;color:#3d66dc}.armenian{background:#fff0df;color:#bf761f}.english{background:#f1e9ff;color:#8852d2}.science{background:#ddf6ed;color:#16866b}.subject-card strong{font-size:15px}.subject-card small{font-size:12px;color:var(--muted)}.subject-arrow{position:absolute;right:17px;bottom:17px;color:var(--muted)}.text-btn{display:flex;align-items:center;gap:5px;border:0;background:none;color:var(--accent);font-weight:700}.lesson-count{font-size:12px;color:var(--muted)}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.lesson-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:20px;min-height:180px;color:var(--text);transition:transform .18s,border-color .18s}.lesson-top{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:12px;font-weight:700;color:var(--accent)}.completed-icon{color:#2da77b}.lesson-card h3{font-size:18px;letter-spacing:-.4px;margin:0;flex:1}.lesson-open{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:650}.empty{background:var(--surface);padding:36px;border:1px dashed var(--line);border-radius:15px;color:var(--muted)}.notice{margin:35px 0 55px;padding:16px 20px;border-radius:13px;background:var(--accent-light);color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.footer{margin-top:auto;border-top:1px solid var(--line);background:var(--surface)}.footer-inner{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;color:var(--muted)}.footer strong{font-size:18px;color:var(--text)}.footer a{display:flex;align-items:center;gap:5px}.lesson-view{margin-top:32px;max-width:790px}.back{display:flex;align-items:center;gap:8px;color:var(--muted);background:transparent;border:0;padding:8px 0;margin-bottom:26px}.lesson-view h2{font-size:clamp(27px,4vw,38px);letter-spacing:-1px}.explanation,.quiz{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px;margin-top:22px}.section-kicker{display:flex;align-items:center;gap:9px;color:var(--accent);font-weight:750;font-size:13px}.explanation p{line-height:1.85;font-size:16px;margin:18px 0 0}.quiz h3{font-size:20px;line-height:1.5;margin:18px 0 22px}.options{display:grid;gap:10px}.option{display:flex;align-items:center;gap:14px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:13px 15px;color:var(--text);min-height:54px}.option:disabled{cursor:default}.option.selected{border-color:var(--accent);background:var(--accent-light)}.option.right{border-color:#32a67d;background:rgba(50,166,125,.1)}.option.wrong{border-color:#df6c6c;background:rgba(223,108,108,.08)}.option-letter{border-radius:8px;background:var(--bg);height:28px;width:28px;display:grid;place-items:center;font-weight:750;font-size:12px;flex:none}.option-check{margin-left:auto;color:#26986f}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 19px;border-radius:11px;font-weight:700;font-size:14px}.primary{background:var(--accent);border:1px solid var(--accent);color:white;margin-top:20px}.primary:disabled{opacity:.45;cursor:not-allowed}.secondary{background:var(--surface);color:var(--text);border:1px solid var(--line)}.feedback{border-radius:13px;padding:17px;margin-top:19px;font-size:14px}.feedback p{margin:7px 0 0;line-height:1.6}.feedback.success{background:rgba(50,166,125,.12)}.feedback.retry{background:rgba(223,157,69,.13)}.quiz-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}@media(max-width:850px){.hero{padding:35px}.hero-art{width:150px;height:150px}.orbit-one{width:150px;height:150px}.orbit-two{width:115px;height:115px}.art-center{width:88px;height:88px}.art-center svg{width:40px}.subject-grid{grid-template-columns:repeat(2,1fr)}.lesson-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){.container{width:min(100% - 28px,1100px)}.header-inner{height:66px}.brand{font-size:22px}.nav{display:none;position:absolute;z-index:10;top:66px;left:0;right:0;padding:17px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:var(--shadow)}.nav.open{display:flex;flex-wrap:wrap;justify-content:center}.mobile-menu{display:grid}.hero{margin-top:22px;min-height:0;padding:28px 23px}.hero h1{font-size:32px}.hero p{font-size:14px}.hero-art{display:none}.progress-strip{padding:14px}.progress-info{min-width:105px}.subject-grid{gap:10px}.subject-card{padding:15px;min-height:160px}.subject-card.active{padding:14px}.lesson-grid{grid-template-columns:1fr}.lesson-card{min-height:145px}.section-head h2{font-size:20px}.explanation,.quiz{padding:20px}.notice{margin-bottom:30px}.footer-inner{flex-wrap:wrap;padding:20px 0}}

/* Static deployment enhancements */
.subject-icon{font-size:25px}.brand-mark{font-size:21px}.art-center{font-size:62px}.progress-icon{font-size:22px}.subject-card:focus-visible,.lesson-card:focus-visible,.option:focus-visible,.primary:focus-visible,.icon-btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.option-check{font-weight:900}.lesson-view{padding-bottom:5px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
