/* BRAINIAC WQC CONTROLLED VISUAL REFINEMENT — tutoring services only */
:root{--wqc-purple:#722f9d;--wqc-dark:#532174;--wqc-cream:#faf6ed;--wqc-text:#202020;--wqc-line:#e7e2eb}
html{scroll-behavior:smooth}body{background:#fff!important;color:var(--wqc-text);font-family:Calibri,Aptos,Arial,sans-serif!important;font-size:16px!important;line-height:1.6!important;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
body::before,body::after{display:none!important}
.container{width:min(1120px,calc(100% - 48px))!important;max-width:1120px!important;margin-inline:auto!important}
.site-header{background:#fff!important;border-bottom:1px solid var(--wqc-line)!important}
.topbar{background:var(--wqc-cream)!important}
.header-inner{min-height:0!important;padding-block:18px!important;display:flex!important;gap:24px!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important}
.brand{display:inline-flex!important;align-items:center!important;min-width:0!important}
.brand img{display:block;width:clamp(180px,23vw,265px)!important;height:auto!important;max-width:100%!important}
.brand-placeholder{display:none!important}
.site-header nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px 19px!important}
.site-header nav a{font-size:15px!important;line-height:1.4!important;font-weight:600!important;text-decoration:none!important;padding:6px 0!important}
.site-header nav a[aria-current=page]{text-decoration:underline!important;text-underline-offset:5px}
h1,h2,h3{font-family:Calibri,Aptos,Arial,sans-serif!important;font-weight:700!important;letter-spacing:-.02em!important;color:var(--wqc-text)!important}
h1,.page-hero h1{font-size:36px!important;line-height:1.2!important;margin:10px 0 18px!important}
h2{font-size:26px!important;line-height:1.3!important;margin:36px 0 14px!important}
h3{font-size:20px!important;line-height:1.35!important;margin:0 0 12px!important}
p{font-size:16px!important;line-height:1.6!important;margin:0 0 16px!important;max-width:75ch}
.page-hero{padding:56px 0 34px!important;background:var(--wqc-cream)!important}
.page-hero p{font-size:17px!important;max-width:66ch!important}
.eyebrow{font-size:13px!important;letter-spacing:.07em!important}
.brain-photo-feature{max-width:1120px!important;margin:24px auto 0!important;padding:0 24px!important}
.brain-photo-feature img{display:block;width:100%!important;max-height:390px!important;object-fit:cover!important;aspect-ratio:16/7!important;border-radius:8px!important;border:1px solid var(--wqc-line)!important;box-shadow:none!important}
main section:not(.page-hero):not(.brainiac-actions){padding:40px 0 56px!important}
.grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
.service-card{padding:24px!important;border:1px solid var(--wqc-line)!important;border-radius:8px!important;box-shadow:none!important;background:#fff!important;min-width:0}
.service-card p{margin:0!important}
.notice{padding:18px 20px!important;border-radius:8px!important}
.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:11px 22px!important;border-radius:6px!important;font:600 15px/1.3 Calibri,Aptos,Arial,sans-serif!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;max-width:100%;white-space:normal!important}
.btn-primary{background:var(--wqc-purple)!important;border:1px solid var(--wqc-purple)!important;color:#fff!important}
.btn-primary:hover,.btn-primary:focus-visible{background:var(--wqc-dark)!important;border-color:var(--wqc-dark)!important}
.btn-outline{background:#fff!important;border:1px solid var(--wqc-purple)!important;color:var(--wqc-dark)!important}
.btn-outline:hover,.btn-outline:focus-visible{background:var(--wqc-cream)!important}
.button-row{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:22px!important}
.brainiac-actions{padding:28px 0!important;background:var(--wqc-cream)!important;border-top:1px solid var(--wqc-line)!important}
footer{background:#faf6ed!important;padding:38px 0 24px!important}
.footer-grid{gap:24px!important}
footer h3{font-size:19px!important}
footer p,footer li,footer a{font-size:15px!important}
:focus-visible{outline:3px solid #722f9d;outline-offset:3px}
@media(max-width:900px){.header-inner{justify-content:center!important}.site-header nav{justify-content:center!important}.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:768px){.container{width:calc(100% - 36px)!important}.header-inner{padding-block:14px!important;gap:12px!important}.brand img{width:220px!important}.site-header nav{gap:6px 14px!important}.site-header nav a{font-size:14px!important}.page-hero{padding:36px 0 26px!important}.page-hero h1,h1{font-size:30px!important}h2{font-size:23px!important;margin-top:28px!important}h3{font-size:19px!important}p,.page-hero p{font-size:16px!important;line-height:1.55!important}.brain-photo-feature{padding:0 18px!important;margin-top:18px!important}.brain-photo-feature img{aspect-ratio:4/3!important;max-height:290px!important}main section:not(.page-hero):not(.brainiac-actions){padding:30px 0 38px!important}.grid{grid-template-columns:1fr!important;gap:16px!important}.service-card{padding:20px!important}.btn{min-height:44px!important}.button-row{gap:10px!important}footer{padding-top:30px!important}}
@media(max-width:390px){.site-header nav a{font-size:13px!important}.brand img{width:195px!important}.btn{width:100%!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* WDP correction: unified background and cleaner layout; review candidate only */
.hero,.page-hero{background:#faf6ed!important;border-color:#e7e2eb!important}
.topbar{background:#faf6ed!important}
body,main{background:#fff!important}
main section:nth-of-type(even):not(.page-hero):not(.brainiac-actions){background:#faf6ed!important}
.service-card{transition:none!important}
.site-header nav a{white-space:normal!important}
img{max-width:100%;height:auto}
@media(max-width:768px){.topbar{text-align:center!important;font-size:15px!important}.header-inner{min-height:0!important}.site-header nav{width:100%;justify-content:center!important}.brain-photo-feature img{object-position:center}}

/* WQC REVISE response — controlled revision 2; scoped to Tutoring Services */
.site-header .header-inner{display:grid!important;grid-template-columns:minmax(175px,250px) minmax(0,1fr)!important;gap:22px!important;align-items:center!important;justify-content:initial!important}
.site-header .brand{width:100%!important;max-width:250px!important;flex:none!important}
.site-header .brand img{width:100%!important;height:auto!important;max-height:128px!important;object-fit:contain!important;object-position:left center!important}
.site-header nav{min-width:0!important;gap:8px 15px!important;justify-content:flex-end!important}
.site-header nav a{font-size:14px!important;white-space:nowrap!important}
.brain-photo-feature{min-height:0!important;display:block!important;}
.brain-photo-feature img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/7!important;object-fit:cover!important}
.page-hero{padding:40px 0 24px!important}
.brain-photo-feature{margin-top:18px!important}
footer .footer-grid{display:grid!important;grid-template-columns:1.2fr 1fr 1.2fr!important;gap:30px!important}
footer .footer-links{padding-left:0!important;list-style:none!important}
footer .footer-links li{margin:0 0 9px!important}
@media(max-width:980px){.site-header .header-inner{grid-template-columns:1fr!important;justify-items:center!important;gap:12px!important}.site-header .brand{max-width:230px!important}.site-header nav{width:100%!important;justify-content:center!important;gap:10px 17px!important}}
@media(max-width:600px){
 .container{width:calc(100% - 32px)!important}
 .site-header .header-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:12px 0!important}
 .site-header .brand{align-self:center!important;max-width:220px!important;min-width:0!important}
 .site-header .brand img{width:100%!important;max-height:105px!important}
 .site-header nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;width:100%!important;justify-items:stretch!important;border-top:1px solid var(--wqc-line)!important;padding-top:8px!important}
 .site-header nav a{font-size:15px!important;line-height:1.35!important;padding:10px 7px!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
 .site-header nav a:last-child:nth-child(odd){grid-column:1/-1!important}
 .page-hero{padding:28px 0 22px!important}
 .page-hero h1{font-size:30px!important}
 .brain-photo-feature{margin:14px auto 0!important;padding:0 16px!important}
 .brain-photo-feature img{aspect-ratio:4/3!important;max-height:none!important}
 .grid,.steps{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 .service-card{padding:20px!important;width:100%!important}
 .service-card p{font-size:16px!important}
 .brainiac-actions .container{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
 .brainiac-actions .btn{width:100%!important;min-height:46px!important;font-size:16px!important}
 footer .footer-grid{grid-template-columns:1fr!important;gap:20px!important}
 footer h3{font-size:18px!important}
 footer p,footer li,footer a{font-size:15px!important;overflow-wrap:anywhere!important}
 footer .privacy-note{font-size:14px!important}
}

/* WDP verification candidate: responsive polish, Tutoring Services only. */
.topbar{text-align:center!important;font-size:15px!important;font-weight:700!important}
.site-header .header-inner{display:flex!important;flex-direction:column!important;gap:14px!important;align-items:center!important;padding:14px 0!important}
.site-header .brand{max-width:250px!important;flex:0 0 auto!important}
.site-header nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;width:100%!important;gap:3px 14px!important}
.site-header nav a{font-size:13px!important;padding:6px 0!important;white-space:normal!important}
.baseline-banner{background:#faf6ed;text-align:center;padding:18px 16px;border-bottom:1px solid #e7e2eb}
.baseline-banner a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;background:#722f9d;color:#fff;font-weight:700;text-decoration:none;border-radius:6px}
.brain-photo-feature{margin:24px auto 0!important}
.brain-photo-feature img{max-height:360px!important;object-fit:cover!important}
.content{background:transparent!important;box-shadow:none!important}
main section:not(.page-hero):not(.brainiac-actions){padding:28px 0 42px!important}
.content h2:first-child{margin-top:4px!important}
.content .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.content .grid:has(> .service-card:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))!important}
footer .footer-grid{grid-template-columns:1.2fr 1fr 1.2fr!important}
@media(max-width:900px){footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.content .grid:has(> .service-card:nth-child(3)){grid-template-columns:1fr!important}}
@media(max-width:768px){.site-header nav{gap:0 10px!important}.site-header nav a{font-size:14px!important;padding:8px 3px!important}.content .grid{grid-template-columns:1fr!important}.brain-photo-feature img{aspect-ratio:4/3!important}.baseline-banner{padding:14px 12px}}
@media(max-width:600px){.site-header nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:0!important}.site-header nav a{font-size:14px!important;padding:9px 5px!important;border-bottom:1px solid #eee!important}.site-header nav a:last-child:nth-child(odd){grid-column:1/-1!important}.content .grid,.content .grid:has(> .service-card:nth-child(3)){grid-template-columns:1fr!important}footer .footer-grid{grid-template-columns:1fr!important}.baseline-banner a{width:100%!important}.brand img{width:100%!important}.brain-photo-feature{margin:14px auto 0!important}}

/* R3: preserve published heading levels without changing the candidate layout. */
.content h1{font-size:26px!important;line-height:1.3!important;margin:36px 0 14px!important}
.service-card h2{font-size:20px!important;line-height:1.35!important;margin:0 0 12px!important}
.brain-photo-feature img{aspect-ratio:auto!important;max-height:none!important;height:auto!important;object-fit:contain!important}
footer .privacy-note{border-top:0;margin-top:0;padding-top:0;font-size:15px!important}
body{overflow-x:visible!important}
@media(max-width:768px){.content h1{font-size:23px!important;margin-top:28px!important}.service-card h2{font-size:19px!important}}

/* Management-approved consistent primary navigation typography. */
.site-header nav a{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:1.65!important;letter-spacing:normal!important;padding:8px 0!important}
