/* Стили блока «О продукте».
   Назначение: описание платформы и схема встраивания.
   Подключается рядом с blocks/about/about.html. */

.about {
  padding: 110px 0;
  color: #fff;
  background: linear-gradient(180deg, #081A33 0%, #0C2548 100%);

}

.about__inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.about__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.about__index {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-mint));
  color: #fff;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.about__kicker-text {
  flex: none;
  color: var(--accent-mint);
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__kicker-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-mint) 70%, transparent), transparent);
}

.about__title {
  max-width: 865px;
  margin-bottom: 16px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about__text {
  max-width: 900px;
  margin-bottom: 56px;
  color: var(--on-dark);
  font-size: 19px;
  line-height: 1.55;
}

.about__more {
  display: inline-flex;
  align-items: center;
  padding: 6px 17px;
  border: 1px solid color-mix(in srgb, var(--accent-mint) 70%, transparent);
  border-radius: 999px;
  color: var(--accent-mint);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.about__scheme {
  margin-top: 34px;
  scroll-margin-top: 96px;
}

.about__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.05fr) 32px minmax(0, 1.15fr) 32px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 12px;
  align-items: stretch;
}

.about__flow-label {
  margin: 0;
  color: var(--on-dark-dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about__zone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: -12px -8px;
  padding: 14px;
  border: 1.2px dashed rgba(255, 255, 255, 0.35);
  border-radius: 16px;
}

.about__zone .about__node {
  flex: 1;
}

.about__flow-label--link,
.about__node--link {
  grid-column: 3;
}

.about__flow-label--platform,
.about__node--platform {
  grid-column: 5;
}

.about__flow-label--platform {
  color: var(--accent-mint);
}

.about__flow-label--suppliers,
.about__node--suppliers {
  grid-column: 7;
}

.about__flow-label {
  grid-row: 1;
}

.about__node {
  grid-row: 2;
  padding: 22px 23px;
  border: 0;
  border-radius: 18px;
  background: color-mix(in srgb, #fff 6%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.14)
}

.about__node--platform {
  position: relative;
  border-color: transparent;
  background: linear-gradient(90deg, #1E9C8F 0%, #2BB3A3 100%);
}

.about__node--platform::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 36px;
  background: var(--accent-color);
}

.about__node h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.about__node p {
  margin: 0;
  color: var(--on-dark-soft);
  font-size: 14px;
  line-height: 1.45;
}

.about__node--platform p {
  color: var(--accent-on-dark);
}

.about__flow-arrow {
  display: grid;
  grid-row: 2;
  place-items: center;
  align-self: center;
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}

.about__flow-arrow--1 {
  grid-column: 2;
}

.about__flow-arrow--2 {
  grid-column: 4;
}

.about__flow-arrow--3 {
  grid-column: 6;
}

.about__modules {
  margin-top: 40px;
  padding: 34px;
  border: 0;
  border-radius: 24px;
  background: color-mix(in srgb, var(--accent-mint) 6%, transparent);
  border: 1.2px dashed var(--accent-color);
}

.about__modules-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.about__modules-label {
  margin-bottom: 8px;
  color: var(--accent-mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about__modules-title {
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.about__modules-note {
  max-width: 423px;
  margin: 0;
  color: var(--on-dark-dim);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.about__modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about__module {
  padding: 25px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1)
}

.about__module-index {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: rgba(92, 194, 181, 1);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: rgba(92, 194, 181, 0.18);
}

.about__module h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.about__module p,
.about__points,
.about__facts dd {
  color: #9aafc6;
  font-size: 13px;
  line-height: 1.45;
}

.about__module p {
  margin: 0;
}

.about__facts {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.about__facts div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
}

.about__facts dt {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.about__facts dd {
  margin: 0;
}

.about__points {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.about__points li {
  display: flex;
  gap: 8px;
}

.about__points li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-color);
}

@media (max-width: 980px) {
  .about__flow {
    grid-template-columns: 1fr;
  }

  .about__zone,
  .about__flow-label,
  .about__node,
  .about__flow-arrow {
    grid-column: auto;
    grid-row: auto;
  }

  .about__zone {
    margin: 0;
  }

  .about__flow-arrow,
  .about__node--platform::after {
    display: none;
  }

  .about__modules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__modules-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .about__modules-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .about {
    padding: 48px 0 64px;
  }

  .about__inner {
    width: min(var(--content), calc(100% - 32px));
  }

  .about__title {
    font-size: 32px;
  }

  .about__modules-grid {
    grid-template-columns: 1fr;
  }
}
