@font-face{font-family:Inter;src:url('../fonts/inter-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg-base:#333;--bg-surface:#404040;--bg-surface-subtle:#3a3a3a;--accent-lime:#d4ff46;--accent-orange:#ff6b42;--text-primary:#fafafa;--text-secondary:#d0d0d0;--text-muted:#a8a8a8;--text-on-accent:#1f1f1f;--text-on-orange:#fff;--ease:cubic-bezier(.22,1,.36,1)}
:root{--layout-max-width:1440px;--layout-content-width:1280px;--layout-gutter:80px}
@media(min-width:768px) and (max-width:1279px){:root{--layout-gutter:40px}}
@media(max-width:767px){:root{--layout-gutter:16px}}
*,*::before,*::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}
html{scroll-behavior:auto;scroll-padding-top:0;background:#333}
body{margin:0;font-family:Inter,Arial,sans-serif;color:#fafafa;background:#333;font-size:16px;line-height:normal;overflow-x:clip;-webkit-font-smoothing:antialiased}
body:not(.blog-body)>main{overflow-x:clip;overflow-y:visible}
p,h1,h2,h3,figure{margin:0}button,a,input{font:inherit}button{background:transparent;color:inherit;padding:0;text-align:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #d4ff46;outline-offset:5px}[hidden]{display:none!important}
.desktop-layout{max-width:var(--layout-max-width);margin:0 auto}.mobile-layout{display:none}.desktop-layout>[data-section]{width:100%;height:auto}
.desktop-layout>.ihs{--ihs-g:var(--layout-gutter)}
.desktop-layout>[data-section=tariffs]>[data-part=Тарифы]{padding-inline:var(--layout-gutter)}
[data-section]{scroll-margin-top:112px;isolation:isolate}
/* Keep the Figma glow positions, but let their light extend past the content container. */
.desktop-layout>[data-section=strategies],.desktop-layout>[data-section=analytics],.desktop-layout>[data-section=tariffs]{background-image:none}
.desktop-layout>[data-section=strategies]{--section-glow:radial-gradient(ellipse min(600px,41.6667vw) 31.25% at calc(50% - min(480px,33.3333vw)) 62.5%,rgba(255,107,66,.18),rgba(255,107,66,0) 100%)}
.desktop-layout>[data-section=analytics]{--section-glow:radial-gradient(ellipse min(600px,41.6667vw) 35.7143% at calc(50% - min(600px,41.6667vw)) 50%,rgba(255,107,66,.16),rgba(255,107,66,0) 100%)}
.desktop-layout>[data-section=tariffs]{--section-glow:radial-gradient(ellipse min(514.29px,35.7143vw) 22.7273% at calc(50% - min(822.86px,57.1429vw)) 27.2727%,rgba(255,107,66,.3),rgba(255,107,66,0) 100%)}
.desktop-layout>:is([data-section=strategies],[data-section=analytics],[data-section=tariffs])::before{content:'';position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background-image:var(--section-glow);pointer-events:none;z-index:-1}
.desktop-layout>[data-section=hero]{min-height:865px;overflow:clip}
.desktop-layout>[data-section=hero]{background-image:radial-gradient(ellipse 655px 270px at calc(50% - 262px) 378px,rgba(255,107,66,.42),rgba(255,107,66,0))!important}
.desktop-layout>[data-part=Шапка]{position:fixed;left:50%;transform:translateX(-50%);top:0;max-width:1440px;width:100%;z-index:40;padding-bottom:16px;pointer-events:none}
.desktop-layout>[data-part=Шапка]>nav{pointer-events:auto;backdrop-filter:blur(20px)}
.desktop-layout>[data-section=hero]>[data-part=Hero]{margin-top:88px;padding-bottom:0}
.desktop-layout>[data-section=tariffs]>[data-part=Шапка]{display:none}
[data-widget]{width:100%;max-width:100%}
.desktop-layout [data-widget=tariffs]{height:auto}
[data-widget=chart]{width:100%;height:auto;min-width:0}
[data-widget=chart] [data-part='Область графика']{overflow:visible;cursor:crosshair}
[data-component=BfButton],button[data-action=checkout],[data-part=Кнопка][data-action=checkout]{transition:background-color .2s ease-out,filter .2s ease-out,box-shadow .2s ease-out;touch-action:manipulation}
@media(hover:hover) and (pointer:fine){[data-component=BfButton]:hover,button[data-action=checkout]:hover,[data-part=Кнопка][data-action=checkout]:hover{filter:brightness(1.06);box-shadow:0 8px 28px #ff6b4218}}
[data-component=BfButton]:active,button[data-action=checkout]:active{filter:brightness(.94);transition-duration:.12s}
[data-action=service],[data-action=team],[data-action=smartphone],[data-action=strategies],[data-action=market],[data-action=term],[data-action=period],[data-action=faq]{text-align:left;transition:background .35s var(--ease),border-color .35s var(--ease),opacity .35s var(--ease)}
[data-action=service]:hover,[data-action=smartphone]:not([aria-pressed=true]):hover,[data-action=faq]:hover{background:#454545}
[data-action=team]:hover{opacity:1!important}
[data-action=term]:hover{border-color:#d4ff46}
[data-action=market],[data-action=period]{text-align:center}
[data-part^='Пункт ·']:hover [data-part=Underline]{opacity:1}
[data-action=faq]{width:100%;background:none;color:inherit}
[data-faq-answer]{font-size:16px;line-height:1.5;color:#d0d0d0;width:100%}
[data-faq] [data-action=faq] [data-part=Plus]{transition:transform .35s var(--ease)}
[data-faq] [aria-expanded=true] [data-part=Plus]{transform:rotate(45deg)}
[data-marquee]{pointer-events:none}
[data-marquee]>p{display:flex;width:max-content;animation:marquee var(--marquee-duration,180s) linear infinite;will-change:transform}
[data-marquee]>p>span{display:block;flex:none;white-space:pre}
[data-ribbon-wrap]{position:absolute!important;left:50%!important;top:auto!important;bottom:80px;width:calc(100% + 200px)!important;height:48px!important;display:block!important;transform:translateX(-50%)!important;translate:none!important;pointer-events:none;z-index:0}
[data-ribbon-wrap]>div{width:100%;transform:rotate(-2deg)!important}
[data-ribbon-wrap=dark]{bottom:48px;height:44px!important}
[data-ribbon-wrap=dark]>div{transform:rotate(1.2deg)!important}
[data-ribbon-wrap] [data-marquee]{width:100%}
[data-ribbon-stage]{height:160px;margin-top:72px}
[data-ribbon-stage] [data-ribbon-wrap]{top:48px!important;bottom:auto}
[data-ribbon-stage] [data-ribbon-wrap=dark]{top:78px!important}
[data-section=hero]>[data-part=Hero]{z-index:1}
[data-marquee][data-part*='темная']>p{animation-direction:reverse}
@keyframes marquee{to{transform:translateX(-50%)}}
@keyframes fade-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.is-changing{animation:fade-in .65s var(--ease)}
[data-motion-pending]{opacity:0;transform:translate3d(0,24px,0)}
.dialog-open{overflow:hidden}
[data-action=video]{text-align:left}
[data-action=video] [data-part*='Play'],[data-action=video] [data-part*='play']{transition:transform .35s var(--ease)}
[data-action=video]:hover [data-part*='Play'],[data-action=video]:hover [data-part*='play']{transform:scale(1.28)}
[data-action=video] img{transition:filter .35s var(--ease)}
[data-action=video]:hover img{filter:brightness(.85)}
[data-timer-cell]{font-variant-numeric:tabular-nums}
[data-widget=tariffs],[data-section=hero]{font-variant-numeric:tabular-nums}
.desktop-layout [data-widget=service]>[data-part='Левая колонка']{gap:40px}
.mobile-layout [data-section=service]>[data-component=BfButton]{margin-top:8px}
[data-section=knowledge] [data-part='3D']{width:min(300px,100%);height:auto;aspect-ratio:1}

/* Optional course descriptions share a row on desktop and span the mobile card. */
:root{--course-description-size:16px;--course-card-gap:20px;--course-mobile-gap:16px}
[data-section=knowledge] [data-course-card]>.course-description{margin:0;min-width:0;width:100%;font-size:var(--course-description-size);line-height:1.5;color:#d0d0d0;overflow-wrap:anywhere;text-wrap:pretty}
.desktop-layout [data-section=knowledge] [data-part=Курсы]{align-items:stretch}
.desktop-layout [data-course-card]{gap:var(--course-card-gap)}
.desktop-layout [data-course-card]>[data-part=Шапка]{flex-wrap:wrap;gap:8px}
@media(min-width:768px) and (max-width:1023px){
  .desktop-layout [data-section=knowledge] [data-part=Курсы]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  :root{--course-description-size:14px}
  .mobile-layout [data-course-card]{display:grid;grid-template-columns:88px minmax(0,1fr);gap:var(--course-mobile-gap);align-items:center}
  .mobile-layout [data-course-card]>.course-description{grid-column:1/-1}
}
.skip-link{position:fixed;top:-80px;left:16px;background:#d4ff46;color:#1f1f1f;padding:14px 24px;border-radius:10px;z-index:200}.skip-link:focus{top:12px}
[data-menu]{position:fixed;inset:0;z-index:100;height:100dvh;overflow-y:auto;width:100%;padding-top:12px}
.menu-open{overflow:hidden}
dialog{color:#fafafa;background:#404040;border:1px solid #ffffff30;border-radius:24px;padding:40px;max-width:480px;width:calc(100% - 32px);box-shadow:0 24px 100px #0009}
dialog::backdrop{background:#0009;backdrop-filter:blur(6px)}dialog h2{font-size:26px;margin-bottom:16px}dialog p{color:#d0d0d0;line-height:1.6;margin-bottom:24px}.dialog-close{position:absolute;right:18px;top:10px;font-size:32px}.dialog-contact{display:flex;justify-content:center;background:#d4ff46;color:#1f1f1f;padding:18px;border-radius:14px;font-weight:600}
#report-dialog{max-width:680px}#report-content p{margin:0;line-height:inherit;color:inherit}#report-content{overflow-x:auto}#report-content [data-part='Отчет (мок)']{min-width:480px}
#dialog-message{white-space:pre-line}
#integration-dialog [data-developer-dismiss]{width:100%}
#chart-tooltip{position:fixed;z-index:150;pointer-events:none;padding:12px 16px;background:#252525;border:1px solid #d4ff4666;color:#fafafa;border-radius:12px;white-space:pre-line;font-size:13px;line-height:1.5;box-shadow:0 12px 32px #0005}
.api-chart{width:100%;height:100%;overflow:visible}.api-chart polyline{fill:none;stroke:#d4ff46;stroke-width:2.5;vector-effect:non-scaling-stroke}.api-chart .benchmark{stroke:#aaa;stroke-width:1.5;opacity:.55}
.mobile-layout>[data-section]{height:auto;width:100%;padding-left:16px;padding-right:16px}
.mobile-layout>.ihs[data-section]{padding-inline:0}
.mobile-layout>[data-section=hero]{min-height:1049px;padding:28px 16px 136px;overflow:clip}
.mobile-layout [data-ribbon-wrap]{bottom:32px;height:40px!important;z-index:0}
.mobile-layout [data-section=hero]>:not([data-ribbon-wrap]){z-index:1}
.mobile-layout>[data-section=hero]>[data-part^='BF лента']{position:absolute}
.mobile-layout>[data-section=hero]>:not([data-part^='BF лента']){width:100%}
.mobile-layout>[data-part=Шапка]{position:sticky;top:0;z-index:40;height:80px;padding-bottom:12px;backdrop-filter:blur(16px)}
.mobile-layout>[data-sticky-strip]{position:fixed;bottom:0;left:0;z-index:50;height:auto;min-height:56px;width:100%;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.mobile-layout [data-part$='вьюпорт']{width:calc(100% + 16px);overflow-x:auto;overflow-y:clip;scroll-snap-type:x mandatory;scrollbar-width:none}
.mobile-layout [data-part$='свайп']{overflow:visible;width:max-content;gap:12px}
.mobile-layout [data-part$='свайп']> *{scroll-snap-align:start}
.mobile-layout [data-part$='вьюпорт']::-webkit-scrollbar{display:none}
.mobile-layout [data-widget]{width:100%;height:auto}
.mobile-layout [data-widget=service]{min-height:0}
.mobile-layout [data-widget=strategies],.mobile-layout [data-widget=team],.mobile-layout [data-widget=smartphone]{min-height:0}
.mobile-layout [data-widget=team]>[data-part=Фото]{width:100%;height:auto;aspect-ratio:358/412}
.mobile-layout [data-widget=team]>[data-part=Фото]>[data-part=Снимок]{width:112%;height:auto;aspect-ratio:1}
.mobile-layout [data-action=team][aria-pressed=false] img{filter:grayscale(1)}
.mobile-layout [data-part='Отзывы · вьюпорт']{height:auto}
.mobile-layout [data-part='Отзывы · свайп']{position:relative;left:0;top:0;display:grid;grid-auto-flow:column;grid-auto-columns:300px;align-items:stretch}
.mobile-layout [data-part^='Отзыв ·']{height:auto;min-height:418px;width:300px}
.mobile-layout [data-part^='Отзыв ·'] [data-part=Автор]{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;row-gap:6px}
.mobile-layout [data-part^='Отзыв ·'] [data-part=Аватар]{grid-row:1/3}
.mobile-layout [data-part^='Отзыв ·'] [data-part=Имя]{white-space:normal;overflow:visible}
.mobile-layout [data-part^='Отзыв ·'] [data-part=Автор]>p{grid-column:2}
.mobile-layout [data-part=Пагинация]>[data-part=dot]{transition:width 260ms var(--ease),background-color 260ms ease-out}
.mobile-layout [data-part=Пагинация]>[data-part=dot][data-current=true]{width:20px;background:#d4ff46}
.mobile-layout [data-part=Пагинация]>[data-part=dot][data-current=false]{width:6px;background:rgba(250,250,250,.24)}
.mobile-layout [data-widget=chart]{padding:18px 16px;gap:16px}
.mobile-layout [data-widget=chart] [data-part='Переключатель периода']{width:100%;justify-content:space-between;gap:0;padding:3px}
.mobile-layout [data-widget=chart] [data-part^='Период ·']{padding:7px 8px;min-height:32px}
.mobile-layout [data-widget=chart] [data-part^='Период ·'] p{font-size:11px}
.mobile-layout [data-widget=chart] [data-part='Шапка графика']{gap:12px}
.mobile-layout [data-widget=chart] [data-part='Шапка графика']>[data-part=Период]{width:100%}
.mobile-layout [data-widget=chart] [data-part=Итоги]{gap:20px}
.mobile-layout [data-widget=chart] [data-part=Легенда] p{font-size:12px}
/* Keep footer columns independent so long links wrap within their own track. */
[data-section=footer]>[data-part=Колонки]{
 display:grid;align-items:start;gap:28px 32px;overflow:visible
}
[data-section=footer]>[data-part=Колонки]>*{min-width:0;width:auto;overflow:visible}
[data-section=footer] [data-part=Колонки] :is(p,span,a,button){
 max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left
}
[data-section=footer] [data-part=Бренд]>p{min-width:0;width:auto}
.desktop-layout>[data-section=footer]>[data-part=Колонки]{
 grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,.7fr) minmax(0,1.15fr) minmax(0,1.1fr)
}
.site-footer-logo{display:block;width:202px;max-width:100%}
.site-footer-logo img{display:block;width:100%;height:auto}
.mobile-layout>[data-section=footer]>[data-part=Колонки]{
 grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px
}
.mobile-layout .site-footer-logo{width:145px}
@media(min-width:960px) and (max-width:1199px){
 .desktop-layout>[data-section=footer]>[data-part=Колонки]{grid-template-columns:repeat(4,minmax(0,1fr))}
 .desktop-layout>[data-section=footer] [data-part=Бренд]{grid-column:1/-1}
}
@media(min-width:768px) and (max-width:959px){
 .desktop-layout>[data-section=footer]>[data-part=Колонки]{grid-template-columns:repeat(2,minmax(0,1fr))}
 .desktop-layout>[data-section=footer] [data-part=Бренд]{grid-column:1/-1}
}
.mobile-layout [data-section=footer]{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
.mobile-layout [data-faq-answer]{font-size:14px}
@media(min-width:1441px){
 body:not(.blog-body) .desktop-layout{max-width:none}
 .desktop-layout>[data-section]{border-radius:0;max-width:var(--layout-max-width);margin-left:auto;margin-right:auto}
 .desktop-layout>[data-section=footer]{max-width:none;padding-inline:max(var(--layout-gutter),calc((100% - var(--layout-content-width))/2))}
 .desktop-layout>[data-section=hero]{max-width:none;min-height:max(865px,100svh);background-position:center}
 .desktop-layout>[data-section=hero]>[data-part=Hero]{max-width:1440px;margin-left:auto;margin-right:auto;min-height:calc(max(865px,100svh) - 320px)}
}
@media(min-width:768px) and (max-width:1279px){
 .desktop-layout>[data-section]>[data-part=Заголовок]{max-width:100%;flex-wrap:wrap;row-gap:24px}
 .desktop-layout>[data-section]>[data-part=Заголовок]>*{max-width:100%}
 .desktop-layout>[data-section]>[data-part=Заголовок] p,.desktop-layout>[data-section] h2{white-space:normal;max-width:100%}
 .desktop-layout>[data-section=media] [data-action=video] p{white-space:normal;max-width:100%}
 .desktop-layout>[data-section]:not([data-section=hero]){padding:80px var(--layout-gutter)}
 .desktop-layout>[data-section]:is(.ihs,[data-section=tariffs]){padding-inline:0}
 .desktop-layout>[data-section=hero]>[data-part=Hero]{padding:80px 40px 0;gap:32px}
 .desktop-layout>[data-part=Шапка]{padding-left:24px;padding-right:24px}
 .desktop-layout>[data-section=hero] h1{width:100%;font-size:clamp(40px,4.45vw,64px)}
 .desktop-layout>[data-section=hero] [data-part='Заголовок + подзаголовок']{width:100%}
 .desktop-layout>[data-section=hero] [data-part='Заголовок + подзаголовок']>p{width:100%;font-size:18px}
 .desktop-layout>[data-section=hero] [data-component=BfTariffCard]{width:34%;padding:24px}
 .desktop-layout>[data-section=hero] [data-component=BfTariffCard] [data-part=Итог]{flex-wrap:wrap}
 .desktop-layout>[data-section=hero] [data-component=BfTariffCard] [data-part=Кнопка] p{font-size:14px}
 .desktop-layout>[data-section=hero] [data-part=Кнопки]{flex-wrap:wrap;gap:12px}
 .desktop-layout>[data-section=hero] [data-part='BF / Timer cell']{width:78px}
 .desktop-layout>[data-section=hero] [data-part='BF / Timer cell']>p:first-child{font-size:38px}
 .desktop-layout [data-widget=service],.desktop-layout [data-widget=team]{gap:32px;height:auto}
 .desktop-layout [data-widget=service]>:first-child,.desktop-layout [data-widget=team]>:first-child{width:42%}
 .desktop-layout [data-widget=service] [data-part='Скриншот портала']{height:auto;aspect-ratio:var(--preview-ratio,696/736)}
 .desktop-layout [data-widget=team] [data-part=Сетка]{gap:14px}
 .desktop-layout [data-widget=team] [data-part=Сетка]>button{width:calc((100% - 28px)/3);height:auto;aspect-ratio:1}
 .desktop-layout [data-widget=team] [data-part=Фото]{height:auto;aspect-ratio:520/600}
 .desktop-layout [data-widget=team] [data-part=Выбранный]>[data-part=Фото]>[data-part=Снимок]{width:112%;height:auto;aspect-ratio:1}
 .desktop-layout [data-widget=team] [data-part='О человеке'] p{white-space:normal}
 .desktop-layout [data-widget=strategies]{height:auto}
 .desktop-layout [data-widget=strategies]>[data-part=Карточка]{height:auto}
 .desktop-layout [data-widget=strategies] [data-part=Описание]{width:40%}
 .desktop-layout [data-widget=strategies] [data-part=Контент]{gap:24px}
 .desktop-layout [data-widget=chart]{padding:20px}
 .desktop-layout [data-widget=chart] [data-part='Шапка графика']{gap:12px}
 .desktop-layout [data-widget=smartphone]{height:auto;gap:24px;flex-wrap:wrap}
 .desktop-layout [data-widget=smartphone]>:first-child{width:calc(100% - 300px);gap:24px}
 .desktop-layout [data-widget=smartphone] [data-part=Скриншоты]{width:45%;height:auto;aspect-ratio:400/540}
 .desktop-layout [data-widget=smartphone] [data-part=Скриншоты]>*{width:100%;height:100%}
 .desktop-layout [data-widget=smartphone]>[data-part=Разделы]{width:276px}
 .desktop-layout [data-action=smartphone]>[data-part=Текст]{flex:1;min-width:0}
 .desktop-layout [data-action=smartphone] [data-part=Заголовок]{max-width:100%}
 .desktop-layout [data-action=smartphone] p{white-space:normal;max-width:100%}
 .desktop-layout [data-widget=tariffs] [data-part=Состав]{width:36%}
 .desktop-layout [data-widget=tariffs] [data-part='Тарифы и состав']{gap:24px}
 .desktop-layout [data-component=BfTariffRow]{flex-wrap:wrap;gap:14px}
 .desktop-layout [data-component=BfTariffRow] [data-part='Название и срок']{width:100%}
 .desktop-layout [data-section=inside]>[data-part=Экраны]{gap:20px}
 .desktop-layout [data-section=inside] [data-part=Телефон]{width:28%}
 .desktop-layout [data-section=inside] [data-part=Телефон]>*{width:100%}
 .desktop-layout [data-section=inside] [data-part=Карточка]{padding:16px}
 .desktop-layout [data-section=inside] [data-part=Карточка] p{white-space:normal}
 .desktop-layout [data-section=inside] [data-part=Карточка] [data-part=Строка]{gap:10px;flex-wrap:wrap}
 .desktop-layout [data-section=analytics] [data-part^='Ряд']{gap:24px}
 .desktop-layout [data-section=analytics] [data-part^='Ряд']>*{min-width:0;width:calc(50% - 12px)}
 .desktop-layout [data-section=faq]>[data-part=Контент]{gap:32px}
 .desktop-layout [data-section=footer]{padding:64px 40px}
}
@media(min-width:768px) and (max-width:1100px){
 .desktop-layout [data-widget=strategies] [data-part=CTA]{flex-wrap:wrap;gap:16px;max-width:100%}
}
@media(max-width:767px){
 .desktop-layout{display:none}.mobile-layout{display:block;padding-top:0}
 html{scroll-padding-top:0;scroll-padding-bottom:80px}[data-section]{scroll-margin-top:92px}
 .mobile-layout>[data-section]:not([data-section=hero]):not([data-section=footer]){padding-top:64px;padding-bottom:64px}
 .mobile-layout>[data-section]>*{max-width:100%}
 .mobile-layout>[data-section]>[data-part$='вьюпорт']{max-width:calc(100% + 16px)}
 .mobile-layout [data-section=hero] h1{font-size:36px;line-height:1.14}
 .mobile-layout [data-section=hero] [data-part=Ячейки]{width:100%;gap:8px}
 .mobile-layout [data-section=hero] [data-part='BF / Timer cell']{flex:1;width:0}
 .mobile-layout [data-section=hero] [data-part='BF / Timer cell'] p:first-child{font-size:40px}
 .mobile-layout [data-widget=team] [data-part='О человеке'] p{white-space:normal}
 .mobile-layout [data-part='Входит в любой тариф']{cursor:pointer}
 .mobile-layout [data-section=hero]>[data-part=Карточка]{padding-top:14px}
 .mobile-layout [data-section=hero] [data-component=BfTariffCard]{width:100%}
 .mobile-layout [data-widget=service]>[data-part='Скриншот портала']{width:100%;height:auto;aspect-ratio:358/379}
 .mobile-layout [data-widget=service]:is([data-current='1'],[data-current='3'],[data-current='4'],[data-current='5'],[data-current='6'])>[data-part='Скриншот портала']{aspect-ratio:358/402}
}
@media(min-width:768px) and (max-width:1023px){
 .desktop-layout>[data-part=Шапка] [data-part=Меню]{gap:24px}
 .desktop-layout>[data-part=Шапка] [data-part='Логотип и меню']{gap:24px}
 .desktop-layout>[data-part=Шапка] [data-part=Меню] p{font-size:14px}
 .desktop-layout>[data-part=Шапка] [data-part='IH Site / Logo']{width:170px}
 .desktop-layout>[data-section=hero]>[data-part=Hero]{flex-direction:column;align-items:flex-start;gap:48px}
 .desktop-layout>[data-section=hero] [data-part=Оффер]{width:100%}
 .desktop-layout>[data-section=hero] [data-component=BfTariffCard]{width:440px;max-width:100%}
 .desktop-layout>[data-section=hero] [data-part=Кнопки]{flex-wrap:nowrap}
 .desktop-layout [data-section=inside]>[data-part=Экраны]{flex-wrap:wrap}
 .desktop-layout [data-section=inside] [data-part=Телефон]{width:100%;order:3;align-items:center}
 .desktop-layout [data-section=inside] [data-part=Телефон]>*{width:330px}
 .desktop-layout [data-widget=strategies] [data-part=Контент]{flex-direction:column}
 .desktop-layout [data-widget=strategies] [data-part=Описание]{width:100%}
 .desktop-layout [data-widget=smartphone]{flex-direction:column}
 .desktop-layout [data-widget=smartphone]>:first-child{width:100%}
 .desktop-layout [data-widget=smartphone]>[data-part=Разделы]{width:100%}
 .desktop-layout [data-widget=tariffs] [data-part='Тарифы и состав']{flex-direction:column}
 .desktop-layout [data-widget=tariffs] [data-part=Состав]{width:100%}
 .desktop-layout [data-section=faq]>[data-part=Вопросы]{flex-direction:column;gap:32px}
 .desktop-layout [data-section=faq] [data-part=Слева]{width:100%}
}
@media(max-width:374px){
 .mobile-layout [data-section=hero] h1{font-size:32px}
 .mobile-layout [data-section=hero] [data-part=Итог]{flex-wrap:wrap}
 .mobile-layout [data-section=hero] [data-part='BF / Timer cell'] p:first-child{font-size:34px}
 .mobile-layout [data-section=hero] [data-action=checkout] p{font-size:16px;white-space:normal;text-align:center}
 .mobile-layout h2{white-space:normal!important}
 .mobile-layout [data-part=Метрики]{flex-wrap:wrap}
 .mobile-layout [data-part=Метрики]>*{min-width:85px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}[data-motion-pending]{opacity:1;transform:none}*,*::before,*::after{animation:none!important;transition-duration:1ms!important}}

@media(min-width:1181px) and (max-width:1439px){
 .desktop-layout>[data-part=Шапка] [data-part="Логотип и меню"]{gap:var(--space-32,32px)}
 .desktop-layout>[data-part=Шапка] [data-part=Меню]{gap:var(--space-24,24px)}
}

/* Match the selected portrait's framing in its thumbnail at every width. */
[data-action=team][data-value="8"] [data-part=Снимок]{top:5%!important;left:-6%!important;width:112%!important;height:auto!important;aspect-ratio:1}
.desktop-layout [data-widget=service]>[data-part=Превью]{flex:1;width:auto;min-width:0;align-items:center}
.desktop-layout [data-widget=service] [data-part="Скриншот портала"]{width:85%;height:auto;aspect-ratio:var(--preview-ratio,696/736)}
@media(min-width:768px) and (max-width:1279px){.desktop-layout [data-widget=service]>[data-part=Превью]{width:auto}}
.mobile-layout [data-widget=service]>[data-part="Скриншот портала"]{width:88%;height:auto;aspect-ratio:var(--preview-ratio,358/380);align-self:center}

/* A compact team showcase; portrait framing scales with the actual card. */
.desktop-layout [data-widget=team]{display:grid;grid-template-columns:40.625% minmax(0,1fr);column-gap:5%;width:100%;max-width:1024px;height:auto;align-self:flex-start}
.desktop-layout [data-widget=team]>[data-part=Выбранный]{width:100%;gap:22px;overflow:visible}
.desktop-layout [data-widget=team] [data-part=Фото]{width:100%;height:auto;aspect-ratio:520/600;border-radius:22px}
.desktop-layout [data-widget=team] [data-part=Выбранный]>[data-part=Фото]>[data-part=Снимок]{width:112%;height:auto;aspect-ratio:1;bottom:-5.8233%}
.desktop-layout [data-widget=team]>[data-part=Команда]{gap:16px;min-width:0}
.desktop-layout [data-widget=team] [data-part=Сетка]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19.2px}
.desktop-layout [data-widget=team] [data-part=Сетка]>[data-action=team]{width:100%;height:auto;aspect-ratio:1;border-radius:16px}
.desktop-layout [data-widget=team] [data-action=team][aria-pressed=true]{border-width:2.4px}
.desktop-layout [data-widget=team] [data-action=team]>[data-part=Снимок]{width:112%;height:auto;aspect-ratio:1;left:-6%;top:12%}
.desktop-layout [data-widget=team] [data-action=team][data-value="3"]>[data-part=Снимок]{top:5%}
.desktop-layout [data-widget=team] [data-action=team]:is([data-value="4"],[data-value="5"])>[data-part=Снимок]{top:10%}
.desktop-layout [data-widget=team] [data-action=team]>[data-part=Индикатор]{width:11px;height:11px;left:7px;top:7px}
.desktop-layout [data-widget=team] [data-part="О человеке"]{gap:12px}
.desktop-layout [data-widget=team] [data-part="О человеке"] p{white-space:normal}
.desktop-layout [data-widget=team] [data-part="О человеке"]>p:first-child{font-size:26px;line-height:1.2}
.desktop-layout [data-widget=team] [data-part="О человеке"]>p:nth-child(2){font-size:15px;line-height:1.45}
.desktop-layout [data-widget=team] [data-part=Факты]{gap:8px}
.desktop-layout [data-widget=team] [data-part=Факт]{gap:10px}
.desktop-layout [data-widget=team] [data-part=Факт]>p{font-size:14px;line-height:1.55}
.desktop-layout [data-widget=team]>[data-part=Команда]>p{font-size:13px;line-height:1.5;white-space:normal}
@media(min-width:768px) and (max-width:1279px){
 .desktop-layout [data-widget=team]{column-gap:32px;grid-template-columns:40.625% minmax(0,1fr)}
 .desktop-layout [data-widget=team] [data-part=Сетка]{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:402.4px}
}

[data-chart-area]{touch-action:pan-y}
.chart-guide{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.chart-guide line{stroke:#fafafa70;stroke-width:1;stroke-dasharray:4 5;vector-effect:non-scaling-stroke}
.chart-guide ellipse{stroke:#333;stroke-width:2;vector-effect:non-scaling-stroke;fill:#d4ff46}
.chart-guide .benchmark{fill:#c6c6c6}
.chart-zero{stroke:#fafafa30;stroke-width:1;vector-effect:non-scaling-stroke}
#chart-tooltip{width:294px;max-width:calc(100vw - 24px);padding:16px 18px;white-space:normal;line-height:1.45;border-color:#d4ff4659;border-radius:16px}
.chart-tooltip-date{font-size:12px;color:#a8a8a8;margin-bottom:10px}
.chart-tooltip-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:7px}
.chart-tooltip-row>span{min-width:0;display:flex;align-items:center;gap:8px}
.chart-tooltip-row>span::before{content:'';width:7px;height:7px;flex:none;border-radius:50%;background:#d4ff46}
.chart-tooltip-row.benchmark>span::before{background:#c6c6c6}
.chart-tooltip-row strong{font-variant-numeric:tabular-nums;white-space:nowrap;color:#d4ff46}
.chart-tooltip-row.benchmark strong{color:#fafafa}
#chart-tooltip small{display:block;margin-top:10px;font-size:11px;color:#a8a8a8}

[data-chart-area]:focus-visible{outline:1px solid #d4ff4680;outline-offset:8px;border-radius:8px}
/* Screenshot cards have clean rounded edges, without a clipped shadow rectangle. */
.desktop-layout [data-widget=service]>[data-part=Превью]{overflow:visible}
[data-widget=service] [data-part="Скриншот портала"]{box-shadow:none;overflow:hidden}

/* Five periods stay readable; the mobile control forms two balanced rows. */
[data-widget=chart] [data-part="Переключатель периода"]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:4px;padding:4px;overflow:visible}
[data-widget=chart] [data-action=period]{min-width:0;padding:8px 10px;justify-content:center;text-align:center;background:transparent;border-radius:12px}
[data-widget=chart] [data-action=period] p{white-space:normal;font-weight:500;font-size:13px;color:#c6c6c6;line-height:1.3}
[data-widget=chart] [data-action=period][aria-pressed=true]{background:#fafafa}
[data-widget=chart] [data-action=period][aria-pressed=true] p{color:#242424;font-weight:600}
[data-widget=chart] [data-part="Шапка графика"]{flex-wrap:wrap;gap:20px}
[data-widget=chart] [data-part=Итоги]{flex-wrap:wrap;row-gap:16px}
[data-chart-status]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:20px;text-align:center;color:#b8b8b8;font-size:13px;line-height:1.5}
[data-chart-status] button{text-decoration:underline;text-underline-offset:4px;color:#d4ff46}
/* Give strategy metrics a full row before the two-column desktop layout fits. */
@media(min-width:768px) and (max-width:1279px){
 .desktop-layout [data-widget=strategies] [data-part="Описание + график"]{flex-direction:column;gap:32px}
 .desktop-layout [data-widget=strategies] [data-part="Описание"]{width:100%}
 .desktop-layout [data-widget=strategies] [data-part="Описание + график"]>[data-widget=chart]{width:100%;flex:none}
}
@media(max-width:767px){
 .mobile-layout [data-widget=chart] [data-part="Переключатель периода"]{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:4px}
 .mobile-layout [data-widget=chart] [data-action=period]{grid-column:span 2;min-height:36px;padding:8px 4px}
 .mobile-layout [data-widget=chart] [data-action=period]:nth-child(n+4){grid-column:span 3}
 .mobile-layout [data-widget=chart] [data-action=period] p{font-size:11px}
}
