/* Homepage presentation only. The existing Learn Bamum navigation and palette stay shared. */
.learn-home {
    --home-purple: #60286d;
    --home-deep: #421a4c;
    --home-ink: #302735;
    --home-muted: #6b626e;
    --home-line: #e9e3eb;
    color: var(--home-ink);
    background: #fff;
    font-weight: 300;
    line-height: 1.65;
}
.learn-home *, .learn-home *::before, .learn-home *::after { box-sizing: border-box; }
.learn-home-container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.learn-home a:focus-visible { outline: 3px solid #ad70bc; outline-offset: 5px; }
.learn-home img { display: block; max-width: 100%; height: auto; }
.learn-home figure { margin: 0; }
.learn-home a { text-underline-offset: 4px; }
.learn-home-section { padding: 100px 0; }
.learn-home-section[id] { scroll-margin-top: 80px; }
.learn-home-eyebrow { margin: 0 0 18px; color: var(--home-purple); font-size: 12px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.learn-home-section-heading { text-align: center; max-width: 880px; margin: 0 auto 54px; }
.learn-home-section-heading h2 { margin: 0 0 24px; font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.12; letter-spacing: -.035em; }
.learn-home-section-heading h2 span { color: var(--home-purple); }
.learn-home-section-heading > p:not(.learn-home-eyebrow):not(.learn-home-release) { font-size: 20px; color: var(--home-muted); line-height: 1.65; margin-bottom: 24px; }
.learn-home-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 49px; padding: 12px 24px; border: 1px solid var(--home-purple); border-radius: 2px; background: var(--home-purple); color: #fff; font-size: 15px; font-weight: 400; text-decoration: none; transition: background-color .15s; }
.learn-home-button:hover { color: #fff; background: var(--home-deep); text-decoration: none; }
.learn-home-button-light { color: var(--home-deep); background: #fff; border-color: #fff; }
.learn-home-button-light:hover { background: #f1e7f4; color: var(--home-deep); }
.learn-home-text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--home-purple); font-size: 16px; font-weight: 400; }
.learn-home-text-link:hover { color: var(--home-deep); }
.learn-home-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; margin: 28px 0 16px; }
.learn-home-release { color: var(--home-muted); font-size: 12px; font-weight: 400; margin: 0; }
.learn-home-banner { min-height: 390px; display: grid; place-items: center; padding: 64px 24px; background: linear-gradient(90deg, #25152ac4, #25152a69), url('/img/bamum_bg.jpg') center 48% / cover; color: #fff; text-align: center; }
.learn-home-banner-content { max-width: 880px; }
.learn-home-banner .learn-home-eyebrow { color: #ecdbef; }
.learn-home-banner h1 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.025em; font-weight: 300; line-height: 1.15; margin: 0 0 18px; }
.learn-home-banner-content > p:not(.learn-home-eyebrow) { font-size: 20px; margin: 0 0 26px; }
.learn-home-announcement { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 32px; padding: 18px 24px; background: var(--home-deep); color: #fff; font-size: 14px; }
.learn-home-announcement p { margin: 0; }
.learn-home-announcement a { color: #fff; font-weight: 400; }
.learn-home-new { display: inline-block; margin-right: 10px; color: #e6c6ed; font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.learn-home-word-demo { width: min(940px, 100%); margin: 0 auto !important; }
.learn-home-word-demo > a { display: block; background: #faf9fb; border: 1px solid var(--home-line); box-shadow: 0 18px 40px #421a4c0a; }
.learn-home-word-demo img { width: 100%; }
.learn-home-word-demo figcaption { margin-top: 18px; text-align: center; color: var(--home-muted); font-size: 14px; }
.learn-home-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 72px; }
.learn-home-benefits > div { border-top: 1px solid var(--home-line); padding-top: 22px; }
.learn-home-benefit-number { color: #93619e; font-size: 12px; letter-spacing: .08em; font-weight: 400; }
.learn-home-benefits h3 { font-size: 22px; font-weight: 400; margin: 10px 0; }
.learn-home-benefits p { margin: 0; color: var(--home-muted); font-size: 16px; }
.learn-home-examples { background: #f8f6f9; }
.learn-home-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.learn-home-example { min-width: 0; }
.learn-home-example-heading > span { color: var(--home-purple); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
.learn-home-example h3 { font-size: 27px; line-height: 1.4; font-weight: 300; margin: 10px 0 26px; }
.learn-home-example code { color: var(--home-purple); font-size: .86em; font-weight: 400; }
.learn-home-example figure > a { display: block; background: #fafafa; }
.learn-home-example figure:not(.learn-home-output) img { width: 100%; aspect-ratio: 3.1; object-fit: contain; }
.learn-home-example figcaption { font-size: 14px; color: var(--home-muted); padding: 12px 0 20px; }
.learn-home-output { border-top: 1px solid #ded5e1; padding-top: 16px; }
.learn-home-output-label { display: block; margin-bottom: 10px; color: var(--home-muted); font-size: 12px; font-weight: 400; }
.learn-home-output > a { height: 105px; overflow: hidden; }
.learn-home-output img { width: 100%; }
.learn-home-section-note { text-align: center; color: var(--home-muted); margin: 35px 0 0; font-size: 13px; }
.learn-home-install-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 36px; padding: 0; margin: 0; list-style: none; }
.learn-home-install-steps > li { min-width: 0; }
.learn-home-step-copy { display: flex; gap: 16px; min-height: 114px; }
.learn-home-step-number { display: grid; place-items: center; flex: 0 0 34px; height: 34px; margin-top: 1px; border: 1px solid #cfb5d5; border-radius: 50%; font-size: 15px; font-weight: 400; color: var(--home-purple); }
.learn-home-step-copy h3 { font-size: 23px; line-height: 1.4; font-weight: 400; margin: 0 0 10px; }
.learn-home-step-copy p { font-size: 16px; color: var(--home-muted); margin: 0 0 24px; }
.learn-home-step-copy strong { font-weight: 500; color: var(--home-ink); }
.learn-home-step-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.45; background: #f8f8f8; border: 1px solid #eee9ef; }
.learn-home-step-image img { width: 100%; height: 100%; object-fit: contain; }
.learn-home-step-selector { padding: 20px; }
.learn-home kbd { white-space: nowrap; background: #f3eef5; border: 1px solid #e3d8e7; border-radius: 3px; color: var(--home-deep); font-size: .85em; padding: 2px 5px; box-shadow: none; }
.learn-home-install-note { border-top: 1px solid var(--home-line); margin-top: 48px; padding-top: 26px; text-align: center; color: var(--home-muted); font-size: 14px; }
.learn-home-install-note p { margin: 0 0 9px; }
.learn-home-install-note strong { color: var(--home-ink); font-weight: 400; }
.learn-home-learning { background: #faf8fb; }
.learn-home-learning-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; text-align: center; }
.learn-home-learning-links > a { display: block; color: var(--home-ink); text-decoration: none; }
.learn-home-learning-icon { display: block; font-size: 43px; color: #8d4f9b; line-height: 1.4; margin-bottom: 20px; }
.learn-home-learning-icon.bamum { font-family: bamum, sans-serif; }
.learn-home-learning-links h3 { font-size: 23px; font-weight: 300; margin-bottom: 13px; }
.learn-home-learning-links p { color: var(--home-muted); margin-bottom: 18px; }
.learn-home-learning-links > a:hover .learn-home-text-link { text-decoration: underline; }
/* Preserve the original homepage's shared Study Now footer strip. */
.phrase-container[_ngcontent-c4] { background-color: #421a4c; min-height: 72px; color: #fff; padding: 24px 0; }
.phrase-container[_ngcontent-c4] .container[_ngcontent-c4] .row[_ngcontent-c4] div[_ngcontent-c4]:nth-child(2) { text-align: right; }
.phrase-container[_ngcontent-c4] .btn-update[_ngcontent-c4] { background: #532f5c; color: #fff; font-size: 16px; padding: 10px 25px; border-radius: 0; }
@media (max-width: 767.98px) {
    .learn-home-container { width: calc(100% - 40px); }
    .learn-home-section { padding: 65px 0; }
    .learn-home-section-heading { margin-bottom: 36px; }
    .learn-home-section-heading > p:not(.learn-home-eyebrow):not(.learn-home-release) { font-size: 18px; }
    .learn-home-desktop-break { display: none; }
    .learn-home-banner { min-height: 350px; padding: 50px 22px; }
    .learn-home-banner-content > p:not(.learn-home-eyebrow) { font-size: 18px; }
    .learn-home-benefits { gap: 24px; margin-top: 44px; }
    .learn-home-benefits h3 { font-size: 20px; }
    .learn-home-example-grid, .learn-home-install-steps { grid-template-columns: minmax(0, 1fr); gap: 38px; }
    .learn-home-output > a { height: 100px; }
    .learn-home-step-copy { min-height: auto; }
    .learn-home-step-selector { aspect-ratio: 1.8; }
    .learn-home-learning-links { gap: 25px; }
    .learn-home-learning-links h3 { font-size: 20px; }
}
@media (max-width: 575.98px) {
    .learn-home-eyebrow { font-size: 10px; letter-spacing: .12em; }
    .learn-home-announcement { font-size: 13px; gap: 5px; padding: 16px; text-align: center; }
    .learn-home-announcement p, .learn-home-announcement a { width: 100%; }
    .learn-home-actions { gap: 18px; flex-direction: column; }
    .learn-home-release { max-width: 270px; margin-inline: auto; line-height: 1.9; }
    .learn-home-benefits, .learn-home-learning-links { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .learn-home-benefits > div { padding-top: 15px; }
    .learn-home-benefits h3 { margin-top: 6px; }
    .learn-home-learning-links > a { padding: 0 18px 26px; border-bottom: 1px solid var(--home-line); }
    .learn-home-learning-links > a:last-child { border: 0; padding-bottom: 0; }
    .learn-home-example h3 { font-size: 25px; }
    .learn-home-output > a { height: 85px; }
    .learn-home-step-copy { gap: 12px; }
    .learn-home-step-copy h3 { font-size: 21px; }
    .learn-home-step-copy p { font-size: 15px; }
    .learn-home-install-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .learn-home-button { transition: none; }
}
