/* front.KeyMeld/public/seo.css */
/* Самодостаточный стиль статических SEO-страниц до загрузки Vue-приложения. */

body {
  min-width: 320px;
  margin: 0;
  background: #f5f8fc;
}

.seo-page-root,
.seo-page-root * {
  box-sizing: border-box;
}

.seo-page-root {
  min-height: 100vh;
  color: #102033;
  background: #f5f8fc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.seo-page-root a {
  color: inherit;
}

.seo-wrap {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  border-bottom: 1px solid #e2e8f0;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #102033;
  text-decoration: none;
}

.seo-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.seo-brand span {
  display: grid;
  gap: 1px;
}

.seo-brand strong {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.seo-brand small {
  color: #708097;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.seo-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #5f7089;
  font-size: 0.82rem;
  font-weight: 700;
}

.seo-nav a {
  text-decoration: none;
}

.seo-nav a:hover {
  color: #3154d9;
}

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #d7e0eb;
  border-radius: 10px;
  color: #fff !important;
  background: #19304c;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.seo-button:hover {
  background: #27496d;
}

.seo-button-muted {
  color: #19304c !important;
  background: #fff;
}

.seo-button-muted:hover {
  color: #3154d9 !important;
  background: #f2f6ff;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: 76px;
  align-items: center;
  padding: 92px 0 96px;
}

.seo-eyebrow,
.seo-kicker {
  margin: 0 0 16px;
  color: #5367d9;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 690px;
  margin: 0 0 23px;
  color: #102033;
  font-size: clamp(2.75rem, 5vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.seo-lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: #60728c;
  font-size: 1.16rem;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.seo-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  color: #697b93;
  font-size: 0.78rem;
  font-weight: 750;
}

.seo-proof span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: #2ac59d;
  content: "";
}

.seo-hero-panel {
  padding: 30px;
  border: 1px solid #2d4663;
  border-radius: 20px;
  color: #fff;
  background: #102239;
  box-shadow: 0 24px 55px rgba(16, 32, 51, 0.14);
}

.seo-panel-label {
  margin-bottom: 14px;
  color: #95a9c1;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-hero-panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.seo-panel-text {
  margin: 0 0 22px;
  color: #b7c5d7;
  font-size: 0.9rem;
}

.seo-flow {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-flow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
}

.seo-flow li:nth-child(2) {
  border-color: rgba(81, 213, 199, 0.55);
  background: rgba(42, 197, 157, 0.11);
}

.seo-flow-index {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #0f2830;
  background: #8feee2;
  font-size: 0.68rem;
  font-weight: 850;
}

.seo-flow-label {
  color: #f4f8ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.seo-panel-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb0c5;
  font-size: 0.75rem;
  font-weight: 700;
}

.seo-section {
  padding: 82px 0;
  border-top: 1px solid #e2e8f0;
}

.seo-section--light {
  background: #fff;
}

.seo-section-heading {
  max-width: 710px;
  margin-bottom: 34px;
}

.seo-section--scenario .seo-section-heading,
.seo-section--how .seo-section-heading {
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.seo-section--scenario h2,
.seo-section--how h2 {
  max-width: 100%;
  font-size: clamp(2rem, 3.3vw, 2.9rem);
  line-height: 1.08;
}

.seo-section--scenario .seo-section-lead,
.seo-section--how .seo-section-lead {
  margin-right: auto;
  margin-left: auto;
}

.seo-section-heading--compact {
  margin-top: 56px;
  margin-bottom: 26px;
}

.seo-section h2 {
  max-width: 780px;
  margin: 0 0 14px;
  color: #102033;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.seo-section-lead {
  max-width: 760px;
  margin: 0;
  color: #64768e;
  font-size: 1.05rem;
}

.seo-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.seo-info-card {
  padding: 28px;
  border: 1px solid #dfe7f0;
  border-radius: 16px;
  background: #f8fafc;
}

.seo-info-card h3,
.seo-benefit h3,
.seo-step h3 {
  margin: 0 0 9px;
  color: #102033;
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.seo-info-card p,
.seo-benefit p,
.seo-step p {
  margin: 0;
  color: #677991;
  font-size: 0.92rem;
}

.seo-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seo-scenario-card {
  min-height: 218px;
  padding: 25px;
  border: 1px solid #dfe7f0;
  border-radius: 16px;
  background: #f8fafc;
}

.seo-scenario-card--risk {
  border-color: #eadfce;
  background: #fffaf3;
}

.seo-scenario-card--keymeld {
  border-color: #2d4663;
  color: #fff;
  background: #102239;
}

.seo-scenario-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 37px;
}

.seo-scenario-number {
  color: #5367d9;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.seo-scenario-label {
  padding: 5px 8px;
  border-radius: 7px;
  color: #5367d9;
  background: #edf1ff;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-scenario-card--risk .seo-scenario-label {
  color: #a36a2a;
  background: #f8ead4;
}

.seo-scenario-card--keymeld .seo-scenario-number {
  color: #8feee2;
}

.seo-scenario-card--keymeld .seo-scenario-label {
  color: #102239;
  background: #8feee2;
}

.seo-scenario-card h3,
.seo-scenario-conclusion h3 {
  margin: 0 0 9px;
  color: #102033;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.seo-scenario-card p,
.seo-scenario-conclusion p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #677991;
  font-size: 0.92rem;
}

.seo-scenario-card--keymeld h3 {
  color: #fff;
}

.seo-scenario-card--keymeld p {
  color: #b7c5d7;
}

.seo-scenario-conclusion {
  margin-top: 16px;
  padding: 25px 28px;
  border: 1px solid rgba(83, 103, 217, 0.2);
  border-left: 4px solid #5367d9;
  border-radius: 12px;
  background: #f1f5ff;
}

.seo-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-benefit {
  min-height: 205px;
  padding: 25px;
  border: 1px solid #dfe7f0;
  border-radius: 16px;
  background: #fff;
}

.seo-benefit-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 9px;
  color: #3154d9;
  background: #edf1ff;
  font-size: 0.7rem;
  font-weight: 850;
}

.seo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dfe7f0;
  border-bottom: 1px solid #dfe7f0;
}

.seo-step {
  min-height: 220px;
  padding: 26px 23px 29px;
  border-right: 1px solid #dfe7f0;
}

.seo-step:last-child {
  border-right: 0;
}

.seo-step-number {
  display: block;
  margin-bottom: 35px;
  color: #5367d9;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.seo-faq {
  display: grid;
  gap: 9px;
  max-width: 860px;
}

.seo-faq details {
  border: 1px solid #dfe7f0;
  border-radius: 12px;
  background: #fff;
}

.seo-faq summary {
  padding: 18px 20px;
  color: #102033;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 800;
  list-style-position: inside;
}

.seo-faq p {
  margin: 0;
  padding: 0 20px 19px 40px;
  color: #677991;
  font-size: 0.9rem;
}

.seo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 37px 40px;
  border-radius: 18px;
  color: #fff;
  background: #102239;
}

.seo-cta h2 {
  max-width: 670px;
  margin-bottom: 9px;
  color: #fff;
}

.seo-cta p {
  max-width: 670px;
  margin: 0;
  color: #b7c5d7;
}

.seo-cta .seo-button {
  flex: 0 0 auto;
  border-color: transparent;
  color: #102239 !important;
  background: #8feee2;
}

.seo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  color: #718198;
  font-size: 0.76rem;
}

.seo-footer a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .seo-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 64px;
  }

  .seo-hero-panel {
    max-width: 680px;
  }

  .seo-benefits,
  .seo-steps {
    grid-template-columns: 1fr;
  }

  .seo-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #dfe7f0;
  }

  .seo-step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .seo-wrap {
    width: min(100% - 28px, 1180px);
  }

  .seo-header {
    align-items: flex-start;
    padding: 17px 0;
  }

  .seo-nav {
    gap: 10px;
  }

  .seo-nav a:not(.seo-button-small) {
    display: none;
  }

  .seo-button-small {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .seo-hero {
    padding: 54px 0 65px;
  }

  .seo-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .seo-lead {
    font-size: 1.02rem;
  }

  .seo-section {
    padding: 62px 0;
  }

  .seo-two-column {
    grid-template-columns: 1fr;
  }

  .seo-scenario-grid {
    grid-template-columns: 1fr;
  }

  .seo-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .seo-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
