/* Homepage: a confident, welcoming Canadian road-trip palette. */
.home-refresh{background:#f5f7f4}.home-refresh main{max-width:1300px}.home-refresh .canada-tag{margin:0 0 14px;font-size:14px}.home-refresh .licence-nav{margin-bottom:22px}.home-refresh .licence-nav a{border-radius:999px;padding:10px 18px}.home-refresh .licence-nav small{display:none}
.home-hero{display:grid;grid-template-columns:1.05fr 1fr;min-height:410px;background:#153e35;border-radius:28px;overflow:hidden;color:#fff;box-shadow:0 14px 40px #16382d12}.home-hero-copy{padding:42px 38px;align-self:center}.home-hero .eyebrow{color:#d5e8ce;background:transparent;border:0;transform:none;letter-spacing:1.5px;padding:0;font-size:12px;margin:0 0 18px}.home-hero h1{font-size:clamp(36px,4vw,54px);line-height:1.08;letter-spacing:-1.5px;font-weight:750;color:#fff;margin:0 0 22px;max-width:570px}.home-hero-copy>p:not(.eyebrow){font-size:17px;line-height:1.7;color:#e1ece4;max-width:500px;margin:0 0 24px}.home-hero-image{position:relative;margin:0;min-width:0}.home-hero-image>img{display:block;width:100%;height:100%;object-fit:cover;max-height:510px}.home-hero-image figcaption{position:absolute;bottom:20px;left:20px;right:20px;max-width:290px;background:#fffef4f2;border-radius:12px;padding:13px 17px;color:#244b3e;font-size:14px;font-weight:700;box-shadow:0 4px 20px #142f2520}.home-hero-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.home-hero-actions .study-link{display:inline-flex;text-decoration:none;background:#cf3444;padding:14px 22px;border-radius:9px;font-weight:700;font-size:16px}.home-hero-actions .study-link:hover{background:#b22335}.home-hero-actions .hero-secondary{color:#fff;text-decoration-thickness:1px;text-underline-offset:5px;font-weight:650;font-size:16px}.home-hero-copy .hero-free{font-size:13px!important;margin:16px 0 0!important;color:#cce0d2!important}
.home-benefits{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #d5e2d8;background:#fff;margin:18px 0 34px;border-radius:16px;overflow:hidden}.home-benefits>div{padding:20px 24px;display:flex;gap:12px;align-items:center}.home-benefits>div+div{border-left:1px solid #e0e8df}.home-benefits b{font-size:24px;color:#b52537;white-space:nowrap}.home-benefits span{font-size:14px;line-height:1.5;color:#3f5a4d}
.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 18px}.home-section-head h2{font-size:28px;letter-spacing:-.5px;margin:0;color:#203f34}.home-section-head p{font-size:15px;line-height:1.5;color:#587064;margin:0}
.licence-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 32px}.licence-card{display:grid;grid-template-columns:43% 1fr;overflow:hidden;border:1px solid #d2e0d5;border-radius:20px;background:#fff;min-height:270px}.licence-card>img{width:100%;height:100%;min-height:270px;object-fit:cover}.licence-card-copy{padding:25px 23px;display:flex;flex-direction:column;align-items:flex-start}.licence-card-copy .licence-label{display:inline-block;border-radius:6px;background:#eaf2e6;color:#335641;font-size:12px;font-weight:750;letter-spacing:.8px;padding:5px 8px;margin:0 0 12px}.licence-card.m1 .licence-label{background:#fce9e5;color:#a23637}.licence-card h3{font-size:23px;line-height:1.2;margin:0 0 10px;color:#213f33}.licence-card p{font-size:14px;line-height:1.6;margin:0 0 14px;color:#53695d}.licence-card a{color:#a51e32;font-size:15px;font-weight:750;text-underline-offset:4px;margin-top:auto}.home-refresh .language-promo{display:grid;grid-template-columns:200px 1fr;gap:28px;background:#e8f0e7;padding:0 30px 0 0;border-radius:20px;position:relative;overflow:hidden;min-height:175px;margin-bottom:30px}.home-refresh .study-picture{width:200px;height:190px;object-fit:cover;border:0;border-radius:0;margin:0;grid-column:1;grid-row:1}.home-refresh .language-promo>div{grid-column:2;grid-row:1;padding:22px 0}.home-refresh .language-promo-badge{display:inline-block;position:static;transform:none;width:auto;background:transparent;color:#476b50;padding:0;margin:0 0 8px;border:0;font-size:11px;letter-spacing:1.1px;box-shadow:none}.home-refresh .language-promo h2{font-size:24px;margin:0 0 9px}.home-refresh .language-promo div>p:last-child{font-size:15px;line-height:1.6;margin:0}.home-refresh .access-panel{border-radius:20px;border-top:4px solid #b52537}.home-refresh .quiz-shell{border-radius:20px}.home-refresh .session-card{border-radius:18px}.home-refresh .modes button{border-radius:10px}.home-refresh .answer{border-radius:12px}.home-refresh footer{margin-top:35px}
@media(max-width:1000px){.home-hero-copy{padding:30px}.licence-card{display:block}.licence-card>img{height:180px;min-height:0}.licence-card-copy{min-height:235px}.home-benefits>div{padding:18px}.home-benefits b{font-size:21px}}
@media(max-width:700px){.home-hero{grid-template-columns:1fr;border-radius:20px}.home-hero-copy{padding:28px 24px}.home-hero h1{font-size:38px;letter-spacing:-1px}.home-hero-image{height:230px}.home-hero-image>img{object-position:center 63%}.home-hero-image figcaption{bottom:14px;left:14px;font-size:13px;padding:10px 13px}.home-benefits{margin:14px 0 28px;grid-template-columns:1fr}.home-benefits>div{padding:13px 18px}.home-benefits>div+div{border-left:0;border-top:1px solid #e0e8df}.home-benefits b{width:65px;font-size:22px}.home-section-head{display:block}.home-section-head h2{font-size:25px;margin-bottom:8px}.licence-cards{gap:16px;grid-template-columns:1fr}.licence-card{display:grid;grid-template-columns:38% 1fr;min-height:230px}.licence-card>img{height:100%;min-height:230px}.licence-card-copy{padding:20px 16px;min-height:0}.licence-card h3{font-size:21px}.licence-card p{font-size:14px}.home-refresh .language-promo{grid-template-columns:110px 1fr;padding:0 16px 0 0;gap:16px}.home-refresh .study-picture{width:110px;height:100%;min-height:225px;object-position:40% center}.home-refresh .language-promo h2{font-size:21px}.home-refresh .language-promo div>p:last-child{font-size:14px}.home-refresh .licence-nav{display:flex}.home-refresh .licence-nav a{font-size:14px}}
@media(prefers-reduced-motion:no-preference){.licence-card{transition:transform .2s,box-shadow .2s}.licence-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #234e3810}}

.commercial-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px}.commercial-cards article{background:white;border:1px solid #ceded2;border-radius:18px;padding:25px;display:flex;flex-direction:column;align-items:flex-start}.course-badge{background:#e8f0e7;color:#244f3c;font-size:25px;font-weight:800;padding:10px 18px;border-radius:10px}.commercial-cards h3{font-size:22px;margin:16px 0 10px;color:#234735}.commercial-cards p{font-size:16px;line-height:1.6;color:#52695c}.commercial-cards a{margin-top:auto;font-weight:700;color:#a51e32;text-underline-offset:4px}@media(max-width:700px){.commercial-cards{grid-template-columns:1fr}}

#choose-category{scroll-margin-top:20px}.home-section-head .eyebrow{font-size:12px;letter-spacing:1.2px;background:transparent;color:#8d2838;padding:0;margin:0 0 10px}.category-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:34px}.category-card{border:1px solid #d1dfd5;border-radius:18px;overflow:hidden;background:white;display:flex;flex-direction:column;min-width:0}.category-art{height:126px;background:#e2eee5;display:flex;align-items:center;justify-content:space-between;padding:22px;color:#315b45}.category-code{font-size:29px;font-weight:800;letter-spacing:-1px}.category-art svg{width:68px;height:68px}.category-m1 .category-art{background:#e6edf4;color:#3d5d7d}.category-a .category-art{background:#f4eadb;color:#846337}.category-b .category-art{background:#f6efc9;color:#806a2d}.category-z .category-art{background:#f0e5ed;color:#80516f}.category-copy{padding:22px 18px;display:flex;flex-direction:column;flex:1}.category-copy h3{font-size:22px;line-height:1.2;color:#234735;margin:0 0 8px}.category-type{font-size:12px;color:#687c6f;margin:0 0 16px}.category-desc{font-size:15px;line-height:1.6;color:#4d6657;margin:0 0 18px;flex:1}.category-count{font-size:14px;margin:0 0 8px;color:#385640}.category-count b{font-size:19px}.category-free{font-size:12px;color:#637867;margin:0 0 18px}.category-copy>a{display:block;text-align:center;border:1px solid #315b45;border-radius:8px;padding:12px 8px;color:#234f3d;font-size:15px;font-weight:700;text-decoration:none}.category-copy>a:hover{background:#234f3d;color:white}.category-copy>a:focus-visible{outline:3px solid #247d99;outline-offset:3px}@media(max-width:1100px){.category-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.category-cards{grid-template-columns:1fr 1fr;gap:12px}.category-art{padding:16px;height:100px}.category-art svg{width:50px;height:50px}.category-copy{padding:18px 14px}.category-copy h3{font-size:20px}.category-desc{font-size:14px}.category-free{line-height:1.5}.category-copy>a{font-size:14px}}@media(max-width:420px){.category-cards{grid-template-columns:1fr}.category-card{display:grid;grid-template-columns:100px 1fr}.category-art{height:100%;flex-direction:column;justify-content:center;gap:16px;padding:14px}.category-copy{padding:20px}.category-desc{margin-bottom:12px}}


/* Colorful category artwork, with equal space for every licence. */
.category-art.category-photo{position:relative;display:block;height:auto;aspect-ratio:3/2;padding:0;overflow:hidden}.category-photo img{display:block;width:100%;height:100%;object-fit:cover}.category-photo .category-code{position:absolute;top:12px;left:12px;background:#fffffff2;color:#173f35;border:1px solid #ffffff;border-radius:10px;padding:5px 11px;font-size:22px;line-height:1.25;letter-spacing:0;box-shadow:0 3px 12px #183e3520}@media(max-width:420px){.category-card{display:flex;flex-direction:column}.category-art.category-photo{width:100%;height:auto;gap:0}.category-photo .category-code{top:14px;left:14px}}

#g1-practice-workspace[hidden]{display:none!important}
