/* Shared brand motion, prepared before the first frame. */
.ac-motion :is(.site-header .brand,.site-header .nav-links>*,.ac-hero .eyebrow,.ac-hero h1,.ac-lead,.ac-hero-actions,.ac-hero-art){opacity:0;translate:0 16px;transition:opacity .6s ease,translate .6s ease}
.ac-motion.ac-intro-visible :is(.site-header .brand,.site-header .nav-links>*,.ac-hero .eyebrow,.ac-hero h1,.ac-lead,.ac-hero-actions,.ac-hero-art){opacity:1;translate:0 0}
.ac-motion .ac-hero h1{transition-delay:.04s}.ac-motion .ac-lead{transition-delay:.08s}.ac-motion .ac-hero-actions{transition-delay:.12s}.ac-motion .ac-hero-art{transition-delay:.08s}
.ac-motion .ac-enter{opacity:0;translate:0 18px;transition:opacity .65s ease var(--ac-delay,0s),translate .65s cubic-bezier(.2,.75,.2,1) var(--ac-delay,0s)}
.ac-motion .ac-enter.ac-shown{opacity:1;translate:0 0}
@keyframes ac-icon-lift{0%{transform:translateY(6px) rotate(-5deg)}60%{transform:translateY(-3px) rotate(2deg)}100%{transform:none}}
.ac-motion .ac-benefits .ac-shown .ac-benefit-icon{animation:ac-icon-lift .7s ease both;animation-delay:var(--ac-delay,0s)}
.academic-page .ac-coverage-card:nth-child(1){background:#fffcf5;border-radius:26px 26px 38px 12px}
.academic-page .ac-coverage-card:nth-child(2){background:#e1eafa;border-radius:32px 14px 26px 26px}
.academic-page .ac-coverage-card:nth-child(3){background:#eef2e7;border-radius:14px 32px 24px 24px}
.academic-page .ac-coverage-card:nth-child(4){background:#f8f4e9;border-radius:26px 26px 14px 34px}
.academic-page .ac-coverage-card{transition:opacity .65s ease var(--ac-delay,0s),translate .65s cubic-bezier(.2,.75,.2,1) var(--ac-delay,0s),transform .25s ease}
@media(hover:hover){.academic-page .ac-coverage-card:hover{transform:translateY(-3px)}}
/* Short drawn accents give the alternating examples a shared rhythm. */
.academic-page .ce-index{display:inline-flex;align-items:center;gap:14px;font-weight:600;letter-spacing:.08em}
.ce-index::after{content:'';display:block;width:45px;height:2px;background:#719469;transform-origin:left}
.ac-motion .ce-index::after{scale:0 1;transition:scale .6s ease .3s}
.ac-motion .ac-shown .ce-index::after{scale:1 1}
/* The activity stays stable while its teaching steps appear in sequence. */
.ac-motion .ac-sequence :is(.ce-correction,.ce-pattern,.ce-plan,.ce-board-correct .ce-panel-label,.ce-board-correct .ce-equations>div,.ce-practice-stage,.ce-phone,.online-equation-steps>p,.online-board-prompt){opacity:0;translate:0 10px;transition:opacity .55s ease var(--step-delay,0s),translate .55s ease var(--step-delay,0s)}
.ac-motion .ac-sequence.ac-shown :is(.ce-correction,.ce-pattern,.ce-plan,.ce-board-correct .ce-panel-label,.ce-board-correct .ce-equations>div,.ce-practice-stage,.ce-phone,.online-equation-steps>p,.online-board-prompt){opacity:1;translate:0 0}
.ac-motion .ce-error-step ellipse{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .65s ease .15s}
.ac-motion .ac-shown .ce-error-step ellipse{stroke-dashoffset:0}
@media(max-width:650px){.academic-page .ce-feature{gap:28px}.academic-page .ce-index{margin-bottom:16px}.academic-page .ac-coverage-card{border-radius:22px}.academic-page .ce-art{max-width:100%}}
@media(prefers-reduced-motion:reduce){
 .ac-motion :is(.ac-enter,.site-header .brand,.site-header .nav-links>*,.ac-hero .eyebrow,.ac-hero h1,.ac-lead,.ac-hero-actions,.ac-hero-art),.ac-motion .ac-sequence :is(.ce-correction,.ce-pattern,.ce-plan,.ce-board-correct .ce-panel-label,.ce-board-correct .ce-equations>div,.ce-practice-stage,.ce-phone,.online-equation-steps>p,.online-board-prompt){opacity:1;translate:none;transition:none}
 .ac-motion .ce-index::after{scale:1 1;transition:none}.ac-motion .ce-error-step ellipse{stroke-dashoffset:0;transition:none}.ac-motion .ac-benefits .ac-shown .ac-benefit-icon{animation:none}
}
/* The animated logo blends with the cream header as one group. */
.adults-page .site-header .brand{mix-blend-mode:darken}
/* Give the actions their own row instead of squeezing them into the copy column. */
@media(min-width:701px) and (max-width:1100px){
 .academic-page .ac-hero .ac-hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto auto auto auto;align-items:start;gap:22px 36px}
 .academic-page .ac-hero-grid>div:first-child{display:contents}
 .academic-page .ac-hero .eyebrow{grid-column:1/-1;grid-row:1;margin:0}
 .academic-page .ac-hero h1{grid-column:1;grid-row:2;margin:0}
 .academic-page .ac-hero .ac-lead{grid-column:1;grid-row:3;margin:0}
 .academic-page .ac-hero .ac-hero-art{grid-column:2;grid-row:2/4;align-self:start;transform:none;translate:0 0;margin:0;width:100%;max-width:540px}
 .academic-page .ac-hero .ac-hero-actions{grid-column:1/-1;grid-row:4;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;gap:14px;margin:6px 0 0}
 .academic-page .ac-hero-actions .ac-cta{width:auto;flex:0 0 auto}
}
