:root{--st-ink:#0b1635;--st-navy:#081633;--st-blue:#3157f5;--st-purple:#7847ec;--st-soft:#f2f5fb;--st-line:#dce3ef;--st-muted:#64708a}
/* White checkout surfaces must not inherit the course player's pale text. */
.commerce-checkout,.commerce-cart-panel,.cart-drawer{color:var(--st-ink)}
.site-header{background:#fff;border-bottom:1px solid var(--st-line)}.nav-wrap{max-width:1280px}.nav-wrap nav a{font-size:.82rem;color:#28334d}.nav-wrap nav a.active{color:var(--st-blue)}.cart-nav,.cart-summary-button{border:1px solid var(--st-line);background:#fff;color:var(--st-ink);border-radius:9px;display:inline-flex;align-items:center;gap:.55rem;padding:.55rem .72rem;font:inherit;font-weight:750;cursor:pointer}.cart-nav strong,.cart-summary-button strong{display:grid;place-items:center;min-width:1.45rem;height:1.45rem;border-radius:6px;background:linear-gradient(135deg,var(--st-blue),var(--st-purple));color:#fff;font-size:.72rem}
.academy-phase-nav{background:#fff;border-bottom:1px solid var(--st-line);position:sticky;top:var(--header-height,68px);z-index:20}.academy-phase-nav .phase-tabs{max-width:1280px;margin:0 auto;padding:.55rem 1.2rem}.phase-tabs{display:flex;gap:.45rem;overflow-x:auto;scrollbar-width:none}.phase-tabs::-webkit-scrollbar{display:none}.phase-tabs button{flex:0 0 auto;border:1px solid var(--st-line);background:#fff;color:#42506e;border-radius:999px;padding:.52rem .85rem;font:inherit;font-size:.76rem;font-weight:750;cursor:pointer}.phase-tabs button.active,.phase-tabs button:hover{background:var(--st-navy);border-color:var(--st-navy);color:#fff}
.commerce-home{max-width:1280px;margin:0 auto;padding:1rem 1.2rem 5rem}.academy-hero{min-height:470px;border-radius:0 0 24px 24px;overflow:hidden;background:radial-gradient(circle at 74% 35%,rgba(82,85,255,.55),transparent 27%),linear-gradient(120deg,#07132f 0%,#0b1d46 53%,#181b5e 100%);color:#fff;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;padding:clamp(2rem,5vw,4.5rem);position:relative}.academy-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.025));pointer-events:none}.hero-copy{position:relative;z-index:2;max-width:690px}.hero-label,.commerce-kicker{font-size:.68rem;font-weight:850;letter-spacing:.15em;color:#5065a4;margin:0}.hero-label{color:#a9bcff}.hero-copy h1{font-size:clamp(3rem,6.4vw,6.15rem);line-height:.91;letter-spacing:-.06em;margin:.75rem 0 1.25rem}.hero-copy h1 span{background:linear-gradient(90deg,#79a4ff,#a967ff);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy>p:not(.hero-label){max-width:600px;color:#d9e2fa;font-size:1.03rem;line-height:1.65}.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.7rem 0}.hero-actions .btn{box-shadow:none}.btn.secondary.light{border-color:rgba(255,255,255,.45);color:#fff;background:transparent}.hero-proof{display:flex;gap:1.2rem;flex-wrap:wrap;color:#c5d1ed;font-size:.77rem}.hero-visual{min-height:360px;position:relative;isolation:isolate}.hero-orbit{position:absolute;border:1px solid rgba(142,171,255,.28);border-radius:50%;inset:7% 8%}.orbit-two{inset:22% 23%;border-color:rgba(178,109,255,.4)}.hero-badge{position:absolute;left:26%;top:22%;width:48%;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(16px);box-shadow:0 30px 70px rgba(0,0,0,.22)}.hero-badge small{letter-spacing:.13em;color:#b8c7ed}.hero-badge strong{font-size:2rem;margin:.35rem 0}.hero-badge span{font-size:.78rem;color:#bdc9e8}.hero-mini-card{position:absolute;background:#fff;color:var(--st-ink);border-radius:14px;padding:.9rem 1rem;box-shadow:0 16px 35px rgba(0,0,0,.24);display:grid;gap:.15rem}.hero-mini-card span{color:var(--st-muted);font-size:.72rem}.hero-mini-card.one{right:0;top:9%}.hero-mini-card.two{left:4%;bottom:10%}
.phase-browser,.popular-section{padding:3.8rem 0 0}.section-heading.compact{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.25rem}.section-heading.compact h2{font-size:clamp(1.8rem,3.5vw,3.1rem);letter-spacing:-.04em;margin:.35rem 0 0}.catalogue-note{font-size:.78rem;color:var(--st-muted)}.phase-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.phase-card{border:1px solid var(--st-line);background:#fff;border-radius:15px;padding:1rem;text-align:left;display:grid;gap:.85rem;min-height:170px;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.phase-card:hover{transform:translateY(-3px);border-color:#9aabdf;box-shadow:0 14px 30px rgba(19,37,83,.08)}.phase-card>span{color:var(--st-blue);font-size:.72rem;font-weight:850}.phase-card div{display:grid;gap:.35rem}.phase-card strong{line-height:1.15}.phase-card small{color:var(--st-muted);line-height:1.4}.phase-card b{align-self:end;color:var(--st-blue)}
.commerce-page{max-width:1180px}.commerce-heading,.dashboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem}.commerce-heading h1,.commerce-page>h1{max-width:760px;font-size:clamp(2.5rem,6vw,5.4rem);line-height:.92;letter-spacing:-.055em;margin:.55rem 0 1.15rem}.commerce-page>.phase-tabs{margin:1.8rem 0}.catalogue-count{margin:1.4rem 0 .7rem;color:var(--st-muted);font-size:.83rem}.catalogue-count strong{color:var(--st-ink);font-size:1rem}.commerce-grid,.my-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.2rem 0 2.5rem}.commerce-product,.my-course-card,.commerce-cart-panel,.commerce-checkout{background:#fff;border:1px solid var(--st-line);border-radius:18px;overflow:hidden;box-shadow:0 12px 35px rgba(20,34,80,.055)}.commerce-cover{min-height:132px;background:linear-gradient(135deg,#0b1736,#20336c 60%,#7050e8);color:#fff;padding:1rem;display:flex;justify-content:space-between;align-items:flex-start}.phase-2 .commerce-cover{background:linear-gradient(135deg,#102a3d,#167280)}.phase-3 .commerce-cover{background:linear-gradient(135deg,#171d39,#3157f5)}.phase-4 .commerce-cover{background:linear-gradient(135deg,#2d173f,#8b3fc5)}.phase-5 .commerce-cover{background:linear-gradient(135deg,#101827,#08758b)}.commerce-cover span{font-size:.65rem;font-weight:800;letter-spacing:.12em}.commerce-cover strong{font-size:3.3rem;line-height:1;opacity:.2}.commerce-product-body,.my-course-card,.commerce-checkout{padding:1.25rem}.course-label-row{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.status-pill{font-size:.62rem;font-weight:800;border-radius:999px;padding:.32rem .5rem}.status-pill.free{color:#137748;background:#e7f8ef}.status-pill.test{color:#795b00;background:#fff5ce}.status-pill.review{color:#536078;background:#eef1f6}.commerce-product-body h2,.my-course-card h2,.commerce-checkout h2{font-size:1.35rem;line-height:1.08;margin:.7rem 0}.course-principle{min-height:3.9em;color:#4d5872;font-size:.86rem;line-height:1.48}.course-facts{display:flex;gap:.85rem;color:var(--st-muted);font-size:.72rem;margin:1rem 0}.commerce-product-meta,.commerce-actions,.commerce-total,.commerce-cart-row,.my-course-status{display:flex;align-items:center;justify-content:space-between;gap:1rem}.commerce-product-meta{border-top:1px solid #e7eaf3;padding-top:.85rem;font-size:.72rem}.commerce-actions{margin-top:1rem}.commerce-actions .btn{font-size:.76rem;padding:.68rem .85rem;width:100%;justify-content:center}.commerce-actions .btn[disabled]{opacity:.72;cursor:not-allowed}.commerce-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin:2.5rem 0}.commerce-trust>div,.learning-stat{background:var(--st-soft);border-radius:14px;padding:1rem;display:grid;gap:.3rem}.commerce-trust span,.commerce-cart-row small,.checkout-safety{color:var(--st-muted);font-size:.78rem}.commerce-loading,.commerce-empty{padding:2rem;background:var(--st-soft);border-radius:16px;margin:1.5rem 0}.commerce-cart-panel,.commerce-checkout{max-width:780px;margin:2rem 0}.commerce-cart-row{padding:1rem 0;border-bottom:1px solid #e7eaf3}.commerce-cart-row>div{display:grid;gap:.3rem}.commerce-cart-row>div:last-child{text-align:right}.commerce-total{font-size:1.05rem;padding:1.2rem 0}.commerce-total strong{font-size:1.45rem}.checkout-button{width:100%;justify-content:center}.checkout-safety{text-align:center;margin:1.4rem 0 0;letter-spacing:.08em;font-weight:800}
.cart-drawer{position:fixed;z-index:1000;top:0;right:0;width:min(430px,100vw);height:100dvh;background:#fff;box-shadow:-24px 0 70px rgba(6,13,38,.25);padding:1.4rem;overflow:auto;transform:translateX(105%);transition:transform .25s ease}.cart-drawer.open{transform:none}.cart-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--st-line);padding-bottom:1rem}.cart-drawer-head h2{margin:.25rem 0}.drawer-close{border:0;background:#eef1f8;width:2.5rem;height:2.5rem;border-radius:50%;font-size:1.6rem;cursor:pointer}.course-commerce-action{margin-top:2rem;padding:1.2rem;background:#eef1ff;border-radius:14px;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.course-commerce-action small{flex-basis:100%;color:var(--st-muted)}.my-course-card{display:grid;gap:1rem}.my-course-card progress{width:100%;accent-color:var(--st-blue)}.my-course-status{font-size:.82rem;color:var(--st-muted)}.error-notice{border-color:#d48d98;background:#fff3f5}.success-notice{border-color:#8bc8a3;background:#effcf3}.commerce-page .text-link,.commerce-home .text-link{background:transparent;border:0;padding:0;cursor:pointer}.commerce-page .btn[disabled]{opacity:.55;cursor:wait}
@media(max-width:1040px){.phase-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-grid,.my-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-hero{grid-template-columns:1fr}.hero-visual{min-height:270px}.hero-badge{width:38%;left:31%;top:8%}}
@media(max-width:760px){.nav-wrap nav{display:none}.academy-phase-nav{top:var(--header-height,64px)}.commerce-home{padding:.5rem .75rem 3rem}.academy-hero{padding:2rem 1.2rem;border-radius:0 0 18px 18px;min-height:auto}.hero-copy h1{font-size:clamp(2.8rem,14vw,4.5rem)}.hero-visual{min-height:245px}.hero-badge{width:54%;left:23%;top:12%}.hero-mini-card{font-size:.8rem;padding:.65rem}.hero-mini-card.one{right:-3%;top:2%}.hero-mini-card.two{left:-2%;bottom:7%}.hero-proof{display:grid;gap:.45rem}.phase-browser,.popular-section{padding-top:2.6rem}.section-heading.compact{align-items:flex-start;display:grid}.phase-card-grid,.commerce-grid,.my-course-grid,.commerce-trust{grid-template-columns:1fr}.phase-card{min-height:132px}.commerce-heading,.dashboard-heading{display:grid}.commerce-heading h1,.commerce-page>h1{font-size:clamp(2.7rem,13vw,4.4rem)}.cart-nav span:first-child{display:none}.commerce-actions{align-items:stretch;flex-direction:column}.commerce-actions .btn{text-align:center;justify-content:center}.commerce-cart-row,.commerce-product-meta{align-items:flex-start}.commerce-cover{min-height:118px}.cart-drawer{padding:1rem}.my-learning>span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.cart-drawer,.phase-card{transition:none}}
.commerce-cover:has(img){padding:0;min-height:0;display:block;aspect-ratio:16/9}.commerce-cover img{display:block;width:100%;height:auto}.course-preview-cover{width:100%;max-width:800px;height:auto;border-radius:20px;margin:1rem 0}.course-outcomes{max-width:800px;padding:1rem 1.4rem;background:var(--st-soft);border-radius:16px;margin:1rem 0}.course-outcomes li{margin:.6rem 0;line-height:1.55}.phase-card-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}

@media(max-width:620px){.nav-wrap{flex-wrap:wrap;gap:10px}.nav-wrap>nav{order:4;width:100%;overflow-x:auto;white-space:nowrap;padding-bottom:4px}.nav-wrap>nav a{min-height:44px;display:inline-flex;align-items:center;flex-shrink:0}.my-learning>span:nth-child(2){display:inline!important}.my-learning{min-height:44px;white-space:nowrap}.nav-wrap .brand{margin-right:auto}}

/* Keep course prices and availability readable on the light card surface. */
.commerce-product .commerce-product-meta{color:#506078}
.commerce-product .commerce-product-meta strong{color:#17384d;font-weight:800}
.commerce-product .course-label-row .status-pill{position:static;top:auto;left:auto;z-index:auto;border:0}

.checkout-course-picker .commerce-cart-row{justify-content:flex-start;gap:12px;cursor:pointer}.checkout-course-picker input[type=radio]{flex:0 0 auto;width:20px;height:20px;margin:0}.checkout-course-picker .commerce-cart-row span{text-align:left}
