/* TDNSC v16 — crisp white, electric blue and navy. No pastel section panels. */
:root{--blue:#087EFF;--deep:#071B4D;--pale:#fff;--muted:#415675;--border:#D3DAE5;--paper:#fff;--td-electric:#087EFF;--td-navy:#071B4D;--td-sky:#20ABF6;--td-turquoise:#00B8C8}
html{background:#fff;color:#071B4D}
body{background:#fff!important;color:#071B4D}
.header{background:#fff!important;border-bottom:2px solid #071B4D!important;box-shadow:none!important}
.header-inner{max-width:1160px}
.header .brand-logo-crop{width:245px!important;max-width:44vw!important;aspect-ratio:1536/650!important}
.header .brand-logo-crop .tdnsc-brand-wordmark{width:100%!important;max-height:none!important;object-fit:contain!important;height:auto!important}
.tdnsc-brand-name{color:#071B4D}
.header-qualification{color:#087EFF!important}
.header .main-nav a,.header .account-link{color:#071B4D;background:#fff;border-color:#071B4D}
.header .main-nav a:hover,.header .main-nav a.active,.header .main-nav a:focus-visible{background:#087EFF;color:#fff}
.header .account-link{background:#071B4D;color:#fff}
.header .main-nav .exam-nav-link{color:#087EFF;font-weight:900}
main{background:#fff!important}
#home.student-home{max-width:1120px}
#home .welcome-panel{background:#fff!important;border:2px solid #071B4D;border-left:9px solid #087EFF;box-shadow:13px 13px 0 rgba(8,126,255,.08);border-radius:23px;position:relative;overflow:hidden}
#home .welcome-panel:after{content:'';position:absolute;width:130px;height:130px;border:18px solid #087EFF;border-radius:50%;right:-89px;top:-78px;opacity:.9;pointer-events:none}
#home .welcome-copy .welcome-kicker{background:#071B4D;color:white!important;border-color:#071B4D!important;border-radius:8px;padding:8px 12px;letter-spacing:.075em!important}
#home .welcome-copy h1{color:#071B4D!important;letter-spacing:-.052em}
#home .welcome-copy h1 em{color:#087EFF!important}
#home .welcome-course{color:#071B4D!important;font-weight:800!important}
#home .welcome-copy .welcome-reassurance{color:#435b79}
#home .welcome-cta-primary{background:#087EFF;border-color:#087EFF;box-shadow:0 5px 0 #044B99;color:#fff}
#home .welcome-cta-primary:hover{background:#0060D9;border-color:#0060D9}
#home .welcome-cta-secondary{background:#071B4D;color:#fff;border-color:#071B4D;box-shadow:0 5px 0 #20ABF6}
#home .welcome-cta-secondary:hover{background:#103A7B}
#home .welcome-cta:focus-visible,.revision-menu-button:focus-visible{outline:4px solid #00B8C8!important;outline-offset:3px}
.revision-menu-header h2{color:#071B4D!important}.revision-menu-header h2 span{color:#087EFF!important}.revision-menu-header p{color:#476080}
.revision-menu-list{gap:13px}
.revision-menu-button{border:2px solid #CBD3E0;background:#fff!important;border-radius:19px;box-shadow:4px 4px 0 #071B4D16;color:#071B4D}
.revision-menu-button:hover{border-color:#087EFF;box-shadow:5px 5px 0 #087EFF55;transform:translateY(-1px)}
.revision-menu-icon{background:#087EFF!important;border:0;color:#fff!important;box-shadow:none}
.revision-menu-button:nth-child(3n+2) .revision-menu-icon{background:#071B4D!important}
.revision-menu-button:nth-child(3n+3) .revision-menu-icon{background:#0079C8!important}
.revision-menu-copy strong{color:#071B4D!important}.revision-menu-copy small{color:#275B89!important}
.revision-menu-arrow{color:#087EFF!important}
.revision-menu-note{background:#fff!important;border:1px solid #D6DEEB;color:#415773;border-radius:12px}
.exam-prep-feature{display:flex;align-items:center;gap:17px;padding:18px 22px;min-height:110px;background:#071B4D;color:white;text-decoration:none;border:2px solid #071B4D;border-radius:21px;margin:0 0 19px;box-shadow:0 6px 0 #087EFF;transition:transform .17s,border-color .17s}
.exam-prep-feature:hover{transform:translateY(-2px);border-color:#087EFF}
.exam-prep-feature:focus-visible{outline:4px solid #00B8C8;outline-offset:4px}
.exam-prep-feature-icon{width:71px;height:71px;display:grid;place-items:center;flex:0 0 71px;background:#087EFF;border-radius:18px}
.exam-prep-feature-icon svg{width:41px;height:41px;stroke:#fff}
.exam-prep-feature-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}
.exam-prep-feature-copy strong{font-size:clamp(1.11rem,2.05vw,1.4rem);font-weight:900;line-height:1.15}
.exam-prep-feature-copy small{font-size:clamp(.72rem,1.2vw,.9rem);font-weight:750;color:#D2EEFF;letter-spacing:.018em}
.exam-free-label{display:inline-block;vertical-align:middle;font-size:.64rem;letter-spacing:.04em;background:#fff;color:#071B4D;border-radius:6px;padding:6px 9px;margin-left:8px}
.exam-prep-feature-arrow{font-size:1.8rem;color:#20ABF6;font-weight:900}
.student-proof{background:#fff!important;color:#415773!important}.student-proof strong{color:#087EFF!important}
.student-offers,.student-home .rewards-teaser,.student-home .next-step,.student-home .tidy-return,.rewards-hero{background:#fff!important;border:2px solid #D6DFEB!important;box-shadow:none!important}
.student-offers:before{color:#087EFF!important;opacity:.6}
.tdnsc-price-card,.offer-card,.student-home .path-card,.student-toolkit .quick-links a,.rewards-card,.route,.activity,.white-card{background:#fff!important;border:1.5px solid #CDD8E6!important;box-shadow:none!important}
.student-toolkit .quick-links a:nth-child(2),.student-toolkit .quick-links a:nth-child(3){background:#fff!important}
.rewards-card:nth-child(2),.rewards-card:nth-child(3){background:#fff!important}
.rewards-card-top .blue,.reward-status,.tdnsc-state.is-free{background:#087EFF!important;color:#fff!important}
.student-home .calm-strip,.rewards-hero-main{background:#071B4D;color:#fff}
#home .tdnsc-price-card.is-free{border:2px solid #087EFF!important}
#home .tdnsc-price-grid .tdnsc-price-card{border-radius:18px}
.next-step{border:1.5px solid #D2DBE8!important;background:#fff!important}
.student-home .path-card:nth-child(2),.student-home .path-card:nth-child(3){background:#fff!important}
.mobile-dock{background:#fff;border-top:2px solid #071B4D!important}
.mobile-dock a{color:#071B4D}.mobile-dock a:hover{color:#087EFF}
/* Matching resource pages */
.wrap{max-width:1030px}
body .hero{background:#fff!important;border:2px solid #071B4D!important;box-shadow:7px 7px 0 #087EFF25!important}
body .eyebrow{background:#071B4D!important;color:white!important;border-color:#071B4D!important;border-radius:7px!important}
body .back{color:#087EFF}
body .brand img{object-fit:contain}
body .card{background:#fff!important;border-color:#CFD7E4!important;box-shadow:3px 4px 0 #087EFF16!important}
body .card-icon{background:#087EFF!important;color:#fff!important}
body .action{background:#087EFF!important;color:#fff!important}
body .action.alt{background:#071B4D!important;color:#fff!important}
body .choice{background:#fff!important;border-color:#C9D4E3!important}
body .choice[aria-pressed="true"]{background:#071B4D!important;color:white!important;border-color:#087EFF!important}
body .choice[aria-pressed="true"] small{color:#D2E8FE!important}
body .suggestion{background:#fff!important;border:2px solid #087EFF!important}
body .notice{background:#fff!important;border-left-color:#087EFF!important;border-top:1px solid #CDD8E5;border-bottom:1px solid #CDD8E5;border-right:1px solid #CDD8E5}
/* Learning app: keep the tools on white with navy headings and electric blue calls to action */
body .sidebar,body .main-area,body .site-layout,body .hero,body .topbar{background:#fff!important}
body .sidebar{border-right:1px solid #D4DDE8}
body .hero{box-shadow:none!important}
body .btn-primary,body .primary{background:#087EFF!important;border-color:#087EFF!important;color:#fff!important}
body .option-btn,body .resource-card,body .unit-card,body .activity-box{background:#fff!important;border-color:#C9D6E5!important}
body .unit-no,body .path-num{background:#071B4D!important;color:#fff!important}
body .mobile-nav{background:#fff!important;border-top:2px solid #071B4D}
/* Mobile clarity and easy touch targets */
@media(max-width:860px){.header .brand-logo-crop{width:190px!important;max-width:51vw!important}.header .main-nav .exam-nav-link{display:none}}
@media(max-width:680px){#home .welcome-panel{padding:23px 19px!important;margin-bottom:25px;border-left-width:6px;box-shadow:7px 7px 0 #087EFF16}
#home .welcome-copy h1{font-size:clamp(2.15rem,9.25vw,3.3rem)!important}
.exam-prep-feature{padding:13px;gap:12px;min-height:98px;border-radius:17px}
.exam-prep-feature-icon{width:57px;height:57px;flex-basis:57px;border-radius:13px}.exam-prep-feature-icon svg{width:34px;height:34px}
.exam-free-label{font-size:.60rem;margin:5px 0 0;display:table}
.exam-prep-feature-copy strong{font-size:1.04rem}.exam-prep-feature-copy small{font-size:.69rem;line-height:1.35}
.exam-prep-feature-arrow{font-size:1.35rem}
.revision-menu-button{border-radius:16px;min-height:87px}
.revision-menu-icon{border-radius:13px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.exam-prep-feature{transition:none!important}}
/* The official logo is already prominent in the header; keep the hero uncluttered. */
#home .welcome-brand{display:none!important}
#home .welcome-copy{max-width:840px;margin:0 auto}
#home .welcome-panel{display:block!important}
/* Avoid native empty "Details" box while the reading-preferences script initialises. */
details.tdnsc-reading-settings:empty{display:none!important}

/* Version 18: make the exact qualification and platform unmistakable, above the main hero headline. */
#home .welcome-panel:after{z-index:0}
#home .welcome-copy{position:relative;z-index:1}
#home .welcome-qualification-banner{display:block;width:fit-content;max-width:100%;margin:0 0 23px!important;padding:12px 17px!important;border-left:6px solid #087EFF;border-radius:9px;background:#071B4D;color:#FFFFFF!important;font-size:clamp(1rem,2.1vw,1.34rem)!important;line-height:1.45!important;letter-spacing:-.012em;font-weight:850!important;overflow-wrap:anywhere;box-sizing:border-box}
#home .welcome-qualification-banner strong{display:inline;color:#4BC3FF;font-size:inherit;font-weight:950}
#home .welcome-panel .welcome-copy h1{margin-top:0}
@media(max-width:680px){#home .welcome-qualification-banner{max-width:100%;padding:12px 13px!important;margin-bottom:17px!important;font-size:clamp(.98rem,4.2vw,1.13rem)!important;line-height:1.48!important}#home .welcome-qualification-banner strong{display:block}}
