/* RTS — главная. Размеры сняты с Тильды (артборд 1200, контент 800 px от x=200), шрифт Circe. */

@font-face { font-family: "RTS Hand"; src: url(../fonts/karmina-bold.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

.home-page { --violet: #792aff; --card: #212121; --dim2: #cfcfcf; }
.hm-wrap { width: 100%; max-width: calc(800px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); position: relative; }
.hm-sec { position: relative; padding-top: 120px; }
.hm-sec--tight { padding-top: 70px; }
.hm-h2, .home-page .h2, .home-page .cta__title { font: 600 42px/1 var(--body); text-transform: none; letter-spacing: 0; max-width: 640px; }
.hm-h2--wide { max-width: 640px; }
.hm-lead { margin-top: 26px; max-width: 560px; font-size: 24px; line-height: 1.2; color: #c9c9c9; }
.hm-lead--narrow { max-width: 495px; }
.hm-kicker { font: 600 42px/1 var(--body); text-align: center; margin-bottom: 60px; }
.hm-panel { background: var(--card); border-radius: 12px; }
.mark { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
.mark--lime { text-decoration-color: var(--lime); }
.home-page .underline { text-decoration-thickness: 4px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
.hm-btn { height: 70px; min-width: 292px; font-size: 22px; font-weight: 600; border-radius: 12px; }

/* Первый экран */
.hm-hero { padding-top: 90px; }
.hm-hero__card { position: relative; min-height: 403px; padding: 57px 0 0 53px; background: var(--card); border-radius: 12px; }
.hm-hero__title { position: relative; z-index: 1; font: 600 42px/1.07 var(--body); }
.hm-hero__mark { display: inline-block; background: var(--violet); padding: 0 8px; margin-left: -8px; }
.hm-hero__text { position: relative; z-index: 1; }
.hm-hero__lead { margin-top: 16px; max-width: 385px; font-size: 18px; line-height: 1.12; }
.hm-hero__bullets { display: grid; grid-template-columns: 212px 1fr; grid-auto-flow: column; grid-template-rows: repeat(3, auto); width: 420px; margin-top: 10px; font-size: 18px; line-height: 1.1; }
.hm-hero__bullets li { position: relative; padding-left: 19px; }
.hm-hero__bullets li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px;
  background: url(/wp-content/uploads/2026/11/Star_1.png) center / contain no-repeat; }
.hm-hero__actions { display: flex; align-items: center; gap: 27px; margin: 30px 0 31px; }
.hm-hero__note { font-size: 18px; padding-bottom: 6px; background: linear-gradient(var(--violet), var(--violet)) 0 100% / 100% 4px no-repeat; }
.hm-hero__art { position: absolute; right: 0; top: 0; width: 230px; height: 100%; }
.hm-hero__a { position: absolute; right: -52px; top: 90px; width: 276px; max-width: none; }
.hm-hero__b { position: absolute; right: 24px; top: 272px; width: 148px; max-width: none; }
.hm-stats__intro { margin: 20px 0 0 53px; font-size: 19px; }
.hm-stats { display: flex; gap: 0; margin: 14px 0 0 53px; }
.hm-stats__item { display: flex; flex-direction: column; margin-right: 26px; }
.hm-stats__item:nth-child(3) { margin-right: 26px; }
.hm-stats__value { font: 600 40px/1 var(--body); white-space: nowrap; }
.hm-stats__label { margin-top: 5px; font-size: 23px; line-height: 1; color: rgba(255,255,255,.5); }
.hm-stats__label--top { margin: 0; max-width: 120px; font-size: 26px; color: #fff; }
.hm-stars { margin-top: 6px; color: var(--lime); font-size: 15px; letter-spacing: 1px; white-space: nowrap; }

/* Когда к нам приходят */
.hm-when { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; row-gap: 40px; margin-top: 30px; }
.hm-when__item { position: relative; padding-bottom: 30px; }
.hm-when__item:nth-child(even) { margin-top: 13px; }
.hm-when__bubble { position: relative; min-height: 210px; padding: 21px 60px 46px 29px; background: var(--bubble) center / 100% 100% no-repeat; }
.hm-when__title { font: 600 23px/1 var(--body); max-width: 250px; }
.hm-when__title.is-violet { color: #a48cf5; }
.hm-when__quote { margin-top: 14px; max-width: 262px; font-size: 16px; line-height: 1.1; color: var(--dim2); }
.hm-when__item:nth-child(even) .hm-when__quote { color: #a48cf5; }
.hm-when__avatar { position: absolute; right: 0; bottom: 0; width: 56px; height: 56px; border-radius: 50%; }

/* Мы — школа */
.hm-about { position: relative; margin: 70px auto 0; width: 684px; min-height: 641px; padding: 40px 60px 50px; }
.hm-about__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hm-about__deco { position: absolute; right: -52px; top: 132px; width: 136px; }
.hm-about__body { position: relative; }
.hm-about__body .hm-h2 { max-width: 496px; }
.hm-about__text { margin-top: 18px; max-width: 520px; font-size: 22px; line-height: 1.1; color: var(--dim2); }
.hm-about__row { display: grid; grid-template-columns: 1fr 193px; gap: 30px; margin-top: 26px; }
.hm-skills--flow { height: auto; display: flex; flex-wrap: wrap; gap: 10px 6px; }
.hm-skills--flow .hm-skills__i { position: static; width: auto !important; }
.hm-skills--flow .hm-skills__i:nth-child(odd) { transform: rotate(-4deg); } .hm-skills--flow .hm-skills__i:nth-child(even) { transform: rotate(3deg); }
.hm-about__row--solo, .hm-community__top--solo { grid-template-columns: 1fr; }
.hm-about__note { max-width: 288px; font-size: 16px; line-height: 1.12; color: var(--dim2); }
.hm-skills { position: relative; height: 150px; margin-top: 30px; max-width: 380px; }
.hm-skills__i { position: absolute; background: var(--lime); color: #000; font-size: 17px; line-height: 1; padding: 6px 9px; border-radius: 4px; box-shadow: 0 0 0 2px var(--bg); }
.hm-skills__i--1 { left: 0; top: 0; transform: rotate(-3deg); }
.hm-skills__i--2 { left: 20px; top: 34px; transform: rotate(-9deg); }
.hm-skills__i--3 { left: 140px; top: 36px; width: 128px; transform: rotate(-12deg); }
.hm-skills__i--4 { left: 300px; top: 40px; transform: rotate(-3deg); }
.hm-skills__i--5 { left: 200px; top: 94px; width: 140px; transform: rotate(-8deg); }
.hm-skills__i--6 { left: 30px; top: 74px; width: 128px; transform: rotate(28deg); }

/* Видео-кружок */
.vcircle { position: relative; width: 193px; margin: 0; }
.vcircle__btn { position: relative; display: block; width: 193px; height: 193px; padding: 0; border-radius: 50%; overflow: hidden; background: #333; }
.vcircle__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcircle__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -22px; transition: opacity .2s; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.vcircle.is-playing .vcircle__play { opacity: 0; }
.vcircle__sign { position: absolute; top: 70px; display: flex; flex-direction: column; transform: rotate(-30deg); font: 400 28px/1 "RTS Hand", var(--display); text-transform: uppercase; white-space: nowrap; }
.vcircle__role { font: 400 14px/1.2 var(--body); text-transform: none; }
.vcircle--right .vcircle__sign { left: 205px; }
.vcircle--left .vcircle__sign { right: 210px; }
.vcircle__arrow { position: absolute; width: 50px; top: 60px; }
.vcircle--right .vcircle__arrow { left: -14px; transform: rotate(150deg); }
.vcircle--left .vcircle__arrow { right: -30px; transform: rotate(30deg) scaleY(-1); }

/* Курсы по возрасту */
.hm-tabs { display: flex; gap: 10px; margin-top: 60px; }
.hm-tab { height: 48px; padding: 0 12px; font: 400 27px/1 var(--body); border: 2px solid transparent; border-radius: 12px; }
.hm-tab[aria-selected=true] { border-color: var(--lime); }
.hm-tab:hover { color: var(--lime); }
.hm-cards[hidden] { display: none !important; }
.hm-cards { display: grid; grid-template-columns: repeat(3, 224px); justify-content: space-between; row-gap: 140px; margin-top: 29px; padding-bottom: 120px; }
.hm-card { position: relative; display: block; height: 297px; padding: 53px 20px 0 22px; background: var(--card); border-radius: 8px; text-decoration: none; color: #fff; }
a.hm-card:hover .hm-card__name { text-decoration: underline; text-underline-offset: 3px; }
.hm-card__hole { position: absolute; left: 68px; top: 23px; width: 87px; height: 15px; border-radius: 99px; background: var(--bg); }
.hm-card__age { display: block; font: 600 10px/1 var(--body); }
.hm-card__name { display: block; margin-top: 10px; color: var(--lime); font: 600 21px/1 var(--body); }
.hm-card__text { display: block; margin-top: 14px; font-size: 14px; line-height: 1.07; }
.hm-card__art { position: absolute; left: -30px; right: -30px; top: 215px; display: flex; justify-content: center; pointer-events: none; }
.hm-card__art img { width: 284px; max-width: none; }
.hm-card__label { position: absolute; background: #000; color: #fff; font-size: 14px; line-height: 1; padding: 4px 6px; transform: rotate(-8deg); }
.hm-card__label--1 { left: 34px; bottom: 30px; } .hm-card__label--2 { right: 26px; bottom: 44px; transform: rotate(6deg); }

/* Консультация */
.hm-consult { position: relative; min-height: 511px; padding: 46px 48px 50px; background: var(--card); border-radius: 12px; overflow: hidden; }
.hm-consult__body { position: relative; z-index: 1; }
.hm-consult .hm-h2 { max-width: 560px; }
.hm-consult .lead-form { margin-top: 27px; }
.hm-consult__img { position: absolute; right: -24px; top: 138px; width: 434px; }
.hm-consult__planet { position: absolute; right: 56px; top: 41px; width: 114px; }

/* Результаты */
.hm-results__head { position: relative; }
.hm-results__head .hm-h2 { max-width: 560px; line-height: 1.1; }
.hm-results__squiggle { position: absolute; right: 0; top: 120px; width: 163px; }
.hm-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 45px; }
.hm-res { display: flex; flex-direction: column; min-height: 506px; padding: 30px 20px 26px; background: #fff; color: #000; border-radius: 9px; font-size: 17px; line-height: 1.1; }
.hm-res__title { font: 800 22px/1 var(--body); margin-bottom: 10px; }
.hm-res p { margin-top: 10px; }
.hm-res__after { margin-top: 16px !important; }
.hm-res__list { margin-top: 2px; padding-left: 18px; list-style: disc; }
.hm-res__outcome { margin-top: 16px !important; }
.hm-res__author { display: flex; align-items: center; gap: 10px; margin-top: auto !important; padding-top: 18px; font-size: 14px; line-height: 1.07; }
.hm-res__author img { width: 40px; height: 40px; border-radius: 50%; }

/* Педагоги */
.hm-teachers { display: grid; grid-template-columns: 344px 344px; justify-content: space-between; row-gap: 60px; margin-top: 50px; }
.hm-teacher { position: relative; display: flex; flex-direction: column; padding: 20px 8px 8px 16px; background: var(--card); border-radius: 12px; }
.hm-teacher__head { display: grid; grid-template-columns: 121px 1fr; gap: 23px; padding-right: 12px; }
.hm-teacher__photo { width: 121px; }
.hm-teacher__name { font: 400 26px/1 var(--display); text-transform: uppercase; }
.hm-teacher__text { margin-top: 8px; font-size: 15px; line-height: 1.12; color: #fff; }
.hm-teacher__works { margin: 4px -30px 0 -40px; width: calc(100% + 70px); max-width: none; }
.hm-teacher__review { margin: auto 0 0; padding: 16px 16px 14px; background: #fff; color: #000; border-radius: 12px; font-size: 15px; line-height: 1.12; }
.hm-teacher__review footer { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; }
.hm-teacher__review footer img { width: 36px; height: 36px; border-radius: 50%; }
.hm-teacher__review small { display: block; font-size: 8px; }
.hm-teachers__video { display: flex; justify-content: center; margin-top: 30px; padding-left: 80px; }

/* Мемы */
.hm-memes { padding: 30px 48px 70px; }
.hm-memes__art { position: relative; }
.hm-memes__art img { width: 669px; }
.hm-memes__a, .hm-memes__b { position: absolute; font-size: 20px; line-height: 1; text-align: center; width: 174px; }
.hm-memes__a { left: 261px; top: 121px; } .hm-memes__b { left: 278px; top: 297px; }
.hm-memes .hm-h2 { margin-top: 80px; max-width: 382px; line-height: 1.1; }
.hm-memes .hm-lead { max-width: 506px; }

/* Рокет-коины */
.hm-coins { position: relative; margin: 10px 0 0 9px; }
.hm-coins__img { width: 742px; }
.hm-coins__video { position: absolute; left: 213px; top: 123px; }

/* Прогресс */
.hm-progress { position: relative; min-height: 450px; padding: 46px 48px; display: grid; grid-template-columns: 391px 1fr; }
.hm-progress .hm-h2 { max-width: 475px; }
.hm-progress .hm-lead { margin-top: 32px; }
.hm-progress__art { position: relative; }
.hm-progress__img { position: absolute; left: -110px; top: -71px; width: 670px; max-width: none; }
.hm-progress__deco { position: absolute; left: 10px; top: -71px; width: 374px; max-width: none; }

/* Пробный урок */
.hm-trial { display: grid; grid-template-columns: 298px 1fr; gap: 30px; margin-top: 41px; }
.hm-trial__form { padding: 32px 40px 30px 48px; background: var(--violet); border-radius: 10px; }
.hm-trial__form > p { font-size: 19px; line-height: 1.1; }
.hm-trial__form .lead-form { width: 100%; margin-top: 30px; }
.hm-trial__form .lead-form input[type=text], .hm-trial__form .lead-form input[type=tel], .hm-trial__form .lead-form input[type=email] { background: #f3eeff; }
.hm-trial__list { display: flex; flex-direction: column; gap: 22px; }
.hm-trial__list li { display: grid; grid-template-columns: 224px 1fr; gap: 34px; align-items: start; }
.hm-trial__icon { display: block; }
.hm-trial__icon img { width: 224px; }
.hm-trial__list p { font-size: 19px; line-height: 1.1; padding-top: 28px; }

/* Экосистема */
.hm-eco { overflow: hidden; }
.hm-eco__glow { position: absolute; left: 50%; top: 90px; width: 2758px; max-width: none; transform: translateX(-50%); pointer-events: none; }
.hm-eco__head { position: relative; padding: 66px 129px 68px 68px; }
.hm-eco__head .hm-h2 { max-width: 603px; line-height: 1.1; }
.hm-eco__deco { position: absolute; right: -49px; top: 73px; width: 151px; }
.hm-chat { display: grid; grid-template-columns: 1fr 1fr; width: 564px; margin: 80px auto 0; }
.hm-chat__col { padding: 0 24px; }
.hm-chat__col:first-child { border-right: 2px solid #3a3a3a; }
.hm-chat__h { font-size: 23px; margin-bottom: 30px; }
.hm-msg { display: flex; flex-direction: column; align-items: flex-end; margin-bottom: 18px; }
.hm-msg span { align-self: flex-start; background: var(--lime); color: #000; font: 600 16px/1 var(--body); padding: 13px 18px; border-radius: 20px 20px 20px 4px; }
.hm-msg--short span { align-self: flex-end; border-radius: 20px 20px 4px 20px; }
.hm-msg--answer span { background: var(--violet); color: #fff; max-width: 190px; line-height: 1.1; }
.hm-msg--answer { align-items: flex-start; }
.hm-msg time { margin-top: 6px; font-size: 16px; color: #aaa; }
.hm-eco__support { width: 564px; margin: 30px auto 0; }
.hm-eco__support h3 { font: 600 34px/1 var(--body); }
.hm-eco__support p { margin-top: 14px; max-width: 331px; font-size: 27px; line-height: 1.1; }
.hm-eco__cards { display: grid; grid-template-columns: 330px 1fr; gap: 68px; width: 680px; margin: 80px auto 0; }
.hm-eco__cards li { padding: 34px 34px 30px; border-radius: 38px; }
.hm-eco__cards li.is-violet { background: var(--violet); }
.hm-eco__cards h3 { font: 600 34px/1 var(--body); max-width: 251px; }
.hm-eco__cards p { margin-top: 16px; font-size: 27px; line-height: 1.1; max-width: 267px; }

/* Кейсы-истории */
.hm-cases { display: grid; grid-template-columns: 356px 356px; justify-content: space-between; }
.hm-slider { position: relative; overflow: hidden; border-radius: 12px; touch-action: pan-y; }
.hm-slider__track { display: flex; transition: transform .35s ease; }
.hm-slider__slide { flex: 0 0 100%; }
.hm-slider__slide img { width: 100%; user-select: none; -webkit-user-drag: none; }
.hm-slider__next { position: absolute; right: 6px; top: 40%; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; color: #fff; }
.hm-slider__next:hover { color: var(--lime); }
.hm-slider__dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 4px; }
.hm-slider__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: #c6c6c6; }
.hm-slider__dots button[aria-current] { background: var(--lime); }

/* Сообщество */
.hm-community { position: relative; padding: 48px 48px 0; }
.hm-community__top { display: grid; grid-template-columns: 1fr 193px; gap: 30px; }
.hm-community .hm-h2 { max-width: 478px; line-height: 1.1; }
.hm-community__video { margin: -33px -25px 0 0; }
.hm-community__video .vcircle__sign { top: -62px; right: 120px; }
.hm-community__video .vcircle__arrow { top: 66px; right: -50px; }
.hm-community .hm-lead { max-width: 560px; margin-top: 34px; }
.hm-community__img { position: relative; width: 604px; margin: 35px auto -80px; }

/* Конкурс */
.hm-sec:has(.hm-contest__img) { padding-top: 200px; }
.hm-contest__img { width: 747px; margin-top: 36px; }
.hm-contest { display: flex; justify-content: space-between; width: 700px; margin: 43px 0 0 46px; }
.hm-contest li { display: flex; align-items: center; gap: 13px; font-size: 20px; line-height: 1; }
.hm-contest img { width: 58px; }
.hm-contest span { max-width: 142px; }

/* Вопрос-ответ */
.hm-faq__title { background: var(--violet); border-radius: 24px 24px 0 0; padding: 14px; text-align: center; font: 600 30px/1 var(--body); }
.hm-faq__item { border: 3px solid #fff; border-top-width: 0; }
.hm-faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 31px 90px 31px 63px; font-size: 22px; line-height: 1.1; }
.hm-faq__item summary::-webkit-details-marker { display: none; }
.hm-faq__item summary::after { content: ""; position: absolute; right: 44px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.hm-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hm-faq__item summary:hover { color: var(--lime); }
.hm-faq__item p { padding: 0 90px 30px 63px; font-size: 18px; line-height: 1.1; color: var(--dim2); }

/* Общие блоки на главной: ширина как у остальных секций главной */
.home-page .section .wrap { max-width: calc(800px + 2 * var(--gut)); }
.home-page .section { padding-top: 120px; }

/* Планшет */
@media (max-width: 980px) {
  .hm-wrap { max-width: 720px; }
  .hm-hero__card { grid-template-columns: 1fr; padding: 40px 30px 30px; }
  .hm-hero__art { display: none; }
  .hm-skills { height: auto; display: flex; flex-wrap: wrap; gap: 8px; } .hm-skills__i { position: static; width: auto !important; transform: none !important; }
  .hm-stats { flex-wrap: wrap; row-gap: 20px; margin-left: 0; } .hm-stats__intro { margin-left: 0; }
  .hm-cards { grid-template-columns: repeat(2, 224px); justify-content: space-around; }
  .hm-about { width: 100%; padding: 40px 40px 50px; }
  .hm-teachers, .hm-cases { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hm-progress { grid-template-columns: 1fr; } .hm-progress__art { min-height: 380px; } .hm-progress__img { left: 0; top: 0; width: 100%; } .hm-progress__deco { display: none; }
  .hm-coins__img { width: 100%; } .hm-coins__video { left: 30%; top: 15%; }
  .hm-contest { width: 100%; margin-left: 0; } .hm-contest__img { width: 100%; }
  .hm-memes__art img { width: 100%; } .hm-memes__a, .hm-memes__b { display: none; }
  .hm-chat, .hm-eco__support, .hm-eco__cards { width: 100%; }
}

/* Телефон */
@media (max-width: 760px) {
  .hm-sec, .home-page .section { padding-top: 70px; }
  .hm-h2, .home-page .h2, .home-page .cta__title, .hm-kicker { font-size: 24px; line-height: 1.05; }
  .hm-lead { margin-top: 14px; font-size: 16px; }
  .hm-btn { min-width: 0; width: 100%; height: 56px; font-size: 18px; }
  .hm-hero { padding-top: 96px; }
  .hm-hero__card { padding: 24px 16px 20px; min-height: 0; overflow: hidden; }
  .hm-hero__title { font-size: 26px; }
  .hm-hero__lead { font-size: 15px; }
  .hm-hero__bullets { grid-template-columns: 1fr 1fr; width: auto; font-size: 14px; gap: 2px 8px; }
  .hm-hero__bullets li::before { top: 2px; width: 10px; height: 10px; }
  .hm-hero__actions { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 0; }
  .hm-hero__note { align-self: center; font-size: 15px; }
  .hm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .hm-stats__item { margin: 0; }
  .hm-stats__value { font-size: 28px; } .hm-stats__label { font-size: 16px; } .hm-stats__label--top { font-size: 18px; }
  .hm-when { grid-template-columns: 1fr; row-gap: 16px; }
  .hm-when__item:nth-child(even) { margin-top: 0; }
  .hm-when__bubble { min-height: 0; padding: 20px 40px 40px 22px; }
  .hm-when__title { font-size: 19px; } .hm-when__quote { font-size: 14px; }
  .hm-about { margin-top: 40px; padding: 36px 24px 40px; min-height: 0; }
  .hm-about__frame { object-fit: fill; } .hm-about__deco { display: none; }
  .hm-about__text { font-size: 16px; }
  .hm-about__row { grid-template-columns: 1fr; justify-items: start; }
  .hm-about .vcircle { margin: 10px 0 30px; }
  .vcircle, .vcircle__btn { width: 150px; } .vcircle__btn { height: 150px; }
  .vcircle__sign { position: static; transform: rotate(-4deg); margin-top: 12px; font-size: 22px; white-space: normal; } .vcircle__arrow { display: none; }
  .vcircle--left .vcircle__arrow { right: auto; left: -14px; transform: rotate(150deg); }
  .hm-tabs { margin-top: 30px; } .hm-tab { font-size: 20px; height: 40px; }
  .hm-cards { grid-template-columns: 1fr; justify-content: stretch; row-gap: 20px; padding-bottom: 0; }
  .hm-card { height: auto; min-height: 0; padding: 46px 18px 0; overflow: hidden; }
  .hm-card__art { position: static; margin: 12px -18px 0; }
  .hm-card__art img { width: 100%; max-width: 320px; }
  .hm-card__label { font-size: 12px; }
  .hm-consult { padding: 25px 16px 30px; min-height: 0; }
  .hm-consult__img, .hm-consult__planet { display: none; }
  .hm-consult .lead-form { width: 100%; }
  .hm-results { grid-template-columns: 1fr; } .hm-results__squiggle { display: none; }
  .hm-res { min-height: 0; font-size: 15px; } .hm-res__title { font-size: 19px; }
  .hm-teachers, .hm-cases { grid-template-columns: 1fr; }
  .hm-teacher__works { margin: 6px -8px 0 -16px; width: calc(100% + 24px); }
  .hm-teachers__video { justify-content: flex-start; padding-left: 0; }
  .hm-memes { padding: 20px 16px 30px; } .hm-memes .hm-h2 { margin-top: 30px; }
  .hm-coins { margin: 20px 0 0; } .hm-coins__video { position: static; margin-top: 20px; }
  .hm-progress { padding: 25px 16px 0; } .hm-progress__art { min-height: 300px; }
  .hm-trial { grid-template-columns: 1fr; }
  .hm-trial__form { padding: 24px 16px; }
  .hm-trial__list li { grid-template-columns: 110px 1fr; gap: 14px; }
  .hm-trial__icon img { width: 110px; } .hm-trial__list p { font-size: 15px; padding-top: 6px; }
  .hm-eco__head { padding: 30px 16px; } .hm-eco__deco { display: none; }
  .hm-chat { margin-top: 40px; } .hm-chat__col { padding: 0 10px; }
  .hm-chat__h { font-size: 16px; margin-bottom: 16px; }
  .hm-msg span { font-size: 12px; padding: 9px 12px; }
  .hm-msg time { font-size: 12px; }
  .hm-eco__support h3, .hm-eco__cards h3 { font-size: 24px; }
  .hm-eco__support p, .hm-eco__cards p { font-size: 18px; }
  .hm-eco__cards { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
  .hm-eco__cards li { padding: 24px; border-radius: 28px; }
  .hm-kicker { margin-bottom: 24px; }
  .hm-community { padding: 25px 16px 0; overflow: hidden; }
  .hm-community__top { grid-template-columns: 1fr; } .hm-community__video { margin: 10px 0 0; }
  .hm-community__img { width: 100%; margin: 25px 0 0; }
  .hm-sec:has(.hm-contest__img) { padding-top: 70px; }
  .hm-contest { flex-direction: column; gap: 14px; margin-top: 24px; }
  .hm-contest li { font-size: 16px; }
  .hm-faq__title { font-size: 22px; border-radius: 16px 16px 0 0; }
  .hm-faq__item { border-width: 0 2px 2px; }
  .hm-faq__item summary { padding: 20px 46px 20px 16px; font-size: 16px; }
  .hm-faq__item summary::after { right: 20px; }
  .hm-faq__item p { padding: 0 16px 20px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hm-slider__track { transition: none; } }
