/* Подвал RKS — канон v9 (ЭТАЛОН-ПОДВАЛА/footer.css, строки 1–60).
   Для лэндинга «Фаза роста»: подвал берёт канонические цвета RKS.Web, страница — бренд проекта. */
.site-footer{background:#123F7A; color:#FFFFFF; font-size:14px; line-height:1.55}
.footer-inner{max-width:1200px; margin:0 auto; padding:40px 40px}
.footer-cols{display:grid; grid-template-columns:5fr 3fr 4fr; gap:40px; align-items:baseline}
.footer-col-contacts{justify-self:center}
.footer-col{min-width:0}
.footer-brand{display:inline-block; font-size:21px; font-weight:700; letter-spacing:.3px; color:#FFFFFF; text-decoration:none}
.footer-brand:hover{color:#C9D8EC; text-decoration:none}
.footer-brand span{color:#7FB2E8}
.footer-brand-link{margin:0; font-size:13px; line-height:22px}
.footer-brand-link a{color:#C9D8EC}
.footer-requisites{font-style:normal; margin:8px 0 0; font-size:12px; line-height:22px; color:#C9D8EC}
.footer-requisites span{display:block}
.footer-h{font-size:12px; font-weight:600; letter-spacing:.6px; text-transform:uppercase; color:#FFFFFF; margin:0 0 8px}
.footer-list{list-style:none; margin:0; padding:0; display:grid; gap:0}
.footer-list li{line-height:22px}
.footer-list a{color:#C9D8EC}
.footer-project{margin:0; line-height:22px; color:#C9D8EC}
.footer-legal{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:6px; padding-top:8px; font-size:13px; color:#C9D8EC}
.footer-legal a{color:#FFFFFF}
.footer-legal p{margin:0}
.footer-top{display:inline-flex; align-items:center; min-height:44px; padding:0 4px; white-space:nowrap; color:#FFFFFF}
.site-footer a:focus-visible{outline:3px solid #9FB8D6; outline-offset:2px; border-radius:4px}

.footer-list a,
.footer-legal a,
.footer-top,
.footer-brand-link a { text-decoration: none; }
.footer-list a:hover,
.footer-list a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-top:hover,
.footer-top:focus-visible,
.footer-brand-link a:hover,
.footer-brand-link a:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: #7FB2E8;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.footer-list a:active,
.footer-legal a:active,
.footer-top:active { color: #7FB2E8; }

@media (max-width:767px){
  .footer-inner{padding:16px 20px}
  .footer-cols{grid-template-columns:1fr; gap:24px}
  .footer-col-contacts{justify-self:stretch}
  .footer-legal{flex-direction:column; align-items:flex-start; gap:4px}
}

/* Сетка «Публикации и проекты» после удаления карточки BezFormata — 2 колонки без «дыры». */
.gp-launch-evidence-links{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
@media (max-width:768px){
  .gp-launch-evidence-links{grid-template-columns:1fr !important}
}

/* Типографика: смысловая законченность строк (ТЗ §6) — без вдов/сирот на рендере. */
h1, h2, h3, strong { text-wrap: balance; }
p, li { text-wrap: pretty; }
.gp-launch-evidence-links strong { text-wrap: balance; }

/* Цикл 3: responsive-кегль hero (текст НЕ меняется, ТЗ §3.4 не запрещает) —
   на ≤414 px «Давайте исследовать» влезает в одну строку, hero снова 2 строки. */
@media (max-width: 414px) {
  .gp-launch-hero h1 { font-size: 31px !important; line-height: 1.08 !important; }
  .gp-launch-hero h1 span { font-size: 31px !important; }
}


/* Цикл 2 (FR.Secretary): на узких ширинах — кегли заголовков, чтобы 3-словные
   влезали в 1 строку (без 1-словных строк), и переносы в абзацах. */
@media (max-width: 414px) {
  .gp-launch h2 { font-size: 22px !important; line-height: 1.12 !important; }
  .gp-launch h3 { font-size: 17px !important; line-height: 1.2 !important; }
  .gp-launch p  { hyphens: auto; -webkit-hyphens: auto; }
}


/* Цикл 3 (FR.UI, точный счёт): кегли и ширина заголовков, чтобы 3-словные
   заголовки влезали в 1 строку (без вдов/сирот). §11 про КОНТЕНТ, не вёрстку. */
@media (min-width: 768px) {
  .gp-launch h2 { font-size: clamp(30px, 4vw, 60px) !important; }
  .gp-launch h3 { font-size: clamp(18px, 1.5vw, 21px) !important; }
}
.gp-launch h2, .gp-launch h3 { max-width: none !important; }
/* Метка «4,32 / мес.» и подобные — в одну строку. */
.gp-launch-metric-primary strong { white-space: nowrap; }

/* Канон v9, мобило: минимальная высота подвала 420px (RU/EN/ZH, 400–700). */
@media (max-width: 414px){.site-footer{min-height:420px}}
