/* Student page: shared site tokens and components, with page-specific layout. */
html:has(body.student-page), body.student-page{overflow-x:visible}
body.student-page::after{inset:0}
.student-main{min-width:0;width:100%;padding-top:28px;padding-bottom:42px;font-size:17px;line-height:1.5}
.student-main h1,.student-main h2{font-family:var(--font);color:var(--text);letter-spacing:normal}
.student-main h1{font-size:clamp(32px,3.6vw,44px);line-height:1.12;margin:8px 0 14px}
.student-main h2{font-size:clamp(23px,2.4vw,30px);line-height:1.2;margin:0 0 12px}
.student-main p{margin:0 0 14px}
.student-main a:focus-visible,.student-bar a:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.student-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);gap:18px;align-items:stretch}
.student-hero,.student-offer{padding:28px}
.student-hero .student-brand{margin:18px 0 0;font-size:18px;font-weight:800;color:var(--accent)}
.student-lead{max-width:620px;color:var(--muted);font-size:18px}
.student-address{padding-left:14px;border-left:3px solid var(--brand)}
.student-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.student-main .btn,.student-bar .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-align:center;font-size:16px;line-height:1.3}
.student-main .btn.primary,.student-bar .btn.primary{color:#fff;background:linear-gradient(135deg,rgba(139,95,165,.92),rgba(176,133,201,.86))}
.student-offer{display:flex;flex-direction:column;justify-content:center;gap:16px}
html[data-theme="light"] .student-offer{background:linear-gradient(160deg,rgba(241,229,250,.92),rgba(255,255,255,.72));border-color:var(--line)}
.student-offer-label{color:var(--muted);font-size:14px;font-weight:800}
.offer-content p{color:var(--muted);margin:14px 0 20px}
.student-section{margin-top:38px}
.student-intro{max-width:850px;color:var(--muted)}
.student-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:18px 0 0;list-style:none}
.student-benefits li{border-radius:14px;padding:14px 16px;font-weight:700}
.student-benefits li::marker{content:''}
.student-steps{counter-reset:step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:18px 0 0}
.student-steps li{display:flex;align-items:flex-start;gap:10px}
.student-steps li::before{counter-increment:step;content:counter(step);flex:0 0 32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;font-size:14px}
.student-contact{padding:26px 28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:24px}
.student-contact h2{margin-top:8px}.student-contact p{margin-bottom:6px}
.student-map-link{display:inline-block;margin-top:8px;text-decoration:underline;text-underline-offset:3px}
.contact-details{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px}
.contact-details>a:not(.btn){font-size:19px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.contact-details .btn{margin-top:6px}
.student-bar{display:none}
@media(max-width:767px){
 .student-main{padding-top:18px;padding-bottom:32px;font-size:16px}
 .student-hero-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .student-hero,.student-offer,.student-contact{padding:20px}
 .student-main h1{font-size:clamp(30px,8vw,38px)}
 .student-main h2{font-size:23px}
 .student-lead{font-size:17px}
 .student-section{margin-top:28px}
 .student-benefits,.student-steps{grid-template-columns:minmax(0,1fr);gap:10px}
 .student-contact{grid-template-columns:minmax(0,1fr);gap:16px}
 .student-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .student-page footer{padding-bottom:calc(86px + env(safe-area-inset-bottom))}
 .student-bar{position:fixed;z-index:900;bottom:0;left:0;right:0;display:flex;gap:8px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line)}
 .student-bar a{flex:1;min-width:0}
 .student-page:has(.cookie-banner:not([hidden])) .student-bar{visibility:hidden}
 .student-page .cookie-banner{max-height:calc(100dvh - 24px);overflow:auto}
}
/* Keep the shared mobile header and long addresses within the viewport at large zoom. */
.student-main :is(p,li,a,strong),.student-page footer a{overflow-wrap:anywhere}
.student-main .btn.primary,.student-bar .btn.primary{background:var(--brand)}
@media(max-width:430px){.student-page .nav{--mobile-controls-width:0px}}
.student-main :is(h1,h2,span),.student-page footer :is(a,div){overflow-wrap:anywhere}
.student-hero .kicker{max-width:100%;min-width:0}
@media(max-width:260px){.student-page .footer-grid{grid-template-columns:minmax(0,1fr)}.student-page .footer-grid>div:nth-child(1){grid-column:auto}.student-bar{flex-wrap:wrap}.student-bar a{flex:1 1 100%}}
@media(max-width:260px){.student-page footer{padding-bottom:calc(142px + env(safe-area-inset-bottom))}}
@media(max-width:767px){.student-page .to-top{bottom:calc(78px + env(safe-area-inset-bottom))}.student-page :focus-visible{scroll-margin-bottom:95px}}
@media(max-width:260px){.student-page .to-top{bottom:calc(132px + env(safe-area-inset-bottom))}.student-page :focus-visible{scroll-margin-bottom:150px}}
.student-page .reveal-block{opacity:1;transform:none;filter:none;transition:none}
/* Scoped refinements: match the shared 1120px containers without the large background glow. */
html[data-theme] body.student-page{background:var(--bg)}
.student-page::before,.student-page::after{display:none}
.student-main p{max-width:75ch}
.student-main h1{max-width:20ch}
.student-main .card,.student-main .card:hover,.student-main .card:focus-within{box-shadow:0 8px 20px rgba(82,49,108,.12);transform:none}
html:not([data-theme="light"]) .student-main .card,html:not([data-theme="light"]) .student-main .card:hover,html:not([data-theme="light"]) .student-main .card:focus-within{box-shadow:0 8px 20px rgba(0,0,0,.18)}
html[data-theme] .student-main .btn.primary,html[data-theme] .student-bar .btn.primary{background:var(--brand);color:#fff}
@media (min-width:1181px){
 .student-page header .nav,.student-page header.is-compact .nav{display:flex;flex-wrap:nowrap;gap:14px;min-height:86px}
 .student-page header .brand,.student-page header.is-compact .brand{position:static;transform:none;flex:0 0 auto;order:0}
 .student-page header .brand .logo,.student-page header.is-compact .brand .logo{width:120px}
 .student-page header nav,.student-page header.is-compact nav{order:1;flex:1 1 auto;max-width:none;margin:0}
 .student-page header nav ul{justify-content:center;flex-wrap:nowrap;gap:2px}
 .student-page header nav a{white-space:nowrap;padding-inline:8px}
 .student-page header .cta,.student-page header.is-compact .cta{order:2;flex:0 0 auto;max-width:none;margin:0}
}
@media (min-width:701px) and (max-width:1180px){
 .student-page header .nav{display:flex;flex-wrap:wrap;gap:12px}
 .student-page header .brand{margin-right:auto}
 html.js .student-page header .theme-toggle-mobile,html.js .student-page header .menu-toggle{display:inline-flex;flex:0 0 auto}
 html.js .student-page header .nav > nav,html.js .student-page header .nav > .cta{display:none}
 html.js .student-page header .nav.menu-open > nav,html.js .student-page header .nav.menu-open > .cta{display:block;flex:1 0 100%;width:100%}
 .student-page header nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .student-page header nav a{display:block;padding:11px 12px;border:1px solid var(--line);background:var(--card);border-radius:12px}
 .student-page header .cta .theme-toggle{display:none}
 .student-page header .cta .btn{display:inline-flex;align-items:center;min-height:44px}
 .student-page header .nav.menu-open .menu-toggle__line:nth-child(1){transform:translateY(6px) rotate(45deg)}
 .student-page header .nav.menu-open .menu-toggle__line:nth-child(2){opacity:0}
 .student-page header .nav.menu-open .menu-toggle__line:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}
@media(max-width:767px){.student-main h1{font-size:clamp(28px,8vw,32px)}}
@media (min-width:768px) and (max-width:850px){.student-hero-grid{grid-template-columns:minmax(0,1fr)}}
