/* Education-first homepage */
.h-hero,.h-sec,.h-contact{--pad:clamp(64px,8vw,104px)}
.h-hero h1,.h-sec h2,.h-contact h2{text-wrap:balance}
.h-hero{padding:clamp(54px,8vw,104px) 0;background:linear-gradient(135deg,#f7f8fc 0%,#fff 58%,#f4f5fb 100%);overflow:hidden}
.h-hero__grid{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(36px,6vw,84px);align-items:center}
.h-eyebrow,.home-label{margin:0 0 14px;color:var(--x-cobalt);font-size:13px;font-weight:800;letter-spacing:.01em}
.h-hero h1{margin:0;font-size:clamp(38px,5.3vw,66px);line-height:1.34;font-weight:300}
.h-hero h1 strong{display:block;font-weight:850}.h-hero h1 span{display:block;color:var(--x-cobalt);font-weight:800;margin-top:.12em}
.h-hero__copy>p:not(.h-eyebrow){font-size:18px;color:var(--x-muted);max-width:54ch;margin:24px 0 0;line-height:2}
.h-actions{display:flex;align-items:center;gap:16px 26px;flex-wrap:wrap;margin-top:32px}
.h-hero__copy .h-hero__for{font-size:14px;margin-top:28px;padding-top:16px;border-top:1px solid var(--x-line);max-width:54ch}
.h-hero__visual{position:relative;display:flex;flex-direction:column;gap:14px;padding:0;min-width:0;width:100%}
.h-hero__visual-top{display:flex;align-items:center;justify-content:center;gap:14px;color:var(--x-muted);font-size:13px;margin-bottom:0}
.h-hero__visual-top i{width:42px;height:1px;background:var(--x-line)}
.h-hero__visual-window{background:#fff;border:1px solid #dfe2ec;border-radius:14px;overflow:hidden;box-shadow:0 34px 80px -44px rgba(24,32,70,.38);flex:1;display:flex;flex-direction:column}
.h-hero__window-bar{height:40px;display:flex;align-items:center;gap:6px;padding:0 14px;border-bottom:1px solid #edf0f5;color:#9096a8;font-size:10px}
.h-hero__window-bar i{width:8px;height:8px;border-radius:50%;background:#d9dce6}.h-hero__window-bar span{margin-inline-start:12px}
.h-hero__window-body{flex:1;display:flex;flex-direction:column;padding:18px 20px 24px}.h-hero__window-nav{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#747b90}.h-hero__window-nav b{font-size:14px;color:#20253a}
.h-hero__window-content{flex:1;margin-top:14px;min-height:150px;padding:25px 22px;display:grid;grid-template-columns:1fr .8fr;align-items:center;gap:10px;background:#f3f5fb;border-radius:8px}
.h-hero__window-content>div:first-child{display:flex;flex-direction:column;align-items:flex-start}.h-hero__window-content small{font-size:10px;color:var(--x-cobalt);font-weight:700}.h-hero__window-content strong{font-size:21px;line-height:1.6;margin-top:7px;color:#20253a}.h-hero__window-content span{font-size:10px;color:#73798d;margin-top:5px}.h-hero__window-content em{font-style:normal;font-size:10px;background:var(--x-cobalt);color:#fff;padding:8px 12px;border-radius:4px;margin-top:14px}
.h-hero__product-shapes{display:flex;align-items:flex-end;justify-content:center;gap:22px;height:clamp(110px,70%,200px);padding-bottom:8px}.h-hero__product-shapes .h-cup{flex:none}.h-hero__product-shapes .h-cup:nth-child(1){width:22%}.h-hero__product-shapes .h-cup:nth-child(2){width:30%}.h-hero__product-shapes .h-cup:nth-child(3){width:22%}
.h-hero__visual-note{position:static;background:#20253a;color:#fff;border-radius:8px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:8px;box-shadow:0 16px 34px -20px rgba(24,32,70,.5);font-size:13px}.h-hero__visual-note span{color:#c6cbe0}.h-hero__visual-note strong{color:#f0c66d;font-size:20px}
.h-featured-course{padding:clamp(64px,8vw,104px) 0;background:#20253a;color:#fff}
.h-featured-course__label{display:flex;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.2);font-size:12px;color:#c6cbe0}
.h-featured-course__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,6vw,84px);align-items:stretch;padding-top:clamp(34px,5vw,58px)}
.h-featured-course .home-label{color:#f0c66d}.h-featured-course h2{font-size:clamp(30px,4.1vw,50px);line-height:1.45;margin:0;font-weight:850;text-wrap:balance}
.h-featured-course__intro{font-size:17px;line-height:2;color:#d0d4e3;margin:18px 0 0;max-width:58ch}
.h-featured-course__points{margin:24px 0 0;padding:0;list-style:none;display:grid;gap:12px}.h-featured-course__points li{position:relative;padding-inline-start:28px;color:#e7e9f1;font-size:15px;line-height:1.8}.h-featured-course__points li:before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:#f0c66d;font-weight:900}
.h-featured-course__actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:30px}.h-featured-course__actions>span{font-size:12px;color:#aeb5ce}.h-featured-course .x-btn--primary{background:#f0c66d;color:#20253a;border-color:#f0c66d}.h-featured-course .x-btn--primary:hover{background:#ffda86}
.h-featured-course__visual{min-width:0;display:flex;flex-direction:column}.h-featured-course__image{flex:1;display:block;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.16)}.h-featured-course__image img{width:100%;height:100%;min-height:280px;object-fit:cover;display:block}
.h-store-illustration{padding:16px;background:#303750;border:1px solid rgba(255,255,255,.12);border-radius:12px;flex:1;display:flex;flex-direction:column;box-shadow:0 30px 70px -34px rgba(0,0,0,.5)}
.h-store-illustration__browser{height:38px;background:#f7f8fc;border-radius:6px 6px 0 0;display:flex;align-items:center;gap:5px;padding:0 12px;color:#303750}.h-store-illustration__browser span{width:7px;height:7px;border-radius:50%;background:#c7ccda}.h-store-illustration__browser b{margin-inline-start:10px;font-size:11px}
.h-store-illustration__shop{flex:1;display:grid;grid-template-columns:70px 1fr;min-height:255px;background:#f1f3f9;color:#252a40;padding:22px;gap:20px}.h-store-illustration__side{display:grid;align-content:start;gap:12px}.h-store-illustration__side i{height:9px;background:#dce1ee;border-radius:2px}.h-store-illustration__main>strong{font-size:19px}.h-store-illustration__main>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.h-store-illustration__main>div i{height:104px;background:linear-gradient(145deg,#dfe4f1,#aab5d5);border-radius:5px}.h-store-illustration__main>div i:nth-child(2){background:linear-gradient(145deg,#e8e0d5,#c9b89f)}.h-store-illustration__main>div i:nth-child(3){background:linear-gradient(145deg,#dce9e3,#a6c0b3)}.h-store-illustration__main small{display:block;margin-top:15px;color:#747b90;font-size:11px}.h-store-illustration__base{height:10px;background:#d2d7e6;border-radius:0 0 5px 5px}.h-featured-course__caption{display:flex;justify-content:space-between;gap:12px;margin-top:16px;font-size:12px;color:#c6cbe0}.h-featured-course__caption b{color:#f0c66d}
.h-sec{padding:var(--pad) 0}.h-sec--tint{background:var(--x-tint)}.h-sec--dark{background:var(--x-ink);color:#fff}.h-sec h2,.h-contact h2{margin:0;font-size:clamp(27px,3.5vw,42px);line-height:1.45;font-weight:850}.h-sec p,.h-contact p{line-height:1.95}.h-head2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(32px,6vw,84px);align-items:end;margin-bottom:clamp(32px,5vw,52px)}.h-head2>.home-label{grid-column:1;grid-row:1}.h-head2>h2{grid-column:1;grid-row:2}.h-head2>p:not(.home-label){grid-column:2;grid-row:1/span 2;align-self:end;max-width:58ch;margin:0;color:var(--x-muted);font-size:16px}
.h-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.h-course-card{display:grid;grid-template-columns:150px 1fr;min-width:0;background:#fff;border:1px solid var(--x-line);border-radius:9px;overflow:hidden;transition:transform .2s,border-color .2s}.h-course-card:hover{transform:translateY(-3px);border-color:#b9bfd2}.h-course-card__media{display:grid;place-items:center;min-height:220px;background:linear-gradient(145deg,#edf0f8,#dfe4f1);overflow:hidden}.h-course-card__media img{width:100%;height:100%;min-height:220px;object-fit:cover}.h-course-card__number{font-size:54px;font-weight:300;color:#a2abc7}.h-course-card__body{padding:22px;display:flex;flex-direction:column;align-items:flex-start}.h-course-card__category{font-size:11px;color:var(--x-cobalt);font-weight:800;margin:0 0 8px}.h-course-card h3{font-size:19px;line-height:1.6;margin:0;font-weight:850}.h-course-card h3 a:hover{color:var(--x-cobalt)}.h-course-card__body>p:not(.h-course-card__category){font-size:13px;color:var(--x-muted);margin:9px 0 18px;line-height:1.9}.h-course-card .x-link{margin-top:auto;font-size:13px}.h-courses__foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding-top:20px;border-top:1px solid var(--x-line)}.h-courses__foot p{font-size:13px;color:var(--x-muted);margin:0}
.h-learning-method__grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(34px,7vw,96px);align-items:center}.h-learning-method__grid>div>p:last-child{color:var(--x-muted);font-size:16px;max-width:56ch}.h-learning-steps{list-style:none;margin:0;padding:0;border-top:1px solid var(--x-line)}.h-learning-steps li{display:flex;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid var(--x-line)}.h-learning-steps li>span{width:38px;height:38px;display:grid;place-items:center;flex:none;border:1px solid #cbd1e1;border-radius:50%;font-size:15px;color:var(--x-cobalt);font-weight:800}.h-learning-steps b{display:block;font-size:16px}.h-learning-steps small{display:block;color:var(--x-muted);font-size:13px;margin-top:4px}
.h-case-link{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);align-items:center;gap:24px;padding:clamp(24px,4vw,42px);background:#f4f5f9;border:1px solid var(--x-line);border-radius:10px}.h-case-link small{color:var(--x-cobalt);font-weight:800}.h-case-link h3{font-size:clamp(22px,2.8vw,30px);line-height:1.5;margin:10px 0}.h-case-link p{font-size:15px;color:var(--x-muted);max-width:60ch}.h-case-link .x-link{display:inline-block;margin-top:16px}.h-case-link__mark{height:100%;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d5d9e6;background:#fff;color:#20253a}.h-case-link__mark b{font-size:76px;line-height:1;font-weight:300}.h-case-link__mark span{font-size:12px;letter-spacing:.22em}
.h-services-teaser__grid{display:grid;grid-template-columns:1fr .9fr;gap:clamp(30px,7vw,90px);align-items:center}.h-services-teaser .home-label{color:#f0c66d}.h-services-teaser__grid>div>p:not(.home-label){color:#c9cde0;max-width:58ch}.h-services-teaser .x-btn{margin-top:25px}.h-services-teaser ul{list-style:none;margin:0;padding:0;border-top:1px solid rgba(255,255,255,.2)}.h-services-teaser li{padding:17px 0;border-bottom:1px solid rgba(255,255,255,.2)}.h-services-teaser li b{display:block;font-size:16px}.h-services-teaser li span{display:block;color:#c9cde0;font-size:13px;margin-top:5px}
.h-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,34px);list-style:none;padding:0;margin:0}.h-posts img,.h-posts__ph{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:5px;background:#edf0f6;display:block}.h-posts small{display:block;margin:13px 0 5px;color:var(--x-muted);font-size:12px}.h-posts strong{font-size:18px;line-height:1.7;font-weight:750}.h-posts a:hover strong{color:var(--x-cobalt)}.h-writing__more{margin-top:26px}
.h-about{display:grid;grid-template-columns:180px minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,5vw,60px);align-items:center}.h-about__path{list-style:none;margin:0;padding:0;border-top:1px solid var(--x-line);counter-reset:ap}.h-about__path li{counter-increment:ap;display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--x-line);font-weight:700;font-size:16px}.h-about__path li:before{content:counter(ap,persian);flex:none;display:grid;place-items:center;width:36px;height:36px;border:1px solid #cbd1e1;border-radius:50%;color:var(--x-cobalt);font-size:15px;font-weight:800}.h-about img{width:180px;height:180px;border-radius:50%;object-fit:cover;background:var(--x-line)}.h-about p:not(.home-label){color:var(--x-muted);max-width:70ch}.h-about .x-link{display:inline-block;margin-top:14px}
.h-contact{background:var(--x-cobalt);color:#fff;padding:var(--pad) 0}.h-contact__row{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,6vw,80px);align-items:center}.h-contact p{color:#e4e8ff;max-width:58ch}.h-contact .x-btn{margin-top:22px}.h-contact__shop{padding:25px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:rgba(255,255,255,.08)}.h-contact__shop>b{font-size:18px}.h-contact__shop p{font-size:14px}.h-contact__shop .x-link{display:inline-block;margin-top:12px;color:#ffe09a}
/* shared cup motif: same gradients as the rest of the mock-ups */
.h-cup{--c1:#dfe4f1;--c2:#aab5d5;position:relative;isolation:isolate;display:block;width:46%;aspect-ratio:1/.82;border-radius:3px 3px 50% 50%/3px 3px 62% 62%;background:linear-gradient(180deg,#f7f0e6 0 24%,var(--c1) 24%,var(--c2));box-shadow:inset 0 0 0 1px rgba(70,83,130,.08)}
.h-cup:before{content:"";position:absolute;left:50%;bottom:-7px;z-index:-1;width:130%;height:7px;border-radius:50%;background:var(--c2);transform:translateX(-50%)}
.h-cup:after{content:"";position:absolute;left:-24%;top:16%;z-index:-1;width:30%;height:46%;border:3px solid var(--c2);border-radius:50%}
.h-cup--beige{--c1:#e8e0d5;--c2:#c9b89f}.h-cup--sage{--c1:#dce9e3;--c2:#a6c0b3}
/* hero mock-up: home page of a cappuccino shop */
.h-hero__window-nav .h-hero__cart{font-style:normal;font-size:10px;font-weight:700;padding:4px 9px;border-radius:999px;background:#eef0fd;color:var(--x-cobalt)}
.h-hero__window-cats{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.h-hero__window-cats span{padding:4px 11px;border:1px solid #dfe2ec;border-radius:999px;font-size:10px;color:#747b90}.h-hero__window-cats .is-on{background:#20253a;border-color:#20253a;color:#fff}
.h-hero__window-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.h-hero__window-grid>div{display:flex;flex-direction:column;gap:3px;padding:8px;border:1px solid #edf0f5;border-radius:8px;background:#fff}
.h-hero__window-grid>div>span{display:grid;place-items:center;aspect-ratio:4/3;margin-bottom:5px;border-radius:5px;background:linear-gradient(145deg,#dfe4f1,#aab5d5)}.h-hero__window-grid>div:nth-child(2)>span{background:linear-gradient(145deg,#e8e0d5,#c9b89f)}.h-hero__window-grid>div:nth-child(3)>span{background:linear-gradient(145deg,#dce9e3,#a6c0b3)}
.h-hero__window-grid .h-cup{width:44%}.h-hero__window-grid b{font-size:11px;color:#20253a}.h-hero__window-grid small{font-size:10px;color:#747b90}
.h-hero__window-trust{display:flex;justify-content:space-between;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #edf0f5;font-size:10px;color:#747b90}.h-hero__window-trust span{display:inline-flex;align-items:center;gap:6px}.h-hero__window-trust span:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--x-cobalt)}
/* featured-course mock-up: single product page */
.h-store-illustration__shop.h-pdp{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;min-height:290px;align-items:stretch}
.h-pdp__gallery{display:flex;flex-direction:column;gap:8px;min-width:0}
.h-pdp__main{flex:1;display:grid;place-items:center;min-height:150px;border-radius:8px;background:linear-gradient(145deg,#e8e0d5,#c9b89f)}.h-pdp__main .h-cup{width:42%}
.h-pdp__thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.h-pdp__thumbs i{aspect-ratio:1;border-radius:5px;border:2px solid transparent;background:linear-gradient(145deg,#dfe4f1,#aab5d5)}.h-pdp__thumbs i:nth-child(2){background:linear-gradient(145deg,#e8e0d5,#c9b89f)}.h-pdp__thumbs i:nth-child(3){background:linear-gradient(145deg,#dce9e3,#a6c0b3)}.h-pdp__thumbs i:nth-child(4){background:linear-gradient(145deg,#d6dced,#8797c6)}.h-pdp__thumbs i.is-on{border-color:var(--x-cobalt)}
.h-pdp__info{display:flex;flex-direction:column;justify-content:center;gap:9px;min-width:0}
.h-pdp__info small{font-size:10px;color:#747b90}.h-pdp__info>strong{font-size:17px;line-height:1.6;color:#20253a}
.h-pdp__rate{display:flex;align-items:center;gap:8px;font-size:10px;color:#747b90}.h-pdp__rate i{font-style:normal;letter-spacing:.08em;color:#f2a900;font-size:12px}
.h-pdp__price{display:flex;align-items:baseline;gap:6px}.h-pdp__price b{font-size:22px;font-weight:850;color:#20253a}.h-pdp__price span{font-size:11px;color:#747b90}
.h-pdp__opts{display:flex;flex-wrap:wrap;gap:6px}.h-pdp__opts span{padding:5px 10px;border:1px solid #cbd1e1;border-radius:6px;background:#fff;font-size:10.5px;color:#252a40}.h-pdp__opts .is-on{border-color:var(--x-cobalt);background:#eef0fd;color:var(--x-cobalt);font-weight:700}
.h-pdp__buy{display:flex;gap:6px}.h-pdp__buy em{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #cbd1e1;border-radius:6px;background:#fff;font-style:normal;font-size:12px}.h-pdp__buy b{flex:1;display:grid;place-items:center;height:40px;border-radius:6px;background:var(--x-cobalt);color:#fff;font-size:12px}
.h-pdp__info ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.h-pdp__info li{position:relative;padding-inline-start:16px;font-size:10.5px;color:#5a6075}.h-pdp__info li:before{content:"";position:absolute;inset-inline-start:0;top:.55em;width:6px;height:6px;border-radius:50%;background:var(--x-cobalt)}
.h-pdp__tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px;background:#e7eaf4;border-top:1px solid #d5d9e6;color:#252a40}.h-pdp__tabs>div{display:flex;gap:16px}.h-pdp__tabs span{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;color:#747b90}.h-pdp__tabs span:before{content:"";width:7px;height:7px;border-radius:50%;border:2px solid #9aa1b4}.h-pdp__tabs .is-on{color:#20253a;font-weight:800}.h-pdp__tabs .is-on:before{background:var(--x-cobalt);border-color:var(--x-cobalt)}.h-pdp__tabs>b{font-size:12px}
/* hero: one sentence, four ways in, one photo */
.h-hero--intro h1{font-size:clamp(30px,3.5vw,46px);line-height:1.6}
.h-hero__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:clamp(28px,4vw,40px)}
.h-hero__links a{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid var(--x-line);border-radius:10px;background:#fff;color:var(--x-ink);text-decoration:none;transition:border-color .2s,background-color .2s,color .2s}
.h-hero__links a:hover{border-color:var(--x-cobalt)}
.h-hero__links b{font-size:17px;font-weight:800}.h-hero__links small{font-size:13px;line-height:1.8;color:var(--x-muted)}
.h-hero__links .is-primary{background:var(--x-cobalt);border-color:var(--x-cobalt);color:#fff}.h-hero__links .is-primary small{color:rgba(255,255,255,.82)}.h-hero__links .is-primary:hover{background:#2433b8}
.h-hero__photo{margin:0;width:100%;max-width:520px;justify-self:center;aspect-ratio:1/1.08;border-radius:24px;overflow:hidden;background:linear-gradient(160deg,#eef0fd,#d6dcf3)}
.h-hero__photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
/* mock-up reused inside the services section */
.h-mock{display:flex;flex-direction:column;min-width:0}.h-mock .h-hero__visual-window{flex:none}.h-mock__caption{margin:14px 0 0;color:#c9cde0;font-size:13px;text-align:center}
.h-services-teaser ul{margin-top:28px}
@media(max-width:1000px){.h-hero__photo{max-width:380px}.h-head2{grid-template-columns:1fr}.h-head2>p:not(.home-label){grid-column:1;grid-row:auto;margin-top:14px}.h-about{grid-template-columns:180px minmax(0,1fr)}.h-about__path{grid-column:1/-1}.h-hero__grid,.h-featured-course__grid,.h-learning-method__grid,.h-services-teaser__grid,.h-contact__row{grid-template-columns:1fr}.h-hero__visual{max-width:620px;margin:15px auto 0}.h-hero__window-content{min-height:170px}.h-featured-course__visual{max-width:620px}.h-course-grid{grid-template-columns:1fr 1fr}.h-course-card{grid-template-columns:120px 1fr}}
@media(max-width:700px){.h-about__path{grid-column:auto}.h-course-grid{grid-template-columns:1fr}.h-course-card{grid-template-columns:110px 1fr}.h-course-card__media,.h-course-card__media img{min-height:190px}.h-case-link{grid-template-columns:1fr}.h-case-link__mark{height:120px}.h-posts{grid-template-columns:1fr 1fr}.h-about{grid-template-columns:1fr}.h-about img{width:140px;height:140px}.h-courses__foot{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.h-hero__links b{font-size:16px}.h-hero__links a{padding:14px}.h-hero__window-nav>span{display:none}.h-hero__window-grid{gap:6px}.h-hero__window-grid>div{padding:6px}.h-hero__window-trust{flex-wrap:wrap;gap:6px 12px}.h-store-illustration__shop.h-pdp{grid-template-columns:1fr;padding:16px;min-height:0}.h-pdp__thumbs{display:none}.h-pdp__main{min-height:130px}.h-pdp__tabs{padding:10px 16px}.h-pdp__tabs>div{gap:10px}.h-hero__window-content{grid-template-columns:1fr;padding:18px}.h-hero__product-shapes{height:80px}.h-hero__window-content strong{font-size:18px}.h-hero__visual-note{inset-inline:0;font-size:11px;padding:13px}.h-featured-course__label{font-size:10px}.h-featured-course__caption{font-size:10px}.h-course-card{grid-template-columns:1fr}.h-course-card__media,.h-course-card__media img{min-height:145px;max-height:170px}.h-course-card__number{font-size:40px}.h-course-card__body{padding:18px}.h-posts{grid-template-columns:1fr}.h-posts li{max-width:520px}}
@media(prefers-reduced-motion:reduce){.h-course-card{transition:none}.h-course-card:hover{transform:none}}

/* v4.16 — editor content of the home page template (SEO text) */
.h-seo-content__body{max-width:78ch;margin-inline:auto;font-size:17px;line-height:2}
.h-seo-content__body>*:first-child{margin-top:0}
.h-seo-content__body h2{margin:1.8em 0 .5em;font-size:clamp(24px,3vw,34px);line-height:1.5;font-weight:850}
.h-seo-content__body h3{margin:1.6em 0 .4em;font-size:clamp(20px,2.4vw,26px);line-height:1.6;font-weight:800}
.h-seo-content__body p{margin:0 0 1.1em}
.h-seo-content__body ul,.h-seo-content__body ol{margin:0 0 1.2em;padding-inline-start:1.4em}
.h-seo-content__body ul{list-style:disc}.h-seo-content__body ol{list-style:decimal}
.h-seo-content__body li{margin-bottom:.4em}
.h-seo-content__body a{color:var(--x-cobalt);text-decoration:underline;text-underline-offset:4px}
.h-seo-content__body img{max-width:100%;height:auto;border-radius:8px}


/* v4.17 — premium homepage refresh. Scoped to .ahs-home to protect other templates. */
.ahs-home{
	--home-surface:#fff;--home-wash:#f6f7fb;--home-ink:#101322;--home-muted:#626b7e;
	--home-line:#e2e5ec;--home-blue:#2b3fe0;--home-blue-deep:#202951;--home-gold:#f2c86d;
	--home-radius:14px;--home-space:clamp(64px,8vw,100px);color:var(--home-ink)
}
.ahs-home :where(h1,h2,h3,p){text-wrap:pretty}
.ahs-home :where(a,button):focus-visible{outline:3px solid var(--x-saffron);outline-offset:4px}
.ahs-home .h-hero{position:relative;padding:clamp(48px,6.4vw,76px) 0 clamp(56px,7vw,86px);background:radial-gradient(ellipse at 13% 50%,#eff1fc 0,rgba(239,241,252,0) 42%),linear-gradient(105deg,#fff 0%,#fff 58%,#f6f7fc 100%);border-bottom:1px solid var(--home-line)}
.ahs-home .h-hero__grid{grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:clamp(34px,6vw,78px)}
.ahs-home .h-hero__copy{min-width:0}
.ahs-home .h-hero__eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:var(--home-blue);font-size:13px;font-weight:800;letter-spacing:.01em}
.ahs-home .h-hero__eyebrow i{width:22px;height:2px;background:var(--home-gold);flex:none}
.ahs-home .h-hero__copy>h1{font-size:clamp(34px,3.4vw,46px);line-height:1.55;letter-spacing:-.025em;font-weight:780;margin:0;max-width:19ch}
.ahs-home .h-hero__copy>h1 strong{display:block;font-weight:850;color:var(--home-ink)}
.ahs-home .h-hero__copy>h1 span{display:block;color:var(--home-blue);font-weight:850;margin-top:0}
.ahs-home .h-hero__intro{font-size:16px;line-height:2;color:var(--home-muted);max-width:52ch;margin:15px 0 0}
.ahs-home .h-hero__actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:25px}
.ahs-home .h-hero__actions .x-btn{min-height:54px;padding-inline:25px;border-radius:9px;font-size:15px;gap:10px;box-shadow:0 8px 20px rgba(43,63,224,.15)}
.ahs-home .h-hero__actions .x-btn span,.ahs-home .h-hero__secondary span{transition:transform .2s ease;display:inline-block}
.ahs-home .h-hero__actions .x-btn:hover span,.ahs-home .h-hero__secondary:hover span{transform:translateX(-3px)}
.ahs-home .h-hero__secondary{font-weight:750;font-size:14px;color:var(--home-ink);text-decoration:none;display:inline-flex;align-items:center;gap:8px;border-bottom:1px solid #aeb5c5;padding:7px 0}
.ahs-home .h-hero__secondary:hover{color:var(--home-blue);border-color:var(--home-blue)}
.ahs-home .h-hero__signals{display:flex;align-items:center;gap:13px;margin-top:24px;color:#687187;font-size:12px}
.ahs-home .h-hero__signals span:first-child{font-weight:750;color:#28345d}
.ahs-home .h-hero__signals i{width:4px;height:4px;border-radius:50%;background:var(--home-gold)}
.ahs-home .h-hero__photo{position:relative;isolation:isolate;width:min(100%,440px);max-width:440px;aspect-ratio:.94/1.02;justify-self:center;align-self:center;margin:0;border-radius:210px 210px 20px 20px;overflow:hidden;background:linear-gradient(155deg,#eff1fc,#e5e8f8);box-shadow:0 20px 65px -44px rgba(25,35,86,.45)}
.ahs-home .h-hero__photo:before{content:"";position:absolute;inset:18px;border:1px solid rgba(43,63,224,.18);border-radius:inherit;pointer-events:none;z-index:1}
.ahs-home .h-hero__photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.ahs-home .h-hero__photo figcaption{position:absolute;z-index:2;inset-inline-start:18px;bottom:18px;padding:9px 14px;border-radius:8px;background:var(--home-blue-deep);color:#fff;font-size:12px;box-shadow:0 8px 25px #10132222}
.ahs-home .h-hero__photo figcaption b{color:var(--home-gold)}
.ahs-home .h-paths{padding:clamp(44px,5.6vw,68px) 0;background:var(--home-wash);border-bottom:1px solid var(--home-line)}
.ahs-home .h-paths__heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:22px}
.ahs-home .h-paths__heading .home-label{margin:0 0 7px}
.ahs-home .h-paths__heading h2{font-size:clamp(24px,2.8vw,32px);line-height:1.5;margin:0;font-weight:850}
.ahs-home .h-paths__heading>p{max-width:40ch;margin:0 0 3px;color:var(--home-muted);font-size:14px}
.ahs-home .h-paths__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ahs-home .h-path-card{position:relative;display:flex;flex-direction:column;min-height:144px;padding:17px 19px 18px;border:1px solid var(--home-line);border-radius:var(--home-radius);background:#fff;color:var(--home-ink);text-decoration:none;transition:transform .22s,border-color .22s,box-shadow .22s}
.ahs-home .h-path-card:hover{transform:translateY(-3px);border-color:#bac2ed;box-shadow:0 14px 28px rgba(16,19,34,.07)}
.ahs-home .h-path-card>span{display:flex;justify-content:space-between;align-items:center;color:#9098aa;font-size:11px;font-weight:750;letter-spacing:.04em}
.ahs-home .h-path-card>span i{font-style:normal;color:var(--home-blue);font-size:17px;transition:transform .2s}
.ahs-home .h-path-card:hover>span i{transform:translate(-2px,2px)}
.ahs-home .h-path-card>b{font-size:17px;font-weight:850;margin-top:10px}
.ahs-home .h-path-card>small{font-size:12px;line-height:1.8;color:var(--home-muted);margin-top:3px}
.ahs-home .h-path-card--primary{background:var(--home-blue-deep);border-color:var(--home-blue-deep);color:#fff}
.ahs-home .h-path-card--primary>span,.ahs-home .h-path-card--primary>span i{color:#f3cf79}
.ahs-home .h-path-card--primary>small{color:#d2d7e7}
.ahs-home .h-featured-course{position:relative;padding:var(--home-space) 0;background:var(--home-blue-deep);color:#fff;overflow:hidden}
.ahs-home .h-featured-course:before{content:"";position:absolute;width:440px;height:440px;border:1px solid rgba(255,255,255,.08);border-radius:50%;inset-inline-end:-210px;top:16%;pointer-events:none}
.ahs-home .h-featured-course__label{position:relative;padding-bottom:16px;border-color:rgba(255,255,255,.18);font-size:12px;color:#d3d8e7}
.ahs-home .h-featured-course__label span:first-child{color:#f3cf79;font-weight:750}
.ahs-home .h-featured-course__grid{position:relative;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:clamp(34px,6vw,76px);padding-top:clamp(26px,4vw,45px)}
.ahs-home .h-featured-course h2{font-size:clamp(29px,3.6vw,44px);line-height:1.5;letter-spacing:-.02em}
.ahs-home .h-featured-course__intro{font-size:15px;line-height:2;color:#d4d9e6}
.ahs-home .h-featured-course__points{gap:9px;margin-top:19px}
.ahs-home .h-featured-course__points li{font-size:14px;color:#f2f3f8}
.ahs-home .h-featured-course .x-btn--primary{border:0;box-shadow:0 8px 24px rgba(242,200,109,.14)}
.ahs-home .h-featured-course__visual{position:relative;z-index:1}
.ahs-home .h-featured-course__image,.ahs-home .h-store-illustration{border-radius:16px}
.ahs-home .h-featured-course__caption{font-size:12px;color:#d4d9e6}
.ahs-home .h-featured-course__caption b{color:#f3cf79}
.ahs-home .h-sec{padding:var(--home-space) 0}
.ahs-home .h-sec--tint{background:var(--home-wash)}
.ahs-home .h-sec h2,.ahs-home .h-contact h2{font-size:clamp(27px,3vw,38px);line-height:1.5;letter-spacing:-.02em}
.ahs-home .home-label{color:var(--home-blue);font-size:12px;letter-spacing:.04em}
.ahs-home .h-head2{margin-bottom:clamp(26px,4vw,40px)}
.ahs-home .h-head2>p:not(.home-label){font-size:14px;line-height:1.9}
.ahs-home .h-course-grid{gap:15px}
.ahs-home .h-course-card{grid-template-columns:minmax(115px, .62fr) 1.38fr;border-radius:var(--home-radius);border-color:var(--home-line);box-shadow:0 8px 24px rgba(16,19,34,.025);transition:transform .22s,border-color .22s,box-shadow .22s}
.ahs-home .h-course-card:hover{transform:translateY(-3px);border-color:#c0c7ec;box-shadow:0 16px 32px rgba(16,19,34,.08)}
.ahs-home .h-course-card__media,.ahs-home .h-course-card__media img{min-height:100%;height:100%}
.ahs-home .h-course-card__media{background:linear-gradient(145deg,#edf0fb,#dce2f5)}
.ahs-home .h-course-card__body{padding:20px 19px}
.ahs-home .h-course-card h3{font-size:17px;line-height:1.6}
.ahs-home .h-course-card__body>p:not(.h-course-card__category){font-size:12.5px;line-height:1.85}
.ahs-home .h-courses__foot{margin-top:22px;padding-top:17px;border-color:var(--home-line)}
.ahs-home .h-learning-method__grid{gap:clamp(32px,6vw,82px)}
.ahs-home .h-learning-method__grid>div>p:last-child{font-size:15px;line-height:2}
.ahs-home .h-learning-steps{border-color:#dce0e9}
.ahs-home .h-learning-steps li{gap:15px;padding:16px 0;border-color:#dce0e9}
.ahs-home .h-learning-steps li>span{width:40px;height:40px;border-color:#c7cee8;background:#fff;color:var(--home-blue)}
.ahs-home .h-learning-steps b{font-size:15px}
.ahs-home .h-learning-steps small{font-size:12px;line-height:1.8}
.ahs-home .h-case-link{border-radius:16px;border-color:var(--home-line);background:#fff;box-shadow:0 18px 40px rgba(16,19,34,.04);transition:transform .22s,box-shadow .22s}
.ahs-home .h-case-link:hover{transform:translateY(-2px);box-shadow:0 22px 42px rgba(16,19,34,.09)}
.ahs-home .h-case-link__mark{border-radius:12px;background:linear-gradient(145deg,#faf7ef,#f3eddd);border-color:#e7dfcd;color:#262239}
.ahs-home .h-services-teaser{position:relative;overflow:hidden;background:var(--home-ink)}
.ahs-home .h-services-teaser:before{content:"";position:absolute;width:480px;height:480px;border-radius:50%;border:1px solid rgba(255,255,255,.08);inset-inline-start:-245px;bottom:-280px;pointer-events:none}
.ahs-home .h-services-teaser__grid{position:relative;gap:clamp(35px,6vw,75px)}
.ahs-home .h-services-teaser .home-label{color:var(--home-gold)}
.ahs-home .h-services-teaser h2{font-size:clamp(28px,3.4vw,42px)}
.ahs-home .h-services-teaser li{border-color:rgba(255,255,255,.15)}
.ahs-home .h-services-teaser .x-btn{border-radius:9px}
.ahs-home .h-mock .h-hero__visual-window{border-radius:13px;box-shadow:0 24px 70px -38px rgba(0,0,0,.7)}
.ahs-home .h-writing .h-posts{gap:18px}
.ahs-home .h-posts li{min-width:0}
.ahs-home .h-posts a{display:block;height:100%;padding-bottom:15px;border-bottom:1px solid var(--home-line);text-decoration:none}
.ahs-home .h-posts img,.ahs-home .h-posts__ph{border-radius:10px;aspect-ratio:16/10;transition:transform .25s,filter .25s}
.ahs-home .h-posts a:hover img{transform:translateY(-2px);filter:saturate(1.08)}
.ahs-home .h-posts strong{display:block;font-size:16px;line-height:1.75}
.ahs-home .h-about{grid-template-columns:150px minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,4vw,50px)}
.ahs-home .h-about img{width:150px;height:150px;border:5px solid #fff;box-shadow:0 0 0 1px var(--home-line),0 12px 30px #10132212}
.ahs-home .h-about h2{font-size:clamp(25px,3vw,34px)}
.ahs-home .h-about p:not(.home-label){font-size:14px;line-height:2}
.ahs-home .h-about__path li{font-size:14px}
.ahs-home .h-contact{position:relative;overflow:hidden;background:var(--home-blue);padding:var(--home-space) 0}
.ahs-home .h-contact:before{content:"";position:absolute;width:480px;height:480px;border:1px solid rgba(255,255,255,.13);border-radius:50%;inset-inline-end:-260px;top:-210px;pointer-events:none}
.ahs-home .h-contact__row{position:relative;gap:clamp(30px,6vw,76px)}
.ahs-home .h-contact h2{font-size:clamp(28px,3.4vw,42px)}
.ahs-home .h-contact p{font-size:15px;line-height:2}
.ahs-home .h-contact__shop{border-radius:14px;border-color:rgba(255,255,255,.26);background:rgba(12,20,45,.2);padding:26px}
.ahs-home .h-contact .x-btn{border-radius:9px}
.ahs-home .h-seo-content__body{font-size:16px;line-height:2}
.ahs-home :where(.x-btn,.h-path-card,.h-course-card,.h-case-link){-webkit-tap-highlight-color:transparent}
@media(max-width:1000px){
	.ahs-home .h-hero__grid{grid-template-columns:minmax(0,1fr) minmax(280px,.82fr);gap:30px}
	.ahs-home .h-hero__copy>h1{font-size:clamp(32px,4.2vw,42px)}
	.ahs-home .h-hero__photo{max-width:360px}
	.ahs-home .h-paths__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.ahs-home .h-path-card{min-height:132px}
	.ahs-home .h-course-grid{grid-template-columns:1fr 1fr}
	.ahs-home .h-course-card{grid-template-columns:105px minmax(0,1fr)}
	.ahs-home .h-course-card__body{padding:17px 15px}
}
@media(max-width:700px){
	.ahs-home{--home-space:58px}
	.ahs-home .h-hero{padding:35px 0 44px}
	.ahs-home .h-hero__grid{grid-template-columns:1fr;gap:22px}
	.ahs-home .h-hero__copy{grid-row:1}
	.ahs-home .h-hero__photo{grid-row:2;width:min(78%,330px);max-width:330px;aspect-ratio:.98/1}
	.ahs-home .h-hero__copy>h1{font-size:clamp(30px,7vw,39px);line-height:1.5;max-width:23ch}
	.ahs-home .h-hero__intro{font-size:14px;line-height:1.9}
	.ahs-home .h-hero__actions{gap:14px;margin-top:19px}
	.ahs-home .h-hero__actions .x-btn{min-height:48px;font-size:14px;padding-inline:18px}
	.ahs-home .h-hero__signals{font-size:11px;margin-top:17px}
	.ahs-home .h-paths{padding:44px 0}
	.ahs-home .h-paths__heading{display:block;margin-bottom:17px}
	.ahs-home .h-paths__heading h2{font-size:24px}
	.ahs-home .h-paths__heading>p{margin-top:7px;font-size:13px}
	.ahs-home .h-paths__grid{gap:9px}
	.ahs-home .h-path-card{min-height:129px;padding:14px;border-radius:11px}
	.ahs-home .h-path-card>b{font-size:15px;margin-top:8px}
	.ahs-home .h-path-card>small{font-size:11px;line-height:1.75}
	.ahs-home .h-featured-course__grid{gap:26px}
	.ahs-home .h-featured-course__label{font-size:10px}
	.ahs-home .h-featured-course h2{font-size:29px}
	.ahs-home .h-featured-course__intro{font-size:14px}
	.ahs-home .h-featured-course__points li{font-size:13px}
	.ahs-home .h-featured-course__caption{font-size:10px}
	.ahs-home .h-head2{display:block}
	.ahs-home .h-head2>p:not(.home-label){margin-top:9px;font-size:13px}
	.ahs-home .h-sec h2,.ahs-home .h-contact h2{font-size:25px}
	.ahs-home .h-course-grid{grid-template-columns:1fr}
	.ahs-home .h-course-card{grid-template-columns:108px minmax(0,1fr)}
	.ahs-home .h-course-card__media,.ahs-home .h-course-card__media img{min-height:175px}
	.ahs-home .h-course-card__body{padding:15px}
	.ahs-home .h-course-card__body>p:not(.h-course-card__category){font-size:12px}
	.ahs-home .h-courses__foot{align-items:flex-start;flex-direction:column}
	.ahs-home .h-learning-method__grid,.ahs-home .h-services-teaser__grid,.ahs-home .h-contact__row{grid-template-columns:1fr;gap:25px}
	.ahs-home .h-case-link{padding:21px;gap:17px}
	.ahs-home .h-case-link__mark{min-height:130px}
	.ahs-home .h-posts{grid-template-columns:1fr 1fr;gap:14px}
	.ahs-home .h-posts strong{font-size:14px}
	.ahs-home .h-about{grid-template-columns:1fr;gap:17px}
	.ahs-home .h-about img{width:120px;height:120px}
	.ahs-home .h-about__path{grid-column:auto}
	.ahs-home .h-contact__shop{padding:20px}
}
@media(max-width:420px){
	.ahs-home .h-hero__photo{width:min(82%,290px)}
	.ahs-home .h-hero__actions{align-items:flex-start;flex-direction:column}
	.ahs-home .h-paths__grid{grid-template-columns:1fr 1fr}
	.ahs-home .h-course-card{grid-template-columns:1fr}
	.ahs-home .h-course-card__media,.ahs-home .h-course-card__media img{min-height:140px;max-height:160px}
	.ahs-home .h-posts{grid-template-columns:1fr}
	.ahs-home .h-posts li{max-width:none}
}
@media(prefers-reduced-motion:reduce){
	.ahs-home *, .ahs-home *:before,.ahs-home *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
