:root {
  --kc-ink: #102a43;
  --kc-muted: #486581;
  --kc-bg: #f5f7fa;
  --kc-surface: #ffffff;
  --kc-accent: #0f766e;
  --kc-accent-dark: #115e59;
  --kc-line: #d9e2ec;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "IBM Plex Serif", Georgia, serif;
}

body {
  font-family: var(--font-sans);
  color: var(--kc-ink);
  background: var(--kc-bg);
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2rem;
  padding: 0 0.35rem;
  margin-right: 0.5rem;
  border-radius: 0.4rem;
  background: var(--kc-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Единый верхний блок — цвет как у футера */
.page-hero {
  padding: 2.75rem 0 2.5rem;
  background: #102a43;
  color: #fff;
  border-bottom: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-hero .lead,
.page-hero .section-lead {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.page-hero .hero-badge,
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
}

.page-hero .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.page-hero .btn-outline-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: #102a43;
}

.page-hero .btn-accent {
  background: #fff;
  border-color: #fff;
  color: #102a43;
}

.page-hero .btn-accent:hover,
.page-hero .btn-accent:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: #102a43;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--kc-muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.card-soft {
  background: var(--kc-surface);
  border: 1px solid var(--kc-line);
  border-radius: 0.75rem;
  height: 100%;
}

.card-soft .card-body {
  padding: 1.35rem 1.4rem;
}

.card-soft h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.step-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--kc-accent-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.btn-accent {
  background: var(--kc-accent);
  border-color: var(--kc-accent);
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--kc-accent-dark);
  border-color: var(--kc-accent-dark);
  color: #fff;
}

.shot-placeholder {
  min-height: 180px;
  border: 2px dashed var(--kc-line);
  border-radius: 0.75rem;
  background: #eef2f6;
  color: var(--kc-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.table-packages th {
  white-space: nowrap;
}

.site-footer {
  background: #102a43;
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-copyright {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer .footer-logos {
  margin-top: 0.85rem;
}

.site-footer .footer-mic-logo {
  display: block;
  max-width: min(180px, 100%);
  height: auto;
  background: #fff;
  border-radius: 0.35rem;
  padding: 0.25rem;
}

.site-footer .privacy-notice {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .privacy-notice p {
  margin: 0;
  text-align: center;
}

.site-footer .privacy-notice a {
  text-decoration: underline;
  color: #fff;
}

.nav-link.active {
  font-weight: 600;
  color: var(--kc-accent) !important;
}

code, pre {
  font-size: 0.9em;
}

.install-block {
  background: #0b1c2c;
  color: #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem 1.4rem;
}

.install-block pre {
  margin: 0;
  color: #e2e8f0;
  white-space: pre-wrap;
}
