/* Blue is reserved for primary viewing and enrollment actions. */
html:root,html[data-pg-theme="light"],html[data-pg-theme="dark"]{--gx-blue:var(--ac-text);--gx-tint:var(--ac-raised)}
.academy .ac-header-room{background:transparent;border-color:var(--ac-line);color:var(--ac-text)!important;box-shadow:none}
.academy .ac-header-room:hover{background:var(--ac-soft);box-shadow:none}
html body.academy>.pg-bottom-nav>a[aria-current="page"]{color:var(--ac-text)!important}
.academy .gx-guide-chip,.academy .gx-my-tile,.academy .ac-my-shortcuts>a>span{filter:grayscale(1)}
.academy .ac-text-link,.academy .ac-section-head>a,.academy .gx-text-link,.academy .ac-eyebrow{color:var(--ac-muted)}
.academy .course-guide-choice:hover{box-shadow:none;transform:none}
.academy .course-meter>span{background:var(--ac-text)}
.academy .gc-clean .g3-status{color:var(--ac-text)}

/* The home page is a course shelf: one free preview, then actual courses. */
.hc-home{padding-top:37px;padding-bottom:12px}
.hc-home .ac-section-head{align-items:center;margin-bottom:20px}
.hc-home .ac-section-head h1,.hc-home .ac-section-head h2{font-size:27px;line-height:1.35;letter-spacing:-.8px;margin:0}
.hc-home .ac-section-head>a{font-size:12px;white-space:nowrap;color:var(--ac-muted);font-weight:400}
.academy .hc-home #feedFreeList{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.hc-free .feed-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.35fr 1fr;align-items:center;gap:0;border-radius:20px;overflow:hidden;background:var(--ac-raised)}
.hc-free .feed-card:first-child .feed-card-poster{border-radius:0;box-shadow:none}
.hc-free .feed-card:first-child .feed-card-body{padding:30px 35px}
.hc-free .feed-card:first-child .feed-card-title{font-size:28px;line-height:1.4;letter-spacing:-.9px;margin:12px 0 25px;max-width:300px}
.hc-free .feed-card-sub{font-size:12px}
.hc-free .feed-card-play{background:#fffffff0;color:#171717;box-shadow:0 6px 22px #0002}
.hc-free .feed-card-label{background:#fff;color:#111;border-radius:5px;box-shadow:0 2px 10px #0001}
.hc-free .ac-card-action{display:inline-flex;align-items:center;min-height:46px;padding:12px 20px;margin:0;border:0;border-radius:100px;background:#0066e6;color:#fff;font-size:13px;font-weight:600}
.hc-free .feed-card:hover{transform:none}
.hc-free .feed-card:hover .ac-card-action{background:#0056c3}
.hc-home .feed-card-poster{box-shadow:none;border-radius:14px}
.hc-courses,.hc-packages{margin-top:52px}
.hc-filters{display:flex;gap:8px;margin:-1px 0 25px}
.hc-filters button{padding:9px 18px;min-height:40px;background:var(--ac-raised);color:var(--ac-muted);font-size:12px;border-radius:100px;transition:background .2s,color .2s}
.hc-filters button[aria-pressed="true"]{background:var(--ac-text);color:var(--ac-bg)}
.hc-home .feed-card-body{padding:16px 0 0}
.hc-home .feed-card-title{font-size:20px;line-height:1.4;margin:5px 0 13px}
.hc-home .feed-card-sub{font-size:11px}
.hc-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hc-card-bottom .feed-card-info{font-size:18px;white-space:nowrap}
.hc-card-bottom .ac-card-action{color:var(--ac-text);font-size:11px;margin:0;padding:9px 0;white-space:nowrap;min-height:38px}
.hc-courses .feed-card:hover{transform:translateY(-3px)}
.hc-home .feed-card:hover .feed-card-poster{box-shadow:none}
.hc-home .feed-package{border-radius:15px;background:var(--ac-raised)}
.hc-home .feed-package:hover{box-shadow:none}
.ac-home .ac-footer{margin-top:44px;border-top:1px solid var(--ac-line);padding-top:25px}
@media(max-width:1000px){.hc-free .feed-card:first-child .feed-card-body{padding:22px}.hc-free .feed-card:first-child .feed-card-title{font-size:23px}.academy .hc-home #feedFreeList{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .hc-home{padding-top:25px}
 .hc-home .ac-section-head{margin-bottom:16px;gap:12px}
 .hc-home .ac-section-head h1,.hc-home .ac-section-head h2{font-size:23px;letter-spacing:-.7px}
 .hc-home .ac-section-head>a{font-size:11px;min-width:0;padding:0}
 .academy .hc-home #feedFreeList{grid-template-columns:1fr;gap:25px}
 .hc-free .feed-card:first-child{display:block;border-radius:15px;background:var(--ac-raised)}
 .hc-free .feed-card:first-child .feed-card-body{padding:19px 20px 21px}
 .hc-free .feed-card:first-child .feed-card-title{font-size:22px;margin:6px 0 17px;max-width:none;line-height:1.4;letter-spacing:-.6px}
 .hc-free .ac-card-action{font-size:12px;min-height:42px;padding:11px 18px}
 .hc-courses,.hc-packages{margin-top:35px}
 .hc-filters{margin:0 0 21px;gap:7px}
 .hc-filters button{min-height:38px;font-size:12px;padding:8px 17px}
 .academy .hc-home .feed-grid{gap:29px}
 .hc-home .feed-card-title{font-size:21px;margin:5px 0 11px}
 .hc-home .feed-card-sub{font-size:11px}
 .hc-card-bottom .feed-card-info{font-size:19px}
 .hc-card-bottom .ac-card-action{font-size:12px}
 .ac-home .ac-footer{margin-top:35px;padding-top:22px}
}
@media(prefers-reduced-motion:reduce){.hc-home *{transition:none!important;animation:none!important}}

/* Editorial hierarchy: ink-black type, clear prices, quiet metadata. */
:root,html[data-pg-theme="light"]{--ac-text:#111;--ac-muted:#343434;--ac-line:#dedede;--ac-raised:#f5f5f5;--ac-soft:#f5f5f5}
html[data-pg-theme="dark"]{--ac-text:#fafafa;--ac-muted:#d6d6d6;--ac-line:#3d3d3d;--ac-raised:#222;--ac-soft:#222}
html body.academy p,html body.academy small{color:var(--ac-text)!important}
.academy :is(h1,h2,h3,.feed-card-title,.g3-course-title,.owned-course-name){font-weight:700;text-wrap:balance}
.academy .brand{font-size:21px;font-weight:700;letter-spacing:-.7px}
.academy .ac-nav a{font-size:14px;font-weight:500;color:var(--ac-text)}
.academy .ac-nav a[aria-current]{font-weight:700}
.academy .ac-header-room{font-size:12px;font-weight:600;padding:9px 17px;border-color:var(--ac-text)}
.academy .ac-section-head>a,.academy .ac-text-link,.academy .gx-text-link,.academy .gc-free-link{color:var(--ac-text);font-weight:600}
.hc-home .ac-section-head h1,.hc-home .ac-section-head h2{font-size:32px;font-weight:700;letter-spacing:-1.1px}
.hc-home .ac-section-head>a{font-size:13px;color:var(--ac-text);font-weight:600}
.hc-free .feed-card:first-child{background:var(--ac-bg);border-radius:0;gap:38px;grid-template-columns:1.4fr 1fr}
.hc-free .feed-card:first-child .feed-card-poster{border-radius:17px}
.hc-free .feed-card:first-child .feed-card-body{padding:15px 10px 15px 0}
.academy .hc-free .feed-card:first-child .feed-card-title{font-size:34px;line-height:1.25;letter-spacing:-1.2px;margin:12px 0 25px;max-width:350px}
.academy .hc-home .feed-card-sub{font-size:13px;font-weight:500;color:var(--ac-text)!important;line-height:1.6}
.hc-free .ac-card-action{font-size:14px;font-weight:600;padding:13px 22px;min-height:47px}
.hc-filters{gap:10px;border-bottom:1px solid var(--ac-line);padding-bottom:20px;margin-bottom:27px}
.hc-filters button{font-size:14px;font-weight:600;min-height:42px;padding:9px 19px;color:var(--ac-text);background:var(--ac-bg);border:1px solid var(--ac-line)}
.hc-filters button[aria-pressed="true"]{background:var(--ac-text);border-color:var(--ac-text);color:var(--ac-bg)}
.academy .hc-home .feed-card-title{font-size:23px;letter-spacing:-.6px;margin:7px 0 17px}
.hc-home .feed-card-poster{border-radius:13px;border:1px solid #1111110a}
.hc-card-bottom .feed-card-info{font-size:21px;font-weight:700;letter-spacing:-.5px}
.hc-card-bottom .ac-card-action{font-size:12px;font-weight:600;border:1px solid var(--ac-line);border-radius:100px;min-height:42px;padding:10px 14px}
.academy .gc-heading h1{font-weight:700;font-size:37px;letter-spacing:-1.4px}
.academy .gc-heading p{font-size:15px;font-weight:500}
.academy.gc-clean .course-guide h2{color:var(--ac-text)!important;font-size:16px;font-weight:600}
.academy.gc-clean .course-guide-choice-text strong{font-size:18px;font-weight:700}
.academy.gc-clean .course-guide-choice-text small{font-size:12px;font-weight:500}
.academy.gc-clean .gc-tools :is(.gc-all,.gc-packages,summary){color:var(--ac-text);font-size:13px;font-weight:500}
.academy.gc-clean .gc-tools .gc-all[aria-pressed="true"]{font-weight:700}
.academy.gc-clean #courseGuideResultHint{color:var(--ac-text)}
.academy.gc-clean .g3-listing .bar h2{font-size:22px;font-weight:700}
.academy.gc-clean .g3-listing .bar span{font-size:13px;color:var(--ac-text)}
.academy.gc-clean .ac-course-chapters{font-size:13px;font-weight:500;color:var(--ac-text)!important}
.academy.gc-clean .g3-course-title{font-size:23px;letter-spacing:-.6px;margin:7px 0 17px}
.academy.gc-clean .gc-purchase-row .g3-course-meta{font-size:21px;font-weight:700}
.academy.gc-clean .gc-purchase-row .ac-card-action{font-size:12px;min-height:44px;padding:11px 15px}
.academy .gp-detail-copy>p,.academy .gp-detail-section>p{font-size:15px;line-height:1.8}
.academy .gp-checks,.academy .gp-detail-quickfacts,.academy .pane.side .note{font-size:13px;color:var(--ac-text)}
.academy .lesson{font-size:15px}.academy .lesson-access{font-size:12px;color:var(--ac-text)}
.academy .my-hero p{font-size:14px}.academy .my-hero h1{font-size:36px;font-weight:700}
.academy .ac-learning-stats span{font-size:13px;font-weight:500;color:var(--ac-text)}
.academy .owned-kicker{color:var(--ac-text);font-size:11px;font-weight:600}
.academy .owned-course-name{font-size:24px;font-weight:700;letter-spacing:-.7px}
.academy .owned-detail small,.academy .owned-last{font-size:13px;color:var(--ac-text);line-height:1.7}
.academy .ac-my-shortcuts strong{font-size:16px}.academy .ac-my-shortcuts small{font-size:12px}
.academy .my-options>a,.academy .my-option-row{font-size:14px;font-weight:500}
.academy .ac-footer p{font-size:12px;line-height:1.8}
@media(max-width:1000px){.hc-free .feed-card:first-child{gap:25px}.academy .hc-free .feed-card:first-child .feed-card-title{font-size:29px}.hc-card-bottom .ac-card-action{font-size:11px;padding:10px 12px}}
@media(max-width:700px){
 .academy .brand{font-size:20px}.academy .ac-header-room{font-size:11px;padding:8px 13px}
 .hc-home .ac-section-head h1,.hc-home .ac-section-head h2{font-size:27px;letter-spacing:-.9px}
 .hc-home .ac-section-head>a{font-size:12px}
 .hc-free .feed-card:first-child{display:block;border-radius:0}
 .hc-free .feed-card:first-child .feed-card-poster{border-radius:13px}
 .hc-free .feed-card:first-child .feed-card-body{padding:19px 0 0}
 .academy .hc-free .feed-card:first-child .feed-card-title{font-size:27px;letter-spacing:-.9px;margin:7px 0 18px;max-width:none;line-height:1.3}
 .academy .hc-home .feed-card-sub{font-size:13px}
 .hc-free .ac-card-action{font-size:14px;min-height:46px;padding:12px 21px}
 .hc-courses{margin-top:40px}
 .hc-filters{gap:8px;padding-bottom:18px;margin-bottom:23px}.hc-filters button{font-size:14px;min-height:42px;padding:9px 18px}
 .academy .hc-home .feed-card-title{font-size:24px;margin:6px 0 15px}
 .hc-card-bottom .feed-card-info{font-size:22px}
 .hc-card-bottom .ac-card-action{font-size:13px;min-height:43px;padding:10px 16px}
 .academy .gc-heading h1{font-size:29px;letter-spacing:-1px}.academy .gc-heading p{font-size:13px;font-weight:500}
 .academy .gc-free-link{font-size:12px}
 .academy.gc-clean .course-guide h2{font-size:14px}
 .academy.gc-clean .course-guide-choice-text strong{font-size:16px}
 .academy.gc-clean .course-guide-choice-text small{font-size:10px;line-height:1.5}
 .academy.gc-clean .gc-tools :is(.gc-all,.gc-packages,summary){font-size:12px}
 .academy.gc-clean .g3-listing .bar h2{font-size:20px}.academy.gc-clean .g3-listing .bar span{font-size:12px}
 .academy.gc-clean .ac-course-chapters{font-size:13px}.academy.gc-clean .g3-course-title{font-size:24px;margin:7px 0 16px}
 .academy.gc-clean .gc-purchase-row .g3-course-meta{font-size:22px}.academy.gc-clean .gc-purchase-row .ac-card-action{font-size:13px;min-height:44px}
 .academy .my-hero h1{font-size:30px}.academy .my-hero p{font-size:13px}.academy .ac-learning-stats span{font-size:11px}
 .academy .owned-course-name{font-size:23px}.academy .owned-detail small,.academy .owned-last{font-size:13px}
 .academy .gp-detail-copy>p,.academy .gp-detail-section>p{font-size:14px}.academy .gp-checks,.academy .pane.side .note{font-size:13px}
 .academy .lesson{font-size:14px}.academy .lesson-access{font-size:11px}
 .academy .ac-footer p{font-size:11px}
}
@media(max-width:370px){.academy .gc-heading h1{font-size:25px}.academy .gc-free-link{font-size:11px}.academy.gc-clean .course-guide-choice-text strong{font-size:14px}.academy.gc-clean .course-guide-choice-text small{font-size:9px}.hc-card-bottom .ac-card-action{font-size:12px;padding:10px 13px}.academy .ac-learning-stats span{font-size:10px}}

.hc-home>.hc-courses:first-child{margin-top:0}

/* viewport-fit=cover also extends beneath the iPhone status bar in standalone mode. */
html body.academy{padding-top:env(safe-area-inset-top,0px)}
body.academy::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--ac-bg);z-index:1010;pointer-events:none}
.academy .accountpop{max-height:calc(100dvh - 110px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
