html{scroll-behavior:smooth;scroll-padding-top:100px}body{line-height:1.6}a,button{-webkit-tap-highlight-color:transparent}button{font:inherit}a{text-decoration:none}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}h1,h2,h3{font-weight:700;color:var(--text)}h1,h2{letter-spacing:-.045em;line-height:1.08}h1{font-size:clamp(42px,5.8vw,80px)}h2{font-size:clamp(30px,3.5vw,48px)}h3{font-size:21px;letter-spacing:-.025em;line-height:1.3}p{color:var(--muted)}.container{width:min(1080px,calc(100% - 48px));margin-inline:auto}.section{padding:88px 0;border-top:1px solid var(--border)}.section-heading{max-width:740px;margin-bottom:32px}.eyebrow{display:block;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;margin-bottom:16px}.lead{font-size:18px;line-height:1.7;max-width:680px;margin-top:18px}.small{font-size:12px;line-height:1.7;color:var(--muted)}.narrow{max-width:620px}.grid{display:grid;gap:18px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.surface{background:var(--surface);border:1px solid var(--border);border-radius:24px}.feature{padding:30px;position:relative}.feature h3{margin-bottom:12px}.feature p{font-size:14px;max-width:340px}.arrow{position:absolute;right:24px;top:24px;font-size:20px;color:var(--green-btn)}.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;border-radius:100px;padding:14px 24px;font-size:14px;font-weight:600;line-height:1.4;min-height:48px;border:1px solid transparent;transition:background .2s,transform .2s,border-color .2s}.button.primary{background:var(--green-btn);color:white}.button.secondary{background:white;border-color:var(--border-strong);color:var(--text)}.button:active{transform:scale(.98)}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--green-btn);font-size:14px;font-weight:600;background:none;border:0;padding:10px 0;text-align:left}.site-header{position:sticky;top:0;z-index:110;background:rgba(248,250,247,.97);border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;justify-content:space-between;height:78px;gap:20px}.brand{display:inline-flex;align-items:center;gap:9px;font-family:Inter,sans-serif;font-size:23px;font-weight:800;letter-spacing:-.06em;color:var(--text);flex-shrink:0}.brand img{object-fit:contain}.brand-dot,.hero-copy h1 span,.subject-hero h1>span:not(.subject-hero-icon){color:var(--green-btn)}#site-nav{display:flex;align-items:center;gap:25px}#site-nav>a:not(.button){font-size:13px;color:var(--muted);font-weight:500}#site-nav .button{padding:11px 20px;min-height:42px}.menu-toggle{display:none}.skip-link{position:fixed;top:-80px;left:20px;padding:12px;background:white;z-index:400}.skip-link:focus{top:10px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.home-hero{padding:80px 0 68px;background:radial-gradient(ellipse at 75% 50%,#edf7ec 0,transparent 65%)}.home-hero>.container{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:55px}.hero-copy .lead{font-size:16px;margin-top:25px;max-width:460px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;margin-bottom:16px}.hero-system{position:relative;padding:20px 0 0;max-width:420px}.system-card{background:white;border:1px solid var(--border);border-radius:24px;box-shadow:0 12px 38px rgba(17,26,16,.04)}.system-lesson{padding:30px 32px 50px;margin-left:26px;transform:rotate(2deg)}.status{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-bottom:26px}.status i,.status-dot{height:7px;width:7px;border-radius:100%;background:var(--green-btn);flex-shrink:0}.system-lesson h2{font-size:29px;line-height:1.2;letter-spacing:-.04em;margin-bottom:22px}.avatar-stack{display:flex;margin-bottom:14px}.avatar-stack span{height:41px;width:41px;border:3px solid white;border-radius:100%;background:#edf7ec;color:var(--green-btn);display:grid;place-items:center;font-size:13px;font-weight:600;margin-left:-6px}.avatar-stack span:first-child{margin-left:0}.avatar-stack span:nth-child(2){background:#eff5ff;color:var(--blue)}.system-lesson p{font-size:12px}.system-cabinet,.system-bot{position:relative;padding:20px;display:flex;gap:14px;align-items:center}.system-cabinet{margin-top:-27px;transform:rotate(-3deg);margin-right:25px}.system-bot{margin-top:12px;margin-left:44px;transform:rotate(1deg)}.system-card strong{font-size:14px;font-weight:600}.system-card p{font-size:12px}.mini-icon{height:39px;width:39px;display:grid;place-items:center;border-radius:12px;background:var(--green-light);color:var(--green-btn);font-size:23px}.mini-icon.blue{background:#eff5ff;color:var(--blue)}.mini-check{margin-left:auto;color:var(--green-btn)}.system-caption{display:block;font-size:11px;color:var(--muted);text-align:center;margin-top:21px}.university-link{display:flex;justify-content:space-between;gap:16px;margin-top:22px;font-size:13px;color:var(--muted);padding:12px 0}.diagnostic-layout{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.steps{display:flex;flex-direction:column;gap:30px}.step{display:flex;gap:20px;align-items:flex-start}.step-num{font-size:12px;color:var(--green-btn);font-weight:600;border:1px solid #d7e8d6;border-radius:50%;height:38px;width:38px;display:grid;place-items:center;flex-shrink:0}.step h3{font-size:19px;margin-bottom:7px}.step p{font-size:14px;max-width:350px}.report-preview{padding:30px;box-shadow:0 12px 35px rgba(17,26,16,.03);transform:rotate(1deg)}.report-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.report-top strong{font-size:22px;letter-spacing:-.05em}.report-top strong span{color:var(--green-btn)}.report-top>span{font-size:10px;color:var(--muted)}.report-preview h3{font-size:27px;margin-bottom:20px}.report-row{border-top:1px solid var(--border);padding:16px 0;display:flex;justify-content:space-between;gap:15px;font-size:12px}.report-row>span{color:var(--muted)}.report-row strong{font-weight:500}.section-action{margin-top:30px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}.eco-card{text-align:left;min-height:190px;transition:transform .25s,border-color .25s,box-shadow .25s}.platform-note{display:flex;align-items:center;gap:15px;margin-top:24px;font-size:13px;background:var(--green-light);border-radius:14px;padding:18px 24px}.platform-note strong{color:var(--text);font-weight:500}.intensive-banner{padding:38px 40px;background:#edf7ec;border:1px solid #d7e8d6;border-radius:26px;display:grid;grid-template-columns:1.8fr 1fr;gap:40px;align-items:center}.intensive-banner .lead{margin-top:0;max-width:550px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.chips span{background:rgba(255,255,255,.8);padding:7px 12px;border-radius:50px;font-size:12px;color:var(--muted)}.intensive-price{display:flex;flex-direction:column;gap:10px;text-align:center}.intensive-price strong{font-size:44px;line-height:1.15;letter-spacing:-.05em}.intensive-price span{font-size:13px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-block:40px;text-align:center}.stats>div{display:flex;flex-direction:column;gap:6px}.stats strong{font-size:34px;letter-spacing:-.05em}.stats span{font-size:12px;color:var(--muted)}.review-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px;font-size:14px}.review-heading p{max-width:530px}.review-heading a{flex-shrink:0}.review{display:block;padding:10px;overflow:hidden}.review img{width:100%;height:auto;border-radius:15px}.price-card,.referral-card{padding:34px;display:flex;flex-direction:column;align-items:flex-start;gap:22px}.price-card .eyebrow,.referral-card .eyebrow{margin:0}.price{font-size:40px;font-weight:700;letter-spacing:-.045em;line-height:1.3}.price span{font-size:14px;font-weight:400;color:var(--muted);letter-spacing:0}.price-card p,.referral-card p{font-size:14px}.referral-card h3{font-size:32px}.share-status:empty{display:none}.faq-list{max-width:780px;display:grid;gap:10px}.question{border:1px solid var(--border);border-radius:16px;background:white;padding:0 23px}.question summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:15px;font-weight:500;padding:20px 0;cursor:pointer}.question summary::-webkit-details-marker{display:none}.question summary span{font-size:23px;font-weight:400;color:var(--green-btn);transition:transform .2s}.question[open] summary span{transform:rotate(45deg)}.question p{font-size:14px;padding-bottom:23px;max-width:670px}.site-footer{padding:40px 0 48px;border-top:1px solid var(--border)}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:30px;font-size:12px}.footer-top p{max-width:420px}.footer-top>a:last-child{color:var(--muted)}.footer-subjects{display:flex;gap:12px 22px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:30px 0 22px}.mobile-cta{display:none}.subject-hero{padding:28px 0 64px;background:linear-gradient(155deg,#edf7ec,transparent 70%)}.breadcrumbs{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--muted);margin-bottom:48px}.breadcrumbs a:hover{color:var(--green-btn)}.subject-hero h1{position:relative;max-width:800px;font-size:clamp(40px,6vw,76px);margin-bottom:23px}.subject-hero .lead{margin-top:0;max-width:720px}.subject-hero-icon{display:inline-grid;place-items:center;color:var(--green-btn);background:var(--green-light);font-size:26px;letter-spacing:0;width:68px;height:68px;border-radius:20px;margin-left:24px;vertical-align:middle}.teacher-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.teacher{padding:30px}.teacher:only-child{grid-column:span 2;max-width:700px}.avatar{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--green-light);color:var(--green-btn);font-size:24px;font-weight:600;margin-bottom:18px}.teacher:nth-child(2) .avatar{background:#eff5ff;color:var(--blue)}.teacher-subject{display:block;font-size:11px;color:var(--green-btn);margin-bottom:9px}.teacher h3{font-size:26px;margin-bottom:12px}.teacher-university{font-size:13px;margin-bottom:23px}.fact-list{list-style:none;margin-top:20px}.fact-list li{font-size:13px;line-height:1.6;padding:10px 0;border-top:1px solid var(--border);color:var(--muted)}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.task{padding:22px;border:1px solid var(--border);border-radius:16px;display:flex;gap:15px;background:white;align-items:center}.task span{color:var(--green-btn)}.task h3{font-size:16px;font-weight:500}.ecosystem-summary{padding:32px}.ecosystem-summary .lead{margin:0 0 22px}.intensive-subjects{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.intensive-subjects .chip{font-size:14px;padding:10px 18px;background:white}.overlay[hidden]{display:none!important}.overlay{top:0;opacity:0;transform:translateY(24px);transition:transform .3s ease,opacity .3s ease;padding:24px 0 80px}.overlay.active{transform:none;opacity:1}.overlay .h{font-family:Inter,sans-serif;line-height:1.15}.overlay p,.overlay li{line-height:1.7}.overlay .ov-close{margin-bottom:35px;top:0;min-height:44px}.overlay .fi{opacity:1;transform:none}.dialog-content{max-width:800px}.example-report{padding:35px;margin:30px 0}.example-report h3{margin:25px 0 18px}.example-report h3:first-of-type{margin-top:0}.example-report p{font-size:14px}.topic-report>div{display:grid;grid-template-columns:1fr 2fr;gap:20px;border-top:1px solid var(--border);padding:16px 0;font-size:13px}.topic-report dd{color:var(--muted)}body.ov-open{overflow:hidden}body.ov-open #page{transform:none;filter:none;pointer-events:none}.overlay .pmockup{height:390px}.overlay .px-5{padding-inline:24px}.reveal{opacity:1}.js-ready .reveal{opacity:0;transform:translateY(12px);transition:opacity .45s ease,transform .45s ease}.js-ready .reveal.visible{opacity:1;transform:none}
.subject-details{margin-top:32px}.subject-detail{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:22px 0;border-top:1px solid var(--border)}.subject-detail dt{font-size:15px;font-weight:600;line-height:1.6;color:var(--text)}.subject-detail dd{margin:0;max-width:65ch;font-size:15px;line-height:1.7;color:var(--muted)}
@media(max-width:700px){.subject-details{margin-top:25px}.subject-detail{grid-template-columns:1fr;gap:8px;padding:20px 0}.subject-detail dt,.subject-detail dd{font-size:14px}}
@media(hover:hover){.eco-card:hover{border-color:var(--border-strong);transform:translateY(-3px);box-shadow:0 8px 22px rgba(0,0,0,.04)}.button.primary:hover{background:#166534}.button.secondary:hover{border-color:var(--text)}#site-nav>a:hover{color:var(--text)}}
@media(min-width:768px){.site-header{backdrop-filter:blur(12px)}}
@media(max-width:900px){#site-nav{gap:16px}.home-hero>.container{gap:25px;grid-template-columns:1.25fr 1fr}.home-hero{padding-top:60px}.hero-copy h1{font-size:54px}.system-lesson{padding:26px 24px 45px;margin-left:12px}.system-lesson h2{font-size:24px}.system-card strong{font-size:12px}.system-bot{margin-left:25px}.teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diagnostic-layout{gap:35px}}
@media(max-width:700px){html{scroll-padding-top:80px}.container{width:calc(100% - 36px)}.header-inner{height:64px}.brand{font-size:22px}.brand img{width:28px}.menu-toggle{display:flex;align-items:center;gap:13px;border:1px solid var(--border);border-radius:50px;padding:9px 15px;background:white;font-size:12px;min-height:40px}#site-nav{display:none;position:absolute;top:64px;left:0;right:0;padding:18px;background:var(--bg);border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch;gap:0}#site-nav.open{display:flex}#site-nav>a:not(.button){padding:13px 10px;font-size:15px}#site-nav .button{margin-top:10px;min-height:48px}.home-hero{padding:48px 0 35px}.home-hero>.container{display:block}.hero-copy h1{font-size:clamp(40px,9.4vw,58px)}.hero-copy .eyebrow{margin-bottom:20px}.hero-copy .lead{font-size:15px;margin-top:20px}.hero-actions{gap:10px;margin-top:24px}.hero-actions .button{padding:13px 19px;font-size:13px}.hero-copy .small{font-size:11px;max-width:310px}.hero-system{display:none}.section{padding:52px 0}.section-heading{margin-bottom:25px}h2{font-size:31px;line-height:1.14}.lead{font-size:16px}.eyebrow{font-size:10px;margin-bottom:12px}.university-link{font-size:12px}.two,.three{grid-template-columns:1fr}.diagnostic-layout{grid-template-columns:1fr;gap:30px}.steps{gap:24px}.step{gap:15px}.step h3{font-size:18px}.step p{font-size:13px}.report-preview{padding:25px;transform:none}.report-preview h3{font-size:24px}.report-row{font-size:11px}.section-action{flex-direction:column;align-items:flex-start;gap:12px}.feature{padding:25px}.eco-card{min-height:172px}.feature h3{font-size:21px}.platform-note{padding:18px;font-size:12px;align-items:flex-start}.status-dot{margin-top:7px}.intensive-banner{grid-template-columns:1fr;gap:25px;padding:25px}.intensive-banner .lead{font-size:16px}.intensive-price{text-align:left;gap:5px;border-top:1px solid #d7e8d6;padding-top:22px}.intensive-price strong{font-size:37px}.stats{grid-template-columns:repeat(2,1fr);padding-block:30px;gap:22px}.stats strong{font-size:30px}.review-heading{flex-direction:column;align-items:flex-start;gap:12px;font-size:13px}.reviews{grid-template-columns:1fr;max-width:420px}.price-card,.referral-card{padding:25px;gap:20px}.price{font-size:34px}.price span{font-size:12px}.referral-card h3{font-size:28px}.question{padding-inline:18px}.question summary{font-size:14px}.question p{font-size:13px}.footer-top{flex-direction:column;align-items:flex-start;gap:18px}.footer-subjects{gap:15px 20px}.site-footer{padding-bottom:110px}.mobile-cta{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:105;padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:rgba(248,250,247,.97);border-top:1px solid var(--border)}.mobile-cta .button{width:100%;font-size:13px;min-height:44px}.subject-hero{padding:22px 0 42px}.breadcrumbs{font-size:10px;margin-bottom:32px;gap:8px}.subject-hero h1{font-size:clamp(36px,8vw,52px);overflow-wrap:anywhere}.subject-hero-icon{width:44px;height:44px;border-radius:13px;font-size:17px;margin-left:12px}.subject-hero .lead{font-size:15px}.teacher-grid{grid-template-columns:1fr}.teacher:only-child{grid-column:auto}.teacher{padding:25px}.task-grid{grid-template-columns:1fr;gap:10px}.task{padding:19px}.task h3{font-size:14px}.ecosystem-summary{padding:25px}.overlay{padding-top:18px}.overlay .ov-close{margin-bottom:25px}.overlay .h{overflow-wrap:anywhere}.overlay .max-w-3xl,.overlay .max-w-5xl{max-width:100%}.example-report{padding:24px}.topic-report>div{grid-template-columns:1fr;gap:7px}.example-report .grid{gap:25px}.report-top{gap:10px}.report-top>span{text-align:right}.intensive-subjects{gap:8px}.intensive-subjects .chip{font-size:12px;padding:8px 13px}#programs{padding-top:45px;padding-bottom:45px}#programs .h{font-family:Inter,sans-serif;line-height:1.15}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-ready .reveal{opacity:1;transform:none}}

/* Subject picker: soft LGG tones, shared line icons and clear link states. */
.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.subject-card{--subject-bg:#eaf3e7;--subject-hover:#e0eedc;--subject-border:#d4e4ce;--subject-ink:#28723a;--subject-muted:#486048;display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-width:0;min-height:190px;padding:24px;border:1px solid var(--subject-border);border-radius:20px;background:var(--subject-bg);transition:background .2s,border-color .2s,transform .2s}
.subject-card--sky{--subject-bg:#ecf2fc;--subject-hover:#dfeafb;--subject-border:#d7e3f5;--subject-ink:#2258a4;--subject-muted:#475f7d}
.subject-card--mint{--subject-bg:#e8f4f0;--subject-hover:#dceee7;--subject-border:#cee5dc;--subject-ink:#216b58;--subject-muted:#45665b}
.subject-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.subject-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:14px;background:#fff;color:var(--subject-ink)}
.subject-icon svg{display:block;width:28px;height:28px}
.subject-card-arrow{display:grid;place-items:center;width:32px;height:32px;color:var(--subject-ink);border-radius:50%;transition:background .2s,transform .2s}
.subject-card-arrow svg{display:block;width:19px;height:19px}
.subject-card-copy{min-height:68px}
.subject-card h3{font-size:19px;line-height:1.3;letter-spacing:-.025em;margin:0 0 8px}
.subject-card p{font-size:13px;line-height:1.65;color:var(--subject-muted);margin:0;max-width:30ch}
.subject-card:focus-visible{outline:3px solid var(--blue);outline-offset:4px;background:var(--subject-hover)}
.subject-card:active{transform:scale(.985);background:var(--subject-hover)}
@media(hover:hover){.subject-card:hover{background:var(--subject-hover);border-color:var(--subject-ink);transform:translateY(-3px)}.subject-card:hover .subject-card-arrow{background:#fff;transform:translate(2px,-2px)}}
@media(max-width:700px){.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subject-card{padding:18px 15px;min-height:175px;gap:22px;border-radius:18px}.subject-icon{width:42px;height:42px;border-radius:12px}.subject-icon svg{width:25px;height:25px}.subject-card-top{gap:8px}.subject-card-arrow{width:26px;height:26px}.subject-card-arrow svg{width:17px;height:17px}.subject-card-copy{min-height:67px}.subject-card h3{font-size:16px;min-height:21px}.subject-card[data-subject="social-studies"] h3{font-size:14px}.subject-card p{font-size:11px;line-height:1.7}}
@media(max-width:360px){.subject-grid{grid-template-columns:1fr}.subject-card{min-height:145px;gap:16px;padding:20px}.subject-card-copy{min-height:51px}.subject-card h3,.subject-card[data-subject="social-studies"] h3{font-size:18px}.subject-card p{font-size:12px;max-width:none}}
@media(prefers-reduced-motion:reduce){.subject-card,.subject-card-arrow{transition:none}.subject-card:hover,.subject-card:active,.subject-card:hover .subject-card-arrow{transform:none}}

/* Diagnostic preview and sample report: document layout inspired by the owner's reference. */
.diagnostic-steps .step{position:relative;gap:20px}.diagnostic-steps .step:not(:last-child):before{content:"";position:absolute;left:19px;top:48px;bottom:-22px;width:1px;background:var(--border)}
.diagnostic-steps .step-num{position:relative;background:#eaf3e7;border-color:#d4e4ce;color:#28723a}.diagnostic-steps .step:nth-child(2) .step-num{background:#ecf2fc;border-color:#d7e3f5;color:#2258a4}.diagnostic-steps .step:nth-child(3) .step-num{background:#e8f4f0;border-color:#cee5dc;color:#216b58}
.diagnostic-steps .step p{max-width:390px;font-size:15px;line-height:1.75}
.report-preview{padding:0;overflow:hidden;transform:none;box-shadow:none;border-color:#d7e3f0;border-radius:24px}
.report-preview-heading{padding:28px 30px 24px;background:#edf4fc;border-bottom:1px solid #d7e3f0}
.report-preview-brand{display:flex;align-items:center;justify-content:space-between;gap:20px}.report-preview-brand>strong{color:#122e50;font-size:24px;letter-spacing:-.04em;line-height:1.2}.report-preview-brand>strong>span{color:#28723a}.report-preview-brand>span{font-size:11px;line-height:1.5;color:#475f7d;text-align:right}
.report-preview-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px}.report-preview h3{font-size:30px;margin:0;color:#122e50}.report-preview-heading>p{font-size:14px;line-height:1.7;color:#475f7d;max-width:34ch;margin-top:12px}
.report-document-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;flex-shrink:0;background:white;color:#2258a4}.report-document-icon svg{width:28px;height:28px}
.report-preview-body{padding:24px 30px 26px}.report-summary{display:flex;align-items:center;gap:14px;padding:15px 16px;border-radius:14px;margin-bottom:10px;background:#eaf3e7;color:#28723a}.report-summary--practice{background:#ecf2fc;color:#2258a4}.report-summary--plan{background:#e8f4f0;color:#216b58}
.report-summary-icon{display:flex;flex-shrink:0}.report-summary-icon svg{width:24px;height:24px}.report-summary strong{display:block;font-size:14px;font-weight:600;line-height:1.5;color:inherit}.report-summary p{font-size:12px;line-height:1.6;color:inherit;margin-top:3px}
.report-preview .report-example-button{display:flex;justify-content:space-between;gap:14px;width:100%;font-size:14px;color:#2258a4;background:#ecf2fc;border:1px solid #d7e3f5;border-radius:12px;padding:13px 15px;margin-top:19px;min-height:48px;transition:background .2s,border-color .2s}.report-example-button svg{width:18px;height:18px;flex-shrink:0}.report-preview-body>.small{font-size:11px;margin-top:13px;color:#475f7d}
#diagnostic-example{background:#eef3f8}.diagnostic-dialog{max-width:880px}.diagnostic-example-intro{margin-bottom:26px}.report-demo-label{display:inline-block;font-size:12px;font-weight:500;color:#2258a4;background:#e1ecfb;border:1px solid #cbdcf3;border-radius:50px;padding:6px 12px;margin-bottom:16px}.diagnostic-example-intro h2{font-size:clamp(30px,4vw,44px);color:#122e50;letter-spacing:-.035em}.diagnostic-example-intro>p{font-size:15px;line-height:1.7;color:#475f7d;margin-top:12px}
.diagnostic-document{border:1px solid #d7e3f0;background:white;border-radius:22px;overflow:hidden}.diagnostic-document-header{padding:32px 36px;background:linear-gradient(120deg,#edf4fc,#eef8f4);border-bottom:1px solid #d7e3f0}.diagnostic-document-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:25px}.diagnostic-document-title h3{font-size:28px;color:#122e50;letter-spacing:-.03em;line-height:1.3}.diagnostic-document-title p{font-size:14px;color:#475f7d;margin-top:9px}.diagnostic-document-body{padding:30px 36px 36px}.report-section+.report-section{margin-top:34px}.report-section h3,.report-conclusions h3{font-size:21px;color:#122e50;letter-spacing:-.025em;line-height:1.35;margin-bottom:16px}.report-section>p{font-size:14px;color:#475f7d;line-height:1.7;max-width:70ch}
.report-timeline{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}.report-timeline li{position:relative;text-align:center}.report-timeline li:not(:last-child):after{content:"";position:absolute;top:22px;left:calc(50% + 25px);width:calc(100% - 32px);height:1px;background:#cbdcf3}.report-timeline li>span{position:relative;display:grid;place-items:center;width:44px;height:44px;margin:0 auto 10px;border-radius:50%;color:#2258a4;background:#e1ecfb;z-index:1}.report-timeline svg{width:22px;height:22px}.report-timeline strong{display:block;font-size:12px;line-height:1.5;font-weight:600;color:#122e50}
.report-results-layout{display:grid;grid-template-columns:1fr 1.35fr;gap:16px}.report-score{padding:24px;background:#edf4fc;border-radius:16px;display:flex;flex-direction:column;justify-content:center;gap:12px}.report-score>span{font-size:13px;line-height:1.5;font-weight:500;color:#475f7d}.report-score>strong{font-size:46px;line-height:1;letter-spacing:-.04em;color:#122e50}.report-score>strong>span{font-size:28px}.report-score>p{font-size:11px;color:#475f7d;line-height:1.6}.report-score meter{display:block;appearance:none;width:100%;height:12px;background:#cfdef4;border:0;border-radius:50px;overflow:hidden}.report-score meter::-webkit-meter-bar{background:#cfdef4;border:0;border-radius:50px}.report-score meter::-webkit-meter-optimum-value{background:#4778dc;border-radius:50px}.report-score meter::-moz-meter-bar{background:#4778dc;border-radius:50px}
.report-findings{display:grid;gap:12px}.report-finding{padding:18px 20px;border-radius:14px;background:#e8f4f0;color:#216b58}.report-finding--practice{background:#edf4fc;color:#2258a4}.report-finding-title{display:flex;align-items:center;gap:10px}.report-finding-title svg{width:21px;height:21px;flex-shrink:0}.report-finding-title strong{font-size:14px;line-height:1.5;font-weight:600}.report-finding p{font-size:13px;line-height:1.7;color:inherit;margin-top:9px}
.report-table-note{margin-top:-6px;margin-bottom:15px;font-size:12px!important}.report-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.65;color:#475f7d}.report-col-topic{width:26%}.report-col-level{width:21%}.report-table th,.report-table td{padding:14px 12px;text-align:left;vertical-align:top;border:1px solid #d7e3f0;overflow-wrap:anywhere}.report-table thead th{background:#edf4fc;color:#122e50;font-size:12px;font-weight:600}.report-table tbody th{color:#122e50;font-weight:500}.report-table td>strong{font-weight:600;color:#2258a4}.report-topic-bar{display:block;height:5px;background:#e1ecfb;border-radius:50px;margin-top:9px;overflow:hidden}.report-topic-bar i{display:block;height:100%;border-radius:50px;background:#4778dc}.report-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.report-goal{display:flex;align-items:flex-start;gap:15px;padding:19px 21px;background:#edf4fc;border-radius:14px;color:#2258a4;margin-bottom:24px}.report-goal>svg{width:28px;height:28px;flex-shrink:0;margin-top:3px}.report-goal p{font-size:14px;line-height:1.7;color:#475f7d}.report-goal strong{display:block;color:#122e50;margin-bottom:4px}.report-plan{list-style:none;counter-reset:report-plan;display:grid;gap:20px}.report-plan li{position:relative;padding-left:48px;counter-increment:report-plan}.report-plan li:before{content:counter(report-plan);position:absolute;left:0;top:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e1ecfb;color:#2258a4;font-size:13px;font-weight:600}.report-plan li:nth-child(2):before{background:#e8f4f0;color:#216b58}.report-plan li:nth-child(3):before{background:#eaf3e7;color:#28723a}.report-plan strong{display:block;font-size:14px;color:#122e50;line-height:1.5}.report-plan p{font-size:13px;color:#475f7d;line-height:1.7;margin-top:5px}
.report-conclusions{margin-top:32px;background:#e8f4f0;border-radius:16px;padding:23px 25px}.report-conclusions h3{color:#216b58}.report-conclusions ul{list-style:none;display:grid;gap:12px}.report-conclusions li{position:relative;padding-left:22px;font-size:13px;line-height:1.7;color:#216b58}.report-conclusions li:before{content:"";position:absolute;left:1px;top:7px;width:10px;height:6px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.report-parent-summary,.report-followup{padding:28px 32px;margin-top:20px;background:#e8effc;border:1px solid #d7e3f0;border-radius:20px}.report-followup{background:#eaf5f3;border-color:#cee5dc}.report-note-title{display:flex;align-items:center;gap:12px;margin-bottom:15px;color:#2258a4}.report-note-title svg{width:25px;height:25px;flex-shrink:0}.report-note-title h3{font-size:20px;line-height:1.4;letter-spacing:-.025em;color:#122e50}.report-parent-summary>p,.report-followup blockquote{font-size:14px;line-height:1.75;color:#475f7d}.report-followup blockquote{margin:0}.report-signature{font-size:13px;font-weight:600;color:#216b58;text-align:right;margin-top:15px}.report-example-note{font-size:12px;color:#475f7d;line-height:1.75;margin-top:23px;max-width:75ch}
@media(hover:hover){.report-preview .report-example-button:hover{background:#dfeafb;border-color:#2258a4}}
@media(max-width:700px){.diagnostic-steps .step{gap:15px}.diagnostic-steps .step p{font-size:14px}.report-preview-heading{padding:24px}.report-preview-body{padding:20px 24px 24px}.report-preview h3{font-size:27px}.report-preview-brand{gap:12px}.report-preview-brand>span{font-size:11px;max-width:145px}.report-preview-heading>p{font-size:13px}.report-summary{padding:14px}.report-summary strong{font-size:13px}.report-summary p{font-size:12px}.report-preview .report-example-button{font-size:13px}.diagnostic-document-header{padding:24px 20px}.diagnostic-document-title{gap:15px}.diagnostic-document-title h3{font-size:22px}.diagnostic-document-title p{font-size:13px}.diagnostic-document-title .report-document-icon{width:44px;height:44px;border-radius:12px}.diagnostic-document-body{padding:24px 20px}.report-section h3,.report-conclusions h3{font-size:19px}.report-section>p{font-size:13px}.report-timeline{gap:16px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}.report-timeline li:after{display:none}.report-results-layout{grid-template-columns:1fr}.report-score{padding:20px}.report-score>strong{font-size:40px}.report-findings{gap:10px}.report-table{font-size:12px}.report-table th,.report-table td{padding:10px 8px}.report-table thead th{font-size:11px}.report-col-topic{width:28%}.report-col-level{width:22%}.report-goal{padding:17px;gap:12px}.report-goal p{font-size:13px}.report-plan li{padding-left:43px}.report-conclusions{padding:20px}.report-parent-summary,.report-followup{padding:23px 24px}.report-note-title h3{font-size:18px}.report-parent-summary>p,.report-followup blockquote{font-size:13px}.report-example-note{font-size:11px}}
@media(max-width:700px){
 .report-table,.report-table tbody{display:block;width:100%}.report-table colgroup{display:none}.report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .report-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) 72px;border:1px solid #d7e3f0;margin-bottom:12px}.report-table tbody th,.report-table tbody td{border:0;padding:12px;overflow-wrap:normal}
 .report-table tbody th{font-size:14px;background:#edf4fc}.report-table tbody td:nth-child(2){font-size:13px;background:#edf4fc;padding-left:0}.report-table tbody td:nth-child(3){grid-column:1/-1;font-size:13px;line-height:1.75}
}

/* Ecosystem: the same restrained sage, sky and mint palette as subjects. */
.eco-card{--eco-bg:#eaf3e7;--eco-hover:#e0eedc;--eco-border:#d4e4ce;--eco-ink:#28723a;--eco-muted:#486048;background:var(--eco-bg);border-color:var(--eco-border);min-height:215px;padding:28px;transition:background .2s,transform .2s,border-color .2s}
.eco-card--sky{--eco-bg:#ecf2fc;--eco-hover:#dfeafb;--eco-border:#d7e3f5;--eco-ink:#2258a4;--eco-muted:#475f7d}
.eco-card--mint{--eco-bg:#e8f4f0;--eco-hover:#dceee7;--eco-border:#cee5dc;--eco-ink:#216b58;--eco-muted:#45665b}
.eco-card-top{display:flex;align-items:center;gap:14px;margin-bottom:23px;color:var(--eco-ink)}
.eco-card-top .eyebrow{margin:0;color:var(--eco-ink)}
.eco-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.8);flex-shrink:0}
.eco-icon svg{width:27px;height:27px}
.eco-arrow{margin-left:auto;align-self:flex-start;padding-top:4px}
.eco-arrow svg{width:21px;height:21px}
.eco-card h3{font-size:23px;margin-bottom:10px}
.eco-card p{color:var(--eco-muted);max-width:340px}
.eco-card:focus-visible{outline:3px solid var(--eco-ink);outline-offset:4px}
@media(hover:hover){.eco-card:hover{background:var(--eco-hover);border-color:var(--eco-ink);box-shadow:none;transform:translateY(-3px)}}
@media(max-width:700px){.eco-card{padding:23px;min-height:195px}.eco-card h3{font-size:21px}.eco-card-top{margin-bottom:19px;gap:12px}}
@media(prefers-reduced-motion:reduce){.eco-card{transition:none}.eco-card:hover{transform:none}}

/* Compact navigation accents and trust facts attached to real reviews. */
#site-nav{gap:8px}
#site-nav .nav-link{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border-radius:12px;font-size:12px;min-height:42px;white-space:nowrap;transition:background .2s;color:var(--muted)}
.nav-dot{width:6px;height:6px;border-radius:50%;background:#54834b;flex-shrink:0}
.nav-link--mint .nav-dot{background:#39846f}.nav-link--sky .nav-dot{background:#487bbc}
#site-nav .nav-link:focus-visible{outline:2px solid var(--green-btn);outline-offset:2px;background:#eaf3e7}
#site-nav>.button{margin-left:5px}
.trust-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:25px 12px;margin-bottom:32px;border:1px solid #d4e4ce;border-radius:22px;background:#eaf3e7}
.trust-stat{display:flex;gap:14px;align-items:center;padding:5px 20px;border-right:1px solid #cbdcc5;min-width:0}
.trust-stat:last-child{border:0}.trust-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;background:#f8fcf6;color:#28723a;border-radius:12px}
.trust-icon svg{width:23px;height:23px}.trust-stat:nth-child(2) .trust-icon,.trust-stat:nth-child(4) .trust-icon{background:#f5f8ff;color:#2258a4}
.trust-stat strong{display:block;font-size:32px;letter-spacing:-.045em;line-height:1.15}.trust-stat div>span{display:block;font-size:12px;color:#486048;margin-top:5px}
@media(hover:hover){#site-nav .nav-link:hover{background:#eaf3e7;color:var(--text)}#site-nav .nav-link--sky:hover{background:#ecf2fc}#site-nav .nav-link--mint:hover{background:#e8f4f0}}
@media(max-width:900px) and (min-width:701px){.header-inner{gap:12px}#site-nav .nav-link{padding:9px 7px;font-size:11px;gap:5px}#site-nav{gap:2px}#site-nav>.button{padding:12px 17px;font-size:12px}.trust-stat{padding:5px 12px;gap:10px}.trust-icon{width:34px;height:34px}}
@media(max-width:700px){#site-nav .nav-link{padding:13px 12px;font-size:15px;gap:12px;border-radius:10px}#site-nav>.button{margin-left:0}.trust-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;margin-bottom:25px;border-radius:18px}.trust-stat{padding:17px 8px;gap:10px}.trust-stat:nth-child(2){border-right:0}.trust-stat:nth-child(-n+2){border-bottom:1px solid #cbdcc5}.trust-stat strong{font-size:29px}.trust-stat div>span{font-size:11px}.trust-icon{width:32px;height:32px;border-radius:10px}.trust-icon svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){#site-nav .nav-link{transition:none}}
.trust-stat>div{min-width:0}.trust-stat div>span{overflow-wrap:anywhere}

/* Referral offer: a distinct banner with one clear action. */
.price-card-wide{flex-direction:row;align-items:center;justify-content:space-between;gap:36px}.price-card-wide>div{max-width:600px}.price-card-wide .price{margin:15px 0}.price-card-wide>.button{flex-shrink:0}
.referral-banner{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:40px;align-items:center;margin-top:24px;padding:42px;border-radius:26px;background:#22583d;color:#fff;overflow:hidden}
.referral-label{display:block;font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:600;color:#cbe7d4;margin-bottom:18px}
.referral-banner h3{color:#fff;font-size:clamp(36px,4.5vw,58px);line-height:1.1;letter-spacing:-.045em;margin-bottom:20px}.referral-banner h3 span{color:#d5efb6}
.referral-copy>p{color:#e0eee3;font-size:15px;max-width:510px}.referral-share{margin-top:26px;background:#d5efb6;color:#153e28;border-color:#d5efb6}
.referral-share:focus-visible{outline:3px solid white;outline-offset:5px}.referral-banner .share-status{margin-top:12px;color:#fff;font-size:12px;overflow-wrap:anywhere}
.referral-art{display:flex;flex-direction:column;align-items:center;gap:18px;padding:12px}.referral-gift{display:grid;place-items:center;width:132px;height:132px;border-radius:35px;background:#376e4e;color:#d5efb6;transform:rotate(-8deg)}.referral-gift svg{width:77px;height:77px}.referral-art-caption{font-size:17px;line-height:1.45;text-align:center;color:#d9eadc}
@media(hover:hover){.referral-share:hover{background:#e4f6cd;border-color:#e4f6cd}}
@media(max-width:900px){.price-card-wide{align-items:flex-start;flex-direction:column}.referral-banner{grid-template-columns:minmax(0,1fr) 150px;gap:25px;padding:32px}.referral-gift{width:110px;height:110px}.referral-gift svg{width:64px;height:64px}}
@media(max-width:700px){.referral-banner{position:relative;display:block;padding:27px 24px;border-radius:22px}.referral-label{max-width:180px;margin-bottom:24px;font-size:10px}.referral-banner h3{font-size:38px;max-width:240px}.referral-banner h3 span{display:block}.referral-copy>p{font-size:14px}.referral-art{position:absolute;right:20px;top:21px;padding:0}.referral-gift{width:47px;height:47px;border-radius:14px;transform:rotate(8deg)}.referral-gift svg{width:30px;height:30px}.referral-art-caption{display:none}.referral-share{margin-top:23px}.price-card-wide{gap:24px}}
/* Portrait cards: compact editorial layout, subject accents and LGG tones. */
.teacher{--portrait-bg:#eaf3e7;--portrait-accent:#d4e4ce;--portrait-ink:#28723a;padding:20px;overflow:hidden}
.teacher--sergey,.teacher--artem,.teacher--ivan-python{--portrait-bg:#ecf2fc;--portrait-accent:#d7e3f5;--portrait-ink:#2258a4}
.teacher--daniil,.teacher--ivan-science{--portrait-bg:#e8f4f0;--portrait-accent:#cee5dc;--portrait-ink:#216b58}
.teacher-portrait{position:relative;isolation:isolate;height:240px;background:var(--portrait-bg);border-radius:16px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.teacher-portrait::before{content:"";position:absolute;z-index:-1;width:230px;height:230px;border-radius:50%;background:var(--portrait-accent);bottom:-48px;left:50%;transform:translateX(-50%)}
.teacher-portrait img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;position:relative}
.teacher-portrait-mark{position:absolute;right:15px;top:15px;color:var(--portrait-ink);background:rgba(255,255,255,.85);width:39px;height:39px;border-radius:12px;display:grid;place-items:center;z-index:1}
.teacher-portrait-mark svg{width:23px;height:23px}.teacher-info{padding:23px 7px 7px;min-width:0}.teacher-info .teacher-subject{color:var(--portrait-ink);margin-bottom:9px}.teacher-info h3{font-size:28px;margin-bottom:9px}.teacher-info .teacher-university{margin-bottom:18px}.teacher-info .fact-list{margin-top:18px}.teacher-info .fact-list li{display:flex;align-items:baseline;gap:10px;padding:11px 0}.teacher-info .fact-list li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--portrait-ink);flex-shrink:0;align-self:flex-start;margin-top:8px}
.teacher:only-child{grid-column:1/-1;max-width:880px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:center;padding:22px}
.teacher:only-child .teacher-portrait{height:310px}.teacher:only-child .teacher-info{padding:15px 15px 15px 0}.teacher:only-child .teacher-info h3{font-size:36px}.teacher:only-child .teacher-portrait::before{width:280px;height:280px;bottom:-55px}
.avatar-stack img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:50%;background:#eaf3e7}
@media(max-width:900px) and (min-width:701px){.teacher{padding:15px}.teacher-portrait{height:210px}.teacher-info{padding-inline:3px}.teacher:only-child{grid-template-columns:240px minmax(0,1fr);gap:24px}}
@media(max-width:700px){.teacher,.teacher:only-child{display:block;padding:18px;max-width:100%}.teacher-portrait,.teacher:only-child .teacher-portrait{height:260px}.teacher-info,.teacher:only-child .teacher-info{padding:23px 5px 6px}.teacher:only-child .teacher-info h3{font-size:29px}}

/* Bot previews: crop device chrome without changing the original screenshots. */
#bot .bot-examples{display:grid;gap:36px}
#bot .bot-example{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:40px;padding-bottom:36px;border-bottom:1px solid var(--border)}
#bot .bot-example .md\:order-2{order:0}
#bot .bot-screen{width:240px;max-width:100%;height:auto;aspect-ratio:498/982;background:transparent;border:0;border-radius:20px;margin:0;box-shadow:none;position:relative;overflow:hidden}
#bot .bot-screen img{position:absolute;inset:auto;width:144.578%;max-width:none;height:auto;left:-22.49%;top:-19.756%;object-fit:initial;object-position:initial;display:block}
#bot .bot-screen--slots::after,#bot .bot-screen--bookings::after{content:"";position:absolute;background:#2d2d2d;right:11.5%;width:12%;height:2.1%;border-radius:2px;pointer-events:none}
#bot .bot-screen--slots::after{top:60%}#bot .bot-screen--bookings::after{top:50.5%}
@media(max-width:700px){#bot .bot-example{grid-template-columns:1fr;gap:20px;padding-bottom:28px}#bot .bot-examples{gap:28px}#bot .bot-screen{width:min(260px,100%);margin-inline:auto}#bot .ov-close{margin-bottom:20px}}

/* Final spacing pass: coherent rhythm and comfortable small-screen controls. */
.section{padding-block:72px}.section-heading{margin-bottom:28px}.home-hero{padding-block:64px 58px}.subject-hero{padding-bottom:52px}.breadcrumbs{margin-bottom:36px}
#teachers{padding-block:58px}.diagnostic-layout{gap:40px}.eco-card{min-height:205px}.section-action{margin-top:26px}
@media(max-width:700px){.section{padding-block:44px}.section-heading{margin-bottom:24px}.home-hero{padding-block:40px 36px}.subject-hero{padding-bottom:36px}.breadcrumbs{margin-bottom:27px}#teachers{padding-block:40px}.diagnostic-layout{gap:26px}.eco-card{min-height:185px}.section-action{margin-top:24px}.text-link{min-height:44px}.footer-subjects{gap:6px 18px}.footer-subjects a{display:inline-flex;align-items:center;min-height:44px}.teacher-grid{gap:16px}.hero-actions .button{max-width:100%;white-space:normal}.overlay{padding-bottom:36px}.overlay .px-5{padding-inline:18px}.overlay h2{font-size:clamp(28px,7vw,42px)!important}.overlay p,.overlay li{overflow-wrap:anywhere}}

/* Community previews and persistent mobile actions. */
#vk .community-examples{display:grid;gap:36px}
#vk .community-example{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:40px;align-items:center;border-bottom:1px solid var(--border);padding-bottom:36px}
#vk .community-example .md\:order-2{order:0}
#vk .community-screen{position:relative;overflow:hidden;width:240px;max-width:100%;height:auto;aspect-ratio:498/982;border:0;border-radius:20px;box-shadow:none;background:transparent;margin:0}
#vk .community-screen img{position:absolute;inset:auto;width:144.578%;max-width:none;height:auto;left:-22.49%;top:-19.756%;object-fit:initial;object-position:initial}
.overlay{padding-top:76px}.overlay .ov-close{position:fixed;top:14px;right:24px;margin:0;z-index:220;min-height:44px;background:var(--surface)}
.mobile-back{display:none}
@media(max-width:700px){#vk .community-example{grid-template-columns:1fr;gap:20px;padding-bottom:28px}#vk .community-examples{gap:28px}#vk .community-screen{width:min(260px,100%);margin-inline:auto}.overlay{padding-top:72px;padding-bottom:100px}.overlay .ov-close{top:12px;right:18px}.mobile-cta{z-index:230;gap:10px;transform:none}.mobile-cta .button{flex:1;min-width:0;width:auto}.mobile-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--border-strong);border-radius:50px;background:white;font-size:12px;color:var(--text);flex-shrink:0}.overlay .mobile-back{display:none}.overlay .mobile-cta{display:flex}.site-footer{padding-bottom:110px}}

#page{will-change:auto}

/* Subject interiors: restrained accents shared with the home subject cards. */
.subject-page{--subject-sage:#eaf3e7;--subject-sky:#ecf2fc;--subject-mint:#e8f4f0;--subject-ink:#28723a}
.subject-page .subject-hero{background:#eef5ed}
.subject-page .subject-hero h1{max-width:940px;font-size:clamp(38px,5vw,68px);text-wrap:balance;letter-spacing:-.035em}
.subject-page .subject-hero-icon{background:#fff;color:var(--subject-ink);width:62px;height:62px;margin-left:16px}
.subject-page .subject-hero-icon svg{width:34px;height:34px}
.subject-page #teachers{background:#f4f7f2}
.subject-page .teacher{border-color:#dce6d8}
.subject-page .task{background:var(--subject-sage);border-color:#d4e4ce;gap:14px}
.subject-page .task:nth-child(2),.subject-page .task:nth-child(3){background:var(--subject-sky);border-color:#d7e3f5}
.subject-page .task:nth-child(4){background:var(--subject-mint);border-color:#cee5dc}
.subject-page .task>span{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#fff;border-radius:10px;color:var(--subject-ink)}
.subject-page .task:nth-child(2)>span,.subject-page .task:nth-child(3)>span{color:#2258a4}
.subject-page .task:nth-child(4)>span{color:#216b58}
.subject-directions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}
.subject-direction{padding:28px;background:#f0f6ed;border:1px solid #dce6d8;border-radius:20px;min-width:0}
.subject-direction--1{background:#eef3fb;border-color:#dce5f3}
.direction-heading{display:flex;align-items:center;gap:14px;color:var(--subject-ink)}
.subject-direction--1 .direction-heading{color:#2258a4}
.direction-heading>span{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:13px;background:white}
.direction-heading svg{width:26px;height:26px}.direction-heading h3{font-size:22px;line-height:1.3;letter-spacing:-.025em}
.subject-direction .subject-details{margin-top:22px}.subject-direction .subject-detail{display:block;padding:18px 0;border-color:#d5e2ce}
.subject-direction--1 .subject-detail{border-color:#d5e0f0}.subject-direction .subject-detail:last-child{padding-bottom:0}
.subject-direction .subject-detail dt{margin-bottom:7px}.subject-direction .subject-detail dd{color:#486048;font-size:14px}
.subject-direction--1 .subject-detail dd{color:#475f7d}
.subject-page .ecosystem-summary{background:var(--subject-mint);border-color:#cee5dc}
/* Leave room above the head and show the complete supplied portrait. */
.teacher--margarita .teacher-portrait{padding:22px 24px 0}
.teacher--margarita .teacher-portrait img{object-fit:contain;object-position:center bottom;max-height:100%;max-width:100%;border-radius:0}
@media(max-width:700px){.subject-page .subject-hero h1{font-size:clamp(34px,8.5vw,48px);line-height:1.12}.subject-page .subject-hero-icon{width:42px;height:42px;border-radius:12px;margin-left:8px}.subject-page .subject-hero-icon svg{width:25px;height:25px}.subject-directions{grid-template-columns:1fr;gap:16px;margin-top:24px}.subject-direction{padding:24px}.direction-heading h3{font-size:21px}.subject-page .task{padding:18px}.subject-card h3{text-wrap:balance}.teacher--margarita .teacher-portrait{padding:24px 20px 0}}

/* Compact teacher cards: colour belongs to the whole card, type stays readable. */
.subject-page .teacher{background:var(--portrait-bg);border-color:var(--portrait-accent);padding:16px;border-radius:22px}
.subject-page .teacher-portrait{height:190px;background:rgba(255,255,255,.5);border-radius:15px;padding:12px 14px 0}
.subject-page .teacher-portrait::before{width:190px;height:190px;bottom:-40px}
.subject-page .teacher-portrait-mark{width:34px;height:34px;top:12px;right:12px;border-radius:10px}
.subject-page .teacher-portrait-mark svg{width:21px;height:21px}
.subject-page .teacher-info{padding:17px 5px 3px}
.subject-page .teacher-info .teacher-subject{margin-bottom:7px}
.subject-page .teacher-info h3{margin-bottom:8px}
.subject-page .teacher-info .teacher-university{margin-bottom:12px}
.subject-page .teacher-info .fact-list{margin-top:12px}
.subject-page .teacher-info .fact-list li{padding:9px 0;border-color:var(--portrait-accent)}
.subject-page .teacher:only-child{grid-template-columns:220px minmax(0,1fr);gap:26px;padding:18px;max-width:820px}
.subject-page .teacher:only-child .teacher-portrait{height:240px}
.subject-page .teacher:only-child .teacher-portrait::before{width:220px;height:220px;bottom:-42px}
.subject-page .teacher:only-child .teacher-info{padding:8px 10px 8px 0}
.subject-page .teacher--margarita .teacher-portrait{padding:20px 20px 0}
@media(max-width:900px) and (min-width:701px){.subject-page .teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-page .teacher:only-child{grid-column:1/-1}.subject-page .teacher:only-child .teacher-portrait{height:230px}}
@media(max-width:700px){.subject-page .teacher,.subject-page .teacher:only-child{display:block;padding:16px;max-width:100%}.subject-page .teacher-portrait,.subject-page .teacher:only-child .teacher-portrait{height:180px;padding:12px 14px 0}.subject-page .teacher-portrait::before,.subject-page .teacher:only-child .teacher-portrait::before{width:190px;height:190px;bottom:-45px}.subject-page .teacher-info,.subject-page .teacher:only-child .teacher-info{padding:16px 5px 2px}.subject-page .teacher--margarita .teacher-portrait{padding:20px 18px 0}.subject-page .teacher-grid{gap:14px}}

/* Home offers: individual lesson, intensive package, then referral reward. */
.home-intensive-offer{margin-top:28px}.home-intensive-offer>h3{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.03em;margin-bottom:20px}
@media(max-width:700px){.home-intensive-offer{margin-top:24px}.home-intensive-offer>h3{margin-bottom:16px}}
