/* Маркетинговый тёмный каркас: главная и хаб «Карьера» */

body.landing-home,
body.landing-error,
body.landing-career-hub,
body.landing-ai-tutor,
body.landing-career-sub,
body.landing-pricing,
body.landing-blog,
body.landing-courses,
body.landing-professions, body.landing-auth, body.landing-about, body.landing-help{
  --home-bg: #0a0e14;
  --home-surface: #111827;
  --home-surface-2: #1f2937;
  --home-text: #f9fafb;
  --home-muted: #9ca3af;
  --home-accent: #22d3ee;
  --home-accent-2: #38bdf8;
  --home-cta: #2dd4bf;
  --home-cta-text: #0f172a;
  --home-grid: rgba(56, 189, 248, 0.06);
  --home-glow: rgba(34, 211, 238, 0.12);
  --home-hero-visual-h: 30.25rem;
}

body.landing-home .content-container,
body.landing-career-hub .content-container,
body.landing-ai-tutor .content-container,
body.landing-career-sub .content-container,
body.landing-pricing .content-container,
body.landing-blog .content-container, body.landing-courses .content-container, body.landing-professions .content-container, body.landing-auth .content-container, body.landing-about .content-container, body.landing-help .content-container{
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  background: var(--home-bg) !important;
  color: var(--home-text) !important;
}

body.landing-home .main-content .content,
body.landing-career-hub .main-content .content,
body.landing-ai-tutor .main-content .content,
body.landing-career-sub .main-content .content,
body.landing-pricing .main-content .content,
body.landing-blog .main-content .content, body.landing-courses .main-content .content, body.landing-professions .main-content .content, body.landing-auth .main-content .content, body.landing-about .main-content .content, body.landing-help .main-content .content{
  background: var(--home-bg) !important;
}

/* Лендинги: колонка на всю ширину родителя до потолка .home-container.
   min-width: 0 — nowrap-слайдеры не раздувают flex-элемент до min-content. */
body.landing-home .main-content > .content,
body.landing-error .main-content > .content,
body.landing-career-hub .main-content > .content,
body.landing-ai-tutor .main-content > .content,
body.landing-career-sub .main-content > .content,
body.landing-pricing .main-content > .content,
body.landing-blog .main-content > .content,
body.landing-courses .main-content > .content,
body.landing-professions .main-content > .content,
body.landing-auth .main-content > .content,
body.landing-about .main-content > .content,
body.landing-help .main-content > .content {
  padding-left: 0;
  padding-right: 0;
  min-width: 0;
}

body.landing-home .header,
body.landing-career-hub .header,
body.landing-ai-tutor .header,
body.landing-career-sub .header,
body.landing-pricing .header,
body.landing-blog .header , body.landing-courses .header , body.landing-professions .header, body.landing-auth .header, body.landing-about .header, body.landing-help .header{
  background: rgba(10, 14, 20, 0.92) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(10px);
}

body.landing-home .nav-dropdown,
body.landing-career-hub .nav-dropdown,
body.landing-ai-tutor .nav-dropdown,
body.landing-career-sub .nav-dropdown,
body.landing-pricing .nav-dropdown,
body.landing-blog .nav-dropdown,
body.landing-courses .nav-dropdown,
body.landing-professions .nav-dropdown,
body.landing-about .nav-dropdown,
body.landing-auth .nav-dropdown,
body.landing-help .nav-dropdown {
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

body.landing-home .nav-list .nav-dropdown a,
body.landing-career-hub .nav-list .nav-dropdown a,
body.landing-ai-tutor .nav-list .nav-dropdown a,
body.landing-career-sub .nav-list .nav-dropdown a,
body.landing-pricing .nav-list .nav-dropdown a,
body.landing-blog .nav-list .nav-dropdown a,
body.landing-courses .nav-list .nav-dropdown a,
body.landing-professions .nav-list .nav-dropdown a,
body.landing-about .nav-list .nav-dropdown a,
body.landing-auth .nav-list .nav-dropdown a,
body.landing-help .nav-list .nav-dropdown a {
  color: var(--home-text) !important;
}

body.landing-home .nav-list .nav-dropdown a:hover,
body.landing-home .nav-list .nav-dropdown a:focus-visible,
body.landing-home .nav-list .nav-dropdown a.active,
body.landing-career-hub .nav-list .nav-dropdown a:hover,
body.landing-career-hub .nav-list .nav-dropdown a:focus-visible,
body.landing-career-hub .nav-list .nav-dropdown a.active,
body.landing-ai-tutor .nav-list .nav-dropdown a:hover,
body.landing-ai-tutor .nav-list .nav-dropdown a:focus-visible,
body.landing-ai-tutor .nav-list .nav-dropdown a.active,
body.landing-career-sub .nav-list .nav-dropdown a:hover,
body.landing-career-sub .nav-list .nav-dropdown a:focus-visible,
body.landing-career-sub .nav-list .nav-dropdown a.active,
body.landing-pricing .nav-list .nav-dropdown a:hover,
body.landing-pricing .nav-list .nav-dropdown a:focus-visible,
body.landing-pricing .nav-list .nav-dropdown a.active,
body.landing-blog .nav-list .nav-dropdown a:hover,
body.landing-blog .nav-list .nav-dropdown a.active,
body.landing-courses .nav-list .nav-dropdown a:hover,
body.landing-courses .nav-list .nav-dropdown a.active,
body.landing-professions .nav-list .nav-dropdown a:hover,
body.landing-professions .nav-list .nav-dropdown a.active,
body.landing-about .nav-list .nav-dropdown a:hover,
body.landing-about .nav-list .nav-dropdown a.active,
body.landing-auth .nav-list .nav-dropdown a:hover,
body.landing-auth .nav-list .nav-dropdown a.active,
body.landing-help .nav-list .nav-dropdown a:hover,
body.landing-help .nav-list .nav-dropdown a.active {
  background: rgba(148, 163, 184, 0.12);
  color: var(--home-accent) !important;
}

body.landing-home .nav-dropdown__hint,
body.landing-career-hub .nav-dropdown__hint,
body.landing-ai-tutor .nav-dropdown__hint,
body.landing-career-sub .nav-dropdown__hint,
body.landing-pricing .nav-dropdown__hint,
body.landing-blog .nav-dropdown__hint,
body.landing-courses .nav-dropdown__hint,
body.landing-professions .nav-dropdown__hint,
body.landing-about .nav-dropdown__hint,
body.landing-auth .nav-dropdown__hint,
body.landing-help .nav-dropdown__hint {
  color: var(--home-muted);
}

body.landing-home .nav-dropdown__icon,
body.landing-career-hub .nav-dropdown__icon,
body.landing-ai-tutor .nav-dropdown__icon,
body.landing-career-sub .nav-dropdown__icon,
body.landing-pricing .nav-dropdown__icon,
body.landing-blog .nav-dropdown__icon,
body.landing-courses .nav-dropdown__icon,
body.landing-professions .nav-dropdown__icon,
body.landing-about .nav-dropdown__icon,
body.landing-auth .nav-dropdown__icon,
body.landing-help .nav-dropdown__icon {
  background: rgba(45, 212, 191, 0.14);
  color: var(--home-cta);
}
body.landing-career-hub .nav-list a:not(.active),
body.landing-ai-tutor .nav-list a:not(.active),
body.landing-career-sub .nav-list a:not(.active),
body.landing-pricing .nav-list a:not(.active),
body.landing-blog .nav-list a:not(.active), body.landing-courses .nav-list a:not(.active), body.landing-professions .nav-list a:not(.active), body.landing-auth .nav-list a:not(.active), body.landing-about .nav-list a:not(.active), body.landing-help .nav-list a:not(.active){
  color: var(--home-muted) !important;
}

body.landing-home .nav-list a.active,
body.landing-home .nav-list a:hover,
body.landing-career-hub .nav-list a.active,
body.landing-ai-tutor .nav-list a.active,
body.landing-career-sub .nav-list a.active,
body.landing-career-hub .nav-list a:hover,
body.landing-ai-tutor .nav-list a:hover,
body.landing-career-sub .nav-list a:hover,
body.landing-pricing .nav-list a.active,
body.landing-blog .nav-list a.active, body.landing-courses .nav-list a.active, body.landing-professions .nav-list a.active, body.landing-auth .nav-list a.active, body.landing-about .nav-list a.active, body.landing-help .nav-list a.active,
body.landing-pricing .nav-list a:hover,
body.landing-blog .nav-list a:hover, body.landing-courses .nav-list a:hover, body.landing-professions .nav-list a:hover, body.landing-auth .nav-list a:hover, body.landing-about .nav-list a:hover, body.landing-help .nav-list a:hover{
  color: var(--home-accent) !important;
}

body.landing-home .header-right-content,
body.landing-career-hub .header-right-content,
body.landing-ai-tutor .header-right-content,
body.landing-career-sub .header-right-content,
body.landing-pricing .header-right-content,
body.landing-blog .header-right-content, body.landing-courses .header-right-content, body.landing-professions .header-right-content, body.landing-auth .header-right-content, body.landing-about .header-right-content, body.landing-help .header-right-content{
  --cabinet-text-on-chip: var(--home-text);
  --cabinet-border: rgba(148, 163, 184, 0.18);
  --cabinet-surface: rgba(17, 24, 39, 0.72);
  /* --cabinet-accent* не подменяем: как в cabinet.css (#2dd4bf / #22d3ee), имя чипа при hover совпадает с ЛК */
}

body.landing-home .header-right-content .cabinet-user-chip,
body.landing-career-hub .header-right-content .cabinet-user-chip,
body.landing-ai-tutor .header-right-content .cabinet-user-chip,
body.landing-career-sub .header-right-content .cabinet-user-chip,
body.landing-pricing .header-right-content .cabinet-user-chip,
body.landing-blog .header-right-content .cabinet-user-chip, body.landing-courses .header-right-content .cabinet-user-chip, body.landing-professions .header-right-content .cabinet-user-chip, body.landing-auth .header-right-content .cabinet-user-chip, body.landing-about .header-right-content .cabinet-user-chip, body.landing-help .header-right-content .cabinet-user-chip{
  color: var(--home-muted) !important;
}

body.landing-home .header-right-content .cabinet-user-chip:hover,
body.landing-home .header-right-content .cabinet-user-chip:focus,
body.landing-home .header-right-content .cabinet-user-chip:focus-visible,
body.landing-career-hub .header-right-content .cabinet-user-chip:hover,
body.landing-ai-tutor .header-right-content .cabinet-user-chip:hover,
body.landing-career-sub .header-right-content .cabinet-user-chip:hover,
body.landing-career-hub .header-right-content .cabinet-user-chip:focus,
body.landing-ai-tutor .header-right-content .cabinet-user-chip:focus,
body.landing-career-sub .header-right-content .cabinet-user-chip:focus,
body.landing-career-hub .header-right-content .cabinet-user-chip:focus-visible,
body.landing-ai-tutor .header-right-content .cabinet-user-chip:focus-visible,
body.landing-career-sub .header-right-content .cabinet-user-chip:focus-visible,
body.landing-pricing .header-right-content .cabinet-user-chip:hover,
body.landing-blog .header-right-content .cabinet-user-chip:hover, body.landing-courses .header-right-content .cabinet-user-chip:hover, body.landing-professions .header-right-content .cabinet-user-chip:hover,
body.landing-pricing .header-right-content .cabinet-user-chip:focus,
body.landing-blog .header-right-content .cabinet-user-chip:focus, body.landing-courses .header-right-content .cabinet-user-chip:focus, body.landing-professions .header-right-content .cabinet-user-chip:focus,
body.landing-pricing .header-right-content .cabinet-user-chip:focus-visible,
body.landing-blog .header-right-content .cabinet-user-chip:focus-visible, body.landing-courses .header-right-content .cabinet-user-chip:focus-visible, body.landing-professions .header-right-content .cabinet-user-chip:focus-visible, body.landing-auth .header-right-content .cabinet-user-chip:focus-visible, body.landing-about .header-right-content .cabinet-user-chip:focus-visible, body.landing-help .header-right-content .cabinet-user-chip:focus-visible{
  text-decoration: none !important;
}

body.landing-home .header-right-content .cabinet-user-chip__name,
body.landing-career-hub .header-right-content .cabinet-user-chip__name,
body.landing-ai-tutor .header-right-content .cabinet-user-chip__name,
body.landing-career-sub .header-right-content .cabinet-user-chip__name,
body.landing-pricing .header-right-content .cabinet-user-chip__name,
body.landing-blog .header-right-content .cabinet-user-chip__name, body.landing-courses .header-right-content .cabinet-user-chip__name, body.landing-professions .header-right-content .cabinet-user-chip__name, body.landing-auth .header-right-content .cabinet-user-chip__name, body.landing-about .header-right-content .cabinet-user-chip__name, body.landing-help .header-right-content .cabinet-user-chip__name{
  color: inherit !important;
}

/* Как в cabinet.css: только имя в --cabinet-accent (#2dd4bf), цвет ссылки при hover не меняем */
body.landing-home .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name,
body.landing-home .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name,
body.landing-home .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name,
body.landing-career-hub .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name,
body.landing-ai-tutor .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name,
body.landing-career-hub .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name,
body.landing-ai-tutor .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name,
body.landing-career-hub .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name,
body.landing-ai-tutor .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name,
body.landing-career-sub .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name,
body.landing-career-sub .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name,
body.landing-career-sub .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name,
body.landing-pricing .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name,
body.landing-blog .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name, body.landing-courses .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name, body.landing-professions .header-right-content .cabinet-user-chip:hover .cabinet-user-chip__name,
body.landing-pricing .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name,
body.landing-blog .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name, body.landing-courses .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name, body.landing-professions .header-right-content .cabinet-user-chip:focus .cabinet-user-chip__name,
body.landing-pricing .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name,
body.landing-blog .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name, body.landing-courses .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name, body.landing-professions .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name, body.landing-auth .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name, body.landing-about .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name, body.landing-help .header-right-content .cabinet-user-chip:focus-visible .cabinet-user-chip__name{
  color: var(--cabinet-accent) !important;
}

body.landing-home .header-right-content .cabinet-user-chip__fallback,
body.landing-career-hub .header-right-content .cabinet-user-chip__fallback,
body.landing-ai-tutor .header-right-content .cabinet-user-chip__fallback,
body.landing-career-sub .header-right-content .cabinet-user-chip__fallback,
body.landing-pricing .header-right-content .cabinet-user-chip__fallback,
body.landing-blog .header-right-content .cabinet-user-chip__fallback, body.landing-courses .header-right-content .cabinet-user-chip__fallback, body.landing-professions .header-right-content .cabinet-user-chip__fallback, body.landing-auth .header-right-content .cabinet-user-chip__fallback, body.landing-about .header-right-content .cabinet-user-chip__fallback, body.landing-help .header-right-content .cabinet-user-chip__fallback{
  background: linear-gradient(135deg, var(--home-accent), var(--home-accent-2)) !important;
  color: #0f172a !important;
}

body.landing-home .header-notifications__trigger,
body.landing-career-hub .header-notifications__trigger,
body.landing-ai-tutor .header-notifications__trigger,
body.landing-career-sub .header-notifications__trigger,
body.landing-pricing .header-notifications__trigger,
body.landing-blog .header-notifications__trigger, body.landing-courses .header-notifications__trigger, body.landing-professions .header-notifications__trigger, body.landing-auth .header-notifications__trigger, body.landing-about .header-notifications__trigger, body.landing-help .header-notifications__trigger{
  color: var(--home-muted) !important;
}

body.landing-home .header-notifications__trigger:hover,
body.landing-career-hub .header-notifications__trigger:hover,
body.landing-ai-tutor .header-notifications__trigger:hover,
body.landing-career-sub .header-notifications__trigger:hover,
body.landing-pricing .header-notifications__trigger:hover,
body.landing-blog .header-notifications__trigger:hover, body.landing-courses .header-notifications__trigger:hover, body.landing-professions .header-notifications__trigger:hover, body.landing-auth .header-notifications__trigger:hover, body.landing-about .header-notifications__trigger:hover, body.landing-help .header-notifications__trigger:hover{
  color: var(--home-accent) !important;
  background-color: rgba(148, 163, 184, 0.1) !important;
}

body.landing-home .header-notifications__trigger:focus:not(:focus-visible),
body.landing-career-hub .header-notifications__trigger:focus:not(:focus-visible),
body.landing-ai-tutor .header-notifications__trigger:focus:not(:focus-visible),
body.landing-career-sub .header-notifications__trigger:focus:not(:focus-visible),
body.landing-pricing .header-notifications__trigger:focus:not(:focus-visible),
body.landing-blog .header-notifications__trigger:focus:not(:focus-visible), body.landing-courses .header-notifications__trigger:focus:not(:focus-visible), body.landing-professions .header-notifications__trigger:focus:not(:focus-visible), body.landing-auth .header-notifications__trigger:focus:not(:focus-visible), body.landing-about .header-notifications__trigger:focus:not(:focus-visible), body.landing-help .header-notifications__trigger:focus:not(:focus-visible){
  outline: none !important;
  box-shadow: none !important;
}

body.landing-home .header-notifications__trigger:focus-visible,
body.landing-career-hub .header-notifications__trigger:focus-visible,
body.landing-ai-tutor .header-notifications__trigger:focus-visible,
body.landing-career-sub .header-notifications__trigger:focus-visible,
body.landing-pricing .header-notifications__trigger:focus-visible,
body.landing-blog .header-notifications__trigger:focus-visible, body.landing-courses .header-notifications__trigger:focus-visible, body.landing-professions .header-notifications__trigger:focus-visible, body.landing-auth .header-notifications__trigger:focus-visible, body.landing-about .header-notifications__trigger:focus-visible, body.landing-help .header-notifications__trigger:focus-visible{
  color: var(--home-accent) !important;
  background-color: rgba(148, 163, 184, 0.1) !important;
  outline: 2px solid var(--home-accent) !important;
  outline-offset: 2px !important;
}

body.landing-home .header-notifications.is-open .header-notifications__trigger,
body.landing-career-hub .header-notifications.is-open .header-notifications__trigger,
body.landing-ai-tutor .header-notifications.is-open .header-notifications__trigger,
body.landing-career-sub .header-notifications.is-open .header-notifications__trigger,
body.landing-pricing .header-notifications.is-open .header-notifications__trigger,
body.landing-blog .header-notifications.is-open .header-notifications__trigger, body.landing-courses .header-notifications.is-open .header-notifications__trigger, body.landing-professions .header-notifications.is-open .header-notifications__trigger, body.landing-auth .header-notifications.is-open .header-notifications__trigger, body.landing-about .header-notifications.is-open .header-notifications__trigger, body.landing-help .header-notifications.is-open .header-notifications__trigger{
  color: var(--home-accent) !important;
  background-color: rgba(148, 163, 184, 0.12) !important;
}

body.landing-home .header-notifications__badge,
body.landing-career-hub .header-notifications__badge,
body.landing-ai-tutor .header-notifications__badge,
body.landing-career-sub .header-notifications__badge,
body.landing-pricing .header-notifications__badge,
body.landing-blog .header-notifications__badge, body.landing-courses .header-notifications__badge, body.landing-professions .header-notifications__badge, body.landing-auth .header-notifications__badge, body.landing-about .header-notifications__badge, body.landing-help .header-notifications__badge{
  background: var(--home-cta) !important;
  color: var(--home-cta-text) !important;
}

body.landing-home .header-notifications__panel,
body.landing-career-hub .header-notifications__panel,
body.landing-ai-tutor .header-notifications__panel,
body.landing-career-sub .header-notifications__panel,
body.landing-pricing .header-notifications__panel,
body.landing-blog .header-notifications__panel, body.landing-courses .header-notifications__panel, body.landing-professions .header-notifications__panel, body.landing-auth .header-notifications__panel, body.landing-about .header-notifications__panel, body.landing-help .header-notifications__panel{
  background: var(--home-surface) !important;
  color: var(--home-text) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
}

body.landing-home .header-notifications__panel-head,
body.landing-career-hub .header-notifications__panel-head,
body.landing-ai-tutor .header-notifications__panel-head,
body.landing-career-sub .header-notifications__panel-head,
body.landing-pricing .header-notifications__panel-head,
body.landing-blog .header-notifications__panel-head, body.landing-courses .header-notifications__panel-head, body.landing-professions .header-notifications__panel-head, body.landing-auth .header-notifications__panel-head, body.landing-about .header-notifications__panel-head, body.landing-help .header-notifications__panel-head{
  border-bottom-color: rgba(148, 163, 184, 0.15) !important;
}

body.landing-home .header-notifications__item,
body.landing-career-hub .header-notifications__item,
body.landing-ai-tutor .header-notifications__item,
body.landing-career-sub .header-notifications__item,
body.landing-pricing .header-notifications__item,
body.landing-blog .header-notifications__item, body.landing-courses .header-notifications__item, body.landing-professions .header-notifications__item, body.landing-auth .header-notifications__item, body.landing-about .header-notifications__item, body.landing-help .header-notifications__item{
  border-bottom-color: rgba(148, 163, 184, 0.12) !important;
}

body.landing-home .header-notifications__item:hover,
body.landing-home .header-notifications__item:focus-visible,
body.landing-career-hub .header-notifications__item:hover,
body.landing-ai-tutor .header-notifications__item:hover,
body.landing-career-sub .header-notifications__item:hover,
body.landing-career-hub .header-notifications__item:focus-visible,
body.landing-ai-tutor .header-notifications__item:focus-visible,
body.landing-career-sub .header-notifications__item:focus-visible,
body.landing-pricing .header-notifications__item:hover,
body.landing-blog .header-notifications__item:hover, body.landing-courses .header-notifications__item:hover, body.landing-professions .header-notifications__item:hover,
body.landing-pricing .header-notifications__item:focus-visible,
body.landing-blog .header-notifications__item:focus-visible, body.landing-courses .header-notifications__item:focus-visible, body.landing-professions .header-notifications__item:focus-visible, body.landing-auth .header-notifications__item:focus-visible, body.landing-about .header-notifications__item:focus-visible, body.landing-help .header-notifications__item:focus-visible{
  background: rgba(34, 211, 238, 0.08) !important;
}

body.landing-home .header-notifications__item.is-unread,
body.landing-career-hub .header-notifications__item.is-unread,
body.landing-ai-tutor .header-notifications__item.is-unread,
body.landing-career-sub .header-notifications__item.is-unread,
body.landing-pricing .header-notifications__item.is-unread,
body.landing-blog .header-notifications__item.is-unread, body.landing-courses .header-notifications__item.is-unread, body.landing-professions .header-notifications__item.is-unread, body.landing-auth .header-notifications__item.is-unread, body.landing-about .header-notifications__item.is-unread, body.landing-help .header-notifications__item.is-unread{
  background: rgba(34, 211, 238, 0.06) !important;
}

body.landing-home .header-notifications__item-title,
body.landing-career-hub .header-notifications__item-title,
body.landing-ai-tutor .header-notifications__item-title,
body.landing-career-sub .header-notifications__item-title,
body.landing-pricing .header-notifications__item-title,
body.landing-blog .header-notifications__item-title, body.landing-courses .header-notifications__item-title, body.landing-professions .header-notifications__item-title, body.landing-auth .header-notifications__item-title, body.landing-about .header-notifications__item-title, body.landing-help .header-notifications__item-title{
  color: var(--home-text) !important;
}

body.landing-home .header-notifications__item-body,
body.landing-home .header-notifications__empty,
body.landing-career-hub .header-notifications__item-body,
body.landing-ai-tutor .header-notifications__item-body,
body.landing-career-sub .header-notifications__item-body,
body.landing-pricing .header-notifications__item-body,
body.landing-blog .header-notifications__item-body, body.landing-courses .header-notifications__item-body, body.landing-professions .header-notifications__item-body,
body.landing-pricing .header-notifications__empty,
body.landing-blog .header-notifications__empty, body.landing-courses .header-notifications__empty, body.landing-professions .header-notifications__empty, body.landing-auth .header-notifications__empty, body.landing-about .header-notifications__empty, body.landing-help .header-notifications__empty{
  color: var(--home-muted) !important;
}

body.landing-home .header-mobile-menu-btn,
body.landing-career-hub .header-mobile-menu-btn,
body.landing-ai-tutor .header-mobile-menu-btn,
body.landing-career-sub .header-mobile-menu-btn,
body.landing-pricing .header-mobile-menu-btn,
body.landing-blog .header-mobile-menu-btn, body.landing-courses .header-mobile-menu-btn, body.landing-professions .header-mobile-menu-btn, body.landing-auth .header-mobile-menu-btn, body.landing-about .header-mobile-menu-btn, body.landing-help .header-mobile-menu-btn{
  color: var(--home-muted) !important;
}

body.landing-home .header-mobile-menu-btn:hover,
body.landing-home .header-mobile-menu-btn:focus-visible,
body.landing-career-hub .header-mobile-menu-btn:hover,
body.landing-ai-tutor .header-mobile-menu-btn:hover,
body.landing-career-sub .header-mobile-menu-btn:hover,
body.landing-career-hub .header-mobile-menu-btn:focus-visible,
body.landing-ai-tutor .header-mobile-menu-btn:focus-visible,
body.landing-career-sub .header-mobile-menu-btn:focus-visible,
body.landing-pricing .header-mobile-menu-btn:hover,
body.landing-blog .header-mobile-menu-btn:hover, body.landing-courses .header-mobile-menu-btn:hover, body.landing-professions .header-mobile-menu-btn:hover,
body.landing-pricing .header-mobile-menu-btn:focus-visible,
body.landing-blog .header-mobile-menu-btn:focus-visible, body.landing-courses .header-mobile-menu-btn:focus-visible, body.landing-professions .header-mobile-menu-btn:focus-visible, body.landing-auth .header-mobile-menu-btn:focus-visible, body.landing-about .header-mobile-menu-btn:focus-visible, body.landing-help .header-mobile-menu-btn:focus-visible{
  color: var(--home-accent) !important;
  background-color: rgba(148, 163, 184, 0.1) !important;
}

body.landing-home .header-mobile-drawer,
body.landing-career-hub .header-mobile-drawer,
body.landing-ai-tutor .header-mobile-drawer,
body.landing-career-sub .header-mobile-drawer,
body.landing-pricing .header-mobile-drawer,
body.landing-blog .header-mobile-drawer , body.landing-courses .header-mobile-drawer , body.landing-professions .header-mobile-drawer, body.landing-auth .header-mobile-drawer, body.landing-about .header-mobile-drawer, body.landing-help .header-mobile-drawer{
  background: var(--home-surface) !important;
  color: var(--home-text) !important;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.45) !important;
}

body.landing-home .header-mobile-drawer-head,
body.landing-career-hub .header-mobile-drawer-head,
body.landing-ai-tutor .header-mobile-drawer-head,
body.landing-career-sub .header-mobile-drawer-head,
body.landing-pricing .header-mobile-drawer-head,
body.landing-blog .header-mobile-drawer-head , body.landing-courses .header-mobile-drawer-head , body.landing-professions .header-mobile-drawer-head, body.landing-auth .header-mobile-drawer-head, body.landing-about .header-mobile-drawer-head, body.landing-help .header-mobile-drawer-head{
  border-bottom-color: rgba(148, 163, 184, 0.15) !important;
}

body.landing-home .header-mobile-drawer-close:hover,
body.landing-home .header-mobile-drawer-close:focus-visible,
body.landing-career-hub .header-mobile-drawer-close:hover,
body.landing-ai-tutor .header-mobile-drawer-close:hover,
body.landing-career-sub .header-mobile-drawer-close:hover,
body.landing-career-hub .header-mobile-drawer-close:focus-visible,
body.landing-ai-tutor .header-mobile-drawer-close:focus-visible,
body.landing-career-sub .header-mobile-drawer-close:focus-visible,
body.landing-pricing .header-mobile-drawer-close:hover,
body.landing-blog .header-mobile-drawer-close:hover, body.landing-courses .header-mobile-drawer-close:hover, body.landing-professions .header-mobile-drawer-close:hover,
body.landing-pricing .header-mobile-drawer-close:focus-visible,
body.landing-blog .header-mobile-drawer-close:focus-visible , body.landing-courses .header-mobile-drawer-close:focus-visible , body.landing-professions .header-mobile-drawer-close:focus-visible, body.landing-auth .header-mobile-drawer-close:focus-visible, body.landing-about .header-mobile-drawer-close:focus-visible, body.landing-help .header-mobile-drawer-close:focus-visible{
  background-color: rgba(148, 163, 184, 0.12) !important;
}

body.landing-home .nav-list--drawer > li,
body.landing-career-hub .nav-list--drawer > li,
body.landing-ai-tutor .nav-list--drawer > li,
body.landing-career-sub .nav-list--drawer > li,
body.landing-pricing .nav-list--drawer > li,
body.landing-blog .nav-list--drawer > li, body.landing-courses .nav-list--drawer > li, body.landing-professions .nav-list--drawer > li, body.landing-auth .nav-list--drawer > li, body.landing-about .nav-list--drawer > li, body.landing-help .nav-list--drawer > li{
  border-bottom-color: rgba(148, 163, 184, 0.12) !important;
}

body.landing-home .nav-list--drawer a,
body.landing-career-hub .nav-list--drawer a,
body.landing-ai-tutor .nav-list--drawer a,
body.landing-career-sub .nav-list--drawer a,
body.landing-pricing .nav-list--drawer a,
body.landing-blog .nav-list--drawer a, body.landing-courses .nav-list--drawer a, body.landing-professions .nav-list--drawer a, body.landing-auth .nav-list--drawer a, body.landing-about .nav-list--drawer a, body.landing-help .nav-list--drawer a{
  color: var(--home-muted) !important;
}

body.landing-home .nav-list--drawer a:hover,
body.landing-home .nav-list--drawer a:focus-visible,
body.landing-home .nav-list--drawer a.active,
body.landing-career-hub .nav-list--drawer a:hover,
body.landing-ai-tutor .nav-list--drawer a:hover,
body.landing-career-sub .nav-list--drawer a:hover,
body.landing-career-hub .nav-list--drawer a:focus-visible,
body.landing-ai-tutor .nav-list--drawer a:focus-visible,
body.landing-career-sub .nav-list--drawer a:focus-visible,
body.landing-career-hub .nav-list--drawer a.active,
body.landing-ai-tutor .nav-list--drawer a.active,
body.landing-career-sub .nav-list--drawer a.active,
body.landing-pricing .nav-list--drawer a:hover,
body.landing-blog .nav-list--drawer a:hover, body.landing-courses .nav-list--drawer a:hover, body.landing-professions .nav-list--drawer a:hover,
body.landing-pricing .nav-list--drawer a:focus-visible,
body.landing-blog .nav-list--drawer a:focus-visible, body.landing-courses .nav-list--drawer a:focus-visible, body.landing-professions .nav-list--drawer a:focus-visible,
body.landing-pricing .nav-list--drawer a.active,
body.landing-blog .nav-list--drawer a.active, body.landing-courses .nav-list--drawer a.active, body.landing-professions .nav-list--drawer a.active, body.landing-auth .nav-list--drawer a.active, body.landing-about .nav-list--drawer a.active, body.landing-help .nav-list--drawer a.active{
  color: var(--home-accent) !important;
}

body.landing-home .header-auth-guest--mobile-drawer,
body.landing-career-hub .header-auth-guest--mobile-drawer,
body.landing-ai-tutor .header-auth-guest--mobile-drawer,
body.landing-career-sub .header-auth-guest--mobile-drawer,
body.landing-pricing .header-auth-guest--mobile-drawer,
body.landing-blog .header-auth-guest--mobile-drawer , body.landing-courses .header-auth-guest--mobile-drawer , body.landing-professions .header-auth-guest--mobile-drawer, body.landing-auth .header-auth-guest--mobile-drawer, body.landing-about .header-auth-guest--mobile-drawer, body.landing-help .header-auth-guest--mobile-drawer{
  border-top-color: rgba(148, 163, 184, 0.15) !important;
}

body.landing-home .header-mobile-drawer .nav-dropdown,
body.landing-career-hub .header-mobile-drawer .nav-dropdown,
body.landing-ai-tutor .header-mobile-drawer .nav-dropdown,
body.landing-career-sub .header-mobile-drawer .nav-dropdown,
body.landing-pricing .header-mobile-drawer .nav-dropdown,
body.landing-blog .header-mobile-drawer .nav-dropdown,
body.landing-courses .header-mobile-drawer .nav-dropdown,
body.landing-professions .header-mobile-drawer .nav-dropdown,
body.landing-about .header-mobile-drawer .nav-dropdown,
body.landing-auth .header-mobile-drawer .nav-dropdown,
body.landing-help .header-mobile-drawer .nav-dropdown {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: none;
}

body.landing-home .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-career-hub .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-ai-tutor .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-career-sub .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-pricing .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-blog .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-courses .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-professions .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-about .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-auth .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret,
body.landing-help .header-mobile-drawer .nav-list--drawer.is-accordion .nav-caret {
  background: rgba(148, 163, 184, 0.12);
}

body.landing-home .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-career-hub .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-ai-tutor .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-career-sub .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-pricing .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-blog .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-courses .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-professions .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-about .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-auth .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret,
body.landing-help .header-mobile-drawer .nav-list--drawer.is-accordion .nav-item--has-children.is-open > a > .nav-caret {
  background: rgba(45, 212, 191, 0.18);
}

body.landing-home .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-career-hub .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-ai-tutor .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-career-sub .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-pricing .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-blog .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-courses .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-professions .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-about .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-auth .header-mobile-drawer .nav-list .nav-dropdown a,
body.landing-help .header-mobile-drawer .nav-list .nav-dropdown a {
  color: var(--home-text) !important;
  background: transparent;
}

body.landing-home .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-home .header-mobile-drawer .nav-list .nav-dropdown a:focus-visible,
body.landing-home .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-career-hub .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-career-hub .header-mobile-drawer .nav-list .nav-dropdown a:focus-visible,
body.landing-career-hub .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-ai-tutor .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-ai-tutor .header-mobile-drawer .nav-list .nav-dropdown a:focus-visible,
body.landing-ai-tutor .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-career-sub .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-career-sub .header-mobile-drawer .nav-list .nav-dropdown a:focus-visible,
body.landing-career-sub .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-pricing .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-pricing .header-mobile-drawer .nav-list .nav-dropdown a:focus-visible,
body.landing-pricing .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-blog .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-blog .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-courses .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-courses .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-professions .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-professions .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-about .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-about .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-auth .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-auth .header-mobile-drawer .nav-list .nav-dropdown a.active,
body.landing-help .header-mobile-drawer .nav-list .nav-dropdown a:hover,
body.landing-help .header-mobile-drawer .nav-list .nav-dropdown a.active {
  background: rgba(45, 212, 191, 0.1);
  color: var(--home-accent) !important;
}

body.landing-home .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-career-hub .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-ai-tutor .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-career-sub .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-pricing .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-blog .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-courses .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-professions .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-about .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-auth .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type,
body.landing-help .header-mobile-drawer .nav-dropdown--split > .nav-dropdown__mock:first-of-type {
  border-top-color: rgba(148, 163, 184, 0.16);
}

body.landing-home .footer-main,
body.landing-home .footer-copyright,
body.landing-career-hub .footer-main,
body.landing-ai-tutor .footer-main,
body.landing-career-sub .footer-main,
body.landing-career-hub .footer-copyright,
body.landing-ai-tutor .footer-copyright,
body.landing-career-sub .footer-copyright,
body.landing-pricing .footer-main,
body.landing-blog .footer-main, body.landing-courses .footer-main, body.landing-professions .footer-main, body.landing-auth .footer-main, body.landing-about .footer-main, body.landing-help .footer-main,
body.landing-pricing .footer-copyright,
body.landing-blog .footer-copyright , body.landing-courses .footer-copyright , body.landing-professions .footer-copyright, body.landing-auth .footer-copyright, body.landing-about .footer-copyright, body.landing-help .footer-copyright{
  background: var(--home-surface) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

body.landing-home .footer-main h3,
body.landing-home .footer-main .footer-accordion__summary,
body.landing-home .footer-main a,
body.landing-career-hub .footer-main h3,
body.landing-ai-tutor .footer-main h3,
body.landing-career-sub .footer-main h3,
body.landing-career-hub .footer-main .footer-accordion__summary,
body.landing-ai-tutor .footer-main .footer-accordion__summary,
body.landing-career-sub .footer-main .footer-accordion__summary,
body.landing-career-hub .footer-main a,
body.landing-ai-tutor .footer-main a,
body.landing-career-sub .footer-main a,
body.landing-pricing .footer-main h3,
body.landing-blog .footer-main h3, body.landing-courses .footer-main h3, body.landing-professions .footer-main h3, body.landing-auth .footer-main h3, body.landing-about .footer-main h3, body.landing-help .footer-main h3,
body.landing-pricing .footer-main .footer-accordion__summary,
body.landing-blog .footer-main .footer-accordion__summary, body.landing-courses .footer-main .footer-accordion__summary, body.landing-professions .footer-main .footer-accordion__summary, body.landing-auth .footer-main .footer-accordion__summary, body.landing-about .footer-main .footer-accordion__summary, body.landing-help .footer-main .footer-accordion__summary,
body.landing-pricing .footer-main a,
body.landing-blog .footer-main a, body.landing-courses .footer-main a, body.landing-professions .footer-main a, body.landing-auth .footer-main a, body.landing-about .footer-main a, body.landing-help .footer-main a{
  color: var(--home-muted) !important;
}

@media (max-width: 991.98px) {
  body.landing-home .footer-accordion__summary,
  body.landing-career-hub .footer-accordion__summary,
  body.landing-ai-tutor .footer-accordion__summary,
  body.landing-career-sub .footer-accordion__summary,
  body.landing-pricing .footer-accordion__summary,
  body.landing-blog .footer-accordion__summary, body.landing-courses .footer-accordion__summary, body.landing-professions .footer-accordion__summary, body.landing-auth .footer-accordion__summary, body.landing-about .footer-accordion__summary, body.landing-help .footer-accordion__summary{
    border-bottom-color: rgba(148, 163, 184, 0.15) !important;
  }
}

body.landing-home .footer-copyright p,
body.landing-career-hub .footer-copyright p,
body.landing-ai-tutor .footer-copyright p,
body.landing-career-sub .footer-copyright p,
body.landing-pricing .footer-copyright p,
body.landing-blog .footer-copyright p , body.landing-courses .footer-copyright p , body.landing-professions .footer-copyright p, body.landing-auth .footer-copyright p, body.landing-about .footer-copyright p, body.landing-help .footer-copyright p{
  color: var(--home-muted) !important;
}

.home-landing {
  position: relative;
  /* hidden: не режем жёстко по X (clip), чтобы горизонтальный скролл подменю карьеры ловил touch-свайп */
  overflow-x: hidden;
  --home-type-h1: clamp(2.5rem, 5.5vw, 4rem);
  --home-type-h2: clamp(2rem, 4vw, 3rem);
  --home-type-lead: clamp(1.125rem, 2.2vw, 1.35rem);
  --home-type-card-title: clamp(1.2rem, 2vw, 1.5rem);
  --home-type-body: 1.0625rem;
}

/* Mobile: slightly tighter type scale for promo titles, tiles, rail excerpts */
@media (max-width: 767.98px) {
  .home-landing {
    --home-type-h1: clamp(1.85rem, 7.5vw, 2.45rem);
    --home-type-h2: clamp(1.35rem, 5.5vw, 1.75rem);
    --home-type-lead: clamp(1rem, 3.4vw, 1.125rem);
    --home-type-card-title: clamp(1.05rem, 3.6vw, 1.2rem);
    --home-type-body: 0.9375rem;
  }
}

/* Section rhythm token is home-only — product landings / open pool keep the classic .home-section pad. */
body.landing-home .home-landing {
  --home-section-y: clamp(3.5rem, 8vw, 6rem);
}

/*
  Mobile home content strategy (≤767.98px):
  KEEP: hero copy/CTAs, adaptive, compare, product demos (mock-only), career test,
        tracks, FAQ, final CTA.
  HIDE (DOM kept for SEO / desktop parity): hero visual demo, scenarios,
        career-tools cards, interview vacancies rail, blog rail.
  REDESIGN: drop section subs; product demos = tabs + mock only; tighter rhythm.
*/
@media (max-width: 767.98px) {
  body.landing-home .home-section--desktop-only,
  body.landing-home .home-desktop-only {
    display: none !important;
  }

  body.landing-home .home-landing {
    --home-section-y: clamp(2.25rem, 6vw, 3.25rem);
  }

  body.landing-home .home-landing .home-section--adaptive .home-section-sub,
  body.landing-home .home-landing .home-section--compare .home-section-sub,
  body.landing-home .home-landing #home-inside > .home-container > .home-section-sub:first-of-type,
  body.landing-home .home-landing .home-section-sub--after-tabs,
  body.landing-home .home-landing #home-start-title + .home-section-sub {
    display: none;
  }

  /* Product demos: tabs + mock only — copy/bullets are redundant with tab labels. */
  body.landing-home .home-landing .home-tab-panel__text {
    display: none;
  }

  body.landing-home .home-landing .home-tab-panels {
    min-height: 0;
    border-radius: 1.1rem;
  }

  body.landing-home .home-landing .home-tab-panel {
    min-height: 0;
  }

  body.landing-home .home-landing .home-tab-panel__layout {
    min-height: 0;
    height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  body.landing-home .home-landing .home-tab-panel__aside {
    padding: 0.7rem 0.75rem 0.85rem;
    border-top: none;
    min-height: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.12), transparent 55%),
      rgba(15, 23, 42, 0.25);
  }

  body.landing-home .home-landing .home-tab-panel__aside .home-tab-mock {
    width: 100%;
    /* Auto height: fixed 15rem clipped code/CV tutor chrome at the bottom. */
    height: auto;
    min-height: 15rem;
    max-height: none;
    padding: 0.7rem 0.75rem;
  }

  body.landing-home .home-landing .home-tab-mock--code {
    min-height: 17.75rem;
  }

  body.landing-home .home-landing .home-tab-mock-code__ace {
    min-height: 5.1rem;
  }

  body.landing-home .home-landing .home-tab-mock-code__tutor {
    flex: 0 0 auto;
    overflow: visible;
  }

  body.landing-home .home-landing .home-tab-mock-code__note {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  /* Compare: drop muted labels; denser bullets. */
  body.landing-home .home-landing .home-compare__col > p.muted {
    display: none;
  }

  body.landing-home .home-landing .home-compare__col {
    padding: 0.9rem 0.9rem 0.85rem;
  }

  body.landing-home .home-landing .home-compare ul {
    font-size: 0.875rem;
    line-height: 1.45;
    padding-left: 1rem;
  }

  body.landing-home .home-landing .home-compare li + li {
    margin-top: 0.35rem;
  }

  /* Adaptive: slightly tighter stage after dropping the section sub. */
  body.landing-home .home-landing .home-section--adaptive .home-section-title {
    margin-bottom: 1rem;
  }

  body.landing-home .home-landing #home-inside-title.home-section-title {
    margin-bottom: 1rem;
  }

  body.landing-home .home-landing #home-start-title.home-section-title {
    margin-bottom: 1rem;
  }

  /* Hero without visual: less bottom air after CTAs / trust. */
  body.landing-home .home-landing .home-hero.home-section {
    padding-bottom: clamp(0.5rem, 2vw, 1rem);
  }

  body.landing-home .home-landing .home-hero__row {
    gap: 0;
  }
}

.home-landing__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--home-bg);
  background-image:
    linear-gradient(var(--home-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.home-landing__inner {
  position: relative;
  z-index: 1;
}

.home-landing a.text-decoration-none {
  color: inherit;
}

.home-section {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.home-section--tight {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

/* Равный зазор между секциями: половина сверху + половина снизу = 1× --home-section-y */
body.landing-home .home-landing .home-section {
  padding-top: calc(var(--home-section-y) / 2);
  padding-bottom: calc(var(--home-section-y) / 2);
}

body.landing-home .home-landing .home-hero.home-section {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: calc(var(--home-section-y) / 2);
}

.home-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 1.5rem);
  padding-right: clamp(1rem, 4vw, 1.5rem);
  min-width: 0;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-color, #5b9bd5);
  background: rgba(91, 155, 213, 0.09);
  border: 1px solid rgba(91, 155, 213, 0.28);
  margin-bottom: 1.25rem;
}

.home-h1,
.landing-hero h1 {
  font-size: var(--home-type-h1, clamp(2rem, 4.5vw, 3.25rem));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1.15rem;
  color: var(--home-text);
}

#home-main-heading {
  white-space: pre-line;
}

.home-lead {
  font-size: var(--home-type-lead, clamp(1.125rem, 2.2vw, 1.35rem));
  line-height: 1.6;
  color: var(--home-muted);
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Поверх Bootstrap Reboot: маркетинговые ссылки-кнопки без подчёркивания */
.home-landing a.home-btn-primary,
.home-landing a.home-btn-primary:hover,
.home-landing a.home-btn-primary:focus,
.home-landing a.home-btn-primary:focus-visible,
.home-landing a.home-btn-primary:active,
.home-landing a.home-btn-primary:visited,
.home-landing a.home-btn-ghost,
.home-landing a.home-btn-ghost:hover,
.home-landing a.home-btn-ghost:focus,
.home-landing a.home-btn-ghost:focus-visible,
.home-landing a.home-btn-ghost:active,
.home-landing a.home-btn-ghost:visited {
  text-decoration: none;
}

.home-hero-trust-line {
  margin: 1.15rem 0 0;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--home-muted);
  letter-spacing: 0.01em;
}

.home-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  background: var(--home-cta);
  color: var(--home-cta-text) !important;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.home-btn-primary:hover {
  filter: brightness(1.06);
  color: var(--home-cta-text) !important;
}

.home-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 1.0625rem;
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
  color: var(--home-text) !important;
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.home-btn-ghost:hover {
  border-color: var(--home-accent);
  background: rgba(34, 211, 238, 0.06);
  color: var(--home-text) !important;
}

.home-hero {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

/* Hero заполняет первый вьюпорт — adaptive стартует со скролла */
body.landing-home .home-landing .home-hero.home-section {
  min-height: calc(100svh - var(--header-height, 60px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

body.landing-home .home-landing .home-hero.home-section > .home-container {
  width: 100%;
}

body.landing-home .home-landing .home-section--adaptive .home-section-sub {
  max-width: none;
}

@media (max-width: 991.98px) {
  body.landing-home .home-landing .home-hero.home-section {
    min-height: 0;
    display: block;
  }
}

.home-hero__row,
.landing-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  /* Do not set max-width here: on `.home-container.landing-hero` it would
     override the shared 1280px catalog/content ceiling. */
  min-width: 0;
}

.home-hero__row > *,
.landing-hero > * {
  min-width: 0;
}

@media (min-width: 992px) {
  .home-hero__row,
  .home-landing .landing-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
    gap: 2.25rem;
    align-items: center;
  }

  body.landing-home .home-hero__row > div:first-child .home-lead,
  body.landing-home .home-hero__row > div:first-child .home-hero-trust-line,
  .home-landing .landing-hero__copy .home-lead,
  .home-landing .landing-hero__copy .courses-landing-hero__lead,
  .home-landing .landing-hero__copy .professions-landing-hero__lead,
  .home-landing .landing-hero__copy .career-hub-hero__lead,
  .home-landing .landing-hero__copy .career-questions-hero__lead,
  .home-landing .landing-hero__copy .home-hero-trust-line,
  .home-landing .landing-hero__copy .career-hub-hero__trust {
    max-width: none;
  }
}

/* Герой: мобилка и планшет — CTA по центру */
@media (max-width: 991.98px) {
  .home-hero-actions {
    justify-content: center;
    width: 100%;
  }

  /* Одна колонка: лид и подпись тянутся на ширину контейнера (36rem слишком узко на планшете) */
  .home-landing .home-lead,
  .home-landing .home-hero-trust-line {
    max-width: none;
  }

  body.landing-home .home-landing .home-hero.home-section {
    padding-bottom: clamp(0.75rem, 2.5vw, 1.25rem);
  }

  .home-landing .home-hero-trust-line {
    text-align: center;
    text-wrap: balance;
    margin-left: auto;
    margin-right: auto;
  }

  .home-landing .home-hero-trust-line,
  .landing-hero__copy .home-hero-trust-line,
  .landing-hero__copy .career-hub-hero__trust {
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .home-hero__row > div:first-child,
  .home-hero .home-h1,
  .home-hero .home-lead {
    text-align: center;
  }
}

/* Phone: cap hero type so title stays ~2 lines and lead does not eat the CTA. */
@media (max-width: 575.98px) {
  .home-hero .home-h1,
  .landing-hero .home-h1,
  .landing-hero .courses-landing-hero__title,
  .landing-hero .professions-landing-hero__title {
    font-size: 2rem;
    line-height: 1.15;
    text-wrap: balance;
  }

  /* Desktop line breaks in the msgstr are too short for a phone column. */
  #home-main-heading {
    white-space: normal;
  }

  .home-hero .home-lead,
  .landing-hero .home-lead,
  .landing-hero .courses-landing-hero__lead,
  .landing-hero .professions-landing-hero__lead {
    font-size: 0.9375rem;
    line-height: 1.5;
    text-wrap: pretty;
  }
}

.home-hero__visual {
  position: relative;
  min-height: 0;
  /* Glow uses negative inset; clip so it cannot expand page scrollWidth. */
  overflow: clip;
}

@media (min-width: 992px) {
  .home-hero__visual {
    min-height: 360px;
  }
}

.home-hero__glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse at center, var(--home-glow), transparent 65%);
  pointer-events: none;
}

/* Split hero used by product landings (live coding, AI tutor, career hub). */
.landing-hero__copy .home-lead,
.landing-hero__copy .courses-landing-hero__lead,
.landing-hero__copy .professions-landing-hero__lead {
  max-width: 36rem;
  font-size: var(--home-type-lead, clamp(1.125rem, 2.2vw, 1.35rem));
  line-height: 1.6;
}

.landing-hero__copy .courses-landing-hero__title,
.landing-hero__copy .professions-landing-hero__title {
  text-align: left;
}

.landing-hero__copy .courses-landing-hero__lead,
.landing-hero__copy .professions-landing-hero__lead {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.landing-hero__copy .home-hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-hero__copy .home-hero-trust-line,
.landing-hero__copy .career-hub-hero__trust {
  display: block;
  /* Same column width as hero lead (desktop: max-width none in 992+ rule). */
  max-width: 36rem;
  margin-top: 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.landing-hero__media {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  /* Glow uses negative inset; clip so it cannot expand page scrollWidth / shift layout. */
  overflow: clip;
}

/*
  Phone: drop marketing hero mocks on courses / professions / career surfaces.
  AI tutor + home keep theirs (product demo is the first visual).
*/
@media (max-width: 767.98px) {
  body.landing-courses .landing-hero__media,
  body.landing-professions .landing-hero__media,
  body.landing-career-hub .landing-hero__media {
    display: none;
  }
}

@media (min-width: 992px) {
  .landing-hero__media {
    min-height: 360px;
  }
}

.landing-hero__glow {
  position: absolute;
  inset: -18% -12%;
  background: radial-gradient(ellipse at center, var(--home-glow), transparent 65%);
  pointer-events: none;
}

.landing-hero__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--home-surface);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.landing-hero__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  vertical-align: middle;
}

@media (min-width: 992px) {
  .landing-hero__frame {
    height: var(--home-hero-visual-h, 30.25rem);
  }

  .landing-hero__shot {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 991.98px) {
  .landing-hero {
    text-align: center;
  }

  .landing-hero__copy .home-h1,
  .landing-hero__copy .home-lead,
  .landing-hero__copy .home-hero-trust-line,
  .landing-hero__copy .courses-landing-hero__title,
  .landing-hero__copy .professions-landing-hero__title,
  .landing-hero__copy .courses-landing-hero__lead,
  .landing-hero__copy .professions-landing-hero__lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .landing-hero__copy .home-hero-actions {
    justify-content: center;
    width: 100%;
  }

  .landing-hero__media {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .landing-hero__copy .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
  }

  .landing-hero__copy .home-btn-primary,
  .landing-hero__copy .home-btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.home-hero-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  height: var(--home-hero-visual-h, 30.25rem);
  /* Preview only. Fake controls must not take taps on a phone. */
  pointer-events: none;
  user-select: none;
}

.home-hero-stage__app {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1.15rem;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.home-hero-stage__toolbar {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding: 0.55rem 0.75rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.72);
}

.home-hero-stage__back {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.15rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.68rem;
  font-weight: 700;
  color: #e5e7eb;
  white-space: nowrap;
}

.home-hero-stage__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  font-size: 0.68rem;
  color: #9ca3af;
}

.home-hero-stage__crumbs-sep {
  opacity: 0.55;
}

.home-hero-stage__crumbs-now {
  color: #f9fafb;
  font-weight: 600;
}

.home-hero-stage__layout {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: minmax(7.5rem, 0.34fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.home-hero-stage__plan {
  min-width: 0;
  overflow: hidden;
  padding: 0.7rem 0.55rem 0.8rem;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.55);
}

.home-hero-stage__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2dd4bf;
}

.home-hero-stage__plan-link {
  position: relative;
  display: block;
  margin-bottom: 0.35rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
  line-height: 1.3;
  color: #d7dfec;
}

.home-hero-stage__plan-link.is-done {
  padding-right: 1.35rem;
}

.home-hero-stage__plan-check {
  position: absolute;
  top: 0.32rem;
  right: 0.32rem;
  color: #2dd4bf;
}

.home-hero-stage__plan-check svg {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
}

.home-hero-stage__plan-link.is-active {
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(45, 212, 191, 0.1);
  color: #f9fafb;
}

.home-hero-stage__main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.home-hero-stage__tabs {
  display: flex;
  flex-shrink: 0;
  gap: 0;
  padding: 0 0.35rem;
  background: rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-stage__tabs span {
  padding: 0.4rem 0.65rem;
  margin-bottom: -1px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #8b92a8;
  border-bottom: 2px solid transparent;
}

.home-hero-stage__tabs span.is-active {
  color: #2dd4bf;
  border-bottom-color: rgba(45, 212, 191, 0.85);
}

.home-hero-stage__workspace {
  position: relative;
  flex-shrink: 0;
  padding: 0.65rem 0.7rem 0.55rem;
}

.home-hero-stage__workspace-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.home-hero-stage__panel-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f9fafb;
}

.home-hero-stage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.home-hero-stage__lang {
  min-height: 1.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.68rem;
  font-weight: 600;
  color: #e5e7eb;
}

.home-hero-stage__btn-ghost,
.home-hero-stage__btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.home-hero-stage__btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
}

.home-hero-stage__btn-primary {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: #0f172a;
}

.home-hero-stage__ace {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  overflow: hidden;
  height: 8.4rem;
  min-height: 8.4rem;
  max-height: 8.4rem;
  border-radius: 8px;
  border-left: 4px solid #5b9bd5;
  background: #2b2b2b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-family: Consolas, Monaco, "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  line-height: 1.45;
}

.home-hero-stage__gutter {
  margin: 0;
  padding: 0.45rem 0.2rem 0.45rem 0;
  list-style: none;
  background: #313335;
  border-right: 1px solid #3c3f41;
  color: #606366;
  text-align: right;
  user-select: none;
}

.home-hero-stage__gutter li {
  padding-right: 0.25rem;
}

.home-hero-stage__source {
  min-width: 0;
  overflow: hidden;
  padding: 0.45rem 0.55rem 0.45rem 0.45rem;
  color: #a9b7c6;
}

.home-hero-stage__source > div {
  overflow: hidden;
  white-space: pre;
  tab-size: 4;
  text-overflow: ellipsis;
}

.home-hero-stage__source > div[data-indent="1"] {
  padding-left: 4ch;
}

.home-hero-stage__source > div[data-indent="2"] {
  padding-left: 8ch;
}

.home-hero-stage__source > div[data-indent="3"] {
  padding-left: 12ch;
}

.home-hero-stage__source > div.is-sel {
  background: rgba(45, 212, 191, 0.22);
  box-shadow: inset 2px 0 0 0 #2dd4bf;
}

.home-hero-stage__gutter li.is-sel {
  background: rgba(45, 212, 191, 0.14);
  color: #c5cdd6;
}

.home-hero-stage__sel-menu {
  position: absolute;
  z-index: 4;
  top: 5.2rem;
  left: 3.1rem;
  display: flex;
  flex-direction: column;
  min-width: 13.75rem;
  max-width: calc(100% - 2.6rem);
  padding: 0.28rem;
  border-radius: 10px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: rgba(18, 24, 38, 0.96);
  box-shadow:
    0 12px 28px rgba(2, 6, 23, 0.45),
    0 0 0 1px rgba(45, 212, 191, 0.08);
}

.home-hero-stage__sel-menu[hidden] {
  display: none !important;
}

.home-hero-stage__sel-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.5rem;
  border-radius: 7px;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.3;
  color: #e2e8f0;
}

.home-hero-stage__sel-item svg {
  flex-shrink: 0;
  width: 0.78rem;
  height: 0.78rem;
  color: #2dd4bf;
}

.home-hero-stage__sel-item.is-active {
  background: rgba(45, 212, 191, 0.14);
  color: #f8fafc;
}

.home-hero-stage__source .ace-kw {
  color: #cc7832;
}

.home-hero-stage__source .ace-fn {
  color: #ffc66d;
}

.home-hero-stage__tutor {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0.55rem 0.7rem 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 34%),
    rgba(15, 23, 42, 0.72);
}

.home-hero-stage__tutor-head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.home-hero-stage__tutor-avatar {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.34);
  background: #000;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.08);
}

.home-hero-stage__tutor-avatar img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.home-hero-stage__tutor-kicker,
.home-hero-stage__tutor-title {
  display: block;
}

.home-hero-stage__tutor-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  color: #2dd4bf;
}

.home-hero-stage__tutor-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.home-hero-stage__msg {
  flex-shrink: 0;
  max-width: 92%;
  margin: 0;
  padding: 0.4rem 0.55rem;
  border-radius: 0.7rem;
  font-size: 0.68rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.home-hero-stage__msg--user {
  margin-left: auto;
  background: rgba(51, 65, 85, 0.85);
  color: #e2e8f0;
}

.home-hero-stage__msg--ai {
  background: rgba(19, 78, 74, 0.55);
  color: #ccfbf1;
}

.home-hero-stage__log {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 0.35rem;
  min-height: 0;
  overflow: hidden;
}

.home-hero-stage__status {
  display: flex;
  flex-shrink: 0;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  color: #2dd4bf;
}

.home-hero-stage__status[hidden] {
  display: none !important;
}

.home-hero-stage__status-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.home-hero-stage__status-dots span {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.35);
  animation: home-hero-status-dot 1.05s ease-in-out infinite;
  animation-play-state: paused;
}

[data-home-hero-demo].is-anim .home-hero-stage__status-dots span,
[data-courses-hero-demo].is-anim .home-hero-stage__status-dots span,
[data-live-coding-hero-demo].is-anim .home-hero-stage__status-dots span,
[data-live-coding-cycle-demo].is-anim .home-hero-stage__status-dots span,
[data-iq-hero-demo].is-anim .home-hero-stage__status-dots span,
[data-it-hero-demo].is-anim .home-hero-stage__status-dots span,
[data-ai-tutor-hero-demo].is-anim .home-hero-stage__status-dots span {
  animation-play-state: running;
}

.home-hero-stage__status-dots span:nth-child(2) {
  animation-delay: 0.14s;
}

.home-hero-stage__status-dots span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes home-hero-status-dot {
  0%,
  70%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-stage__status-dots span {
    animation: none;
    opacity: 0.85;
  }
}

.home-hero-stage__quote {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0 0 0.4rem;
  padding: 0.35rem 0.4rem 0.35rem 0;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.home-hero-stage__quote[hidden] {
  display: none !important;
}

.home-hero-stage__quote-accent {
  flex: 0 0 3px;
  margin: 0.1rem 0 0.1rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #5eead4, #2dd4bf);
}

.home-hero-stage__quote-main {
  min-width: 0;
  flex: 1;
}

.home-hero-stage__quote-label {
  margin: 0 0 0.12rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2dd4bf;
}

.home-hero-stage__quote-text {
  margin: 0;
  max-height: 2.2rem;
  overflow: hidden;
  font-family: Consolas, Monaco, "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #cbd5e1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-hero-stage__input:empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
}

.home-hero-stage__input:not(:empty) {
  color: #f8fafc;
}

.home-hero-stage__send.is-pulse {
  filter: brightness(1.12);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

.home-hero-stage__composer {
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.home-hero-stage__input-wrap {
  position: relative;
  width: 100%;
}

.home-hero-stage__input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 2.15rem;
  min-height: 2.15rem;
  max-height: 2.15rem;
  overflow: hidden;
  padding: 0.4rem 3.7rem 0.4rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.42);
  color: #9ca3af;
  font-size: 0.68rem;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-hero-stage__voice,
.home-hero-stage__send {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.45rem;
  height: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.home-hero-stage__voice {
  right: 1.95rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(203, 213, 225, 0.82);
}

.home-hero-stage__send {
  right: 0.28rem;
  border: 1px solid rgba(45, 212, 191, 0.7);
  background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 100%);
  color: rgba(15, 23, 42, 0.96);
}

.home-hero-stage__voice svg,
.home-hero-stage__send svg {
  display: block;
  width: 0.72rem;
  height: 0.72rem;
}

.home-hero-stage__input-hint {
  margin: 0.28rem 0 0;
  padding: 0 0.1rem;
  font-size: 0.58rem;
  line-height: 1.3;
  color: #9ca3af;
  text-align: right;
}

@media (max-width: 575.98px) {
  .home-hero-stage__layout {
    grid-template-columns: 1fr;
  }

  .home-hero-stage__plan {
    display: none;
  }
}

.home-mock-code {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.home-section-title {
  font-size: var(--home-type-h2, clamp(1.5rem, 3vw, 2rem));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
  color: var(--home-text);
  text-align: center;
}

#home-scenarios-title.home-section-title {
  margin-bottom: 1.5rem;
}

#home-inside {
  scroll-margin-top: calc(var(--header-height, 60px) + 1.25rem);
}

@media (max-width: 991.98px) {
  #home-inside {
    scroll-margin-top: calc(var(--header-height, 60px) + 0.75rem);
  }
}

.home-section-sub {
  font-size: var(--home-type-lead, 1.125rem);
  color: var(--home-muted);
  text-align: center;
  max-width: none;
  width: 100%;
  margin: 0 0 2.25rem;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .home-section-sub {
    margin-bottom: 1.25rem;
    font-size: var(--home-type-lead, 1rem);
    line-height: 1.45;
  }
}

.home-section-sub--after-tabs {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.home-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .home-cards-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.home-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  padding: 1.45rem 1.3rem;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(10, 14, 20, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 16px 36px rgba(0, 0, 0, 0.26);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767.98px) {
  .home-card {
    padding: 1.1rem 1rem;
    border-radius: 1rem;
  }
}

.home-card::after {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: -2.5rem;
  top: -3rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(36px);
  opacity: 0.85;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.34), transparent 70%);
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-a 18s ease-in-out infinite;
}

.home-cards-grid--4 > .home-card:nth-child(2)::after,
.home-cards-grid--3 > .home-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
  animation-name: home-blob-drift-b;
  animation-delay: -5s;
}

.home-cards-grid--4 > .home-card:nth-child(3)::after,
.home-cards-grid--3 > .home-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%);
  left: -2.25rem;
  right: auto;
  top: auto;
  bottom: -2.75rem;
  animation-name: home-blob-drift-a;
  animation-delay: -9s;
}

.home-cards-grid--4 > .home-card:nth-child(4)::after {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.3), transparent 70%);
  right: -2rem;
  top: auto;
  bottom: -2.5rem;
  animation-name: home-blob-drift-b;
  animation-delay: -13s;
}

.home-card > * {
  position: relative;
  z-index: 1;
}

.home-card:hover {
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 44px rgba(0, 0, 0, 0.32);
}

a.home-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Signup-benefits: layout иконка+заголовок / текст (оригинальная сетка) */
@media (max-width: 991.98px) {
  .home-section--signup-benefits .home-cards-grid--4 > .home-card {
    display: block;
  }

  .home-section--signup-benefits .home-card__icon {
    display: none;
  }
}

@media (min-width: 992px) {
  .home-section--signup-benefits .home-cards-grid--4 > .home-card {
    display: grid;
    grid-template-columns: 2.65rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.45rem;
    align-items: start;
  }

  .home-section--signup-benefits .home-cards-grid--4 > .home-card .home-card__icon {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    align-self: center;
  }

  .home-section--signup-benefits .home-cards-grid--4 > .home-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-width: 0;
    align-self: center;
  }

  .home-section--signup-benefits .home-cards-grid--4 > .home-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    min-width: 0;
    max-width: none;
  }
}

.home-section--signup-benefits .home-cards-grid--4 > .home-card h3 {
  white-space: pre-line;
}

.home-card__icon {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.75rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-accent);
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25) inset;
}

.home-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2;
}

/* Blobs дрейфуют медленно ВНУТРИ overflow:hidden панелей (rem, не % родителя) */
@keyframes home-blob-drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(2.75rem, -2rem, 0) scale(1.08);
  }
  50% {
    transform: translate3d(0.6rem, 1.75rem, 0) scale(0.96);
  }
  75% {
    transform: translate3d(-2.4rem, -0.6rem, 0) scale(1.05);
  }
}

@keyframes home-blob-drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  30% {
    transform: translate3d(-2.6rem, 2.1rem, 0) scale(1.09);
  }
  55% {
    transform: translate3d(2.2rem, 0.7rem, 0) scale(0.95);
  }
  80% {
    transform: translate3d(-0.85rem, -1.9rem, 0) scale(1.06);
  }
}

/* Benefit strip: opaque-панели + blob внутри каждой карточки */
.home-benefit-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-benefit-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.home-benefit-strip__item {
  position: relative;
  z-index: 1;
  padding: 1.65rem 1.4rem 1.55rem;
  text-align: center;
  overflow: hidden;
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(10, 14, 20, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-benefit-strip__item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 212, 191, 0.45),
    rgba(56, 189, 248, 0.35),
    transparent
  );
  opacity: 0.85;
  pointer-events: none;
}

.home-benefit-strip__item::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
  opacity: 0.55;
  will-change: transform;
}

.home-benefit-strip__item:nth-child(1)::after {
  left: 8%;
  top: 12%;
  background: rgba(45, 212, 191, 0.42);
  animation: home-blob-drift-a 20s ease-in-out infinite;
}

.home-benefit-strip__item:nth-child(2)::after {
  left: calc(50% - 4.5rem);
  top: 18%;
  background: rgba(34, 211, 238, 0.4);
  animation: home-blob-drift-b 22s ease-in-out infinite;
  animation-delay: -7s;
}

.home-benefit-strip__item:nth-child(3)::after {
  right: 6%;
  bottom: 8%;
  left: auto;
  top: auto;
  background: rgba(56, 189, 248, 0.38);
  animation: home-blob-drift-a 21s ease-in-out infinite;
  animation-delay: -12s;
}

.home-benefit-strip__item:hover {
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(45, 212, 191, 0.08);
  transform: translateY(-2px);
}

.home-benefit-strip__item h3,
.home-benefit-strip__item p {
  position: relative;
  z-index: 1;
}

.home-benefit-strip__item h3 {
  margin: 0 0 0.5rem;
  font-size: var(--home-type-card-title);
  font-weight: 600;
  line-height: 1.25;
  color: var(--home-text);
}

.home-benefit-strip__item p {
  margin: 0;
  font-size: var(--home-type-body);
  line-height: 1.5;
  color: var(--home-muted);
}

@media (prefers-reduced-motion: reduce) {
  .home-card::after,
  .home-benefit-strip__item::after,
  .home-feature-slider__stage::before,
  .home-feature-slider__stage::after,
  .home-scenario::after,
  .home-cta-strip::before,
  .home-cta-strip::after,
  .home-career-test-promo__glow,
  .home-career-test-promo::after {
    animation: none !important;
  }

  .home-benefit-strip__item:hover {
    transform: none;
  }
}

.home-card h3 {
  font-size: var(--home-type-card-title, 1.05rem);
  font-weight: 600;
  margin: 0 0 0.55rem;
  color: var(--home-text);
}

.home-card p {
  margin: 0;
  font-size: var(--home-type-body, 0.9375rem);
  line-height: 1.55;
  color: var(--home-muted);
}

a.home-card--outcome {
  padding: 1.75rem 1.5rem;
}

.home-section--personalize .home-card--viz {
  display: flex;
  flex-direction: column;
  padding: 0 0 1.35rem;
  overflow: hidden;
}

.home-section--personalize .home-card--viz > h3,
.home-section--personalize .home-card--viz > p {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

/* Adaptive: один крупный слайд + сегменты снизу + автоплей */
.home-feature-slider {
  position: relative;
  isolation: isolate;
}

.home-feature-slider__nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
  margin: 1.15rem auto 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-feature-slider__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.home-feature-slider__tabs > button {
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  color: var(--home-muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.home-feature-slider__tabs > button.is-active,
.home-feature-slider__tabs > button:hover {
  border-color: rgba(45, 212, 191, 0.28);
  color: var(--home-text);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.16), rgba(34, 211, 238, 0.08));
}

.home-feature-slider__progress {
  position: relative;
  width: min(16rem, 72%);
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
  pointer-events: none;
}

.home-feature-slider__progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.9), rgba(34, 211, 238, 0.85));
}

.home-feature-slider.is-playing .home-feature-slider__progress::after {
  animation: home-feature-progress var(--home-feature-auto-ms, 6.4s) linear forwards;
}

@keyframes home-feature-progress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-feature-slider.is-playing .home-feature-slider__progress::after {
    animation: none;
    width: 0%;
  }
}

.home-feature-slider__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 1.4rem;
  min-height: 20rem;
  touch-action: pan-y;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(10, 14, 20, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 28px 56px rgba(0, 0, 0, 0.34);
}

@keyframes home-feature-blob-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(4.5rem, -3rem, 0) scale(1.1);
  }
  50% {
    transform: translate3d(1rem, 2.75rem, 0) scale(0.94);
  }
  75% {
    transform: translate3d(-3.75rem, -1.25rem, 0) scale(1.08);
  }
}

@keyframes home-feature-blob-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  30% {
    transform: translate3d(-4rem, 3.25rem, 0) scale(1.12);
  }
  55% {
    transform: translate3d(3.5rem, 1rem, 0) scale(0.93);
  }
  80% {
    transform: translate3d(-1.5rem, -3rem, 0) scale(1.07);
  }
}

.home-feature-slider__stage::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  left: 8%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.28), transparent 70%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-a 18s ease-in-out infinite;
}

.home-feature-slider__stage::after {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: 4%;
  bottom: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-b 22s ease-in-out infinite;
  animation-delay: -6s;
}

.home-feature-slide {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  align-self: stretch;
  min-width: 0;
}

.home-feature-slide[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.home-feature-slide:not([hidden]) {
  visibility: visible;
  z-index: 1;
}

@keyframes home-swipe-hint-peek {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  38% {
    transform: translate3d(-13%, 0, 0);
  }
  72% {
    transform: translate3d(4.5%, 0, 0);
  }
}

@media (max-width: 991.98px) {
  .home-feature-slide.is-swipe-hinting,
  .home-scenario-slide.is-swipe-hinting,
  .home-tab-panel.is-swipe-hinting {
    animation: home-swipe-hint-peek 1.55s cubic-bezier(0.33, 0.12, 0.25, 1) both;
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-feature-slide.is-swipe-hinting,
  .home-scenario-slide.is-swipe-hinting,
  .home-tab-panel.is-swipe-hinting {
    animation: none;
  }
}

.home-feature-slide__viz {
  min-width: 0;
}

.home-feature-slide__viz {
  padding: 1rem 1rem 0.85rem;
  box-sizing: border-box;
}

.home-feature-slide__viz .home-adaptive-viz {
  height: 12.5rem;
  margin: 0;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at 20% 0%, rgba(45, 212, 191, 0.18), transparent 46%),
    rgba(15, 23, 42, 0.55);
}

.home-feature-slide__copy {
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.35rem, 3vw, 2.25rem) clamp(1.65rem, 3.5vw, 2.5rem);
}

.home-feature-slide__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--home-cta);
}

.home-feature-slide__copy h3 {
  margin: 0 0 0.65rem;
  font-size: var(--home-type-card-title, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--home-text);
}

.home-feature-slide__copy > p:last-child {
  margin: 0;
  max-width: 36rem;
  font-size: var(--home-type-lead, 1.125rem);
  line-height: 1.55;
  color: var(--home-muted);
}

/* Phone: copy sits under viz — drop redundant kicker (tabs already label the slide),
   shrink type/padding so the stage fits ~1 viewport without a wall of text. */
@media (max-width: 767.98px) {
  .home-feature-slider__stage {
    min-height: 0;
    border-radius: 1.1rem;
  }

  .home-feature-slide__viz {
    padding: 0.75rem 0.75rem 0;
  }

  .home-feature-slide__viz .home-adaptive-viz {
    height: 10.25rem;
    border-radius: 0.85rem;
  }

  .home-feature-slide__copy {
    padding: 0.8rem 0.95rem 1rem;
  }

  .home-feature-slide__kicker {
    display: none;
  }

  .home-feature-slide__copy h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .home-feature-slide__copy > p:last-child {
    font-size: 0.875rem;
    line-height: 1.45;
  }
}

@media (min-width: 768px) {
  .home-feature-slide {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 20rem;
  }

  .home-feature-slide__viz {
    padding: 1.15rem 0.9rem 1.15rem 1.15rem;
    display: flex;
  }

  .home-feature-slide__viz .home-adaptive-viz {
    flex: 1 1 auto;
    height: auto;
    min-height: 17.5rem;
  }

  .home-feature-slide__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(2rem, 4vw, 2.75rem);
  }

  .home-feature-slide__copy h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  }

  .home-feature-slide__copy > p:last-child {
    max-width: 28rem;
  }
}

.home-foresight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.35rem, 4vw, 2.75rem);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(10, 14, 20, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 28px 64px rgba(0, 0, 0, 0.35);
}

.home-foresight::before,
.home-foresight::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(52px);
  will-change: transform;
}

.home-foresight::before {
  width: min(48%, 18rem);
  height: min(58%, 14rem);
  left: 8%;
  top: 10%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.48), transparent 70%);
  opacity: 0.72;
  animation: home-blob-drift-a 22s ease-in-out infinite;
}

.home-foresight::after {
  width: min(44%, 16rem);
  height: min(54%, 13rem);
  right: 10%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42), transparent 70%);
  opacity: 0.68;
  animation: home-blob-drift-b 26s ease-in-out infinite;
  animation-delay: -9s;
}

.home-foresight > * {
  position: relative;
  z-index: 1;
}

.home-foresight .home-eyebrow {
  margin-bottom: 1.1rem;
  color: var(--home-cta);
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.32);
}

.home-foresight__title {
  margin: 0 0 0.9rem;
  font-size: var(--home-type-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--home-text);
}

.home-foresight__lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: var(--home-type-lead);
  line-height: 1.55;
  color: var(--home-muted);
}

@media (prefers-reduced-motion: reduce) {
  .home-foresight::before,
  .home-foresight::after {
    animation: none;
  }
}

.home-adaptive-viz {
  pointer-events: none;
  height: 7.1rem;
  margin: 0 0 0.95rem;
  overflow: hidden;
  contain: layout paint;
  background:
    radial-gradient(circle at 18% 0%, rgba(45, 212, 191, 0.16), transparent 42%),
    rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.home-adaptive-viz__screen {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  padding: 0.85rem 1rem 0.75rem;
}

.hav-pace__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.55rem;
  margin: 0.15rem 0.15rem 0.85rem;
  container-type: inline-size;
}

.hav-pace__track::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, #2dd4bf 0%, #2dd4bf 38%, #334155 38%, #334155 100%);
  transform: translateY(-50%);
}

.hav-pace__step {
  position: relative;
  z-index: 1;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #64748b;
}

.hav-pace__step.is-done {
  background: #2dd4bf;
  border-color: #5eead4;
}

.hav-pace__step.is-slow {
  border-color: #fbbf24;
  background: #422006;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.12);
}

.hav-pace__runner {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: -0.48rem;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.35);
  animation: hav-pace-run 6.4s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-pace__meters {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.hav-pace__meter {
  display: block;
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.7);
}

.hav-pace__meter i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
}

.hav-pace__meter--speed i {
  background: linear-gradient(90deg, #22d3ee, #2dd4bf);
  transform: scaleX(0.44);
  animation: hav-pace-speed 6.4s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-pace__meter--depth i {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  transform: scaleX(0.22);
  animation: hav-pace-depth 6.4s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes hav-pace-run {
  0% {
    transform: translate3d(2cqw, 0, 0);
  }

  18% {
    transform: translate3d(22cqw, 0, 0);
  }

  32%,
  54% {
    transform: translate3d(46cqw, 0, 0);
  }

  74% {
    transform: translate3d(70cqw, 0, 0);
  }

  100% {
    transform: translate3d(90cqw, 0, 0);
  }
}

@keyframes hav-pace-speed {
  0%,
  18% {
    transform: scaleX(0.58);
  }

  32%,
  54% {
    transform: scaleX(0.24);
  }

  74%,
  100% {
    transform: scaleX(0.82);
  }
}

@keyframes hav-pace-depth {
  0% {
    transform: scaleX(0.16);
  }

  54% {
    transform: scaleX(0.48);
  }

  100% {
    transform: scaleX(0.86);
  }
}

.home-adaptive-viz--code {
  background: #2b2b2b;
}

.hav-code {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.hav-code__ace {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  font-family: Consolas, Monaco, "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  line-height: 1.45;
}

.hav-code__gutter {
  margin: 0;
  padding: 0.4rem 0.15rem 0.3rem 0;
  list-style: none;
  background: #313335;
  border-right: 1px solid #3c3f41;
  color: #606366;
  font-size: 0.52rem;
  text-align: right;
  user-select: none;
}

.hav-code__gutter li.is-sel {
  background: rgba(45, 212, 191, 0.14);
  color: #c5cdd6;
}

.hav-code__src {
  min-width: 0;
  padding: 0.4rem 0.55rem 0.3rem 0.5rem;
  color: #a9b7c6;
}

.hav-code__src > div {
  white-space: pre;
}

.hav-code__src > div[data-indent="1"] {
  padding-left: 4ch;
}

.hav-code__src .ace-kw {
  color: #cc7832;
}

.hav-code__src > div.is-sel {
  background: rgba(45, 212, 191, 0.16);
  box-shadow: inset 2px 0 0 0 #2dd4bf;
}

.hav-code__tok {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin: 0;
  padding: 0.05em 0.12em;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
}

.hav-code__tok::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 2px;
  background: rgba(45, 212, 191, 0.28);
  opacity: 0;
  animation: hav-code-sel 5.6s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-code__bubble {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em 0.4em;
  margin: 0;
  padding: 0.32rem 0.55rem 0.38rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 48%),
    rgba(15, 23, 42, 0.92);
  color: #ecfdf5;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.35;
  animation: hav-code-bubble 5.6s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-code__bubble code {
  display: inline-block;
  padding: 0.08em 0.32em;
  border-radius: 0.28rem;
  background: rgba(15, 23, 42, 0.55);
  color: #99f6e4;
  font-family: Consolas, Monaco, "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@keyframes hav-code-sel {
  0%,
  12% {
    opacity: 0;
  }

  24%,
  100% {
    opacity: 1;
  }
}

@keyframes hav-code-bubble {
  0%,
  28% {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }

  40%,
  88% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: none;
  }
}

.hav-next {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.72rem;
  padding: 0.7rem 0.9rem 0.65rem;
}

.hav-next__path {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.7rem;
  container-type: inline-size;
}

.hav-next__node {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: 2px solid #64748b;
  background: #0f172a;
}

.hav-next__node.is-done {
  border-color: #2dd4bf;
  background: #134e4a;
}

.hav-next__node.is-done::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.24rem;
  width: 0.38rem;
  height: 0.66rem;
  border-right: 2px solid #5eead4;
  border-bottom: 2px solid #5eead4;
  transform: rotate(40deg);
}

.hav-next__node.is-now {
  border-color: #22d3ee;
  background: #164e63;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}

.hav-next__node.is-next {
  border-color: #475569;
  background: #1e293b;
}

.hav-next__node.is-next::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #2dd4bf;
  opacity: 0;
  transform: scale(0.35);
  animation: hav-next-unlock 5.2s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-next__node.is-next::before {
  content: "";
  position: absolute;
  inset: -0.42rem;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.5);
  opacity: 0;
  transform: scale(0.65);
  animation: hav-next-pulse 5.2s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-next__wire {
  flex: 1 1 2rem;
  height: 2px;
  min-width: 1.2rem;
  background: #2dd4bf;
  transform-origin: left center;
}

.hav-next__wire--to-next {
  background: repeating-linear-gradient(
    90deg,
    #2dd4bf 0 6px,
    transparent 6px 11px
  );
  opacity: 0.35;
  transform: scaleX(0);
  animation: hav-next-draw 5.2s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-next__runner {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.35rem;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.32);
  animation: hav-next-run 5.2s ease-in-out infinite;
  animation-play-state: paused;
}

.hav-next__topics {
  display: flex;
  gap: 0.4rem;
}

.hav-next__topic {
  display: block;
  flex: 1 1 0;
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.7);
}

.hav-next__topic.is-done {
  background: #2dd4bf;
}

.hav-next__topic.is-now {
  background: #22d3ee;
}

.hav-next__topic.is-next {
  position: relative;
}

.hav-next__topic.is-next::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4bf, #22d3ee);
  transform: scaleX(0.16);
  transform-origin: left center;
  opacity: 0.35;
  animation: hav-next-topic 5.2s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes hav-next-run {
  0%,
  10% {
    transform: translate3d(0.38rem, 0, 0);
  }

  28%,
  40% {
    transform: translate3d(calc(50cqw - 0.35rem), 0, 0);
  }

  58%,
  90% {
    transform: translate3d(calc(100cqw - 1.1rem), 0, 0);
  }

  100% {
    transform: translate3d(calc(100cqw - 1.1rem), 0, 0);
  }
}

@keyframes hav-next-draw {
  0%,
  36% {
    opacity: 0.35;
    transform: scaleX(0);
  }

  52%,
  92% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.45;
    transform: scaleX(1);
  }
}

@keyframes hav-next-unlock {
  0%,
  50% {
    opacity: 0;
    transform: scale(0.35);
  }

  62%,
  90% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.2;
    transform: scale(1);
  }
}

@keyframes hav-next-pulse {
  0%,
  58% {
    opacity: 0;
    transform: scale(0.65);
  }

  70% {
    opacity: 1;
    transform: scale(1);
  }

  88%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes hav-next-topic {
  0%,
  48% {
    opacity: 0.3;
    transform: scaleX(0.16);
  }

  64%,
  92% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.4;
    transform: scaleX(1);
  }
}

.home-adaptive-viz.is-anim .hav-pace__runner,
.home-adaptive-viz.is-anim .hav-pace__meter i,
.home-adaptive-viz.is-anim .hav-code__tok::before,
.home-adaptive-viz.is-anim .hav-code__bubble,
.home-adaptive-viz.is-anim .hav-next__runner,
.home-adaptive-viz.is-anim .hav-next__node.is-next::before,
.home-adaptive-viz.is-anim .hav-next__node.is-next::after,
.home-adaptive-viz.is-anim .hav-next__wire--to-next,
.home-adaptive-viz.is-anim .hav-next__topic.is-next::after {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .hav-pace__runner,
  .hav-pace__meter i,
  .hav-code__tok::before,
  .hav-code__bubble,
  .hav-next__runner,
  .hav-next__node.is-next::before,
  .hav-next__node.is-next::after,
  .hav-next__wire--to-next,
  .hav-next__topic.is-next::after {
    animation: none;
  }

  .hav-pace__runner {
    transform: translate3d(46cqw, 0, 0);
  }

  .hav-pace__meter--speed i {
    transform: scaleX(0.58);
  }

  .hav-pace__meter--depth i {
    transform: scaleX(0.62);
  }

  .hav-code__tok::before,
  .hav-code__bubble,
  .hav-next__node.is-next::before,
  .hav-next__node.is-next::after {
    opacity: 1;
    transform: none;
  }

  .hav-next__runner {
    transform: translate3d(calc(100cqw - 1.1rem), 0, 0);
  }

  .hav-next__wire--to-next,
  .hav-next__topic.is-next::after {
    opacity: 1;
    transform: none;
  }
}

.home-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(10, 14, 20, 0.92));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 28px 56px rgba(0, 0, 0, 0.32);
}

/* 2-col compare (home) */
@media (min-width: 768px) {
  .home-compare {
    grid-template-columns: 1fr 1fr;
  }
}

/* 3-step flows: never 2+1 on tablet — stay stacked until desktop */
@media (max-width: 991.98px) {
  .home-compare:has(> .home-compare__col:nth-child(3):last-child) {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .home-compare:has(> .home-compare__col:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-compare__col {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 0;
}

.home-compare__col::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(32px);
  opacity: 0.5;
  z-index: 0;
  will-change: transform;
  left: -2rem;
  bottom: -2.5rem;
  background: rgba(148, 163, 184, 0.28);
  animation: home-blob-drift-a 18s ease-in-out infinite;
}

.home-compare__col:nth-child(2)::after {
  left: auto;
  right: -1.5rem;
  top: -2rem;
  bottom: auto;
  background: rgba(34, 211, 238, 0.32);
  animation-name: home-blob-drift-b;
  animation-delay: -6s;
}

.home-compare__col:nth-child(3)::after,
.home-compare__col:last-child:nth-child(n + 3)::after {
  left: auto;
  right: -1.25rem;
  top: auto;
  bottom: -2.25rem;
  background: rgba(45, 212, 191, 0.34);
  animation-name: home-blob-drift-a;
  animation-delay: -11s;
}

.home-compare__col > * {
  position: relative;
  z-index: 1;
}

.home-compare__col + .home-compare__col {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

@media (min-width: 768px) {
  .home-compare:not(:has(> .home-compare__col:nth-child(3):last-child))
    .home-compare__col
    + .home-compare__col {
    border-top: none;
    border-left: 1px solid rgba(148, 163, 184, 0.14);
  }

  .home-compare:not(:has(> .home-compare__col:nth-child(3):last-child))
    .home-compare__col:last-child {
    background: linear-gradient(160deg, rgba(45, 212, 191, 0.07), transparent 55%);
  }
}

@media (min-width: 992px) {
  .home-compare:has(> .home-compare__col:nth-child(3):last-child)
    .home-compare__col
    + .home-compare__col {
    border-top: none;
    border-left: 1px solid rgba(148, 163, 184, 0.14);
  }

  .home-compare:has(> .home-compare__col:nth-child(3):last-child)
    .home-compare__col:last-child {
    background: linear-gradient(160deg, rgba(45, 212, 191, 0.07), transparent 55%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-compare__col::after {
    animation: none !important;
  }
}

.home-compare__col h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
}

.home-compare__col .muted {
  color: var(--home-muted);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.home-compare__col > p:not(.muted) {
  margin: 0;
  color: var(--home-muted);
  font-size: var(--home-type-body, 1.0625rem);
  line-height: 1.7;
}

/* Shared step badge + title row (live-coding / AI-tutor / career flows) */
.career-hub-step-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  min-width: 0;
}

.career-hub-step-head--body {
  margin-bottom: 0;
}

.career-hub-step-head > .muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 1.85rem;
  height: 1.85rem;
  margin: 0.12rem 0 0;
  padding: 0 0.4rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: linear-gradient(145deg, #5eead4, #22d3ee);
  box-shadow: 0 6px 14px rgba(45, 212, 191, 0.2);
}

.career-hub-step-head > h3 {
  margin: 0;
  min-width: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.25;
}

.home-compare ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--home-muted);
  font-size: var(--home-type-body, 1.0625rem);
  line-height: 1.75;
}

@media (max-width: 767.98px) {
  .home-compare {
    border-radius: 1.1rem;
  }

  /* Home 2-way compare: separate cards instead of a split panel seam */
  .home-compare:has(> .home-compare__col:nth-child(2):last-child) {
    gap: 0.7rem;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }

  .home-compare:has(> .home-compare__col:nth-child(2):last-child) .home-compare__col {
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
      linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(10, 14, 20, 0.92));
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.05) inset,
      0 12px 28px rgba(0, 0, 0, 0.24);
  }

  .home-compare:has(> .home-compare__col:nth-child(2):last-child)
    .home-compare__col
    + .home-compare__col {
    border: 1px solid rgba(45, 212, 191, 0.28);
    background:
      linear-gradient(160deg, rgba(45, 212, 191, 0.12), transparent 52%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
      linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(10, 14, 20, 0.92));
  }

  .home-compare:has(> .home-compare__col:nth-child(2):last-child)
    .home-compare__col:first-child
    h3 {
    color: rgba(248, 250, 252, 0.78);
  }

  .home-compare:has(> .home-compare__col:nth-child(2):last-child)
    .home-compare__col:first-child
    ul {
    color: rgba(156, 163, 175, 0.88);
  }

  .home-compare__col {
    padding: 1.05rem 1rem;
  }

  .home-compare__col h3 {
    font-size: var(--home-type-card-title, 1.05rem);
    line-height: 1.25;
    margin-bottom: 0.15rem;
  }

  .home-compare__col > p.muted {
    margin: 0.05rem 0 0.4rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    letter-spacing: 0.03em;
  }

  .home-compare__col > p:not(.muted) {
    font-size: var(--home-type-body, 0.9375rem);
    line-height: 1.5;
  }

  .home-compare ul {
    font-size: var(--home-type-body, 0.9375rem);
    line-height: 1.55;
    padding-left: 1.1rem;
  }

  /* 3-step flows with legacy h3 + "Step N" (no career-hub-step-head yet) */
  .home-compare:has(> .home-compare__col:nth-child(3):last-child):not(:has(.career-hub-step-head)) {
    counter-reset: home-flow-step;
  }

  .home-compare:has(> .home-compare__col:nth-child(3):last-child):not(:has(.career-hub-step-head))
    .home-compare__col {
    counter-increment: home-flow-step;
    padding: 0.85rem 0.9rem;
  }

  .home-compare:has(> .home-compare__col:nth-child(3):last-child):not(:has(.career-hub-step-head))
    .home-compare__col
    > p.muted {
    display: none;
  }

  .home-compare:has(> .home-compare__col:nth-child(3):last-child):not(:has(.career-hub-step-head))
    .home-compare__col
    > h3 {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .home-compare:has(> .home-compare__col:nth-child(3):last-child):not(:has(.career-hub-step-head))
    .home-compare__col
    > h3::before {
    content: counter(home-flow-step);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    margin-top: 0.05rem;
    border-radius: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: #0f172a;
    background: linear-gradient(145deg, #5eead4, #22d3ee);
    box-shadow: 0 4px 10px rgba(45, 212, 191, 0.18);
  }

  .home-compare:has(> .home-compare__col:nth-child(3):last-child)
    .home-compare__col
    > p:not(.muted) {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .home-compare:has(.career-hub-step-head) .career-hub-step-head {
    margin-bottom: 0.45rem;
    gap: 0.55rem;
  }

  .home-compare:has(.career-hub-step-head) .career-hub-step-head > .muted {
    min-width: 1.55rem;
    height: 1.55rem;
    font-size: 0.75rem;
    border-radius: 0.45rem;
    box-shadow: 0 4px 10px rgba(45, 212, 191, 0.18);
  }

  .home-compare:has(.career-hub-step-head) .career-hub-step-head > h3 {
    font-size: 0.98rem;
    line-height: 1.3;
  }
}

/* Scenarios: один слайд — ситуация слева, решение справа */
.home-scenario-slider__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  touch-action: pan-y;
}

.home-scenario-slide {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  min-width: 0;
}

.home-scenario-slide[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.home-scenario-slide:not([hidden]) {
  visibility: visible;
  z-index: 1;
}

.home-scenario-slide__side {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.35rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

.home-scenario-slide__side--problem {
  background:
    radial-gradient(circle at 12% 20%, rgba(148, 163, 184, 0.12), transparent 50%),
    rgba(15, 23, 42, 0.35);
}

.home-scenario-slide__side--solution {
  background:
    radial-gradient(circle at 80% 30%, rgba(45, 212, 191, 0.18), transparent 52%),
    linear-gradient(160deg, rgba(45, 212, 191, 0.08), transparent 60%);
}

.home-scenario-slide__kicker {
  flex: 0 0 auto;
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--home-cta);
}

.home-scenario-slide__side--problem .home-scenario-slide__kicker {
  color: #94a3b8;
}

.home-scenario-slide__side h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--home-text);
}

.home-scenario-slide .problem {
  margin: 0;
  font-size: var(--home-type-lead, 1.125rem);
  line-height: 1.55;
  color: var(--home-muted);
  max-width: 28rem;
}

.home-scenario-slide .home-scenario__solution {
  margin-top: auto;
  margin-bottom: auto;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--home-text) !important;
  max-width: 28rem;
}

body.landing-home .home-landing .home-scenario-slide p.home-scenario__solution {
  color: var(--home-text) !important;
}

@media (min-width: 768px) {
  .home-scenario-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(20rem, 1fr);
    min-height: 20rem;
  }

  .home-scenario-slide__side--problem {
    border-right: 1px solid rgba(148, 163, 184, 0.12);
  }
}

@media (max-width: 767.98px) {
  .home-scenario-slide__side--solution {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }
}

.home-scenario {
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 2rem;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(10, 14, 20, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 16px 36px rgba(0, 0, 0, 0.26);
  height: 100%;
}

.home-scenario::after {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  left: -1.5rem;
  bottom: -2rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  opacity: 0.4;
  background: rgba(56, 189, 248, 0.3);
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-b 20s ease-in-out infinite;
}

.home-cards-grid--scenarios > .home-scenario:nth-child(2)::after {
  background: rgba(45, 212, 191, 0.32);
  left: auto;
  right: -1.5rem;
  animation-name: home-blob-drift-a;
  animation-delay: -7s;
}

.home-cards-grid--scenarios > .home-scenario:nth-child(3)::after {
  background: rgba(34, 211, 238, 0.3);
  left: 30%;
  bottom: -2.25rem;
  animation-delay: -13s;
}

.home-scenario > * {
  position: relative;
  z-index: 1;
}

.home-scenario h3 {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.home-scenario .problem {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Только блок «три ситуации»: общие строки subgrid, чтобы .home-scenario__solution совпадали по высоте */
@media (min-width: 768px) {
  @supports (grid-template-rows: subgrid) {
    .home-cards-grid--3.home-cards-grid--scenarios {
      grid-template-rows: auto 1fr auto;
      row-gap: 2rem;
      column-gap: 1rem;
    }

    .home-cards-grid--3.home-cards-grid--scenarios > .home-scenario {
      grid-template-rows: subgrid;
      grid-row: span 3;
      row-gap: 0;
      height: auto;
    }
  }
}

/* Акцент из админки: :root --accent-color в base.html (не статичный --public-header-accent) */
.home-scenario .home-scenario__solution {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 1.5rem 0 0;
  color: var(--accent-color, #007bff) !important;
}

body.landing-home .home-landing p.home-scenario__solution,
body.landing-career-hub .home-landing p.home-scenario__solution,
body.landing-ai-tutor .home-landing p.home-scenario__solution,
body.landing-career-sub .home-landing p.home-scenario__solution,
body.landing-pricing .home-landing p.home-scenario__solution,
body.landing-blog .home-landing p.home-scenario__solution, body.landing-courses .home-landing p.home-scenario__solution, body.landing-professions .home-landing p.home-scenario__solution, body.landing-auth .home-landing p.home-scenario__solution, body.landing-about .home-landing p.home-scenario__solution, body.landing-help .home-landing p.home-scenario__solution{
  color: var(--accent-color, #007bff) !important;
}

/* Product tabs: тот же язык, что у feature/scenario slider; табы сверху + progress */
.home-product-demo {
  position: relative;
  margin-bottom: 0;
  isolation: isolate;
}

.home-product-demo__nav {
  margin: 0 auto 1.15rem;
}

.home-product-demo.is-playing .home-feature-slider__progress::after {
  animation: home-feature-progress var(--home-feature-auto-ms, 7.2s) linear forwards;
}

@media (prefers-reduced-motion: reduce) {
  .home-product-demo.is-playing .home-feature-slider__progress::after {
    animation: none;
    width: 0%;
  }
}

.home-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.home-tabs button {
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  color: var(--home-muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.home-tabs button.is-active,
.home-tabs button:hover {
  border-color: rgba(45, 212, 191, 0.28);
  color: var(--home-text);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.16), rgba(34, 211, 238, 0.08));
}

@media (max-width: 991.98px) {
  /* Unified swipeable tab strip (feature / scenario / product) */
  .home-feature-slider__nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding: 0.35rem 0 0.55rem;
    border-radius: 0.9rem;
    background: rgba(10, 14, 20, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    overflow: hidden;
  }

  .home-feature-slider__nav::before,
  .home-feature-slider__nav::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    z-index: 3;
    pointer-events: none;
  }

  .home-feature-slider__nav::before {
    left: 0;
    background: linear-gradient(
      90deg,
      rgba(10, 14, 20, 0.98) 0%,
      rgba(10, 14, 20, 0.72) 42%,
      transparent 100%
    );
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    mask-image: linear-gradient(90deg, #000 35%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 100%);
  }

  .home-feature-slider__nav::after {
    right: 0;
    background: linear-gradient(
      270deg,
      rgba(10, 14, 20, 0.98) 0%,
      rgba(10, 14, 20, 0.72) 42%,
      transparent 100%
    );
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    mask-image: linear-gradient(270deg, #000 35%, transparent 100%);
    -webkit-mask-image: linear-gradient(270deg, #000 35%, transparent 100%);
  }

  .home-feature-slider__nav .home-feature-slider__tabs,
  .home-feature-slider__nav .home-tabs {
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.45rem;
    padding: 0.15rem 1.65rem 0.35rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 1.5rem,
      #000 calc(100% - 1.5rem),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 1.5rem,
      #000 calc(100% - 1.5rem),
      transparent 100%
    );
  }

  .home-feature-slider__nav .home-feature-slider__tabs > button,
  .home-feature-slider__nav .home-tabs button {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .home-feature-slider__nav .home-feature-slider__tabs::-webkit-scrollbar,
  .home-feature-slider__nav .home-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-feature-slider__nav .home-feature-slider__progress {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
  }

  /* Product demo: nav sits above panels → keep sticky while reading */
  .home-product-demo__nav {
    position: sticky;
    top: calc(var(--header-height, 60px) + 0.35rem);
    z-index: 10;
    margin-bottom: 0.75rem;
  }

  .home-product-demo .home-tab-panels {
    scroll-margin-top: calc(var(--header-height, 60px) + 5.5rem);
  }
}

/* Stage: одна поверхность; панели в одной ячейке → высота = max(slide) */
.home-tab-panels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 1.4rem;
  min-height: 20rem;
  touch-action: pan-y;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(10, 14, 20, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 28px 56px rgba(0, 0, 0, 0.34);
}

.home-tab-panels::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  left: 8%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.28), transparent 70%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-a 18s ease-in-out infinite;
}

.home-tab-panels::after {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: 4%;
  bottom: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-b 22s ease-in-out infinite;
  animation-delay: -6s;
}

@media (prefers-reduced-motion: reduce) {
  .home-tab-panels::before,
  .home-tab-panels::after {
    animation: none !important;
  }
}

.home-tab-panel {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0;
  min-height: 20rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-tab-panel[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.home-tab-panel:not([hidden]) {
  visibility: visible;
  z-index: 1;
}

.home-tab-panel__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  align-items: stretch;
  min-height: 20rem;
  height: 100%;
}

@media (min-width: 768px) {
  .home-tab-panel__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }
}

.home-tab-panel__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.35rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 12% 20%, rgba(148, 163, 184, 0.12), transparent 50%),
    rgba(15, 23, 42, 0.35);
}

.home-tab-panel__text > * {
  position: relative;
  z-index: 1;
}

.home-tab-panel h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--home-text);
}

.home-tab-panel__lead {
  margin: 0 0 1rem;
  color: var(--home-muted);
  line-height: 1.55;
  font-size: var(--home-type-lead, 1.125rem);
  max-width: none;
  width: 100%;
}

.home-tab-panel__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--home-muted);
  line-height: 1.6;
  font-size: var(--home-type-body, 1.0625rem);
}

.home-tab-panel__list li {
  margin-bottom: 0.5rem;
}

.home-tab-panel__list li:last-child {
  margin-bottom: 0;
}

.home-tab-panel__aside {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 80% 30%, rgba(45, 212, 191, 0.16), transparent 52%),
    linear-gradient(160deg, rgba(45, 212, 191, 0.06), transparent 60%);
}

@media (min-width: 768px) {
  .home-tab-panel__text {
    border-right: 1px solid rgba(148, 163, 184, 0.12);
  }
}

@media (max-width: 767.98px) {
  .home-tab-panel__aside {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }
}

/* Фиксированная высота моков в колонке: вкладки не двигают сетку по вертикали */
.home-tab-panel__aside .home-tab-mock {
  box-sizing: border-box;
  width: 100%;
  height: 18.75rem;
  min-height: 18.75rem;
  max-height: 18.75rem;
}

.home-tab-mock {
  min-height: 200px;
  height: 100%;
  border-radius: 0.875rem;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(155deg, rgba(55, 65, 81, 0.55), rgba(15, 23, 42, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.22);
}

.home-tab-mock--chat,
.home-tab-mock--tutor,
.home-tab-mock--track,
.home-tab-mock--code,
.home-tab-mock--cv,
.home-tab-mock--interview {
  overflow: hidden;
}

/* Чат AI-тьютора: лог + «композер» (сценарий задаётся в home_landing.js) */
.home-tab-mock--chat {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem 0.65rem;
  min-height: 0;
}

.home-tab-mock-chat__log {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.15rem 0.15rem 0.2rem 0;
}

.home-tab-mock-chat__block {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  max-width: 94%;
}

.home-tab-mock-chat__block--user {
  align-self: flex-end;
  align-items: flex-end;
}

.home-tab-mock-chat__block--ai {
  align-self: flex-start;
  align-items: flex-start;
}

.home-tab-mock-chat__role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(148, 163, 184, 0.88);
  padding-inline: 0.2rem;
  line-height: 1.25;
}

.home-tab-mock-chat__block--user .home-tab-mock-chat__role {
  color: rgba(165, 243, 252, 0.92);
}

.home-tab-mock-chat__block--ai-tutor .home-tab-mock-chat__role {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(56, 189, 248, 0.95);
}

.home-tab-mock-chat__bubble-text {
  width: 100%;
  max-width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.home-tab-mock-chat__block--user .home-tab-mock-chat__bubble-text {
  border-radius: 0.85rem 0.85rem 0.2rem 0.85rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--home-text);
}

.home-tab-mock-chat__block--ai .home-tab-mock-chat__bubble-text {
  border-radius: 0.85rem 0.85rem 0.85rem 0.25rem;
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.home-tab-mock-chat__block--ai-tutor .home-tab-mock-chat__bubble-text {
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 1px 0 rgba(56, 189, 248, 0.08);
}

.home-tab-mock-chat__block--enter {
  animation: home-tutor-msg-in 0.32s ease-out;
}

@keyframes home-tutor-msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-tab-mock-chat__typing--enter {
  animation: home-tutor-msg-in 0.32s ease-out;
}

.home-tab-mock-chat__typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.85rem 0.85rem 0.85rem 0.25rem;
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.home-tab-mock-chat__typing span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--home-muted);
  animation: home-tutor-typing-dot 1.05s ease-in-out infinite;
  animation-play-state: paused;
}

[data-home-tabs].is-anim .home-tab-mock-chat__typing span {
  animation-play-state: running;
}

[data-home-tabs] .home-tab-panel[hidden] .home-tab-mock-chat__typing span {
  animation-play-state: paused;
}

.home-tab-mock-chat__typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.home-tab-mock-chat__typing span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes home-tutor-typing-dot {
  0%,
  70%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.home-tab-mock-chat__composer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.home-tab-mock-chat__fake-input {
  flex-shrink: 0;
  min-height: 2.4rem;
  max-height: 3.25rem;
  overflow: hidden;
  border-radius: 0.55rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--home-text);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  white-space: pre-wrap;
  word-break: break-word;
}

/* AI-тьютор: кроп панели кабинета (шапка + лог + композер) */
.home-tab-mock--tutor {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 0;
  padding: 0.7rem 0.75rem 0.65rem;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 34%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.home-tab-mock-tutor__head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.home-tab-mock-tutor__avatar {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.34);
  background: #000;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.08);
}

.home-tab-mock-tutor__avatar img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.home-tab-mock-tutor__kicker,
.home-tab-mock-tutor__title {
  display: block;
}

.home-tab-mock-tutor__kicker {
  font-size: 0.62rem;
  font-weight: 700;
  color: #2dd4bf;
}

.home-tab-mock-tutor__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.home-tab-mock--tutor .home-tab-mock-chat__role {
  display: none;
}

.home-tab-mock--tutor .home-tab-mock-chat__log {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
}

.home-tab-mock--tutor .home-tab-mock-chat__block--user .home-tab-mock-chat__bubble-text {
  border-radius: 14px;
  border: none;
  background: rgba(45, 212, 191, 0.16);
  color: #ecfeff;
}

.home-tab-mock--tutor .home-tab-mock-chat__block--ai .home-tab-mock-chat__bubble-text {
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  box-shadow: none;
}

.home-tab-mock--tutor .home-tab-mock-chat__typing {
  background: transparent;
  border: none;
  padding: 0.2rem 0;
  gap: 0.35rem;
}

.home-tab-mock--tutor .home-tab-mock-chat__typing span {
  width: 0.42rem;
  height: 0.42rem;
  background: #2dd4bf;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.35);
}

.home-tab-mock-tutor__composer {
  flex-shrink: 0;
  margin-top: auto;
}

.home-tab-mock-tutor__input-wrap {
  position: relative;
  width: 100%;
}

.home-tab-mock-tutor__input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.35rem;
  max-height: 2.85rem;
  overflow: hidden;
  padding: 0.45rem 3.9rem 0.45rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.42);
  color: #f8fafc;
  font-size: 0.78rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.home-tab-mock-tutor__input:empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
}

.home-tab-mock-tutor__voice,
.home-tab-mock-tutor__send {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.55rem;
  height: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.home-tab-mock-tutor__voice {
  right: 2.1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(203, 213, 225, 0.82);
}

.home-tab-mock-tutor__send {
  right: 0.32rem;
  border: 1px solid rgba(45, 212, 191, 0.7);
  background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 100%);
  color: rgba(15, 23, 42, 0.96);
}

.home-tab-mock-tutor__voice svg,
.home-tab-mock-tutor__send svg {
  display: block;
  width: 0.78rem;
  height: 0.78rem;
}

.home-tab-mock-tutor__hint {
  margin: 0.28rem 0 0;
  padding: 0 0.1rem;
  font-size: 0.58rem;
  line-height: 1.3;
  color: #9ca3af;
  text-align: right;
}

/* Учебный трек: прогресс + плитки курсов */
.home-tab-mock--track {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 0;
  padding: 0.7rem 0.7rem 0.65rem;
}

.home-tab-mock-track__progress {
  flex-shrink: 0;
  padding: 0.5rem 0.6rem 0.55rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.home-tab-mock-track__progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8b92a8;
}

.home-tab-mock-track__progress-head [data-track-pct] {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #e8eaef;
}

.home-tab-mock-track__bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.home-tab-mock-track__bar span {
  display: block;
  width: 0;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4bf, #22d3ee);
  transition: width 0.4s ease;
}

.home-tab-mock-track__tiles {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 0;
  overflow: hidden;
}

.home-tab-mock-track__tile {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.home-tab-mock-track__tile.is-in {
  display: flex;
  animation: home-track-row-rise 0.45s cubic-bezier(0.22, 1, 0.32, 1) both;
}

.home-tab-mock-track__tile.is-completed {
  border-color: rgba(45, 212, 191, 0.28);
}

.home-tab-mock-track__tile.is-active {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(45, 212, 191, 0.12);
}

.home-tab-mock-track__tile.is-locked {
  opacity: 0.72;
}

.home-tab-mock-track__poster {
  flex-shrink: 0;
  width: 2.15rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
}

.home-tab-mock-track__poster svg {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
}

.home-tab-mock-track__main {
  flex: 1;
  min-width: 0;
}

.home-tab-mock-track__title {
  display: block;
  font-size: 0.7rem;
  line-height: 1.3;
  color: #e8eaef;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-tab-mock-track__status {
  flex-shrink: 0;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.home-tab-mock-track__tile.is-completed .home-tab-mock-track__status,
.home-tab-mock-track__tile.is-active .home-tab-mock-track__status {
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.home-tab-mock-track__tile.is-locked .home-tab-mock-track__status {
  color: #8b92a8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

@keyframes home-track-row-rise {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Разбор кода: Ace Darcula + тьютор */
.home-tab-mock--code {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.55rem 0.6rem 0.55rem;
  gap: 0.45rem;
}

.home-tab-mock-code__workspace-head {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.35rem;
}

.home-tab-mock-code__eyebrow {
  margin: 0;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2dd4bf;
}

.home-tab-mock-code__panel-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f9fafb;
}

.home-tab-mock-code__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.home-tab-mock-code__lang,
.home-tab-mock-code__btn-ghost,
.home-tab-mock-code__btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.1rem 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
}

.home-tab-mock-code__lang,
.home-tab-mock-code__btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
}

.home-tab-mock-code__btn-primary {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: #0f172a;
}

.home-tab-mock-code__ace {
  flex-shrink: 0;
  min-height: 6.1rem;
}

.home-tab-mock--code .home-hero-stage__source > div.is-risk {
  background: rgba(45, 212, 191, 0.14);
  box-shadow: inset 2px 0 0 0 #2dd4bf;
}

.home-tab-mock-code__tutor {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.45rem 0.5rem 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 34%),
    rgba(15, 23, 42, 0.72);
}

.home-tab-mock-code__tutor .home-tab-mock-tutor__head {
  margin-bottom: 0.35rem;
}

.home-tab-mock-code__note {
  display: none;
  max-width: 100%;
  padding: 0.35rem 0.5rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  font-size: 0.68rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.home-tab-mock-code__note.is-visible {
  display: block;
  animation: home-tutor-msg-in 0.32s ease-out;
}

/* Резюме: тёмный лист превью */
.home-tab-mock--cv {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.5rem 0.55rem 0.45rem;
}

.home-tab-mock-cv__toolbar {
  display: flex;
  flex-shrink: 0;
  justify-content: flex-end;
  margin-bottom: 0.4rem;
}

.home-tab-mock-cv__export {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.1rem 0.55rem;
  border-radius: 0.35rem;
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: #0f172a;
  font-size: 0.62rem;
  font-weight: 700;
}

.home-tab-mock-sheet {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  overflow: hidden;
  padding: 0.75rem 0.85rem 0.7rem;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-tab-mock-sheet__header,
.home-tab-mock-sheet__section {
  display: none;
}

.home-tab-mock-sheet__header.is-in,
.home-tab-mock-sheet__section.is-in {
  display: block;
  animation: home-cv-row-rise 0.45s cubic-bezier(0.22, 1, 0.32, 1) both;
}

.home-tab-mock-sheet__header {
  margin-bottom: 0;
  text-align: center;
}

.home-tab-mock-sheet__name {
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f8fafc;
}

.home-tab-mock-sheet__meta {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #94a3b8;
}

.home-tab-mock-sheet__section {
  margin-top: 0;
}

.home-tab-panel .home-tab-mock-sheet__h {
  margin: 0 0 0.35rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #94a3b8;
}

.home-tab-mock-sheet__p {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.45;
  color: #94a3b8;
}

@keyframes home-cv-row-rise {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Собеседование: мета + чат сессии */
.home-tab-mock--interview {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 0;
  padding: 0.5rem 0.6rem 0.55rem;
}

.home-tab-mock-iv__meta {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #2dd4bf;
}

.home-tab-mock-iv__end {
  margin-left: auto;
  padding: 0.12rem 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  font-size: 0.62rem;
  font-weight: 700;
}

.home-tab-mock--interview .home-tab-mock-chat__log {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.1rem 0 0;
}

.home-tab-mock--interview .home-tab-mock-chat__block--user .home-tab-mock-chat__bubble-text {
  border-radius: 1rem 1rem 0.25rem 1rem;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: rgba(45, 212, 191, 0.14);
  color: #ecfeff;
}

.home-tab-mock--interview .home-tab-mock-chat__block--ai .home-tab-mock-chat__bubble-text {
  border-radius: 1rem 1rem 1rem 0.25rem;
  border: none;
  background: rgba(28, 33, 46, 0.96);
  color: #e5e7eb;
  box-shadow: none;
}

.home-tab-mock--interview .home-tab-mock-chat__role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #2dd4bf;
}

.home-tab-mock--interview .home-tab-mock-chat__typing {
  background: transparent;
  border: none;
  padding: 0.2rem 0;
  gap: 0.35rem;
}

.home-tab-mock--interview .home-tab-mock-chat__typing span {
  width: 0.42rem;
  height: 0.42rem;
  background: #2dd4bf;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.35);
}

.home-tab-mock--interview .home-tab-mock-tutor__composer {
  flex-shrink: 0;
  margin-top: auto;
}

/* FAQ on dark background */
body.landing-home .landing-faq-block .faq-question {
  background: var(--home-surface-2);
  color: var(--home-text);
  border: 1px solid rgba(148, 163, 184, 0.15);
  font-size: var(--home-type-lead, 1.125rem);
  line-height: 1.45;
  padding: 0.95rem 0.95rem 0.95rem 1.35rem;
}

body.landing-home .landing-faq-block .faq-question:hover .faq-question__toggle {
  color: var(--home-accent);
  background: rgba(15, 23, 42, 0.78);
}

body.landing-home .landing-faq-block .faq-answer {
  background: var(--home-surface);
  color: var(--home-muted);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-top: none;
  font-size: var(--home-type-lead, 1.125rem);
  line-height: 1.55;
  padding: 1.05rem 1.35rem;
}

body.landing-home .landing-faq-block .faq-answer p {
  font-size: inherit;
  line-height: inherit;
}

/* CTA strip */
.home-cta-strip {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(56, 189, 248, 0.06)),
    var(--home-surface);
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.home-cta-strip::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  left: 8%;
  top: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.32), transparent 70%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-a 18s ease-in-out infinite;
}

.home-cta-strip::after {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: 4%;
  bottom: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: home-blob-drift-b 22s ease-in-out infinite;
  animation-delay: -6s;
}

.home-cta-strip > * {
  position: relative;
  z-index: 1;
}

.home-cta-strip h2 {
  margin: 0 0 0.75rem;
  font-size: var(--home-type-h2, clamp(1.35rem, 3vw, 1.75rem));
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.home-cta-strip p {
  margin: 0 0 1.5rem;
  color: var(--home-muted);
  font-size: var(--home-type-body, 1.0625rem);
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .home-cta-strip {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
  }

  .home-cta-strip h2 {
    margin-bottom: 0.5rem;
  }

  .home-cta-strip p {
    margin-bottom: 1rem;
    font-size: var(--home-type-body, 0.9375rem);
    line-height: 1.5;
  }
}

.home-link-arrow {
  color: var(--accent-color, var(--home-accent)) !important;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, filter 0.15s ease;
}

.home-link-arrow:hover {
  color: var(--accent-color, var(--home-accent)) !important;
  filter: brightness(1.12);
  text-decoration: underline;
}

.home-course-card .home-card {
  display: flex;
  flex-direction: column;
}

.home-course-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.65rem;
  margin-bottom: 0.75rem;
}

.home-course-card .home-card a {
  margin-top: auto;
  align-self: flex-start;
}

/* Главная: слайдер карьерных треков (ProfessionBlueprint) */
body.landing-home .home-landing .home-container > .home-tracks-rail.blog-mag-cat-rail {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 0.35rem;
}

body.landing-home .home-landing .home-container > .home-tracks-rail .blog-mag-cat-rail__viewport {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  touch-action: pan-y;
  padding-left: 0;
  padding-right: clamp(2rem, 3.5vw, 2.65rem);
  mask-image: none;
  mask: none;
  -webkit-mask-image: none;
}

body.landing-home .home-landing .home-container > .home-tracks-rail .blog-mag-cat-rail__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

body.landing-home .home-landing .home-container > .home-tracks-rail .blog-mag-cat-rail__btn--prev {
  left: 0.05rem;
}

body.landing-home .home-landing .home-container > .home-tracks-rail .blog-mag-cat-rail__btn--next {
  right: 0.05rem;
}

body.landing-home .home-landing .home-container > .home-tracks-rail .blog-mag-cat-rail__btn:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.78);
}

body.landing-home .home-landing .home-container > .home-tracks-rail .blog-mag-cat-rail__btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94);
}

body.landing-home .blog-mag-cat-rail__viewport--dragging .home-tracks-rail__link {
  pointer-events: none;
}

body.landing-home .home-tracks-rail__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  align-items: stretch;
  padding: 0.35rem 0;
  width: max-content;
}

body.landing-home .home-tracks-rail__card {
  flex: 0 0 clamp(16rem, 32vw, 20rem);
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.92) 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.landing-home .home-tracks-rail__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  color: inherit;
}

body.landing-home .home-tracks-rail__card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

body.landing-home .home-tracks-rail__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
}

body.landing-home .home-tracks-rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

body.landing-home .home-tracks-rail__link:hover .home-tracks-rail__media img {
  transform: scale(1.03);
}

body.landing-home .home-tracks-rail__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 0.45);
  font-size: 2.5rem;
}

body.landing-home .home-tracks-rail__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

body.landing-home .home-tracks-rail__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--home-text);
  margin: 0;
  line-height: 1.35;
}

body.landing-home .home-tracks-rail__excerpt {
  font-size: var(--home-type-body, 1.0625rem);
  color: var(--home-muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

body.landing-home .home-tracks-rail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.9375rem;
  color: rgba(148, 163, 184, 0.85);
  margin: 0;
}

body.landing-home .home-tracks-rail__meta-sep {
  opacity: 0.65;
}

body.landing-home .home-tracks-rail__cta {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--home-cta);
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  body.landing-home .home-tracks-rail__media img {
    transition: none;
  }

  body.landing-home .home-tracks-rail__link:hover .home-tracks-rail__media img {
    transform: none;
  }
}

/* Главная: слайдер свежих публикаций блога (blog-mag-strip-card в rail) */
body.landing-home .home-landing .home-container > .home-blog-rail.blog-mag-cat-rail {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 0.35rem;
}

body.landing-home .home-landing .home-container > .home-blog-rail .blog-mag-cat-rail__viewport {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-y;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 0;
  padding-right: clamp(2rem, 3.5vw, 2.65rem);
  mask-image: none;
  mask: none;
  -webkit-mask-image: none;
}

body.landing-home .home-landing .home-container > .home-blog-rail .blog-mag-cat-rail__viewport::-webkit-scrollbar {
  display: none;
}

body.landing-home .home-landing .home-container > .home-blog-rail .blog-mag-cat-rail__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

body.landing-home .home-landing .home-container > .home-blog-rail .blog-mag-cat-rail__btn--prev {
  left: 0.05rem;
}

body.landing-home .home-landing .home-container > .home-blog-rail .blog-mag-cat-rail__btn--next {
  right: 0.05rem;
}

body.landing-home .home-landing .home-container > .home-blog-rail .blog-mag-cat-rail__btn:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.78);
}

body.landing-home .home-landing .home-container > .home-blog-rail .blog-mag-cat-rail__btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94);
}

body.landing-home .home-blog-rail__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  padding: 0.35rem 0;
}

body.landing-home .blog-mag-cat-rail__viewport--dragging .home-blog-rail__card .blog-mag-strip-card__link {
  pointer-events: none;
}

body.landing-home .home-blog-rail__card {
  flex: 0 0 clamp(16rem, 32vw, 20rem);
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.92) 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.landing-home .home-blog-rail__card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__link:hover {
  border: none;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(15, 23, 42, 0.9);
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__media img {
  transition: transform 0.35s ease;
}

body.landing-home .home-blog-rail__card:hover .blog-mag-strip-card__media img {
  transform: scale(1.06);
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem 1.25rem;
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--home-text);
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__link:hover .blog-mag-strip-card__title {
  color: var(--home-text);
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__excerpt {
  margin: 0;
  font-size: var(--home-type-body, 1.0625rem);
  line-height: 1.55;
  color: var(--home-muted);
  flex: 1;
  text-align: justify;
  text-wrap: pretty;
}

body.landing-home .home-blog-rail__card .blog-mag-strip-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0;
  border-top: none;
  font-size: 0.9375rem;
  color: rgba(148, 163, 184, 0.85);
}

@media (max-width: 767.98px) {
  body.landing-home .home-tracks-rail__title {
    font-size: 0.98rem;
  }

  body.landing-home .home-tracks-rail__excerpt {
    font-size: 0.875rem;
    line-height: 1.45;
    text-align: left;
  }

  body.landing-home .home-tracks-rail__meta,
  body.landing-home .home-tracks-rail__cta {
    font-size: 0.8125rem;
  }

  body.landing-home .home-blog-rail__card .blog-mag-strip-card__title {
    font-size: 0.98rem;
  }

  body.landing-home .home-blog-rail__card .blog-mag-strip-card__excerpt {
    font-size: 0.875rem;
    line-height: 1.45;
    text-align: left;
  }

  body.landing-home .home-blog-rail__card .blog-mag-strip-card__foot {
    font-size: 0.8125rem;
  }

  .home-card h3 {
    font-size: var(--home-type-card-title, 1.05rem);
  }

  .home-card p {
    font-size: 0.875rem;
    line-height: 1.45;
  }
}

body.landing-home .home-blog-rail__category {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 58%;
  margin-left: auto;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--home-cta, #2dd4bf);
  background: transparent;
  border: 1px solid var(--home-cta, #2dd4bf);
}

/* Django flash → glass toast under header (marketing shell) */
:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash-host {
  position: fixed;
  top: calc(var(--header-height, 60px) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2400;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: min(28rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0;
  pointer-events: none;
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 0.95rem 1.15rem 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(17, 24, 39, 0.92);
  color: var(--home-text, #f9fafb);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 36px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(34, 211, 238, 0.08);
  overflow: hidden;
  animation: landing-flash-in 0.32s ease-out;
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash__accent {
  flex: 0 0 auto;
  width: 3px;
  align-self: stretch;
  min-height: 1.25rem;
  margin: 0.1rem 0;
  border-radius: 999px;
  background: var(--home-cta, #2dd4bf);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.45);
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--home-text, #f9fafb);
  text-align: left;
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash--success .landing-flash__accent {
  background: var(--home-cta, #2dd4bf);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) :is(.landing-flash--error, .landing-flash--danger) .landing-flash__accent {
  background: #f87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.45);
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash--warning .landing-flash__accent {
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash--info .landing-flash__accent {
  background: var(--home-accent, #22d3ee);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

:is(
  body.landing-home,
  body.landing-error,
  body.landing-career-hub,
  body.landing-ai-tutor,
  body.landing-career-sub,
  body.landing-pricing,
  body.landing-blog,
  body.landing-courses,
  body.landing-professions,
  body.landing-auth,
  body.landing-about, body.landing-help
) .landing-flash:is(.landing-flash--leaving, .django-flash-message--leaving) {
  height: auto !important;
  margin: 0 !important;
  padding: 0.95rem 1.15rem 0.95rem 1rem !important;
  border-width: 1px !important;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

@keyframes landing-flash-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

