/* Homepage brand system: shared with the existing navy, purple and macaron palette. */
.home-shortcuts{display:flex;align-items:center;gap:28px}
.catalog-heading .catalog-title{font-size:24px;font-weight:750;line-height:1.35;letter-spacing:.2px;margin:0;color:#111111}
.home-tools-menu{position:relative}
.home-tools-menu summary{list-style:none;cursor:pointer;touch-action:manipulation}
.home-tools-menu summary::-webkit-details-marker{display:none}
.home-tools-menu summary:focus-visible{outline:3px solid var(--purple);outline-offset:4px;border-radius:4px}
.home-tools-menu[open]>summary,.home-shortcuts>a:hover{color:var(--purple)}
.menu-chevron{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.home-tools-menu[open] .menu-chevron{transform:rotate(180deg)}
.learning-tool-list{position:absolute;z-index:10;right:0;top:calc(100% + 8px);width:344px;max-width:calc(100vw - 32px);padding:7px;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 40px #11182D12}
.learning-tool-link{display:flex;align-items:center;gap:12px;border-radius:9px;padding:15px 12px;transition:background .15s}
.learning-tool-link:hover,.learning-tool-link:focus-visible{background:#F6F3FF}
.learning-tool-link>div{min-width:0}.learning-tool-link h3{font-size:14px;font-weight:600;margin:0 0 4px;line-height:1.5}
.learning-tool-link p{font-size:11px;line-height:1.7;color:var(--muted)}
.learning-tool-link svg{flex:0 0 34px;width:34px;height:34px;stroke:#6C57E8;stroke-width:1.8;fill:#FFFFFF;stroke-linecap:round;stroke-linejoin:round}
.learning-tool-link svg text{stroke:none;fill:var(--navy);font-family:Cambria,serif}.learning-tool-link svg .icon-soft{fill:#DED6FA;stroke:none}.learning-tool-link svg .icon-line{fill:none}
.tool-arrow{margin-left:auto;font-size:19px;color:var(--purple)}


.home-brand .home-brand-stack{display:flex;flex-direction:column;gap:6px;border:0;padding:0;margin:0}
.home-brand .brand-name{font-size:22px;letter-spacing:.3px;line-height:1.35}
.home-brand .home-brand-en{padding:0;margin:0;border:0;font-family:"SmartCat Parallel",Arial,sans-serif;font-size:12px;letter-spacing:2px;line-height:1.3;color:var(--purple)}
.home-header-link{font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:12px;padding:12px 0}
.home-header-link span{color:var(--purple);font-size:21px}
.home-header-link.practice-entry{border:0;border-radius:0;background:none;padding:12px 0;opacity:1;gap:7px;cursor:pointer}
.home-header-link .coming-soon{display:inline-block;font-size:10px;font-weight:400;line-height:1.6;letter-spacing:.2px;color:#716A86;background:#F2EFF9;padding:2px 6px;border-radius:4px}
.home-main{padding-top:65px;padding-bottom:36px}
.home-intro{align-items:center;gap:35px;padding-bottom:42px}
.home-intro h1{font-size:clamp(36px,4.35vw,54px);line-height:1.4;letter-spacing:-1.5px;font-weight:700}
.home-intro h1 span{color:var(--purple)}
.home-intro .home-slogan{font-size:clamp(16px,1.65vw,21px);font-weight:550;color:var(--navy);line-height:1.6;margin-top:24px}
.home-intro .home-description{font-size:14px;line-height:1.8;margin-top:10px}
.home-count{flex-shrink:0;font-size:78px;text-align:right;padding-right:4px}
.home-count span{font-family:inherit;letter-spacing:1px}
.catalog-tools{scroll-margin-top:24px}
.catalog-search-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.catalog-search-row .catalog-search{flex:1;min-width:200px;max-width:440px}
.catalog-sort-label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);white-space:nowrap}
.catalog-sort-label select{min-height:44px;padding:0 32px 0 12px;font-size:13px;background:#FAF9FD;border-color:#DDD7ED;color:var(--navy)}
@media(max-width:600px){.catalog-search-row{gap:12px}.catalog-search-row .catalog-search{flex-basis:100%;max-width:none}.catalog-sort-label{margin-left:auto}.catalog-sort-label select{min-height:40px;font-size:12px}}
.lesson-link .topic-icon{width:70px;height:60px;stroke-linecap:round;stroke-linejoin:round}
.lesson-link .topic-icon text{font-family:"SmartCat Parallel",Cambria,Georgia,serif;stroke:none;fill:var(--navy);fill-opacity:1}
.lesson-link .topic-icon .icon-emphasis{fill:var(--purple);fill-opacity:.75;stroke:none}
.lesson-link .topic-icon .icon-soft{fill:var(--purple);fill-opacity:.16;stroke:none}
.lesson-link .topic-icon .icon-ghost{fill:none;stroke-dasharray:3 3;opacity:.55}
.lesson-link .topic-icon .icon-line{fill:none}
.lesson-link .topic-icon .icon-dot{fill:var(--purple);fill-opacity:1;stroke:none}
.brand-footer{position:relative;isolation:isolate;overflow:hidden;background:var(--navy);color:var(--white);margin-top:24px;padding:28px 32px 14px}
.brand-footer::before{content:"";position:absolute;z-index:-1;width:370px;height:370px;border:1px solid #6C57E82B;border-radius:50%;right:-110px;top:-180px;box-shadow:0 0 0 75px #11182D,0 0 0 76px #6C57E81F,0 0 0 150px #11182D,0 0 0 151px #6C57E815;pointer-events:none}
.brand-footer-inner{max-width:1086px;margin:0 auto;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.5fr);column-gap:55px;row-gap:16px;align-items:center}
.footer-identity{display:flex;align-items:center;gap:9px;width:fit-content}
.footer-identity img{display:block;flex-shrink:0;width:78px;height:78px}
.footer-identity strong{display:block;font-size:21px;line-height:1.5;white-space:nowrap;font-weight:650;letter-spacing:.2px}
.footer-english{display:block;color:#AE9FFF;font-family:"SmartCat Parallel",Arial,sans-serif;font-size:15px;letter-spacing:1.7px;margin-top:8px}
.footer-belief{font-size:clamp(20px,2.05vw,27px);line-height:1.9;letter-spacing:.1px;font-weight:550;position:relative;padding-top:12px}
.footer-belief:before{content:"";position:absolute;top:0;left:0;width:52px;height:3px;background:var(--purple)}
.footer-belief span{white-space:nowrap;color:#D9D0FA}
.footer-bottom{grid-column:1/-1;border-top:1px solid #FFFFFF24;padding-top:10px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#FFFFFFA6;line-height:1.7}
.footer-bottom a{color:var(--white);white-space:nowrap}.footer-bottom a span{color:#AE9FFF;margin-left:10px}
@media(max-width:900px){.brand-footer-inner{grid-template-columns:1fr;gap:8px}.footer-belief{font-size:25px}.footer-bottom{margin-top:0}.home-intro h1{font-size:43px}}
@media(max-width:700px){.home-brand .brand-name{font-size:17px;letter-spacing:0}.home-brand .home-brand-en{font-size:10px;letter-spacing:1.5px}.home-brand .home-brand-stack{gap:4px}.home-header-link{font-size:12px;gap:6px}.home-header-link span{font-size:18px}.home-main{padding:38px 22px 24px}.home-intro{gap:18px;padding-bottom:30px}.home-intro h1{font-size:36px;letter-spacing:-.7px}.home-intro .home-slogan{font-size:16px;margin-top:22px;line-height:1.8}.home-intro .home-description{font-size:12px;margin-top:9px;max-width:320px}.home-count{font-size:58px}.lesson-link .topic-icon{width:64px;height:56px}.brand-footer{padding:16px 22px 10px;margin-top:14px}.brand-footer-inner{gap:8px}.footer-identity{gap:6px}.footer-identity img{width:65px;height:65px}.footer-identity strong{font-size:19px}.footer-english{font-size:13px;letter-spacing:1.5px;margin-top:5px}.footer-belief{font-size:21px;padding-top:10px;line-height:1.95}.footer-bottom{padding-top:8px;font-size:11px;gap:15px;align-items:flex-start}.footer-bottom>span{max-width:210px}.brand-footer::before{right:-280px;top:-150px}}
@media(max-width:450px){.home-header-link{font-size:11px}.home-header-link span{display:none}.home-brand .brand-name{font-size:16px}.home-main{padding-top:32px}.home-intro h1{font-size:35px}.home-intro .home-slogan{font-size:15px}.home-count{display:none}.footer-belief{font-size:20px}.footer-identity strong{font-size:18px}}
@media(max-width:360px){.home-main{padding-left:18px;padding-right:18px}.home-intro h1{font-size:31px}.home-brand .brand-name{font-size:15px}.home-header-link{font-size:10px}.footer-belief{font-size:18px}.brand-footer{padding-left:18px;padding-right:18px}}
@media(max-width:760px){.home-shortcuts{flex-basis:100%;justify-content:space-between;gap:14px}.home-header-link,.home-header-link.practice-entry{font-size:13px;min-height:44px;padding:12px 0}.home-header-link .coming-soon{display:inline-block;font-size:10px}.home-tools-menu .learning-tool-list{top:calc(100% + 6px)}.catalog-title{font-size:19px}}
@media(prefers-reduced-motion:reduce){.menu-chevron{transition:none}}

/* An editorial hero: message and live animation, followed by one compact practice route. */
.home-main{padding-top:38px}
.home-intro{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);align-items:center;column-gap:46px;row-gap:28px;padding-bottom:36px}
.home-hero-copy{min-width:0;padding:0 0 8px 24px}
.home-intro h1{font-size:clamp(42px,4.8vw,58px);line-height:1.3;letter-spacing:-1.2px;font-weight:700}
.home-intro .home-slogan{font-size:22px;line-height:1.6;margin-top:24px}
.home-intro .home-description{font-size:16px;line-height:1.8;margin-top:9px}
.home-practice-card{grid-column:1/-1;display:grid;grid-template-columns:56px minmax(0,1fr) auto 190px;align-items:center;gap:24px;min-width:0;padding:22px 26px;border:1px solid #E5DFF7;border-radius:16px;background:#F8F6FD;color:var(--navy);transition:border-color .18s,background .18s}
.home-practice-card:hover{border-color:#B4A5F0;background:#F3EFFD}
.home-practice-card:focus-visible{outline:3px solid var(--purple);outline-offset:5px}
.practice-card-symbols{display:grid;grid-template-columns:repeat(2,26px);gap:4px}
.practice-card-symbols i{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;font:normal 20px Arial,sans-serif;color:#6C57E8;background:#E7DEFE}
.practice-card-symbols i:nth-child(2){background:#DEF1E9;color:#387E68}.practice-card-symbols i:nth-child(3){background:#FFE5D7;color:#AA6645}.practice-card-symbols i:nth-child(4){background:#DCEAF9;color:#4B71A0}
.practice-card-copy{min-width:0}.practice-card-title{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.home-practice-card h2{font-size:23px;line-height:1.4;letter-spacing:.2px;margin:0}
.practice-card-label{font-size:12px;color:#74688C;white-space:nowrap}
.home-intro .practice-card-description{font-size:12px;line-height:1.8;color:#686B7D;margin:5px 0 0}
.practice-card-features{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#74688C;padding-left:22px;border-left:1px solid #E3DDEC;white-space:nowrap}
.practice-card-action{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 17px;background:var(--purple);color:white;border-radius:9px;font-size:14px;font-weight:600;min-height:48px}
.practice-card-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.catalog-heading{display:flex;align-items:stretch;gap:5px;flex-wrap:wrap}
.catalog-heading .home-count{display:grid;grid-template-columns:auto auto;align-items:center;align-self:stretch;gap:5px;font-family:inherit;font-size:16px;color:#111111;padding:0;text-align:left;line-height:1.5}
.catalog-heading .home-count span{font-size:15px;letter-spacing:0;color:#111111;margin:0;text-align:left}
.catalog-heading .home-count .lesson-count-label{align-self:end;transform:translateY(-2px)}
.catalog-heading .home-count .lesson-count-badge{display:block;align-self:center;min-width:24px;height:24px;padding:0;border:0;line-height:0;filter:drop-shadow(0 1px 1px rgba(170,20,42,.1));-webkit-text-size-adjust:100%;text-size-adjust:100%}
.catalog-heading .home-count .lesson-count-badge svg{display:block;width:auto;height:24px;max-width:none;overflow:visible}

/* The previews retain the original teaching geometry and playback controls. */
.home-showcase{width:calc(100% - 24px);max-width:540px;justify-self:end;border:1px solid #E6E1F2;border-radius:18px;background:#FFFFFF;overflow:hidden;min-width:0;box-shadow:0 12px 32px #11182D04}
.showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 16px 0}
.showcase-topic{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.showcase-topic strong{font-size:15px;font-weight:650;line-height:1.5;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.showcase-topic>span{display:flex;align-items:center;gap:4px;font-size:11px;color:#6C57E8;white-space:nowrap;flex-shrink:0}
.showcase-topic svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.showcase-count{font-size:11px;color:#817A91;font-variant-numeric:tabular-nums;white-space:nowrap}
.showcase-stage{height:285px;padding:0 12px;overflow:hidden}
.showcase-stage>svg{width:100%;height:100%;display:block;pointer-events:none;user-select:none}
.showcase-stage text{font-family:"SmartCat Parallel","Microsoft YaHei",sans-serif}
.showcase-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px}
.showcase-dots,.showcase-actions{display:flex;align-items:center;gap:0}
.showcase-dots{flex:1;min-width:0;max-width:288px}.showcase-actions{flex-shrink:0}
.showcase-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;border-radius:8px;color:#79718E}
.showcase-dots button{flex:1;min-width:0;width:32px}
.showcase-dots button span{display:block;width:6px;height:6px;background:#D9D0EA;border-radius:99px;transition:width .18s,background .18s}
.showcase-dots button[aria-pressed="true"] span{width:22px;max-width:80%;background:#6C57E8}
.showcase-controls button:hover{background:#F5F1FF;color:#6C57E8}
.showcase-controls button:focus-visible{outline:2px solid #6C57E8;outline-offset:-3px}
.showcase-actions svg{width:18px;height:18px;margin:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.showcase-play{display:none}.showcase-actions [data-state="paused"] .showcase-play{display:block}.showcase-actions [data-state="paused"] .showcase-pause{display:none}
.showcase-track{height:2px;background:#F2EEF9}.showcase-track span{display:block;width:100%;height:100%;background:#6C57E8;transform:scaleX(0);transform-origin:left}
@media(max-width:1050px){
 .home-intro{column-gap:28px;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr)}
 .home-hero-copy{padding-left:12px}.home-intro h1{font-size:44px}.home-intro .home-slogan{font-size:19px;margin-top:18px}.home-intro .home-description{font-size:15px}
 .home-showcase{width:100%;max-width:none}
 .showcase-dots button{min-width:0;width:26px}
 .showcase-stage{height:260px}.home-practice-card{grid-template-columns:56px minmax(0,1fr) 175px;gap:20px;padding:20px 22px}
 .practice-card-features{grid-column:2;grid-row:2;flex-direction:row;gap:16px;padding:0;border:0;margin-top:-12px}.practice-card-action{grid-column:3;grid-row:1/3}
}
@media(max-width:850px){.home-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}.home-intro h1{font-size:37px}.home-intro .home-slogan{font-size:18px}.home-intro .home-description{font-size:14px}.showcase-stage{height:235px}.showcase-heading{padding:11px 14px 0}.showcase-topic{gap:8px}.showcase-topic>span{font-size:10px}.showcase-controls{padding:0 6px;gap:4px}.showcase-dots button{min-width:0;width:28px}.showcase-actions button{min-width:44px}.showcase-actions [data-scene-prev],.showcase-actions [data-scene-next]{display:none}.practice-card-title{gap:10px}}
@media(max-width:700px){
 .home-main{padding-top:28px}.home-intro{grid-template-columns:minmax(0,1fr);row-gap:24px;padding-bottom:30px}.home-hero-copy{padding:0 0 0 8px}
 .home-intro h1{font-size:42px}.home-intro .home-slogan{font-size:19px;margin-top:16px}.home-intro .home-description{max-width:none;margin-top:6px;font-size:15px}
 .showcase-stage{height:clamp(225px,56vw,310px)}.showcase-heading{padding:11px 17px 0}.showcase-topic>span{font-size:11px}.showcase-controls{padding:0 10px}.showcase-dots button{flex:1;min-width:0;width:32px}.showcase-actions button{min-width:44px}
 .home-practice-card{grid-template-columns:48px minmax(0,1fr);gap:12px 16px;padding:19px 20px;border-radius:14px}
 .practice-card-symbols{grid-template-columns:repeat(2,22px)}.practice-card-symbols i{width:22px;height:22px;font-size:18px}
 .practice-card-title{gap:3px 12px}.home-practice-card h2{font-size:22px}.practice-card-label{font-size:11px}
 .practice-card-features{grid-column:1/-1;grid-row:auto;margin:0;gap:18px;font-size:11px}
 .practice-card-action{grid-column:1/-1;grid-row:auto;min-height:46px;margin-top:2px}
}
@media(max-width:380px){.home-intro h1{font-size:36px}.home-intro .home-slogan{font-size:17px}.home-intro .home-description{font-size:14px}.showcase-heading{padding-left:12px;padding-right:12px}.showcase-controls{gap:4px;padding-left:4px;padding-right:4px}.showcase-dots button{min-width:0;width:27px}.showcase-actions button{min-width:44px}.showcase-topic strong{font-size:14px}.home-practice-card{padding:18px 16px;column-gap:12px}.practice-card-title{display:block}.practice-card-label{display:block;margin-top:3px}.home-intro .practice-card-description{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-practice-card,.showcase-dots button span{transition:none}}

/* Compact, coordinated entries keep the animation catalogue near the first fold. */
.home .home-main{padding-top:28px}
.home .home-intro{row-gap:20px;padding-bottom:24px}
.home-feature-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;align-items:stretch}
.home-feature-grid .home-practice-card{grid-column:auto;display:grid;grid-template-columns:minmax(0,1fr) 94px;grid-template-rows:auto 1fr auto;align-content:stretch;align-items:start;gap:8px 12px;padding:16px 20px 16px 32px;border-radius:14px;min-height:0;background:#F8F6FD}
/* Align visible character tops with the smaller challenge text, not just line boxes. */
.practice-card-heading{grid-column:1;grid-row:1;display:flex;align-items:center;min-width:0;margin-top:20px}
.practice-card-heading>div{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:3px 12px;min-width:0}
.home-feature-grid .practice-card-label{order:2;display:block;color:#6B5A9B;font-size:12px;font-weight:700;line-height:1.5;margin:0;white-space:nowrap}
.home-feature-grid .home-practice-card h2{order:1;margin:0;font-size:24px;line-height:1.35;font-weight:750;color:#111111;white-space:nowrap}
.home-feature-grid .practice-card-symbols{grid-column:2;grid-row:1/3;justify-self:center;align-self:center;grid-template-columns:repeat(2,34px);gap:4px}
.home-feature-grid .practice-card-symbols i{width:34px;height:34px;line-height:0;border-radius:8px}
.home-feature-grid .practice-card-symbols svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.home-feature-grid .practice-card-symbols circle{fill:currentColor;stroke:none}
.home-intro .home-feature-grid .practice-card-description{grid-column:1;grid-row:2;margin:0;font-size:13px;font-weight:600;line-height:1.65;color:#34394F}
.home-feature-grid .practice-card-features{grid-column:1;grid-row:3;align-self:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px 10px;padding:0;border:0;margin:0;font-size:13px;line-height:1.65;color:#6B6280;white-space:normal}
.home-feature-grid .practice-card-features span{white-space:nowrap}
.home-feature-grid .practice-card-action{grid-column:2;grid-row:3;justify-self:center;align-self:end;margin:0;gap:8px}
.home-feature-grid .practice-card-action svg{width:18px;height:18px}
.home-course-card{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:stretch;min-width:0;overflow:hidden;border:1px solid #D6E9EF;border-radius:14px;background:#EFF9FC;color:var(--navy)}
.course-card-copy{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;padding:28px 14px 16px 26px}
.course-card-copy h2{margin:0;font-size:16px;font-weight:650;line-height:1.35}
.course-card-copy h2>span,.course-card-copy h2>strong{display:block}
.course-card-copy h2 em{font-style:normal;font-size:24px;color:#ED1919;font-weight:800}
.course-card-copy h2>strong{margin-top:4px;font-size:24px;font-weight:750;line-height:1.3;color:#ED1919;white-space:nowrap}
.home-intro .course-card-description{margin:8px 0 12px;color:#536D7B;font-size:13px;font-weight:500;line-height:1.6;letter-spacing:.5px}
.course-coming-soon{align-self:flex-end;margin-top:auto}
.home-feature-grid .practice-card-action,.home-feature-grid .course-coming-soon{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:94px;min-width:94px;height:34px;min-height:34px;padding:0 8px;border:0;border-radius:6px;background:#6C57E8;color:#FFFFFF;font-size:13px;font-weight:650;line-height:1;letter-spacing:0;white-space:nowrap}
.course-memory-stage{display:grid;place-items:center;min-width:0;background:#AFF0F7}
.course-memory-example{position:relative;container-type:inline-size;width:100%;aspect-ratio:442/250;overflow:hidden;margin:0}
.course-memory-example img{position:absolute;inset:-3px;display:block;width:calc(100% + 6px);height:calc(100% + 6px);max-width:none;object-fit:cover}
.course-memory-example figcaption{position:absolute;inset:0;color:#173A50;pointer-events:none}
.course-example-equation{position:absolute;left:5%;top:6%;display:block;font-size:18px;font-size:clamp(13px,4.9cqw,19px);line-height:1.3;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.course-example-story{position:absolute;right:4%;bottom:4%;display:block;font-size:14px;font-size:clamp(13px,4cqw,15px);line-height:1.45;text-align:right;font-weight:600}
.course-example-story>span{display:block;white-space:nowrap}
@media(max-width:1050px){
 .home-feature-grid .home-practice-card{padding:16px 16px 16px 28px}
 .home-feature-grid .home-practice-card h2,.catalog-heading .catalog-title{font-size:23px}
 .practice-card-heading{margin-top:18px}
 .home-course-card{grid-template-columns:150px minmax(0,1fr)}
 .course-card-copy{padding:28px 12px 16px 20px}
 .course-card-copy h2{font-size:16px}.course-card-copy h2 em{font-size:22px}.course-card-copy h2>strong{font-size:23px}
 .home-feature-grid .practice-card-features{gap:5px 8px}
}
@media(min-width:701px) and (max-width:850px){
 .home-feature-grid{gap:16px}
}
@media(max-width:950px){.home-feature-grid{grid-template-columns:minmax(0,1fr)}.home-feature-grid>.home-practice-card,.home-feature-grid>.home-course-card{width:100%;max-width:none;justify-self:stretch}}
/* Full-width portrait cards preserve readable copy and a clear, compact memory picture. */
@media(min-width:501px) and (max-width:950px){
 .home-course-card{grid-template-columns:minmax(0,1fr) min(52%,440px)}
 .course-card-copy{padding-left:28px;padding-right:24px}
}
@media(max-width:700px){
 .home .home-main{padding-top:22px}.home .home-intro{row-gap:18px;padding-bottom:22px}
 .home-feature-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .home-feature-grid .home-practice-card{padding:16px 18px 16px 26px}
}
@media(max-width:400px){
 .home-feature-grid .home-practice-card{padding:16px 16px 16px 24px}
 .home-feature-grid .practice-card-features{gap:5px 7px}
}
@media(max-width:500px){
 .home-feature-grid .home-practice-card h2,.catalog-heading .catalog-title{font-size:22px}
 .practice-card-heading{margin-top:13px}
 .home-course-card{grid-template-columns:minmax(0,1fr)}
 .course-card-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:24px 14px 12px 26px}
 .course-card-copy h2{grid-column:1;grid-row:1;font-size:15px}
 .course-card-copy h2 em{font-size:21px}.course-card-copy h2>strong{font-size:22px}
 .home-intro .course-card-description{grid-column:1/-1;grid-row:2;margin:0}
 .course-coming-soon{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin:0}
}

.home-trial-entry {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  max-width:100%; min-height:44px; margin-top:8px; padding:6px clamp(8px, 1.2vw, 16px);
  border-radius:8px; background:#5945c2; color:#fff;
  font-size:15px; font-weight:600; text-decoration:none;
}
.home-trial-entry:hover { background:#4937a8; color:#fff; text-decoration:none }
.home-trial-entry:focus-visible { outline:3px solid #5945c2; outline-offset:3px }

@media (max-width:360px) {
  .home-trial-entry { font-size:14px }
}
