.home-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--color-forest);
  color: var(--color-text-inverse);
  font-weight: 700;
  text-decoration: none;
}

.home-skip-link:focus {
  transform: translateY(0);
}

.home-seo-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 32px;
}

.home-seo-section--soft {
  max-width: none;
  background: var(--color-bg-dark);
}

.home-seo-section--soft > .home-seo-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.home-seo-head {
  max-width: 800px;
  margin-bottom: 32px;
}

.home-seo-kicker {
  margin-bottom: 12px;
  color: var(--color-forest);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-seo-head h2 {
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.home-seo-head p {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.home-product-list,
.home-scenario-list,
.home-secondary-list {
  border-top: 1px solid var(--color-border);
}

.home-product-row,
.home-secondary-row {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.7fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
  text-decoration: none;
}

.home-product-row h3,
.home-secondary-row h3,
.home-scenario-row h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 21px;
  line-height: 1.3;
}

.home-product-row p,
.home-secondary-row p,
.home-scenario-row p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.home-product-row:hover h3,
.home-secondary-row:hover h3 {
  color: var(--color-forest);
}

.home-row-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-forest);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.home-row-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.home-product-row:hover .home-row-link svg,
.home-secondary-row:hover .home-row-link svg {
  transform: translateX(3px);
}

.home-scenario-row {
  display: grid;
  grid-template-columns: 64px minmax(190px, .8fr) minmax(0, 1.7fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}

.home-scenario-index {
  color: var(--color-forest);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .05em;
}

.home-safety-note {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--color-forest) 18%, transparent);
  border-radius: 14px;
  background: var(--color-matcha-lighter);
}

.home-safety-note strong,
.home-mcp-card h2 {
  display: block;
  margin-bottom: 8px;
  color: var(--color-forest);
}

.home-safety-note p,
.home-mcp-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.home-mcp-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) auto;
  gap: 32px;
  align-items: center;
  max-width: 1120px;
  margin: 64px auto;
  padding: 36px;
  border: 1px solid color-mix(in srgb, var(--color-forest) 18%, transparent);
  border-radius: 14px;
  background: var(--color-matcha-lighter);
}

.home-mcp-card h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
}

.home-mcp-actions,
.home-section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.home-section-actions--center {
  justify-content: center;
  margin: 24px 20px 0;
}

@media (max-width: 768px) {
  .home-seo-section {
    padding: 64px 20px;
  }

  .home-product-row,
  .home-secondary-row,
  .home-scenario-row,
  .home-mcp-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-product-row,
  .home-secondary-row {
    align-items: start;
  }

  .home-scenario-index {
    margin-bottom: 2px;
  }

  .home-mcp-card {
    margin: 48px 20px;
    padding: 28px 22px;
  }
}

/* Мобильная закреплённая кнопка регистрации: показывается скриптом home-sticky-cta.js */
.home-sticky-cta {
  display: none;
}

@media (max-width: 600px) {
  .home-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--color-border);
    background: color-mix(in srgb, var(--color-bg) 92%, transparent);
    backdrop-filter: blur(12px);
    visibility: hidden;
    transform: translateY(120%);
    transition: transform .25s ease, visibility .25s ease;
  }

  .home-sticky-cta.is-visible {
    visibility: visible;
    transform: translateY(0);
  }

  .home-sticky-cta__text {
    flex: 1;
    min-width: 0;
    color: var(--color-text-secondary);
    font-size: 13px;
    line-height: 1.35;
  }

  .home-sticky-cta .cta-btn {
    padding: 11px 18px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* место под панель, чтобы она не накрывала последний экран */
  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .home-sticky-cta__text {
    display: none;
  }

  .home-sticky-cta .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-sticky-cta {
    transition: none;
  }
}
