/* Футер как на главной (index.html). Требует site-tokens.css. */
.footer-brand {
  font-family: var(--fb);
  font-size: var(--text-lg);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--color-text-muted);
}
.footer-brand .logo-mentor {
  color: var(--color-primary);
  font-weight: 600;
}
footer {
  flex-shrink: 0;
  border-top: 1px solid var(--color-divider);
  padding-block: var(--sp10);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp5);
  text-align: center;
}
.footer-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp4);
  width: 100%;
}
.footer-cta-bunch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp3);
}
.footer-cta-bunch--secondary {
  justify-content: center;
}
.footer-cta-row .tg-cta,
.footer-cta-row .footer-contract-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp2);
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.2;
}
.tg-cta {
  background: var(--color-tg);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--sp2) var(--sp4);
  border-radius: 100px;
  line-height: 1.2;
  transition: opacity var(--tr), transform var(--tr), box-shadow var(--tr);
}
.tg-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
}
[data-theme="dark"] .tg-cta:hover {
  box-shadow: 0 4px 14px rgba(41, 182, 246, 0.35);
}
.tg-cta:focus-visible {
  outline: 2px solid var(--color-tg);
  outline-offset: 2px;
}
.tg-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-hh-bot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp3);
  max-width: 46ch;
  margin: 0;
}
.footer-hh-bot-lead {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  text-align: center;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em;
  max-width: min(100%, 72rem);
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-text-faint);
  text-align: center;
}
.footer-meta-sep {
  user-select: none;
}
.footer-note {
  font-size: inherit;
  color: inherit;
}
.footer-meta .footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em;
  margin: 0;
  max-width: none;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35em;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-text-faint);
  text-align: center;
}
.footer-legal--docs {
  margin-top: var(--sp4);
  margin-bottom: var(--sp2);
}
.footer-legal-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.footer-legal-link:hover {
  text-decoration: underline;
}
.footer-legal-link:focus-visible {
  outline: 2px solid var(--color-text-muted);
  outline-offset: 2px;
  border-radius: 4px;
}
.footer-legal-link[aria-current="page"] {
  color: inherit;
  text-decoration: underline;
}
.footer-legal-sep {
  color: inherit;
  user-select: none;
}
.footer-cta-lead {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 44ch;
  margin: 0;
  line-height: 1.65;
  text-align: center;
}
.footer-contract-btn {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-hl);
  border: 1px solid transparent;
  padding: var(--sp2) var(--sp4);
  border-radius: 100px;
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr);
}
.footer-contract-btn:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-border);
  transform: translateY(-1px);
}
.footer-contract-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.footer-contract-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-primary);
}
