/* Math AA: homepage components with a subject-specific editorial layout. */
.math-aa-page .math-section{padding:90px 0}
.math-hero{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;padding:50px 0 86px}
.math-hero-copy{min-width:0}.math-aa-page .math-hero h1{font-size:clamp(42px,4.1vw,58px);line-height:1.12;letter-spacing:-2px;margin:0 0 27px;max-width:600px}.math-hero h1>span{display:block;font-size:.63em;line-height:1.3;letter-spacing:-1px;color:var(--blue);margin-top:18px}.math-hero-intro p{font-size:18px;line-height:1.8;margin:0}.math-hero-intro strong{font-weight:600;color:var(--ink)}.math-hero .eyebrow{margin-bottom:20px}.math-levels{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.math-levels a{display:flex;align-items:center;gap:25px;padding:9px 15px;border:1px solid #c6d9ec;border-radius:8px;background:#f2f7fd;font-size:14px;text-decoration:none;color:var(--ink)}.math-levels a>span{color:var(--blue)}.math-levels a:hover{background:#e2effd}.math-hero .sub-hero-actions{margin-top:25px;gap:23px}.math-hero .sub-hero-actions .button{padding:16px 20px;font-size:15px}.math-hero-board{min-width:0;position:relative}.math-aa-page .math-board{margin:0;background:#173247;border:1px solid #34536c;border-radius:20px;overflow:hidden;box-shadow:0 22px 55px #17324714}.math-board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 20px;font-size:11px;color:#bcd2e4}.math-board-toolbar strong{font-size:24px;letter-spacing:-1px;color:white;margin-right:6px}.math-board-paper{margin:0 12px;background:white;border-radius:8px;overflow:hidden;padding:13px}.math-board-paper img{display:block;width:100%;height:auto;object-fit:contain}.math-aa-page .math-board figcaption{display:flex;align-items:center;gap:8px;margin:0;padding:16px 20px;color:#dceaf5;font-size:12px;line-height:1.5}.math-board-dot{width:6px;height:6px;border-radius:50%;background:#83b1ef;flex-shrink:0}.math-board-caption{font-size:12px;line-height:1.7;margin:18px 12px 0!important;max-width:520px}
.math-course-band{background:#eaf3fc;border-block:1px solid var(--line)}.math-section-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:65px;margin-bottom:38px}.math-section-heading h2{margin:0;max-width:600px}.math-section-heading p{font-size:17px;margin:0;line-height:1.8}.math-section-heading .eyebrow{font-size:12px;margin-bottom:18px}.math-level-intro{padding-top:30px;border-top:1px solid #c7dbef;margin-bottom:30px;display:grid;grid-template-columns:1fr 1fr;gap:65px}.math-level-intro h3{max-width:410px;font-size:25px;margin:0}.math-level-intro p{margin:0;font-size:16px}.math-level-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}.math-level-cards article{display:flex;align-items:flex-start;gap:24px;padding:32px;background:white;border:1px solid var(--line);border-radius:18px}.math-level-label{font-size:32px;letter-spacing:-1px;font-weight:600;color:var(--blue);background:#eef5fc;border-radius:12px;width:70px;height:70px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.math-level-cards .eyebrow{font-size:11px;margin:0 0 10px}.math-level-cards h3{font-size:24px;margin:0 0 18px}.math-level-cards p{font-size:16px;line-height:1.8;margin:0}.math-level-cards article:nth-child(2){border-top:3px solid #2769c9;padding-top:30px}
.math-learning{display:grid;grid-template-columns:1.15fr .85fr;gap:90px;align-items:center}.math-learning-copy h2{margin-bottom:25px}.math-learning-copy>p{font-size:17px;line-height:1.85}.math-learning-copy>.eyebrow{font-size:12px}.math-learning-copy .text-link{margin-top:10px;display:inline-block}.math-aa-page .math-classroom-detail{margin:0;border:1px solid var(--line);padding:22px;border-radius:22px;background:#f2f7fd;position:relative}.math-detail-label{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.8px;margin:0 0 18px;color:var(--ink)}.math-detail-label img{width:24px;height:24px}.math-classroom-detail>img{display:block;width:100%;height:auto;border-radius:12px}.math-aa-page .math-classroom-detail figcaption{font-size:14px;line-height:1.65;margin-top:20px;color:var(--ink)}
.math-confidence{background:#173247}.math-confidence-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center}.math-confidence-grid figure{max-width:430px}.math-confidence-grid figure img{display:block;width:100%;height:auto;border-radius:52px 18px 18px 18px}.math-aa-page .math-confidence h2{color:white;margin-bottom:25px}.math-aa-page .math-confidence .eyebrow{color:#a9c5e1;font-size:12px}.math-aa-page .math-confidence p{color:#d2e1ed;font-size:17px;line-height:1.85}.math-assessment-note{display:flex;align-items:flex-start;gap:18px;padding:22px 0;margin:25px 0;border-block:1px solid #456075}.math-assessment-note img{width:32px;height:32px;padding:5px;border-radius:7px;background:#edf5ff;flex-shrink:0}.math-assessment-note p{margin:0;font-size:16px!important}
.math-aa-page .math-tutors{background:#fff;border:0}.math-aa-page .math-tutors .tutor-quality{background:#e8f2fc}.math-aa-page .math-tutors h2 em{color:inherit}.math-aa-page .math-tutors .university-backgrounds{margin-top:40px;padding-top:40px;border-top:1px solid var(--line)}.math-aa-page .math-tutors .university-logos{margin-top:0}
.math-why{background:#f1f6fc;border-block:1px solid var(--line)}.math-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.math-benefit{padding:28px;background:white;border:1px solid var(--line);border-radius:18px;min-width:0}.math-benefit-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.math-benefit-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #ccdef0;background:#edf5fe;border-radius:15px}.math-benefit-icon img{width:29px;height:29px}.math-benefit-number{font-size:12px;letter-spacing:1px;color:#68809a}.math-aa-page .math-benefit h3{font-size:23px;letter-spacing:-.55px;margin:0 0 18px;line-height:1.35}.math-benefit p,.math-benefit li{font-size:15px;line-height:1.8}.math-benefit p{margin:0}.math-benefit ul{margin:12px 0 0;padding:0;list-style:none}.math-benefit li{position:relative;padding-left:23px;margin-top:9px;color:var(--muted)}.math-benefit li:before{content:'✓';position:absolute;left:0;color:var(--blue)}.math-benefit-featured{background:#173247;border-color:#173247}.math-aa-page .math-benefit-featured h3{color:#fff}.math-aa-page .math-benefit-featured p,.math-aa-page .math-benefit-featured li{color:#dae8f3}.math-benefit-featured .math-benefit-number{color:#9cb9d5}.math-benefit-featured li:before{color:#88baff}
.math-aa-page .trial{background:#eaf3fc}.math-aa-page .trial h2 em{color:var(--blue)}.math-aa-page .trial .field label{font-size:16px}.math-aa-page .faq{margin-bottom:0}.math-aa-page .faq-list details>div{padding-bottom:22px}.math-aa-page .faq-list details>div p{padding-bottom:0;margin-bottom:10px}
@media(max-width:1100px){.math-hero{gap:35px}.math-aa-page .math-hero h1{font-size:44px}.math-hero-intro p{font-size:16px}.math-learning{gap:50px}.math-confidence-grid{gap:45px}.math-level-cards article{padding:25px;gap:18px}.math-level-label{width:54px;height:54px;font-size:27px}.math-level-cards article:nth-child(2){padding-top:23px}.math-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.math-section-heading,.math-level-intro{gap:35px}.math-board-toolbar{padding:15px;font-size:10px}.math-board-toolbar strong{font-size:22px}}
@media(max-width:800px){.math-aa-page .math-section{padding:60px 0}.math-hero{grid-template-columns:1fr;padding:35px 0 55px;gap:40px}.math-aa-page .math-hero h1{font-size:clamp(36px,6.8vw,52px);max-width:620px}.math-hero h1>span{font-size:.7em;max-width:600px}.math-hero-intro{max-width:650px}.math-hero-board{max-width:620px;justify-self:center;width:100%}.math-board-caption{font-size:12px}.math-section-heading,.math-level-intro{grid-template-columns:1fr;gap:22px}.math-level-cards{grid-template-columns:1fr;gap:18px}.math-level-cards article{gap:24px}.math-level-intro{padding-top:25px}.math-learning{grid-template-columns:1fr;gap:35px}.math-classroom-detail{max-width:500px;width:100%;justify-self:center}.math-confidence-grid{grid-template-columns:1fr;gap:35px}.math-confidence-grid>div{grid-row:1}.math-confidence-grid figure{max-width:430px;width:100%;justify-self:center}.math-benefit{padding:25px}.math-aa-page .math-benefit h3{font-size:22px}.math-section-heading p{font-size:16px}.math-confidence-grid figure img{max-height:470px;object-fit:cover;object-position:50% 30%}.math-hero .sub-hero-actions .button{font-size:14px}}
@media(max-width:540px){.math-aa-page .math-hero h1{font-size:37px;letter-spacing:-1.5px}.math-hero h1>span{font-size:27px;letter-spacing:-.7px}.math-board-toolbar>span:last-child{font-size:9px}.math-board-toolbar{gap:8px;padding:13px 12px}.math-board-paper{padding:8px;margin:0 8px}.math-aa-page .math-board figcaption{padding:14px 12px;font-size:11px}.math-levels{gap:8px}.math-levels a{font-size:12px;gap:15px}.math-level-cards article{display:block;padding:24px}.math-level-label{margin-bottom:22px}.math-level-cards article:nth-child(2){padding-top:22px}.math-benefit-grid{grid-template-columns:1fr;gap:16px}.math-benefit{padding:25px}.math-benefit-top{margin-bottom:20px}.math-aa-page .math-classroom-detail{padding:16px}.math-detail-label{font-size:9px}.math-assessment-note{gap:12px}.math-confidence-intro p{font-size:16px!important}.math-hero .sub-hero-actions{gap:18px}}
.math-aa-page figure{margin:0;min-width:0}
/* A readable, full-width classroom beneath the confidence introduction. */
.math-confidence-intro{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start;margin-bottom:44px}
.math-confidence-intro h2{max-width:550px}.math-confidence-intro>div>p:first-child{margin-top:0}
.math-confidence-intro .text-link{display:inline-block;margin-top:8px;color:#fff;border-color:#a8c3dc}.math-confidence-intro .text-link:hover{color:#bcd8ff;border-color:#bcd8ff}.math-confidence-intro .text-link:focus-visible{outline:2px solid #bcd8ff;outline-offset:5px}.math-confidence .classroom-demo{min-width:0}
.math-aa-page .math-confidence .board-question{color:var(--ink);font-size:18px;line-height:1.7}
.math-aa-page .math-confidence .board-task{color:#4b657c;font-size:14px;line-height:1.6}
.math-aa-page .math-confidence .classroom-caption{color:#b5cbe0;font-size:12px;line-height:1.6}
.math-confidence .classroom-controls[hidden],.math-draw-controls[hidden]{display:none}
.math-drawing{display:block;width:100%;height:auto}
.math-draw-controls{display:flex;flex-wrap:wrap;gap:7px;padding:0 16px 16px}
.math-draw-controls button{font:inherit;font-size:12px;color:#dceaf5;background:#ffffff09;border:1px solid #678199;border-radius:6px;padding:8px 10px;min-height:36px;cursor:pointer}
.math-draw-controls button:hover{background:#ffffff18}.math-draw-controls button:disabled{opacity:.45;cursor:default}
.math-draw-controls button:focus-visible,.math-progress-steps button:focus-visible{outline:2px solid #81b7ff;outline-offset:3px}
.math-learning{grid-template-columns:1fr 1fr;gap:64px}
.math-progress{padding:28px;border-radius:22px;border:1px solid #cbdff2;background:linear-gradient(145deg,#f4f8fd,#e8f2fc);box-shadow:0 20px 45px #17324709}
.math-progress-heading .eyebrow{font-size:10px;margin:0 0 13px;letter-spacing:1px}
.math-progress-heading h3{font-size:27px;line-height:1.25;letter-spacing:-.7px;margin:0 0 12px}
.math-progress-heading>p:last-child{font-size:14px;margin:0;color:var(--muted)}
.math-progress-chart{display:block;width:100%;height:auto;margin:27px 0 18px;overflow:visible}
.grade-point circle{fill:#fff;stroke:#286bd0;stroke-width:3;transition:fill .2s}.grade-point text{fill:#173247;font:600 28px var(--sans);text-anchor:middle}
.math-progress[data-grade="4"] .grade-point-4 circle,.math-progress[data-grade="5"] .grade-point-5 circle,.math-progress[data-grade="6"] .grade-point-6 circle,.math-progress[data-grade="7"] .grade-point-7 circle{fill:#286bd0;stroke-width:5}
.math-progress-axis{fill:#526d87;font:12px var(--sans)}
.math-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.math-progress-steps button{border:1px solid #c5daef;background:#fff;color:#173247;font:600 20px var(--sans);border-radius:9px;padding:11px 4px;cursor:pointer;min-width:0}
.math-progress-steps button span{display:block;font-size:10px;font-weight:400;margin-top:5px;overflow-wrap:anywhere}
.math-progress-steps button[aria-pressed="true"]{background:#173247;color:#fff;border-color:#173247}
.math-progress-steps button:hover{border-color:#286bd0}
.math-progress-detail{padding:21px 0 17px;min-height:135px}
.math-progress-detail strong{font-size:16px}.math-progress-detail p{font-size:14px;line-height:1.7;margin:9px 0 0}
.math-aa-page .math-progress figcaption{font-size:11px;line-height:1.6;color:#526d87;border-top:1px solid #c5daef;padding-top:15px;margin:0}
@media(max-width:1000px){.math-learning{gap:35px}.math-progress{padding:22px}.math-confidence-intro{gap:35px}.math-progress-steps button span{font-size:9px}}
@media(max-width:800px){.math-learning,.math-confidence-intro{grid-template-columns:1fr;gap:24px}.math-progress{width:100%;max-width:570px;justify-self:center}.math-confidence-intro{margin-bottom:32px}.math-confidence-intro h2{max-width:600px}.math-progress-steps button span{font-size:11px}}
@media(max-width:540px){.math-progress{padding:19px}.math-progress-heading h3{font-size:25px}.math-progress-steps{gap:4px}.math-progress-steps button span{font-size:9px}.math-confidence .classroom-topbar{padding:15px 12px}.math-confidence .classroom-demo-label{font-size:10px}.math-aa-page .math-confidence .board-question{font-size:15px}.math-aa-page .math-confidence .board-task{font-size:12px}.math-draw-controls{padding:0 12px 12px;gap:5px}.math-draw-controls button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.grade-point circle{transition:none}}
.math-confidence-intro{margin-bottom:0}
.math-course-band{background:#173247;border-color:#34536c}
.math-aa-page .math-course-band .math-section-heading h2,.math-aa-page .math-course-band .math-level-intro h3{color:#fff}
.math-course-band .math-section-heading p,.math-course-band .math-level-intro p{color:#d2e1ed}
.math-aa-page .math-course-band .math-section-heading .eyebrow{color:#a9c5e1}
.math-course-band .math-level-intro{border-color:#456075}
.math-course-band .math-level-cards article{background:#f2f7fd}
.math-aa-page .closing h2 em{color:var(--blue)}
/* Editorial tutor guide, with detail available on demand. */
.math-mastery{background:#eaf3fc;border-block:1px solid #d0e0f0}
.math-mastery-heading{max-width:740px;margin-bottom:44px}.math-mastery-heading h2{margin:0 0 20px}.math-mastery-heading>p:last-child{font-size:19px;max-width:620px}
.math-mastery-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:64px;align-items:start}
.math-mentor{background:#fff;border:1px solid #ccdfee;border-radius:20px;overflow:hidden}.math-mentor>img{display:block;width:100%;height:280px;object-fit:cover;object-position:center 25%}.math-mentor-copy{padding:25px}.math-mentor-copy h3{font-size:27px;margin:0 0 12px}.math-mentor-copy p{font-size:14px;line-height:1.8}.math-guide-draft{display:block;border-top:1px solid #d0e0f0;padding-top:15px;color:#526a7d;font-size:12px;line-height:1.6}
.math-mastery-lead{font-size:20px;line-height:1.75;margin:0 0 28px;color:var(--ink)}
.math-mastery-steps{list-style:none;padding:0;margin:0}.math-mastery-steps li{display:grid;grid-template-columns:38px 1fr;gap:18px;padding:24px 0;border-top:1px solid #c4d8eb}.math-mastery-steps li>span{font-size:13px;color:var(--blue);padding-top:5px}.math-mastery-steps h3{font-size:23px;margin:0 0 12px}.math-mastery-steps p{font-size:16px;line-height:1.8;margin:0}
.math-mastery-example{background:#fff;border:1px solid #c9dced;border-radius:18px;padding:28px;margin-top:20px}.math-mastery-example h3{font-size:24px;margin:0 0 20px}.math-mastery-example p{font-size:15px;line-height:1.8}.math-example-equation{font-family:Georgia,serif;font-size:23px;line-height:1.8;color:var(--blue);padding:15px 0;border-block:1px solid #e0eaf4}.math-example-equation>span{padding:0 8px;color:#68809a}
.math-mastery details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;font-weight:600;color:var(--ink);padding:20px 0}.math-mastery details>summary::-webkit-details-marker{display:none}.math-mastery details>summary::after{content:none}.math-mastery details>summary>span{color:var(--blue);font-size:22px;font-weight:400;transition:transform .15s}.math-mastery details[open]>summary>span{transform:rotate(45deg)}.math-mastery details>summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.math-mastery-example details>p{margin-top:0}
.math-topic-guide{display:grid;grid-template-columns:300px minmax(0,1fr);gap:64px;padding-top:45px;margin-top:45px;border-top:1px solid #bfd4e8}.math-topic-guide h3{font-size:26px;margin:0 0 16px}.math-topic-guide p{font-size:16px}.math-topic-list details{border-bottom:1px solid #bfd4e8}.math-topic-list details:first-child{border-top:1px solid #bfd4e8}.math-topic-list details>p{margin:0;padding-bottom:22px;line-height:1.8}
.math-guide-footer{display:flex;justify-content:space-between;align-items:center;gap:35px;border-top:1px solid #bfd4e8;margin-top:40px;padding-top:28px}.math-guide-footer p{font-size:15px;max-width:650px;margin:0}.math-guide-footer a{flex-shrink:0}
@media(max-width:1000px){.math-mastery-layout,.math-topic-guide{grid-template-columns:240px minmax(0,1fr);gap:35px}.math-mentor>img{height:240px}}
@media(max-width:800px){.math-mastery-layout,.math-topic-guide{grid-template-columns:1fr;gap:30px}.math-mentor{display:grid;grid-template-columns:150px 1fr}.math-mentor>img{height:100%;min-height:230px}.math-mentor-copy{padding:20px}.math-guide-footer{display:block}.math-guide-footer a{display:inline-block;margin-top:20px}.math-mastery-heading{margin-bottom:30px}}
@media(max-width:440px){.math-mentor{grid-template-columns:110px 1fr}.math-mentor-copy{padding:17px}.math-mentor-copy p{font-size:12px}.math-mastery-lead{font-size:18px}.math-mastery-example{padding:20px}.math-example-equation{font-size:19px}.math-mastery-steps li{grid-template-columns:26px 1fr;gap:12px}.math-mastery-steps h3{font-size:21px}}
