/* SEO engine landings: Google / Yandex organic SEO pages */
.seo-engine .seo-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(127, 63, 242, 0.08);
  color: #5b35d1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.seo-engine .seo-hero__badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.seo-engine .seo-prose {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a3a;
  text-align: center;
}
.seo-engine .seo-prose--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 68ch;
}
.seo-engine .seo-result-grid,
.seo-engine .seo-factor-grid,
.seo-engine .seo-price-grid,
.seo-engine .seo-step-grid,
.seo-engine .seo-related-grid {
  display: grid;
  gap: 16px;
}
.seo-engine .seo-result-card,
.seo-engine .seo-factor-card,
.seo-engine .seo-price-card,
.seo-engine .seo-step-card,
.seo-engine .seo-related-card {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #e8e4f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 30, 92, 0.04);
}
.seo-engine .seo-result-card h3,
.seo-engine .seo-factor-card h3,
.seo-engine .seo-price-card h3,
.seo-engine .seo-step-card h3,
.seo-engine .seo-related-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #252c3b;
}
.seo-engine .seo-result-card p,
.seo-engine .seo-factor-card p,
.seo-engine .seo-price-card p,
.seo-engine .seo-step-card p,
.seo-engine .seo-related-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #3a3a3a;
}
.seo-engine .seo-price-card__value {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: #5b35d1;
}
.seo-engine .seo-price-card__for {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #7f3ff2;
}
.seo-engine .seo-step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #df62e2, #6a5cea);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.seo-engine .seo-split {
  display: grid;
  gap: 22px;
  align-items: start;
}
.seo-engine .seo-split__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.seo-engine .seo-list {
  margin: 0;
  padding-left: 1.15em;
}
.seo-engine .seo-list li {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #3a3a3a;
}
.seo-engine .seo-list li:last-child {
  margin-bottom: 0;
}
.seo-engine .seo-case-card,
.seo-engine .seo-review-card,
.seo-engine .seo-note-card {
  padding: 24px;
  border: 1px solid #e8e4f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 30, 92, 0.04);
}
.seo-engine .seo-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.seo-engine .seo-case-meta li {
  font-size: 15px;
  font-weight: 700;
  color: #252c3b;
}
.seo-engine .seo-case-meta span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
}
.seo-engine .seo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 0;
  color: #6b3fd4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.seo-engine .seo-link:hover,
.seo-engine .seo-link:focus-visible {
  color: #5b35d1;
}
.seo-engine .seo-review-grid {
  display: grid;
  gap: 16px;
}
.seo-engine .seo-review-card {
  display: grid;
  gap: 16px;
  align-items: start;
}
.seo-engine .seo-review-card img {
  width: min(100%, 220px);
  height: auto;
  border-radius: 12px;
  border: 1px solid #ece8f7;
}
.seo-engine .seo-related-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.seo-engine .seo-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(47, 30, 92, 0.08);
}
.seo-engine .seo-related-card:focus-visible {
  outline: 3px solid #006fdc;
  outline-offset: 3px;
}
.seo-engine .seo-section--soft {
  background: #f7f8fb;
}
.seo-engine .seo-section--tint {
  background: linear-gradient(180deg, #f7f5ff 0%, #fff 100%);
}
.seo-engine .seo-timeline-note {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 22px;
  border-left: 3px solid #7f3ff2;
  border-radius: 0 14px 14px 0;
  background: #f7f5ff;
  font-size: 15px;
  line-height: 1.6;
  color: #3a3a3a;
}
.seo-engine .seo-timeline-note p {
  margin: 0 0 10px;
}
.seo-engine .seo-timeline-note p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .seo-engine .seo-result-grid,
  .seo-engine .seo-factor-grid,
  .seo-engine .seo-price-grid,
  .seo-engine .seo-related-grid,
  .seo-engine .seo-review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .seo-engine .seo-step-grid {
    grid-template-columns: 1fr 1fr;
  }
  .seo-engine .seo-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
  }
  .seo-engine .seo-review-card {
    grid-template-columns: 180px 1fr;
  }
}

@media (min-width: 1100px) {
  .seo-engine .seo-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-engine .seo-factor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-engine .seo-price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-engine .seo-step-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .seo-engine .seo-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .seo-engine .seo-result-card,
  .seo-engine .seo-factor-card,
  .seo-engine .seo-price-card,
  .seo-engine .seo-step-card,
  .seo-engine .seo-case-card,
  .seo-engine .seo-review-card,
  .seo-engine .seo-note-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-engine .seo-related-card {
    transition: none;
  }
}

/* --- Visual enrichment --- */
.seo-engine .seo-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0 12px;
  border-radius: 12px;
  background: rgba(127, 63, 242, 0.08);
  color: #5b35d1;
}
.seo-engine .seo-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.seo-engine .seo-card-icon[data-icon]::before,
.seo-engine .seo-flow__ico[data-icon]::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: var(--seo-ico) center / contain no-repeat;
  mask: var(--seo-ico) center / contain no-repeat;
}
.seo-engine .seo-flow__ico[data-icon]::before {
  width: 18px;
  height: 18px;
  background-color: #fff;
}
.seo-engine .seo-card-icon[data-icon="search"],
.seo-engine .seo-flow__ico[data-icon="vis"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="users"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='m16 11 3-3 3 3'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="chat"],
.seo-engine .seo-flow__ico[data-icon="chat"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="doc"],
.seo-engine .seo-flow__ico[data-icon="pages"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h5'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="list"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Ccircle cx='4' cy='6' r='1'/%3E%3Ccircle cx='4' cy='12' r='1'/%3E%3Ccircle cx='4' cy='18' r='1'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="shield"],
.seo-engine .seo-flow__ico[data-icon="trust"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="bars"],
.seo-engine .seo-flow__ico[data-icon="rank"],
.seo-engine .seo-card-icon[data-icon="chart"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 19V9'/%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M16 19v-7'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="target"],
.seo-engine .seo-flow__ico[data-icon="relev"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="tag"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41 13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="shield-check"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="layers"],
.seo-engine .seo-card-icon[data-icon="stack"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5z'/%3E%3Cpath d='m3 12 9 5 9-5'/%3E%3Cpath d='m3 17 9 5 9-5'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="refresh"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.6-6.3'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="spark"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M3 12h4'/%3E%3Cpath d='M17 12h4'/%3E%3Cpath d='m5 5 2.5 2.5'/%3E%3Cpath d='m16.5 16.5 2.5 2.5'/%3E%3Cpath d='m19 5-2.5 2.5'/%3E%3Cpath d='m7.5 16.5-2.5 2.5'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="flag"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-1.5 4L16 12H5'/%3E%3C/svg%3E"); }
.seo-engine .seo-flow__ico[data-icon="scan"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="index"],
.seo-engine .seo-flow__ico[data-icon="index"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v6c0 1.7 3.6 3 8 3s8-1.3 8-3V5'/%3E%3Cpath d='M4 11v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6'/%3E%3C/svg%3E"); }
.seo-engine .seo-flow__ico[data-icon="traffic"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17 9 11l4 4 7-7'/%3E%3Cpath d='M14 8h6v6'/%3E%3C/svg%3E"); }
.seo-engine .seo-flow__ico[data-icon="demand"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.seo-engine .seo-flow__ico[data-icon="cluster"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='7' r='2.5'/%3E%3Ccircle cx='12' cy='17' r='2.5'/%3E%3Cpath d='M9 8.5 11 15'/%3E%3Cpath d='m15 8.5-2 6.5'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="links"],
.seo-engine .seo-flow__ico[data-icon="links"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l1.41-1.41a5 5 0 0 0-7.07-7.07L10 5.93'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0L5.52 12.4a5 5 0 0 0 7.07 7.07L14 18.07'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="geo"],
.seo-engine .seo-flow__ico[data-icon="geo"],
.seo-engine .seo-card-icon[data-icon="region"],
.seo-engine .seo-flow__ico[data-icon="region"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-5.5 7-12a7 7 0 1 0-14 0c0 6.5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="phone"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v2a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h2a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L7.1 9.9a16 16 0 0 0 6 6l1.5-1.1a2 2 0 0 1 2.1-.4c.8.3 1.7.5 2.6.6a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="assort"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="behavior"],
.seo-engine .seo-flow__ico[data-icon="behavior"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 15c2-4 4-6 8-7'/%3E%3Ccircle cx='17' cy='7' r='2'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="reputation"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.4 4.9 5.4.8-3.9 3.8.9 5.4L12 15.9 7.2 18.9l.9-5.4-3.9-3.8 5.4-.8L12 3z'/%3E%3C/svg%3E"); }
.seo-engine .seo-card-icon[data-icon="map"],
.seo-engine .seo-flow__ico[data-icon="map"] { --seo-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18 3 20V6l6-2 6 2 6-2v14l-6 2-6-2z'/%3E%3Cpath d='M9 4v14'/%3E%3Cpath d='M15 6v14'/%3E%3C/svg%3E"); }
.seo-engine .seo-result-card,
.seo-engine .seo-factor-card,
.seo-engine .seo-price-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.seo-engine .seo-result-card:hover,
.seo-engine .seo-factor-card:hover,
.seo-engine .seo-price-card:hover {
  box-shadow: 0 12px 28px rgba(47, 30, 92, 0.08);
  transform: translateY(-2px);
}

.seo-engine .seo-viz {
  margin: 28px 0 0;
  padding: 22px;
  border: 1px solid #e8e4f4;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(127, 63, 242, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(106, 92, 234, 0.06), transparent 50%),
    #fff;
}
.seo-engine .seo-viz__caption {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7f3ff2;
}
.seo-engine .seo-flow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-flow;
}
.seo-engine .seo-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #ece8f7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}
.seo-engine .seo-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 32px;
  bottom: -10px;
  width: 2px;
  height: 10px;
  background: linear-gradient(#c9b8f5, #a58eec);
}
.seo-engine .seo-flow__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #df62e2, #6a5cea);
  color: #fff;
}
.seo-engine .seo-flow__ico svg {
  width: 18px;
  height: 18px;
}
.seo-engine .seo-flow__label {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #252c3b;
}
.seo-engine .seo-flow__hint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

.seo-engine .seo-chart {
  margin-top: 8px;
  padding: 16px 16px 12px;
  border-radius: 14px;
  border: 1px solid #ece8f7;
  background: #faf9fd;
}
.seo-engine .seo-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  color: #5c5470;
}
.seo-engine .seo-chart__swatch {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 6px;
  border-radius: 2px;
  vertical-align: middle;
}
.seo-engine .seo-chart__swatch--imp { background: #a58eec; }
.seo-engine .seo-chart__swatch--clk { background: #5b35d1; }
.seo-engine .seo-chart__swatch--pos { background: #df62e2; }
.seo-engine .seo-chart svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
}
.seo-engine .seo-chart__note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #59536a;
}

.seo-engine .seo-case-metrics {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.seo-engine .seo-case-metrics li {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #e8e4f4;
  background:
    radial-gradient(circle at 100% 0%, rgba(127, 63, 242, 0.1), transparent 55%),
    #faf9fd;
}
.seo-engine .seo-case-metrics__value {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: #5b35d1;
}
.seo-engine .seo-case-metrics__label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}
.seo-engine .seo-case-growth {
  display: block;
  height: 40px;
  margin-top: 14px;
  border-radius: 6px;
  background:
    linear-gradient(#9b7aef, #5b35d1) 0 100% / 14% 30% no-repeat,
    linear-gradient(#9b7aef, #5b35d1) 17% 100% / 14% 42% no-repeat,
    linear-gradient(#9b7aef, #5b35d1) 34% 100% / 14% 52% no-repeat,
    linear-gradient(#9b7aef, #5b35d1) 51% 100% / 14% 64% no-repeat,
    linear-gradient(#9b7aef, #5b35d1) 68% 100% / 14% 78% no-repeat,
    linear-gradient(#9b7aef, #5b35d1) 85% 100% / 14% 100% no-repeat;
  opacity: 0.9;
}
.seo-engine .seo-case-growth li {
  display: none;
}
.seo-engine .seo-chart__canvas {
  display: block;
  width: 100%;
  height: 120px;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120' fill='none'%3E%3Cpath d='M10 95 C50 90 70 70 110 65 S170 55 210 40 S270 25 310 20' stroke='%23a58eec' stroke-width='2.5'/%3E%3Cpath d='M10 100 C55 95 80 85 120 78 S180 70 230 55 S280 40 310 35' stroke='%235b35d1' stroke-width='2.5'/%3E%3Cpath d='M10 70 C60 68 90 72 130 60 S190 50 240 45 S290 48 310 42' stroke='%23df62e2' stroke-width='2.5'/%3E%3C/svg%3E") center / contain no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
}

.seo-engine .seo-price-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.seo-engine .seo-price-card__head h3 {
  margin: 0;
}
.seo-engine .seo-price-card .seo-card-icon {
  margin: 0;
  flex-shrink: 0;
}

.seo-engine .seo-hub {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-engine .seo-hub__center {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #df62e2, #6a5cea);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.seo-engine .seo-hub__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #ece8f7;
  border-radius: 14px;
  background: #fff;
}
.seo-engine .seo-hub__item .seo-card-icon {
  margin: 0;
}
.seo-engine .seo-hub__item strong {
  display: block;
  font-size: 15px;
  color: #252c3b;
}
.seo-engine .seo-hub__item span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #666;
}

.seo-engine .seo-dash {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.seo-engine .seo-dash__item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ece8f7;
  background: #faf9fd;
}
.seo-engine .seo-dash__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #5b35d1;
}
.seo-engine .seo-dash__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #3a3a3a;
}

@media (min-width: 768px) {
  .seo-engine .seo-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .seo-engine .seo-flow__step:not(:last-child)::after {
    left: auto;
    right: -8px;
    top: 50%;
    bottom: auto;
    width: 8px;
    height: 2px;
    transform: translateY(-50%);
  }
  .seo-engine .seo-flow--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .seo-engine .seo-flow--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-engine .seo-case-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-engine .seo-hub {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-engine .seo-hub__center {
    grid-column: 1 / -1;
  }
  .seo-engine .seo-dash {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .seo-engine .seo-flow--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .seo-engine .seo-hub {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
  }
}

@media (max-width: 767px) {
  .seo-engine .seo-viz {
    padding: 16px;
  }
  .seo-engine .seo-flow__step:not(:last-child)::after {
    left: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-engine .seo-result-card,
  .seo-engine .seo-factor-card,
  .seo-engine .seo-price-card {
    transition: none;
  }
}

/* --- Google desktop layout polish --- */
.seo-engine--google #tech .seo-list {
  max-width: 900px;
  margin-inline: auto;
}
.seo-engine--google #gsc > .rk-container > .seo-prose--left,
.seo-engine--google #google-ranking > .rk-container > .seo-prose--left {
  max-width: 880px;
  margin-inline: auto;
}

@media (min-width: 1100px) {
  .seo-engine--google .seo-result-grid,
  .seo-engine--google .seo-related-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
  }
  .seo-engine--google .seo-result-card {
    flex: 0 1 calc((100% - 48px) / 4);
    width: calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
  }
  .seo-engine--google .seo-related-card {
    flex: 0 1 calc((100% - 32px) / 3);
    width: calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
}

.seo-engine--google .seo-gsc-shot {
  margin: 28px 0 0;
  padding: 14px 14px 16px;
  border: 1px solid #e8e4f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 30, 92, 0.04);
}
.seo-engine--google .seo-gsc-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 493;
  border-radius: 12px;
  border: 1px solid #ece8f7;
  background: #f6f7fb;
}
.seo-engine--google .seo-gsc-shot figcaption {
  margin: 12px 4px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5c5470;
  text-align: center;
}
@media (max-width: 767px) {
  .seo-engine--google .seo-gsc-shot {
    padding: 10px 10px 12px;
  }
  .seo-engine--google .seo-gsc-shot img {
    aspect-ratio: 800 / 385;
  }
}

.seo-engine--yandex #webmaster > .rk-container > .seo-prose--left {
  max-width: 880px;
  margin-inline: auto;
}
.seo-engine--yandex .seo-yw-shot {
  margin: 24px 0 0;
  padding: 12px 12px 14px;
  border: 1px solid #e8e4f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 30, 92, 0.04);
}
.seo-engine--yandex .seo-yw-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 496;
  border-radius: 10px;
  border: 1px solid #ece8f7;
  background: #f4f5f7;
}
.seo-engine--yandex .seo-yw-shot figcaption {
  margin: 10px 4px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5c5470;
  text-align: center;
}
@media (max-width: 767px) {
  .seo-engine--yandex .seo-yw-shot {
    padding: 8px 8px 12px;
  }
  .seo-engine--yandex .seo-yw-shot img {
    aspect-ratio: 790 / 478;
  }
}

.seo-engine--yandex #tech .seo-prose {
  max-width: 880px;
  margin-inline: auto;
}
.seo-engine--yandex .seo-tech-grid {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin-inline: auto;
}
.seo-engine--yandex .seo-tech-card {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #e8e4f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 30, 92, 0.04);
}
.seo-engine--yandex .seo-tech-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #252c3b;
  font-weight: 600;
}
@media (min-width: 768px) {
  .seo-engine--yandex .seo-tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }
  .seo-engine--yandex .seo-tech-card {
    flex: 0 1 calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}
@media (min-width: 1100px) {
  .seo-engine--yandex .seo-tech-card {
    flex: 0 1 calc((100% - 32px) / 3);
    width: calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
}
@media (max-width: 767px) {
  .seo-engine--yandex .seo-tech-card {
    padding: 18px;
  }
}
