/* Interface refinement only. No account, curriculum or provider changes. */
:root{--oe-space:1rem;--oe-radius:14px;--oe-focus:#4268c8}
html{scroll-padding-block-start:1rem}
body{font-family:"Segoe UI",Tahoma,system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
.home-wrap,.home-nav{max-width:1180px;width:calc(100% - 3rem)}
.home-nav{display:flex;gap:1rem;min-height:80px;flex-wrap:wrap}
.home-nav nav{flex:1;min-width:0;gap:1.15rem}
.home-nav .brand-logo{width:148px;max-width:100%}
.home-nav :is(a,select){min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.home-nav .home-language{margin-inline-start:auto}
.home-nav .home-login{white-space:nowrap;border-radius:var(--oe-radius)}
.home-three-routes .home-hero{padding-block:2.3rem 1.2rem}
.home-three-routes .home-lead{min-height:300px;gap:2.5rem;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.home-three-routes .home-lead h1{font-size:clamp(2rem,4.2vw,3.65rem);letter-spacing:-.025em;line-height:1.12;max-width:17ch}
.home-three-routes .home-lead p{font-size:1.1rem;line-height:1.65;margin-block:1rem 1.3rem}
.home-world{min-height:290px}
.home-scene{animation:oe-scene-enter .5s cubic-bezier(.2,.7,.2,1) both;filter:none}
.scene-1{animation-delay:.06s}.scene-2{animation-delay:.12s}
.home-benefits{gap:.7rem}
.home-benefits a{min-height:48px}
.home-actions a,.home-actions .home-cta{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.15rem;border-radius:var(--oe-radius)}
.route-section{padding-block:2.2rem 2rem}
.route-heading{gap:1rem;margin-bottom:1.3rem}
.route-card{border-radius:16px;box-shadow:none;transition:transform .16s ease-out,border-color .16s ease-out}
.route-card:hover{transform:translateY(-2px);box-shadow:none}
.route-card>img{max-height:168px;object-fit:contain;padding:.5rem}
.route-copy{padding:1.25rem}
.route-copy h3{font-size:1.5rem}
.route-copy>p:not(.route-range){line-height:1.6;margin-bottom:1rem}
.route-start{min-height:48px;border-radius:var(--oe-radius);padding:.7rem .8rem;display:flex;align-items:center;justify-content:center}
.home-page :is(.home-feature,.home-parents) a{display:inline-flex;align-items:center;min-height:44px;padding-block:.5rem}
.oe-ui-tools{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin:0;padding:.4rem 0;flex-wrap:wrap}
.home-nav .oe-ui-tools{flex-basis:auto;padding:0}
.home-nav .oe-ui-tools .site-theme-toggle span:last-child{display:none}
.oe-ui-tools #oe-help-open,.oe-ui-tools .site-theme-toggle{position:static!important;inset:auto!important;margin:0;min-height:44px;box-shadow:none;transform:none;z-index:auto}
.oe-ui-tools #oe-help-open{padding:.6rem 1rem;border-radius:var(--oe-radius)}
.oe-ui-tools .site-theme-toggle{border-radius:var(--oe-radius);font-size:.9rem}
.oe-portal-top{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1.3rem}
.portal .oe-portal-top .brand{margin:0;margin-inline-end:auto}
.portal .oe-portal-top .brand-logo{width:180px;height:auto;max-width:100%}
.oe-portal-top>label{margin:0}
.portal:has(.portal-layout){margin-block:1.5rem 3rem}
.portal .portal-layout{margin-top:.5rem;gap:2.5rem}
.portal .portal-auth{animation:oe-panel-enter .22s ease-out both;box-shadow:none;border:1px solid #d1dce8;border-radius:16px;background:#fff;padding:1.5rem}
.portal .portal-auth::before{animation:none!important;margin-bottom:.65rem}
.portal-auth form>*{animation:none!important}
.portal-auth :is(input,select){min-height:48px!important;box-shadow:none!important;background:#f7f9fc!important;font-size:1rem;border-radius:12px!important}
.portal-auth :is(button,a){min-height:44px}
.portal-auth h2{font-size:1.4rem}
.portal-introduction h1{font-size:clamp(1.9rem,3.5vw,2.8rem);letter-spacing:-.02em;line-height:1.16}
.portal-introduction section{border-inline-start:0!important;padding-inline-start:0!important}
body:has(.portal-layout)::before,body:has(.portal-layout)::after{display:none!important}
:is(a,button,select,input):focus-visible{outline:3px solid var(--oe-focus)!important;outline-offset:3px}
:is(button,.home-cta,.route-start):active:not(:disabled){transform:translateY(1px);transition:transform .08s ease-out}
:is(button,a,input,select){-webkit-tap-highlight-color:#4268c833}
::selection{background:#cfddff;color:#152e4f}
html[data-theme="dark"] .portal .portal-auth{background:#172738;border-color:#405568}
html[data-theme="dark"] .portal-auth :is(input,select){background:#213449!important;color:#eef4ff!important;-webkit-text-fill-color:#eef4ff!important;border-color:#52667b}
html[data-theme="dark"] .portal-auth input::placeholder{color:#b8c9dd!important;opacity:1}
html[data-theme="dark"] .home-nav .oe-ui-tools{border-color:#405568}
html[lang="ar"] :is(.home-lead h1,.portal-introduction h1){letter-spacing:0;line-height:1.4}
@keyframes oe-scene-enter{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@keyframes oe-panel-enter{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
@media(max-width:1050px){.home-nav nav{order:4;flex-basis:100%;justify-content:center}.home-nav .oe-ui-tools{order:5}}
@media(max-width:650px){
 .home-wrap,.home-nav{width:calc(100% - 2rem)}
 .home-nav{gap:.5rem;min-height:auto;padding-block:.65rem}
 .home-nav .brand-logo{width:105px}
 .home-nav .home-login{padding:.55rem .7rem}
 .home-language select{max-width:126px;min-width:0;font-size:.9rem}
 .home-nav nav{display:none}
 .home-nav .oe-ui-tools{flex-basis:100%;padding-top:.5rem;justify-content:space-between;border-top:1px solid #dce5ec}
 .home-nav .oe-ui-tools .site-theme-toggle span:last-child{display:inline}
 .home-three-routes .home-hero{padding-block:1.5rem 1rem}
 .home-three-routes .home-lead{grid-template-columns:1fr;min-height:auto;gap:1rem}
 .home-three-routes .home-lead h1{font-size:2rem;line-height:1.16;max-width:19ch}
 .home-three-routes .home-lead p{font-size:1rem;margin-block:.9rem 1rem}
 .home-world{display:none} /* Same illustrations remain in the route choices. */
 .home-benefits{display:none} /* Existing detail sections remain available below. */
 .home-actions{gap:.5rem}.home-actions a{padding:.7rem .9rem}
 .route-section{padding-top:1.5rem}.route-heading h2{font-size:1.7rem}
 .route-heading{gap:.75rem}
 .route-grid{gap:1rem}.route-card{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:start;overflow:visible}
 .route-card>img{width:84px;height:88px;aspect-ratio:auto;object-fit:contain;border-radius:16px 0 0 0}
 [dir="rtl"] .route-card>img{border-radius:0 16px 0 0}
 .route-copy{padding:.9rem;min-width:0}.route-copy h3{font-size:1.25rem;margin-block:.2rem .5rem}
 .route-copy .route-range{font-size:.8rem}.route-copy>p:not(.route-range){font-size:.95rem;line-height:1.55;margin-bottom:.7rem}
 .route-start{font-size:.9rem;min-height:48px}
 .portal:has(.portal-layout){width:calc(100% - 1.5rem);margin-block:.75rem 2rem}
 .oe-portal-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;margin-bottom:.8rem}
 .portal .oe-portal-top .brand-logo{width:150px}
 .oe-portal-top>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .oe-portal-top>.oe-ui-tools{grid-column:1/-1;justify-content:space-between;padding:0}
 .portal .portal-layout{display:flex;flex-direction:column;gap:1.25rem}
 .portal .portal-auth{width:100%;padding:1.1rem;margin-top:0;order:-1}
 .portal .portal-auth::before{display:none!important}
 .portal-auth h2{margin-bottom:1rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.home-scene,.portal .portal-auth{animation:none!important}:is(button,a,input,select,.route-card){transition:none!important}.route-card:hover,button:active,.home-cta:active,.route-start:active{transform:none!important}}
@media(prefers-reduced-transparency:reduce){.oe-ui-tools{backdrop-filter:none}}
