/* Navigation, proof and process sections */
.site-header{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:44px}.primary-nav{display:flex;align-items:center;gap:34px}.primary-nav a,.header-actions .text-link{color:var(--blue);font-size:13px;font-weight:850}.primary-nav a:hover,.header-actions .text-link:hover{color:var(--orange)}.header-actions{gap:24px}.header-actions .nav-register{padding:13px 22px;border-radius:8px;background:var(--navy);color:#fff;font-size:13px;font-weight:900}.proof-strip{width:min(1330px,calc(100% - 40px));margin:34px auto 0;padding:27px 12px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #d7e3ee;border-radius:18px;background:#fff;box-shadow:0 16px 38px #183a5d12}.proof-strip article{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #d8e4ee;text-align:center}.proof-strip article:last-child{border:0}.proof-icon{width:34px;height:34px;margin-bottom:7px;display:grid;place-items:center;border:2px solid var(--blue);border-radius:50%;color:var(--blue);font-size:16px;font-weight:900}.proof-strip strong{font-size:28px;letter-spacing:-.04em}.proof-strip small{margin-top:3px;color:#51657a;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.055em}.how-section{padding:78px 30px 82px;text-align:center;background:linear-gradient(#f5fbff,#eaf7ff)}.section-heading{max-width:720px;margin:auto}.section-heading>p{margin:0 0 9px;color:var(--blue);font-size:12px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.section-heading h2{margin:0;font-size:clamp(38px,4.5vw,62px);line-height:1;letter-spacing:-.055em}.section-heading>span{display:block;margin-top:14px;color:#5b6d80;font-size:15px}.how-steps{max-width:1120px;margin:42px auto 30px;display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:24px;align-items:center}.how-steps article{position:relative;min-height:255px;padding:31px 25px 25px;border:1px solid #cbddea;border-radius:16px;background:#fff;box-shadow:0 12px 28px #173e6810}.how-steps article>b{position:absolute;left:18px;top:18px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--blue);color:#fff;font-size:13px}.step-symbol{width:72px;height:72px;margin:12px auto 18px;display:grid;place-items:center;border-radius:18px;background:#e2f2ff;color:var(--blue);font-size:31px;font-weight:900}.how-steps h3{margin:0 0 9px;font-size:20px}.how-steps p{margin:0;color:#596d80;font-size:13px;line-height:1.6}.how-steps>i{color:#7fa7ca;font-size:25px;font-style:normal}.how-cta{height:48px;padding:0 25px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:var(--orange);color:#fff;font-size:12px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 9px 20px #ff4a092d}
@media(max-width:980px){.site-header{gap:20px}.primary-nav{gap:18px}.primary-nav a{font-size:11px}.proof-strip{grid-template-columns:repeat(2,1fr)}.proof-strip article:nth-child(2){border-right:0}.proof-strip article:nth-child(-n+2){border-bottom:1px solid #d8e4ee}.how-steps{gap:12px}.how-steps>i{display:none}}
@media(max-width:600px){.mobile-header{position:relative;z-index:30;overflow:visible}.menu-toggle{position:absolute;opacity:0;pointer-events:none}.hamburger{width:38px;height:38px;display:grid;align-content:center;justify-content:center;gap:4px;border:1.5px solid #174bd2;border-radius:7px;cursor:pointer}.hamburger span{width:18px;height:2px;border-radius:2px;background:#174bd2;transition:.2s}.menu-toggle:checked+.hamburger span:nth-child(1){transform:translateY(6px) rotate(45deg)}.menu-toggle:checked+.hamburger span:nth-child(2){opacity:0}.menu-toggle:checked+.hamburger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.mobile-menu{position:absolute;top:57px;left:7px;right:7px;padding:8px;display:grid;gap:5px;visibility:hidden;opacity:0;transform:translateY(-7px);border:1px solid #bfd7eb;border-radius:10px;background:#fff;box-shadow:0 16px 28px #122e5226;transition:.18s}.menu-toggle:checked~.mobile-menu{visibility:visible;opacity:1;transform:none}.mobile-menu a{height:39px;display:flex;align-items:center;padding:0 13px;border-radius:6px;color:#174bd2;font-size:11px;font-weight:900;text-transform:uppercase}.mobile-menu .menu-register{background:#080b49;color:#fff}.hero{height:188px;padding-top:21px}.hero h1{font-size:34px;line-height:.92}.trust{margin-top:16px}.proof-strip{width:calc(100% - 14px);margin-top:14px;padding:5px;grid-template-columns:repeat(2,1fr);border-radius:12px}.proof-strip article{min-height:98px;padding:8px 3px}.proof-strip article:nth-child(2){border-right:0}.proof-strip article:nth-child(-n+2){border-bottom:1px solid #d8e4ee}.proof-icon{width:27px;height:27px;margin-bottom:5px;font-size:11px}.proof-strip strong{font-size:20px}.proof-strip small{font-size:7px}.how-section{padding:42px 10px 48px}.section-heading>p{font-size:8px}.section-heading h2{font-size:31px}.section-heading>span{margin-top:9px;font-size:11px}.how-steps{margin:24px auto 22px;display:flex;flex-direction:column;gap:7px}.how-steps article{width:100%;min-height:0;padding:18px 15px 18px 79px;text-align:left}.how-steps article>b{left:13px;top:13px;width:25px;height:25px;font-size:10px}.step-symbol{position:absolute;left:14px;top:44px;width:47px;height:47px;margin:0;border-radius:11px;font-size:21px}.how-steps h3{font-size:16px}.how-steps p{font-size:11px}.how-steps>i{display:block;height:13px;color:#87a9c6;font-size:15px;line-height:13px}.how-cta{width:100%;height:42px;font-size:10px}}

/* Unified header branding and responsive navigation */
.site-header .wordmark{flex-direction:column;align-items:flex-start;gap:2px}.site-header .wordmark small{font-size:11px;line-height:1;color:var(--ink)}.header-actions{gap:12px}.header-actions .text-link{padding:10px 16px;border:1.5px solid var(--blue);border-radius:8px}.home-menu-toggle,.home-hamburger,.home-mobile-menu{display:none}
@media(max-width:600px){.site-header{position:relative;z-index:30;display:flex;justify-content:space-between;overflow:visible}.primary-nav,.header-actions{display:none}.site-header .wordmark strong{font-size:20px}.site-header .wordmark small{font-size:8px}.home-menu-toggle{position:absolute;display:block;opacity:0;pointer-events:none}.home-hamburger{width:38px;height:38px;display:grid;align-content:center;justify-content:center;gap:4px;border:1.5px solid var(--blue);border-radius:7px;cursor:pointer}.home-hamburger span{width:18px;height:2px;border-radius:2px;background:var(--blue);transition:.2s}.home-menu-toggle:checked+.home-hamburger span:nth-child(1){transform:translateY(6px) rotate(45deg)}.home-menu-toggle:checked+.home-hamburger span:nth-child(2){opacity:0}.home-menu-toggle:checked+.home-hamburger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.home-mobile-menu{position:absolute;top:67px;left:7px;right:7px;padding:8px;display:grid;gap:5px;visibility:hidden;opacity:0;transform:translateY(-7px);border:1px solid #bfd7eb;border-radius:10px;background:#fff;box-shadow:0 16px 28px #122e5226;transition:.18s}.home-menu-toggle:checked~.home-mobile-menu{visibility:visible;opacity:1;transform:none}.home-mobile-menu a{height:39px;display:flex;align-items:center;padding:0 13px;border-radius:6px;color:var(--blue);font-size:11px;font-weight:900;text-transform:uppercase}.home-mobile-menu .menu-register{background:var(--navy);color:#fff}}

/* Integrated homepage content */
.site-header .wordmark{width:132px}.site-header .wordmark strong{width:100%}.site-header .wordmark small{width:100%;font-size:10px;letter-spacing:.23em;text-align:center;white-space:nowrap}
.course-card .description{color:#111526;font-weight:650}.course-card .audience{font-size:12px;font-weight:900}
.returning-student{margin:25px auto 0;text-align:center;color:#425970;font-size:14px;font-weight:650}.returning-student a{color:var(--orange);font-weight:900;text-decoration:underline;text-underline-offset:3px}
.trust-signals{width:min(1180px,calc(100% - 40px));margin:34px auto 0;padding:25px 12px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #d4e2ed;border-radius:18px;background:#fff;box-shadow:0 16px 38px #183a5d12}
.trust-signals article{min-height:108px;display:flex;align-items:center;justify-content:center;gap:15px;border-right:1px solid #d8e4ee;color:var(--navy);font-size:13px;font-weight:900;line-height:1.35}.trust-signals article:last-child{border:0}.trust-signals svg{width:42px;height:42px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.student-reviews{padding:76px 30px 86px;background:linear-gradient(#f5fbff,#eaf7ff)}.reviews-heading{max-width:720px;margin:auto;text-align:center}.reviews-heading>p{margin:0 0 9px;color:var(--orange);font-size:12px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.reviews-heading h2{margin:0;font-size:clamp(38px,4.5vw,58px);line-height:1;letter-spacing:-.055em}.reviews-heading>span{display:block;margin-top:14px;color:#5b6d80;font-size:15px}.review-grid{max-width:1120px;margin:38px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.review-grid article{min-height:245px;padding:28px;display:flex;flex-direction:column;border:1px solid #cbddea;border-radius:16px;background:#fff;box-shadow:0 12px 28px #173e6810}.review-stars{margin-bottom:17px;color:var(--orange);font-size:20px;letter-spacing:.08em}.review-grid p{margin:0 0 23px;color:#263e54;font-size:15px;line-height:1.65}.review-grid strong{margin-top:auto;font-size:13px}.review-grid small{margin-top:3px;color:#64778a;font-size:11px}
@media(max-width:800px){.trust-signals{grid-template-columns:repeat(2,1fr)}.trust-signals article:nth-child(2){border-right:0}.trust-signals article:nth-child(-n+2){border-bottom:1px solid #d8e4ee}.review-grid{grid-template-columns:1fr}.review-grid article{min-height:0}}
@media(max-width:600px){.site-header .wordmark{width:100px}.site-header .wordmark small{font-size:7.5px;letter-spacing:.22em}.course-card .audience{font-size:10px}.returning-student{width:calc(100% - 28px);margin-top:15px;font-size:11px}.trust-signals{width:calc(100% - 14px);margin-top:17px;padding:5px;grid-template-columns:repeat(2,1fr);border-radius:12px}.trust-signals article{min-height:92px;padding:8px 4px;gap:8px;border-bottom:0!important;font-size:9px}.trust-signals article:nth-child(2),.trust-signals article:nth-child(4){display:none}.trust-signals article:nth-child(3){border:0}.trust-signals svg{width:31px;height:31px}.student-reviews{padding:43px 10px 48px}.reviews-heading>p{font-size:8px}.reviews-heading h2{font-size:31px}.reviews-heading>span{margin-top:9px;font-size:11px}.review-grid{margin-top:23px;gap:9px}.review-grid article{padding:20px}.review-stars{margin-bottom:10px;font-size:16px}.review-grid p{margin-bottom:16px;font-size:12px}.review-grid strong{font-size:11px}.review-grid small{font-size:9px}}

/* Paper-road hero and compact content refinements */
.site-header .wordmark small{font-size:11px;letter-spacing:.4em;text-indent:.4em}
.road-art{inset:0 0 0 43%;background-image:url("hero-paper-road-sheet.png");background-repeat:no-repeat;background-position:left top;background-size:200% 200%}
.road-art>*{display:none}.road-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f2fbff 0,transparent 24%);pointer-events:none}
.returning-student{font-size:18px}.trust-signals{padding-block:10px}.trust-signals article{min-height:72px}.trust-signals svg{width:36px;height:36px}
.reviews-heading>p,.reviews-heading>span{display:none}.reviews-heading h2{margin-bottom:4px}
@media(max-width:600px){.site-header{height:66px}.site-header:before{content:"✓  California DMV licensed";order:2;color:var(--blue);font-size:9px;font-weight:900;white-space:nowrap}.site-header .wordmark{order:1}.site-header .home-hamburger{order:3}.site-header .wordmark small{font-size:9px;letter-spacing:.45em;text-indent:.45em}.hero{height:150px!important;min-height:150px!important;padding-top:18px!important;padding-bottom:16px!important}.hero h1{font-size:34px}.hero .trust{display:none}.road-art{inset:0 0 0 49%;background-position:left top;background-size:200% 200%;opacity:1}.road-art:after{background:linear-gradient(90deg,#f2fbff 0,transparent 32%)}.mobile-carousel-heading{margin-top:14px!important}.mobile-carousel-heading>div:first-child>p{display:none!important}.mobile-carousel-heading h2{font-size:0!important}.mobile-carousel-heading h2:after{content:"Swipe to explore courses  →";font-size:14px;letter-spacing:0;color:var(--navy);text-transform:none}.mobile-carousel-pagination>p{display:none}.returning-student{margin-top:18px;font-size:15px;line-height:1.45}.trust-signals{padding-block:2px}.trust-signals article{min-height:68px}.reviews-heading h2{margin-bottom:0}}
@media(max-width:600px){.mobile-only .mobile-header:before{content:"✓  California DMV licensed";order:2;color:var(--blue);font-size:9px;font-weight:900;white-space:nowrap}.mobile-only .mobile-header .brand{order:1}.mobile-only .mobile-header .hamburger{order:3}.mobile-only .mobile-header .brand small{font-size:9px;letter-spacing:.45em;text-indent:.45em}.mobile-only .hero .trust{display:none}.mobile-only .road{inset:0 0 0 49%;background-image:url("hero-paper-road-sheet.png");background-repeat:no-repeat;background-position:left top;background-size:200% 200%;opacity:1}.mobile-only .road>*{display:none}.mobile-only .road:before{content:"";position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;background:linear-gradient(90deg,#eaf7ff 0,transparent 32%)}.mobile-only .road:after{display:none}}

/* Definitive checklist refinements */
.mobile-license-badge{display:none}
.site-header .wordmark small,.mobile-only .mobile-header .brand small{transform:scaleX(.931);transform-origin:center}
.returning-student{font-size:20px;line-height:1.45}
.trust-signals{padding-block:7px}
.trust-signals article{min-height:62px}
@media(max-width:600px){
  .site-header:before,.mobile-only .mobile-header:before{content:none!important;display:none!important}
  .site-header .mobile-license-badge,.mobile-only .mobile-header .mobile-license-badge{order:2;display:flex;align-items:center;gap:5px;color:var(--blue);font-size:8px;font-weight:900;white-space:nowrap}
  .site-header .mobile-license-badge:before,.mobile-only .mobile-header .mobile-license-badge:before{content:"✓";width:19px;height:19px;flex:0 0 19px;display:grid;place-items:center;border-radius:50%;background:var(--blue);color:#fff;font-size:10px;font-weight:950}
  .site-header .wordmark small,.mobile-only .mobile-header .brand small{transform:scaleX(.82)}
  .site-header .wordmark,.mobile-only .mobile-header .brand{order:1}
  .site-header .home-hamburger,.mobile-only .mobile-header .hamburger{order:3}
  .returning-student{font-size:17px;line-height:1.5}
  .trust-signals{padding-block:0}
  .trust-signals article{min-height:60px}
}

/* Transparent hero artwork and standalone mobile trust signals */
.road-art{inset:0;background-image:url("hero-paper-road-transparent.png");background-position:right center;background-size:auto 100%;background-repeat:no-repeat}
.road-art:after{display:none}
.course-card .audience{display:flex;align-items:center;justify-content:center;gap:6px}
.course-card .audience:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--accent)}
@media(max-width:600px){
  .road-art{inset:0;background-position:right center;background-size:auto 100%}
  .mobile-only .road{inset:0;background-image:url("hero-paper-road-transparent.png");background-position:right center;background-size:auto 100%;background-repeat:no-repeat}
  .mobile-only .road:before,.mobile-only .road:after{display:none}
  .trust-signals{border:0;background:transparent;box-shadow:none}
  .trust-signals article{border:0!important;background:transparent}
}

/* Keep the mobile headline and paper-road artwork visually separate */
@media(max-width:600px){
  .road-art,.mobile-only .road{
    background-position:right -28px center;
    background-size:auto 68%;
  }
}
@media(max-width:360px){
  .hero h1{font-size:31px}
  .road-art,.mobile-only .road{
    background-position:right -30px center;
    background-size:auto 64%;
  }
}

/* Experimental homepage refinements */
.site-header{grid-template-columns:auto auto 1fr auto;gap:clamp(18px,2.4vw,40px)}
.license-badge{display:flex;align-items:center;gap:8px;color:var(--blue);font-size:11px;font-weight:900;line-height:1.2;white-space:nowrap}
.license-badge:before{content:"✓";width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:50%;background:#1eaa61;color:#fff;font-size:13px;font-weight:950}
.course-card .description{max-width:255px}
.trust-signals{padding:17px 12px}
.trust-signals article{min-height:92px;align-items:center;padding:0 18px}
.trust-signals article>span{display:grid;gap:5px}
.trust-signals article strong{font-size:13px;line-height:1.25}
.trust-signals article small{color:#60758a;font-size:11px;font-weight:650;line-height:1.4}
.reviews-feature{max-width:1120px;margin:0 auto 38px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:36px;align-items:center}
.reviews-feature img{width:100%;height:270px;display:block;object-fit:cover;object-position:center;border-radius:18px;box-shadow:0 18px 38px #173e6820}
.reviews-feature .reviews-heading{text-align:left}
.reviews-feature .reviews-heading p{display:block;margin:16px 0 0;color:#5b6d80;font-size:16px;line-height:1.55}
.review-grid{margin-top:0}
.reviews-cta{width:210px;height:48px;margin:30px auto 0;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--orange);color:#fff;font-size:12px;font-weight:950;letter-spacing:.06em;box-shadow:0 9px 20px #ff4a092d}
.homepage-faq{padding:78px 24px 88px;text-align:center;background:#eaf7ff}
.homepage-faq>p{margin:0 0 8px;color:var(--orange);font-size:11px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}
.homepage-faq h2{margin:0;font-size:clamp(36px,4.5vw,54px);line-height:1;letter-spacing:-.05em}
.homepage-faq-list{max-width:850px;margin:34px auto 0;display:grid;gap:10px;text-align:left}
.homepage-faq-list details{padding:20px 22px;border:1px solid #cbddea;border-radius:12px;background:#f9fcff}
.homepage-faq-list summary{cursor:pointer;color:var(--blue);font-weight:900}
.homepage-faq-list p{margin:12px 0 0;color:#53687e;font-size:14px;line-height:1.65}

@media(min-width:601px){
  .mobile-carousel-window{width:100%;overflow:visible}
  .mobile-carousel-window>.courses{margin-left:auto;margin-right:auto;transform:none!important}
}

@media(max-width:980px) and (min-width:601px){
  .site-header{grid-template-columns:auto auto 1fr auto;gap:15px}
  .license-badge{font-size:9px}
  .license-badge:before{width:21px;height:21px;flex-basis:21px;font-size:11px}
  .reviews-feature{grid-template-columns:1fr;gap:24px}
  .reviews-feature img{height:300px}
  .reviews-feature .reviews-heading{text-align:center}
}

@media(max-width:600px){
  .site-header,.mobile-only .mobile-header{height:62px!important}
  .site-header .license-badge,.mobile-only .mobile-header .license-badge{order:2;display:flex;gap:5px;font-size:8px}
  .site-header .license-badge:before,.mobile-only .mobile-header .license-badge:before{width:19px;height:19px;flex-basis:19px;font-size:10px}
  .site-header .wordmark,.mobile-only .mobile-header .brand{order:1}
  .site-header .home-hamburger,.mobile-only .mobile-header .hamburger{order:3}
  .hero,.mobile-only .hero{height:108px!important;min-height:108px!important;padding:10px 13px 8px!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
  .hero .eyebrow,.mobile-only .hero>p{margin:0 0 5px;font-size:8px}
  .hero h1,.mobile-only .hero h1{font-size:30px;line-height:.92}
  .road-art,.mobile-only .road{display:none!important;background-image:none!important}
  .mobile-carousel-heading,body.mobile-carousel-mode .mobile-carousel-heading{margin-top:7px!important;margin-bottom:6px!important}
  .trust-signals article>span{display:block}
  .trust-signals article strong{font-size:9px}
  .trust-signals article small{display:none}
  .reviews-feature{display:block;margin:0}
  .reviews-feature img{display:none}
  .reviews-feature .reviews-heading{text-align:center}
  .reviews-feature .reviews-heading p{display:none}
  .homepage-faq{display:none}
}
/* September homepage refinements */
.hero .eyebrow,.mobile-only .hero>p{font-size:13px}
.course-recommendation-ribbon{margin:-22px -20px 14px;padding:8px 10px;border-radius:13px 13px 0 0;background:var(--blue);color:#fff;font-size:11px;font-weight:950;letter-spacing:.055em;line-height:1.2;text-align:center;text-transform:uppercase}
.course-card .purchase{margin-top:auto}
.permit-prep .course-recommendation-ribbon{margin-bottom:5px}
.permit-prep .icon-wrap{height:87px}
.permit-prep .description{margin-bottom:10px}
.reviews-feature{grid-template-columns:minmax(0,1fr) 330px}
.reviews-image-crop{height:270px;overflow:hidden;border-radius:18px;box-shadow:0 18px 38px #173e6820}
.reviews-image-crop img{width:154%;height:100%;object-fit:cover;object-position:left center;border-radius:0;box-shadow:none}
.reviews-feature .reviews-heading h2{font-size:clamp(36px,4.5vw,54px)}
.trust-signals svg{transform:scale(1.24);transform-origin:center}
.trust-signals article:nth-child(2) svg{transform:scale(1.42)}
.faq-cta{margin-top:30px}
@media(min-width:601px){
  .site-header{grid-template-columns:auto 1fr auto auto}
  .site-header .wordmark{grid-column:1}
  .site-header .primary-nav{grid-column:2;grid-row:1}
  .site-header .license-badge{grid-column:3;grid-row:1}
  .site-header .header-actions{grid-column:4;grid-row:1}
}
@media(min-width:601px){.site-header .license-badge{font-size:13px}}
@media(max-width:600px){
  .hero .eyebrow,.mobile-only .hero>p{font-size:10px}
  .site-header .license-badge,.mobile-only .mobile-header .license-badge{font-size:10px}
  body.mobile-carousel-mode .courses[data-course-carousel] .course-recommendation-ribbon{position:relative;left:-14px;align-self:stretch;width:calc(100% + 28px);max-width:none;justify-self:start;margin:-12px 0 9px;padding:7px 8px;border-radius:12px 12px 0 0;font-size:9px}
  body.mobile-carousel-mode .courses[data-course-carousel] .card-actions .register{font-size:12px}
  body.mobile-carousel-mode .courses[data-course-carousel] .card-actions .more-info{font-size:10px}
  .returning-student{margin-top:13px}
  .trust-signals{margin-top:8px}
  .student-reviews{padding-top:15px}
  .reviews-heading h2{padding-bottom:8px;line-height:1.1}
  .reviews-feature .reviews-heading h2{white-space:normal}
  .reviews-image-crop{display:none}
  .review-grid{margin-top:18px}
  .homepage-faq{display:block;padding:42px 10px 48px}
  .homepage-faq>p{font-size:8px}
  .homepage-faq h2{font-size:31px}
  .homepage-faq-list{margin-top:24px}
  .homepage-faq-list details{padding:16px 15px}
  .homepage-faq-list p{font-size:12px;line-height:1.55}
  .faq-cta{margin-top:24px}
  .mobile-footer{min-height:108px;padding:22px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--navy);color:#fff;text-align:center}
  .mobile-footer .brand{color:#fff}
  .mobile-footer .brand small{border-color:#6370aa;color:#bfc8ea}
  .mobile-footer p{margin:0;color:#bfc8ea;font-size:10px}
}
@media(min-width:1200px){.reviews-feature .reviews-heading h2{white-space:nowrap}}

/* September 6 responsive content and spacing refinements */
:root{--sky:#f5fbff}
.course-card.permit-prep{position:relative}
.course-card .course-recommendation-ribbon{
  position:absolute;
  z-index:2;
  top:0;
  left:50%;
  width:max-content;
  max-width:calc(100% - 24px);
  margin:0;
  padding:8px 18px;
  transform:translate(-50%,-50%);
  border-radius:999px;
  background:var(--blue);
  color:#fff;
}
.course-card.permit-prep .icon-wrap{height:auto}
.course-choice-list{margin:12px 0 0;padding-left:22px;color:#53687e;font-size:14px;line-height:1.65}
.course-choice-list li+li{margin-top:8px}
.course-choice-list strong{color:var(--navy)}
.header-actions .nav-register{text-transform:none}

@media(min-width:601px){
  .student-reviews{padding-bottom:44px}
  .homepage-faq{padding-top:44px}
}

@media(max-width:600px){
  body,main,.trust-signals,.student-reviews,.homepage-faq{background:var(--sky)}
  .trust-signals article,.trust-signals article strong{font-size:13px}
  .homepage-faq .faq-cta{width:210px;height:48px;font-size:12px}
  .course-choice-list{font-size:12px;line-height:1.55}

  footer,.mobile-footer{
    min-height:108px;
    padding:22px 16px;
    display:block;
    background:var(--navy);
    color:#bfc8ea;
    text-align:center;
  }
  footer .footer-mark,.mobile-footer .footer-mark{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:9px;
    color:#fff;
    font-size:16px;
    font-weight:950;
    letter-spacing:-.055em;
  }
  footer .footer-mark strong,.mobile-footer .footer-mark strong{font-size:24px;line-height:.9;color:#fff}
  footer .footer-mark small,.mobile-footer .footer-mark small{
    padding-left:0;
    border-left:0;
    color:#fff;
    font-size:13px;
    letter-spacing:.1em;
  }
  footer p,.mobile-footer p{margin:15px 0 0;color:#bfc8ea;font-size:11px}
}

/* Use the compact header before the desktop navigation becomes crowded. */
@media(min-width:601px) and (max-width:780px){
  .site-header{position:relative;z-index:30;height:62px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;overflow:visible}
  .site-header .wordmark{order:1;width:100px}
  .site-header .wordmark strong{font-size:20px}
  .site-header .wordmark small{font-size:9px;letter-spacing:.45em;text-indent:.45em;transform:scaleX(.82)}
  .site-header .license-badge{order:2;display:flex;gap:5px;font-size:10px}
  .site-header .license-badge:before{width:19px;height:19px;flex-basis:19px;font-size:10px}
  .primary-nav,.header-actions{display:none}
  .home-menu-toggle{position:absolute;display:block;opacity:0;pointer-events:none}
  .home-hamburger{order:3;width:38px;height:38px;display:grid;align-content:center;justify-content:center;gap:4px;border:1.5px solid var(--blue);border-radius:7px;cursor:pointer}
  .home-hamburger span{width:18px;height:2px;border-radius:2px;background:var(--blue);transition:.2s}
  .home-menu-toggle:checked+.home-hamburger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .home-menu-toggle:checked+.home-hamburger span:nth-child(2){opacity:0}
  .home-menu-toggle:checked+.home-hamburger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .home-mobile-menu{position:absolute;top:61px;left:7px;right:7px;padding:8px;display:grid;gap:5px;visibility:hidden;opacity:0;transform:translateY(-7px);border:1px solid #bfd7eb;border-radius:10px;background:#fff;box-shadow:0 16px 28px #122e5226;transition:.18s}
  .home-menu-toggle:checked~.home-mobile-menu{visibility:visible;opacity:1;transform:none}
  .home-mobile-menu a{height:39px;display:flex;align-items:center;padding:0 13px;border-radius:6px;color:var(--blue);font-size:11px;font-weight:900;text-transform:uppercase;white-space:nowrap}
  .home-mobile-menu .menu-register{background:var(--navy);color:#fff}
}
.header-actions .text-link,.home-mobile-menu a,.mobile-menu a{white-space:nowrap}

/* Final mobile hero and spacing refinements */
@media(max-width:600px){
  .hero,.mobile-only .hero{background:#f5fbff!important}
  .returning-student{margin-top:18px}
  .trust-signals article,.trust-signals article strong{font-size:11px}
}

/* September 7 hero, carousel guidance and alignment refinements */
.hero-returning-student{
  margin:20px 0 0;
  color:#425970;
  font-size:14px;
  font-weight:650;
}
.hero-returning-student a{
  color:var(--orange);
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(min-width:601px){
  .hero{min-height:230px;padding-top:26px;padding-bottom:17px;align-items:flex-start}
  .course-card.permit-prep .icon-wrap{height:98px}
}
@media(max-width:600px){
  .site-header,.mobile-only .mobile-header{height:58px!important}
  .home-mobile-menu,.mobile-only .mobile-menu{top:57px!important}
  .hero,.mobile-only .hero{height:94px!important;min-height:94px!important;padding-top:7px!important;padding-bottom:7px!important}
  .hero-returning-student{display:none}

  body.mobile-carousel-mode .mobile-carousel-heading{
    width:100%;
    min-height:0;
    margin:2px 0 2px!important;
    display:grid;
    grid-template-columns:minmax(76px,1fr) auto minmax(76px,1fr);
    grid-template-rows:34px auto;
    column-gap:0;
    align-items:center;
  }
  body.mobile-carousel-mode .mobile-carousel-heading>div:first-child{
    position:static;
    grid-column:2;
    grid-row:1;
    width:auto;
    height:auto;
    text-align:center;
  }
  body.mobile-carousel-mode .mobile-carousel-heading h2:after{content:"Swipe to explore courses"}
  body.mobile-carousel-mode .mobile-carousel-controls{
    grid-column:3;
    grid-row:1;
    justify-self:start;
    margin-left:8px;
  }
  body.mobile-carousel-mode .carousel-returning-student{
    grid-column:1/-1;
    grid-row:2;
    width:auto;
    margin:2px 0 1px;
    color:#52677a;
    font-size:11px;
    font-weight:650;
    line-height:1.3;
    letter-spacing:0;
    text-align:center;
    text-transform:none;
  }
  body.mobile-carousel-mode .carousel-returning-student a{color:var(--orange);font-weight:900}

  .student-reviews .reviews-heading h2,
  .student-reviews .reviews-feature .reviews-heading h2{
    font-size:clamp(23px,7.2vw,28px)!important;
    letter-spacing:-.055em;
    white-space:nowrap!important;
  }
  .homepage-faq{padding-top:29px!important}
  .homepage-faq>p{display:none}
}
@media(max-width:600px) and (max-height:700px){
  .site-header,.mobile-only .mobile-header{height:54px!important}
  .home-mobile-menu,.mobile-only .mobile-menu{top:53px!important}
  .hero,.mobile-only .hero{height:90px!important;min-height:90px!important}
}

/* September 7 responsive card and hero alignment pass */
.course-card .course-recommendation-ribbon{white-space:nowrap;max-width:none}
@media(min-width:601px){
  .course-card .icon-wrap{height:98px}
  .hero-returning-student{margin-top:30px}
}
@media(max-width:600px){
  .hero,.mobile-only .hero{
    height:104px!important;
    min-height:104px!important;
    padding-top:17px!important;
    padding-bottom:7px!important;
  }
  body.mobile-carousel-mode .mobile-carousel-heading{margin-top:12px!important}
  body.mobile-carousel-mode .carousel-returning-student{font-size:12px}
}
@media(max-width:600px) and (max-height:700px){
  .hero,.mobile-only .hero{height:100px!important;min-height:100px!important;padding-top:17px!important}
}

/* Keep the recommendation pill contained at four-card small-laptop widths. */
@media(min-width:941px) and (max-width:1100px){
  .course-card .course-recommendation-ribbon{
    padding-left:8px;
    padding-right:8px;
    font-size:10px;
    letter-spacing:.035em;
  }
}

/* Remove 12px from the mobile header-to-eyebrow gap without redistributing it. */
@media(max-width:600px){
  .hero,.mobile-only .hero{
    height:104px!important;
    min-height:104px!important;
    padding-top:17px!important;
  }
}
@media(max-width:600px) and (max-height:700px){
  .hero,.mobile-only .hero{
    height:100px!important;
    min-height:100px!important;
    padding-top:17px!important;
  }
}

/* October contact, licence and desktop assurance updates */
.license-badge .license-copy{display:grid;gap:4px;line-height:1.05}
.license-badge .license-copy>small{font-size:1em;font-weight:500;letter-spacing:0;color:#111}
.desktop-trust-strip{min-height:30px;padding:4px 24px;display:flex;align-items:center;justify-content:center;gap:0;border:0;background:var(--navy);color:#fff}
.desktop-trust-strip>div{padding:0 clamp(22px,4vw,54px);display:flex;align-items:center;gap:6px;font-size:10px;font-weight:850;white-space:nowrap}
.desktop-trust-strip svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-support-bar{min-height:60px;padding:12px 24px;display:flex;align-items:center;justify-content:center;gap:clamp(22px,4vw,48px);border-top:1px solid #d5e2ed;border-bottom:1px solid #d5e2ed;background:#fff;color:#53677c;font-size:12px}
.site-support-bar>strong{color:var(--navy);font-size:13px}
.site-support-bar a{display:grid;gap:2px;color:var(--blue);font-weight:850;white-space:nowrap}
.site-support-bar a span{color:#687b8d;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.mobile-support-contact{display:none;margin:0}
.homepage-faq-list p a{color:var(--blue);font-weight:850;text-decoration:underline;text-underline-offset:2px}
.trust-signals article span>small{display:block;margin-top:3px}
.trust-signals .trust-provider-copy{display:inline}
@media(max-width:600px){
  .desktop-trust-strip{height:34px;min-height:34px;padding:0 8px;display:flex;justify-content:center;gap:0}
  .desktop-trust-strip>div{padding:0 7px;justify-content:center;gap:7px;font-size:9px;line-height:1;letter-spacing:.035em}
  .desktop-trust-strip svg{display:none}
  .desktop-trust-strip>div span{font-size:0}
  .desktop-trust-strip>div span::after{font-size:9px;font-weight:850;white-space:nowrap}
  .desktop-trust-strip>div:nth-child(1) span::after{content:"30+ LANGUAGES"}
  .desktop-trust-strip>div:nth-child(2) span::after{content:"100% ONLINE"}
  .desktop-trust-strip>div:nth-child(3) span::after{content:"ANY DEVICE"}
  .desktop-trust-strip>div+div::before{content:"•";color:#ffffffa8;font-size:9px}
  .license-badge .license-copy{gap:3px}
  .license-badge .license-copy>small{font-size:1em;color:#111}
  .site-support-bar{min-height:38px;padding:8px 14px;display:block;background:#f9fdff;text-align:center}
  .site-support-bar>strong,.site-support-bar>a{display:none}
  .site-support-bar .mobile-support-contact{display:block;color:var(--navy);font-size:12px;font-weight:750;line-height:1.4}
  .site-support-bar .mobile-support-contact a{display:inline;padding:0;border:0;color:var(--blue);font-size:inherit;font-weight:900;text-decoration:underline;text-underline-offset:3px}
  .trust-signals article span>small{display:none}
  .trust-signals article:first-child .trust-provider-copy{display:none}
}

/* ==========================================================================
   Footer & Partner Education Resources
   ========================================================================== */
footer,
.mobile-footer {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: var(--navy);
  color: #fff;
  text-align: left;
}

.footer-resources {
  width: 100%;
  box-sizing: border-box;
  padding: 44px clamp(20px, 4vw, 68px) 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-resources-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-resources-kicker {
  margin: 0 0 20px !important;
  color: #9ab4e8 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.footer-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.footer-resource-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: left;
}

.footer-resource-card:hover,
.footer-resource-card:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  outline: none;
}

.footer-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-card-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.01em;
  word-break: break-word;
  transition: color 0.2s ease;
}

.footer-resource-card:hover .footer-card-title {
  color: #ffa37b;
}

.footer-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 74, 9, 0.18);
  color: #ff5722;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-resource-card:hover .footer-card-arrow {
  background: #ff4a09;
  color: #ffffff;
  transform: translate(2px, -2px);
}

footer p.footer-card-desc,
.mobile-footer p.footer-card-desc {
  margin: 0 !important;
  color: #c0ccee !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  text-align: left !important;
}

.footer-bottom-bar {
  width: 100%;
  box-sizing: border-box;
  min-height: 80px;
  padding: 22px clamp(20px, 4vw, 68px);
}

.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.footer-bottom-inner .footer-mark {
  display: flex;
  align-items: flex-end;
  gap: 11px;
}

footer p.footer-tagline,
.mobile-footer p.footer-tagline {
  margin: 0 !important;
  font-size: 11px !important;
  color: #bfc8ea !important;
}

/* Tablet & intermediate screens */
@media (max-width: 960px) {
  .footer-resources {
    padding: 34px 20px 28px;
  }

  .footer-resources-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-inner .footer-mark {
    justify-content: center;
  }
}

/* Mobile screens */
@media (max-width: 600px) {
  .footer-resources {
    padding: 26px 14px 22px;
  }

  .footer-resources-kicker {
    font-size: 10px !important;
    margin-bottom: 14px !important;
    text-align: center !important;
  }

  .footer-resource-card {
    padding: 16px 16px;
    border-radius: 12px;
  }

  .footer-card-title {
    font-size: 14px;
  }

  footer p.footer-card-desc,
  .mobile-footer p.footer-card-desc {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  .footer-bottom-bar {
    padding: 20px 14px;
  }

  .footer-bottom-inner {
    gap: 10px;
  }

  footer p.footer-tagline,
  .mobile-footer p.footer-tagline {
    font-size: 10.5px !important;
  }
}
