/* Production homepage: readable learning-first hierarchy; shared navigation is untouched. */
[data-bw-learning-first] .hero-grid{grid-template-columns:1.2fr 1fr;gap:64px;align-items:center}
[data-bw-learning-first] .hero h1{font-size:clamp(42px,4.5vw,66px);line-height:1.08;max-width:640px;letter-spacing:-.045em}
[data-bw-learning-first] .hero-lede{font-size:17px;max-width:530px;color:#cbc7d5;line-height:1.75;margin-bottom:20px}
.learning-hero-promise{color:#e1d2f7;font-size:15px;line-height:1.6;margin:0 0 28px}
[data-bw-learning-first] .hero-actions{gap:14px}
[data-bw-learning-first] .hero-actions .button{font-size:14px;gap:16px;padding:15px 19px}
.learning-button-outline{border-color:#aaa1bb;background:transparent;color:#f5f1fb}
.learning-button-outline:hover{background:#2b2538}
[data-bw-learning-first] .hero-note{font-size:13px;line-height:1.7;color:#c1bbcc;max-width:520px}
[data-bw-learning-first] .hero-note a{text-decoration:underline;text-underline-offset:4px}
[data-bw-learning-first] .workspace-bottom{font-size:12px;color:#c2b9d0}
[data-bw-learning-first] .section-heading>p{font-size:16px;max-width:410px}
.learning-resources .resource-copy>p{font-size:15px;min-height:0;color:#59535f}
.learning-resources .resource-copy h3{font-size:25px;line-height:1.2;letter-spacing:-.025em}
.learning-resources .resource-copy .text-link{font-size:14px}
.learning-resources .quiet-link{font-size:13px;min-height:44px;display:flex;align-items:center}
.learning-examples{background:#ede8f3;border-block:1px solid #d9d0e3}
.learning-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.learning-example{padding:32px;border:1px solid #d8cce3;background:#fffefa;border-radius:16px;display:flex;flex-direction:column;align-items:flex-start}
.learning-example h3{font-size:30px;line-height:1.18;margin-bottom:18px}
.learning-example>p:not(.eyebrow){font-size:16px;color:#5b5365;line-height:1.75}
.learning-example>.text-link{margin-top:auto}
.learning-example-route{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:14px;color:#544365;margin:0 0 24px}
.learning-example-route>span:not([aria-hidden]){padding:8px 12px;border-radius:7px;background:#efe8f5}
.learning-disclosure{width:100%;border-block:1px solid #d7cfdf;margin:0 0 20px;color:#493756}
.learning-disclosure summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px;min-height:52px;align-items:center;list-style:none;font-size:15px;font-weight:500}
.learning-disclosure summary::-webkit-details-marker{display:none}
.learning-disclosure ol{padding-left:22px;margin:0 0 20px;font-size:15px;line-height:1.8}
.learning-disclosure li+li{margin-top:8px}
.learning-design{background:#181722;color:#f8f4fc}
.learning-design .eyebrow{color:#d3bff2}
.learning-design .section-heading>p,.learning-design-grid p{color:#d0c8db}
.learning-design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.learning-design-grid article{padding-top:26px;border-top:1px solid #676072}
.learning-design-grid .section-number{font-size:11px;color:#d4bdef}
.learning-design-grid h3{color:#f8f4fc;font-size:26px;line-height:1.2;margin:18px 0}
.learning-design-grid p{font-size:16px;line-height:1.8;margin:0}
.learning-design-note{color:#d4bdef;font-size:14px;line-height:1.7;margin:32px 0 0}
.learning-support{border-top:1px solid #dbd5df;background:#f0ecef}
.learning-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.learning-support-grid>article{display:flex;flex-direction:column;align-items:flex-start;padding:28px;border:1px solid #d9d0dc;background:#fffefa;border-radius:14px;scroll-margin-top:110px}
.learning-support-grid h3{font-size:25px;line-height:1.2}
.learning-support-grid p:not(.eyebrow){font-size:15px;color:#5d5565;line-height:1.75}
.learning-support-grid .learning-service-price{font-weight:600;color:#37283e;margin-top:auto}
.learning-support-note{font-size:14px;line-height:1.75;margin:24px 0 0;color:#65576c}
.learning-closing-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px}
[data-bw-learning-first] .plan-description,[data-bw-learning-first] .plan li,[data-bw-learning-first] .faq-list p{font-size:15px}
[data-bw-learning-first] .plan-detail,[data-bw-learning-first] .pricing-footnote{font-size:13px}
[data-bw-learning-first] .bw-application-support-entry{width:calc(100% - 40px)}
@media(max-width:1000px){[data-bw-learning-first] .hero-grid{gap:32px}[data-bw-learning-first] .hero h1{font-size:46px}.learning-support-grid{gap:14px}.learning-support-grid>article{padding:22px}}
@media(max-width:760px){[data-bw-learning-first] .hero-grid{grid-template-columns:1fr;gap:34px}[data-bw-learning-first] .hero h1{font-size:clamp(40px,8vw,57px)}[data-bw-learning-first] .hero-lede{font-size:16px}.learning-example-grid,.learning-design-grid,.learning-support-grid{grid-template-columns:1fr}.learning-example{padding:26px}.learning-design-grid{gap:24px}.learning-design .section-heading h2{font-size:34px}.learning-closing-actions{width:100%}.learning-closing-actions .button{width:auto}.learning-resources .resource-card{display:block}.learning-resources .resource-visual{height:205px;min-height:205px;border-right:0;border-bottom:1px solid #e4dfe9}}
@media(max-width:380px){[data-bw-learning-first] .hero-actions{flex-direction:column;align-items:stretch}[data-bw-learning-first] .hero-actions .button{width:100%}.learning-example{padding:22px}.learning-example h3{font-size:27px}.learning-closing-actions{flex-direction:column;align-items:stretch}.learning-closing-actions .text-link{align-self:flex-start}}
@media(prefers-reduced-motion:reduce){[data-bw-learning-first]{scroll-behavior:auto}.learning-button-outline{transition:none}}

/* Public learning loop: calm editorial cards, without styling member dashboard surfaces. */
[data-bw-learning-first] .learning-examples{background:#f5f2f6;border-color:#ddd7e2}
[data-bw-learning-first] .learning-loop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px;counter-reset:step}
[data-bw-learning-first] .learning-loop-step{min-width:0;padding:clamp(22px,3vw,36px);border:1px solid #dcd4e2;border-radius:18px;background:#fffdfa;display:flex;flex-direction:column;box-shadow:0 12px 32px rgba(34,25,49,.045)}
[data-bw-learning-first] .learning-loop-step .section-number{font-size:12px;letter-spacing:.09em;color:#654d82}
[data-bw-learning-first] .learning-loop-step h3{font-size:clamp(23px,2.4vw,30px);line-height:1.2;margin:28px 0 10px}
[data-bw-learning-first] .learning-loop-step p{font-size:15px;line-height:1.75;color:#534d5d}
[data-bw-learning-first] .learning-loop-step .text-link{margin-top:auto;min-height:44px;display:inline-flex;align-items:center}
[data-bw-learning-first] .learning-loop-note{margin:24px 0 0;color:#514a5c;line-height:1.7}
[data-bw-learning-first] .learning-loop-note a{text-underline-offset:4px}
@media(max-width:900px){[data-bw-learning-first] .learning-loop-grid{grid-template-columns:1fr}}
@media(prefers-color-scheme:dark){[data-bw-learning-first] .learning-examples{background:#201d29;border-color:#4d455a;color:#f6f2fb}[data-bw-learning-first] .learning-loop-step{background:#292534;border-color:#575064;box-shadow:none}[data-bw-learning-first] .learning-loop-step :is(h3,p,.section-number,.text-link),[data-bw-learning-first] .learning-loop-note,[data-bw-learning-first] .learning-loop-note a{color:#eee5f6}}
@media(prefers-color-scheme:dark){[data-bw-learning-first] .learning-examples .section-heading>p{color:#ddd5e9}[data-bw-learning-first] .learning-examples .eyebrow{color:#c6b1ef}}
[data-bw-learning-first] .learning-loop-step a:focus-visible,[data-bw-learning-first] .learning-loop-note a:focus-visible{outline:3px solid #9972d6;outline-offset:4px}

/* Captured signed-in product surfaces: screenshots are evidence, not recreated UI. */
[data-bw-learning-first] .learning-product-proof{margin-top:clamp(32px,5vw,64px);padding:clamp(20px,4vw,44px);border-radius:24px;background:#eee9f3;border:1px solid #d8cde2}
[data-bw-learning-first] .learning-product-proof-heading{max-width:740px;margin-bottom:24px}
[data-bw-learning-first] .learning-product-proof-heading h3{font-size:clamp(26px,3.5vw,38px);line-height:1.16;margin:10px 0}
[data-bw-learning-first] .learning-product-proof-heading p:last-child{line-height:1.7;color:#494153}
[data-bw-learning-first] .learning-product-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
[data-bw-learning-first] .learning-product-proof figure{min-width:0;margin:0;border-radius:17px;overflow:hidden;background:#fff;border:1px solid #d8cde2;box-shadow:0 16px 40px rgba(38,26,52,.09)}
[data-bw-learning-first] .learning-product-proof picture{display:block;aspect-ratio:1.52;overflow:hidden;background:#e9e3ef}
[data-bw-learning-first] .learning-product-proof img{display:block;width:100%;height:auto}
[data-bw-learning-first] .learning-product-proof figcaption{padding:22px;display:grid;gap:8px;line-height:1.55;color:#454052}
[data-bw-learning-first] .learning-product-proof figcaption strong{font-size:19px;color:#292338}
[data-bw-learning-first] .learning-product-proof figcaption span{font-size:14px}
[data-bw-learning-first] .learning-product-proof figcaption a{justify-self:start;margin-top:4px;font-weight:700;color:#503675;text-underline-offset:4px}
@media(max-width:760px){[data-bw-learning-first] .learning-product-proof-grid{grid-template-columns:1fr}}
@media(prefers-color-scheme:dark){[data-bw-learning-first] .learning-product-proof{background:#292434;border-color:#5a5168}[data-bw-learning-first] .learning-product-proof-heading p:last-child{color:#eee7f5}[data-bw-learning-first] .learning-product-proof figure{background:#322c3b;border-color:#5a5168}[data-bw-learning-first] .learning-product-proof figcaption,[data-bw-learning-first] .learning-product-proof figcaption strong,[data-bw-learning-first] .learning-product-proof figcaption a{color:#f3eafb}}

/* Homepage contrast repairs (sitewide-theme-20260928 re-review). The homepage has one composed
   design (dark hero and footer, light cards and sections) in both colour schemes; these rules only
   darken muted light-ground text to >= 4.5:1, lighten footer text on the dark footer, and give
   form selects and pathway tabs a >= 3:1 boundary. No layout, copy or behaviour change. */
body[data-bw-public-entry] #session .session-heading .eyebrow,
body[data-bw-public-entry] #session .session-footnote,
body[data-bw-public-entry] #session .lesson-preview p,
body[data-bw-public-entry] #resources .more-tools > span,
body[data-bw-public-entry] #pathways .exam-row p,
body[data-bw-public-entry] #pathways .subject-links > span,
body[data-bw-public-entry] #pricing .pricing-footnote,
body[data-bw-public-entry] #pricing .pricing-footnote a,
body[data-bw-public-entry] #outcomes .student-quote figcaption,
body[data-bw-public-entry] #outcomes .small-note { color: #524c5e !important; }
body[data-bw-public-entry] #session #lesson-subject,
body[data-bw-public-entry] #session .session-sequence li > span,
body[data-bw-public-entry] #resources .section-number,
body[data-bw-public-entry] #trust .section-number { color: #5b4485 !important; }
body[data-bw-public-entry] #pathways .pathway-tabs button { color: #3f3a4b !important; box-shadow: inset 0 0 0 1px #857a96 !important; }
body[data-bw-public-entry] .audit9-closing .eyebrow { color: #4f3a78 !important; }
body[data-bw-public-entry] .audit9-closing .closing-inner > div > p:not(.eyebrow) { color: #3f3a4b !important; }
body[data-bw-public-entry] .site-footer .footer-bottom :is(span, a) { color: #b3adbf !important; }
body[data-bw-public-entry] #session :is(select#board, select#subject) { border-color: #857a96 !important; }
/* Local-only inline teaching preview within the public connected loop. */
[data-bw-learning-first] .learning-loop-step .demo{width:100%;margin:18px 0 0;min-width:0}
[data-bw-learning-first] .learning-loop-step:has(.demo){grid-column:span 1}
[data-bw-learning-first] .learning-loop-step .bwic-lead{color:inherit;font-weight:600}
[data-bw-learning-first] .learning-loop-step .bwic-options button{min-height:44px}
[data-bw-learning-first] .learning-loop-step a+a{margin-top:6px}
[data-bw-learning-first] .learning-loop-step .demo *{max-width:100%}
@media(max-width:900px){[data-bw-learning-first] .learning-loop-step{padding:24px}}
@media(max-width:420px){[data-bw-learning-first] .learning-loop-step{padding:18px}[data-bw-learning-first] .learning-loop-step .demo{font-size:14px}}
@media(prefers-color-scheme:dark){[data-bw-learning-first] .learning-loop-step .demo{color:#292238;background:#fffdf9;border-radius:12px}[data-bw-learning-first] .learning-loop-step .demo .bwic-lead{color:#292238}}
@media(prefers-color-scheme:dark){[data-bw-learning-first] .learning-loop-step .demo :is(p,h3,.rb-q){color:#292238!important}}
