/* academy-landing.css: дизайн посадочных страниц (префикс .ah-) */
.ah{--ink:#140609;--ink2:#2a1a1e;--red:#DD183B;--red-d:#B80F2F;--blush:#FFEDE6;--cream:#FFF8F5;--muted:#6f6266;--line:rgba(20,6,9,.1);--r:24px;
 font-family:'Rubik',system-ui,sans-serif;color:var(--ink);line-height:1.55;font-size:17px;-webkit-font-smoothing:antialiased}
.ah *,.ah *::before,.ah *::after{box-sizing:border-box}
.ah img{max-width:100%;height:auto;display:block}
.ah a{color:inherit;text-decoration:none}
.ah h1,.ah h2,.ah h3,.ah p,.ah ul,.ah ol,.ah figure,.ah q{margin:0;padding:0}
.ah h1,.ah h2,.ah h3{color:inherit;font-family:inherit;text-transform:none}
.ah a,.ah a:hover,.ah a:focus{text-decoration:none!important;box-shadow:none}
.ah details p a,.ah .ah-faq details p a{text-decoration:underline!important}
.ah ul,.ah ol{list-style:none}
.ah .ah-wrap{max-width:1200px;margin:0 auto;padding:0 28px}
.ah .ah-sec{padding:104px 0}
.ah .ah-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
.ah .ah-eyebrow::before{content:"";width:22px;height:2px;background:var(--red);border-radius:2px}
.ah .ah-h2{font-size:clamp(30px,4vw,46px);line-height:1.12;font-weight:600;letter-spacing:-.02em;margin-top:14px}
.ah .ah-lead{color:var(--muted);font-size:18px;max-width:620px;margin-top:16px}
.ah .ah-head{margin-bottom:56px}
.ah .ah-head--row{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
/* кнопки */
.ah .ah-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 30px;border-radius:999px;font-weight:600;font-size:16px;border:1.5px solid transparent;cursor:pointer;transition:transform .15s,box-shadow .2s,background .2s,color .2s,border-color .2s}
.ah .ah-btn--red{background:var(--red);color:#fff!important;box-shadow:0 10px 30px -8px rgba(221,24,59,.6)}
.ah .ah-btn--red:hover{background:var(--red-d);transform:translateY(-2px);box-shadow:0 16px 36px -8px rgba(221,24,59,.7)}
.ah .ah-btn--ghost{border-color:rgba(255,255,255,.28);color:#fff!important}
.ah .ah-btn--ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}
.ah .ah-btn--line{border-color:var(--ink);color:var(--ink)!important}
.ah .ah-btn--line:hover{background:var(--ink);color:#fff!important}
.ah .ah-btn svg{width:18px;height:18px}
/* hero */
.ah .ah-hero{position:relative;background:var(--ink);color:#fff;overflow:hidden;padding:120px 0 150px}
.ah .ah-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(900px 520px at 85% 10%,rgba(221,24,59,.38),transparent 60%),radial-gradient(700px 500px at 0% 100%,rgba(221,24,59,.18),transparent 60%)}
.ah .ah-hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:64px 64px;-webkit-mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 70%);mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 70%)}
.ah .ah-hero .ah-wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center}
.ah .ah-chip{display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font-size:14px;color:#f0e3e6;margin-bottom:28px}
.ah .ah-chip i{width:22px;height:22px;border-radius:50%;background:var(--red);display:grid;place-items:center}
.ah .ah-chip svg{width:12px;height:12px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ah .ah-hero h1{font-size:clamp(40px,6vw,72px);line-height:1.04;font-weight:600;letter-spacing:-.03em}
.ah .ah-hero h1 em{font-style:normal;background:linear-gradient(90deg,#ff5d78,#DD183B);-webkit-background-clip:text;background-clip:text;color:transparent}
.ah .ah-hero p.ah-sub{font-size:20px;color:#d9c9cd;max-width:560px;margin-top:26px}
.ah .ah-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:40px}
/* карточка-документ в hero */
.ah .ah-doc{position:relative;background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.18);border-radius:28px;padding:32px;box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.ah .ah-doc small{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#ff8da1;font-weight:600}
.ah .ah-doc b{display:block;font-size:22px;font-weight:600;margin:10px 0 22px;line-height:1.25}
.ah .ah-doc ul li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid rgba(255,255,255,.12);color:#e9dde0;font-size:15.5px}
.ah .ah-doc ul li svg{flex:0 0 20px;width:20px;height:20px;margin-top:2px;stroke:#ff5d78;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* статистика */
.ah .ah-stats{position:relative;z-index:2;margin-top:-72px}
.ah .ah-stats .ah-wrap{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:var(--r);box-shadow:0 30px 70px -30px rgba(20,6,9,.35);padding:34px 8px;max-width:1144px}
.ah .ah-stat{padding:4px 28px;border-left:1px solid var(--line)}
.ah .ah-stat:first-child{border-left:0}
.ah .ah-stat b{display:block;font-size:40px;line-height:1.1;font-weight:600;letter-spacing:-.02em}
.ah .ah-stat span{color:var(--muted);font-size:15px}
/* курсы */
.ah .ah-courses{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ah .ah-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:34px;transition:transform .25s,box-shadow .25s,border-color .25s}
.ah .ah-card:hover{transform:translateY(-6px);box-shadow:0 30px 60px -28px rgba(20,6,9,.3);border-color:transparent}
.ah .ah-ico{width:56px;height:56px;border-radius:16px;background:var(--blush);display:grid;place-items:center;margin-bottom:26px}
.ah .ah-ico svg{width:28px;height:28px;stroke:var(--red);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ah .ah-tag{align-self:flex-start;font-size:12.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--red);background:var(--blush);padding:5px 12px;border-radius:999px;margin-bottom:16px}
.ah .ah-card h3{font-size:23px;line-height:1.25;font-weight:600;letter-spacing:-.01em}
.ah .ah-card p{color:var(--muted);font-size:16px;margin-top:12px;flex:1}
.ah .ah-meta{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.ah .ah-meta li{font-size:14px;padding:6px 12px;border-radius:10px;background:var(--cream);border:1px solid var(--line)}
.ah .ah-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:22px;border-top:1px solid var(--line)}
.ah .ah-price small{display:block;font-size:12.5px;color:var(--muted)}
.ah .ah-price b{font-size:26px;font-weight:600;letter-spacing:-.01em}
.ah .ah-price s{color:var(--muted);font-size:15px;margin-left:6px;font-weight:400}
.ah .ah-arrow{width:48px;height:48px;border-radius:50%;background:var(--ink);display:grid;place-items:center;transition:background .2s,transform .2s}
.ah .ah-card:hover .ah-arrow{background:var(--red);transform:translateX(4px)}
.ah .ah-arrow svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ah .ah-card>a.ah-cover{position:absolute;inset:0;border-radius:var(--r);z-index:1}
/* почему мы */
.ah .ah-why{background:var(--cream)}
.ah .ah-bento{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
.ah .ah-b{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:34px}
.ah .ah-b h3{font-size:21px;font-weight:600;margin:20px 0 10px;letter-spacing:-.01em}
.ah .ah-b p{color:var(--muted);font-size:16px}
.ah .ah-b .ah-ico{margin-bottom:0}
.ah .ah-b--a{grid-column:span 3}.ah .ah-b--c{grid-column:span 2}
.ah .ah-b--dark{background:var(--ink);color:#fff;border-color:var(--ink);position:relative;overflow:hidden}
.ah .ah-b--dark::before{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(221,24,59,.55),transparent 70%)}
.ah .ah-b--dark p{color:#cdbcc0}.ah .ah-b--dark .ah-ico{background:rgba(255,255,255,.1)}.ah .ah-b--dark .ah-ico svg{stroke:#ff6d85}
.ah .ah-b>*{position:relative}
/* документ */
.ah .ah-docs{background:var(--ink);color:#fff;position:relative;overflow:hidden}
.ah .ah-docs::before{content:"";position:absolute;left:-200px;bottom:-250px;width:700px;height:700px;border-radius:50%;background:radial-gradient(circle,rgba(221,24,59,.28),transparent 65%)}
.ah .ah-docs .ah-wrap{position:relative;display:grid;grid-template-columns:.8fr 1.35fr;gap:56px;align-items:center}
.ah .ah-frame a{display:block;cursor:zoom-in}
.ah .ah-docs .ah-h2{color:#fff}.ah .ah-docs .ah-lead{color:#cdbcc0}
.ah .ah-steps{margin-top:36px;display:grid;gap:0}
.ah .ah-steps li{display:flex;gap:18px;padding:18px 0;border-top:1px solid rgba(255,255,255,.12);color:#cdbcc0;font-size:16px}
.ah .ah-steps li span{flex:0 0 36px;height:36px;border-radius:50%;background:rgba(221,24,59,.2);color:#ff7d93;display:grid;place-items:center;font-weight:600;font-size:15px}
.ah .ah-steps li b{display:block;color:#fff;font-weight:600;margin-bottom:2px;font-size:17px}
.ah .ah-frame{position:relative;padding:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:26px;transform:rotate(2deg);box-shadow:0 50px 90px -30px rgba(0,0,0,.7)}
.ah .ah-frame img{border-radius:14px;background:#fff;width:100%}
.ah .ah-frame figcaption{position:absolute;left:-22px;bottom:30px;background:var(--red);color:#fff;padding:12px 20px;border-radius:14px;font-weight:600;font-size:14px;box-shadow:0 14px 30px -10px rgba(221,24,59,.7);transform:rotate(-2deg)}
/* для кого */
.ah .ah-aud{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ah .ah-aud .ah-card:hover{transform:translateY(-4px)}
.ah .ah-aud .ah-card p{flex:0 0 auto;margin-bottom:24px}
.ah .ah-link{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--red);margin-top:auto}
.ah .ah-link svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.ah .ah-card:hover .ah-link svg{transform:translateX(4px)}
/* отзывы */
.ah .ah-rev{background:var(--blush)}
.ah .ah-revs{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.ah .ah-rv{background:#fff;border-radius:var(--r);padding:34px;display:flex;flex-direction:column;gap:22px;box-shadow:0 20px 50px -30px rgba(20,6,9,.25)}
.ah .ah-rv q{quotes:none;font-size:17.5px;line-height:1.6;color:var(--ink2)}
.ah .ah-rv q::before{content:"“";display:block;font-size:64px;line-height:.6;color:var(--red);font-weight:600;margin-bottom:10px}
.ah .ah-who{display:flex;align-items:center;gap:14px;margin-top:auto}
.ah .ah-who img{width:56px;height:56px;border-radius:50%;object-fit:cover;background:var(--blush)}
.ah .ah-who b{display:block;font-weight:600}.ah .ah-who span{font-size:14.5px;color:var(--muted)}
/* faq */
.ah .ah-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:72px;align-items:start}
.ah .ah-faq details{border-bottom:1px solid var(--line)}
.ah .ah-faq details:first-child{border-top:1px solid var(--line)}
.ah .ah-faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0;font-size:19px;font-weight:500;cursor:pointer;list-style:none}
.ah .ah-faq summary::-webkit-details-marker{display:none}
.ah .ah-faq summary::after{content:"";flex:0 0 36px;height:36px;border-radius:50%;background:var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DD183B' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/18px no-repeat;transition:transform .25s}
.ah .ah-faq details[open] summary::after{transform:rotate(45deg)}
.ah .ah-faq details p{padding:0 56px 26px 0;color:var(--muted);font-size:16.5px}
.ah .ah-faq details p a{color:var(--red);text-decoration:underline}
/* финальный призыв */
.ah .ah-final{padding:0 0 104px}
.ah .ah-fin{position:relative;overflow:hidden;background:var(--ink);color:#fff;border-radius:36px;padding:72px;display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap}
.ah .ah-fin::before{content:"";position:absolute;right:-120px;top:-160px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(221,24,59,.6),transparent 65%)}
.ah .ah-fin>*{position:relative}
.ah .ah-fin h2{font-size:clamp(28px,3.6vw,44px);line-height:1.12;font-weight:600;letter-spacing:-.02em;max-width:640px}
.ah .ah-fin p{color:#cdbcc0;margin-top:14px;max-width:520px}
/* адаптив */
@media (max-width:1000px){
 .ah .ah-sec{padding:72px 0}.ah .ah-hero{padding:80px 0 120px}
 .ah .ah-hero .ah-wrap,.ah .ah-docs .ah-wrap,.ah .ah-faq{grid-template-columns:1fr;gap:44px}
 .ah .ah-courses,.ah .ah-aud{grid-template-columns:1fr}
 .ah .ah-stats .ah-wrap{grid-template-columns:1fr 1fr;row-gap:24px}.ah .ah-stat:nth-child(3){border-left:0}
 .ah .ah-bento{grid-template-columns:1fr}.ah .ah-b--a,.ah .ah-b--c{grid-column:auto}
 .ah .ah-revs{grid-template-columns:1fr}
 .ah .ah-fin{padding:44px 30px;border-radius:28px}
 .ah .ah-frame{transform:none}.ah .ah-frame figcaption{left:12px}
}
@media (max-width:560px){
 .ah{font-size:16px}.ah .ah-wrap{padding:0 20px}
 .ah .ah-stat{padding:4px 16px}.ah .ah-stat b{font-size:32px}
 .ah .ah-card,.ah .ah-b,.ah .ah-rv{padding:26px}
 .ah .ah-btn{width:100%}.ah .ah-cta{flex-direction:column}
 .ah .ah-faq details p{padding-right:0}
}
@media (prefers-reduced-motion:reduce){.ah *{transition:none!important}}

/* ===== страницы курсов ===== */
.ah .ah-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.ah .ah-pills li{padding:8px 16px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:#f0e3e6;font-size:15px}
.ah.ah-course .ah-hero h1{font-size:clamp(30px,3.1vw,42px);line-height:1.12;max-width:none}
.ah .ah-buy{position:relative;background:#fff;color:var(--ink);border-radius:28px;padding:36px;box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.ah .ah-buy small{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--muted)}
.ah .ah-badge{position:absolute;top:-16px;right:28px;background:var(--red);color:#fff;font-weight:600;font-size:16px;padding:8px 16px;border-radius:999px;box-shadow:0 10px 24px -8px rgba(221,24,59,.7)}
.ah .ah-badge:empty,.ah s:empty{display:none}
.ah .ah-buy__price{display:flex;align-items:baseline;gap:14px;margin:10px 0 24px;flex-wrap:wrap}
.ah .ah-buy__price b{font-size:48px;line-height:1;font-weight:600;letter-spacing:-.03em}
.ah .ah-buy__price s{font-size:22px;color:var(--muted)}
.ah .ah-buy ul{margin-bottom:28px}
.ah .ah-buy li{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:15.5px;color:var(--ink2)}
.ah .ah-buy li svg{flex:0 0 20px;width:20px;height:20px;margin-top:2px;stroke:var(--red);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ah .ah-buy .ah-btn{width:100%}
.ah .ah-buy__alt{display:block;text-align:center;margin-top:16px;font-size:15px;color:var(--muted);text-decoration:underline!important}
.ah .ah-bento--out .ah-b--c{grid-column:span 2}
.ah .ah-bento--out{grid-template-columns:repeat(6,1fr)}
.ah .ah-prog{align-items:start}
.ah .ah-prog details summary{font-size:18px;gap:16px;justify-content:flex-start}
.ah .ah-prog details summary::after{margin-left:auto}
.ah .ah-num{flex:0 0 34px;height:34px;border-radius:10px;background:var(--blush);color:var(--red);display:grid;place-items:center;font-weight:600;font-size:15px}
.ah .ah-prog details ul{padding:0 0 26px 50px;display:grid;gap:10px}
.ah .ah-prog details li{position:relative;padding-left:20px;color:var(--muted);font-size:16.5px}
.ah .ah-prog details li::before{content:"";position:absolute;left:0;top:.7em;width:7px;height:7px;border-radius:50%;background:var(--red)}
.ah .ah-note{margin-top:20px;font-size:15px;color:var(--muted);padding:16px 18px;border-radius:14px;background:var(--cream);border:1px solid var(--line)}
.ah .ah-note a{color:var(--red);text-decoration:underline!important}
.ah .ah-doc--solo{align-self:center}
.ah .ah-trial{padding:80px 0 104px}
.ah .ah-trialbox{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;background:var(--blush);border-radius:32px;padding:56px}
.ah .ah-trialbox .ah-lead{margin-top:12px}
.ah .ah-authors{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.ah .ah-author{display:flex;gap:28px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px}
.ah .ah-author img{width:128px;height:160px;object-fit:cover;border-radius:18px;flex:0 0 128px}
.ah .ah-author h3{font-size:22px;font-weight:600;margin-bottom:8px}
.ah .ah-author p{color:var(--muted);font-size:16px}
.ah .ah-fin s{opacity:.6;margin-left:8px}
@media (max-width:1000px){
 .ah .ah-bento--out{grid-template-columns:1fr}.ah .ah-bento--out .ah-b--c{grid-column:auto}
 .ah .ah-authors{grid-template-columns:1fr}
 .ah .ah-trialbox{padding:36px 28px}
 .ah .ah-buy{padding:28px}
}
@media (max-width:560px){
 .ah .ah-author{flex-direction:column;align-items:flex-start}
 .ah .ah-prog details ul{padding-left:0}
}
.ah .ah-hero--sub{padding:96px 0 110px}
.ah .ah-hero--sub .ah-wrap{grid-template-columns:1fr}
.ah .ah-hero--sub + .ah-sec{padding-top:80px}
/* мобильная вёрстка: колонки сетки не шире экрана */
.ah .ah-hero .ah-wrap>*,.ah .ah-docs .ah-wrap>*,.ah .ah-faq>*,.ah .ah-courses>*,.ah .ah-aud>*,.ah .ah-bento>*,.ah .ah-revs>*,.ah .ah-authors>*{min-width:0}
.ah .ah-chip{max-width:100%;line-height:1.35}
@media (max-width:560px){
 .ah.ah-course .ah-hero h1{font-size:clamp(22px,6.4vw,27px);letter-spacing:-.025em}
 .ah .ah-hero h1{overflow-wrap:break-word}
 .ah .ah-buy__price b{font-size:40px}
}

/* заголовки: слова не переносятся посреди слова */
.ah h1,.ah h2,.ah h3{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;-webkit-hyphens:none!important}
.ah .ah-hero h1{text-wrap:balance}
@media (max-width:560px){.ah .ah-hero h1{font-size:clamp(30px,9vw,40px)}}
/* SEO: блок «О курсе» на страницах курсов (build_courses.js, seo-courses.json) */
.ah .ah-prose p{color:var(--muted);font-size:17px;line-height:1.7;margin:0 0 18px}
.ah .ah-prose p:last-child{margin-bottom:0}
.ah .ah-prose p:first-child{color:var(--ink);font-size:19px;line-height:1.6;margin-bottom:22px}
@media (max-width:560px){.ah .ah-prose p{font-size:16px}.ah .ah-prose p:first-child{font-size:17.5px}}

/* 26.11.2026: длинные H2 в узких колонках (рядом с картинкой, О курсе, Программа, Вопросы) */
.ah .ah-docs .ah-h2,.ah .ah-faq .ah-h2{font-size:clamp(26px,2.7vw,36px);line-height:1.15;overflow-wrap:break-word;hyphens:auto}
