/* Точечные визуальные правки брендовых элементов лендинга. */

/* Hero: фирменный знак — самостоятельный элемент без второй рамки и подложки. */
.hero-flow-merge {
  height: 98px;
}

.hero-flow-core {
  top: 40px;
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  color: transparent;
  background: transparent;
  box-shadow: 0 8px 22px rgba(3, 18, 57, .18);
  font-size: 0;
}

.hero-flow-core img,
.brand-symbol img,
.tool-manifesto-mark img,
.oauth-node:last-child .oauth-node-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-flow-merge small {
  bottom: 1px;
}

/* Во всех инфографиках знак приложения отображается full-bleed, без вложенных квадратов. */
.brand-symbol,
.tool-manifesto-mark,
.oauth-node:last-child .oauth-node-icon {
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  color: transparent !important;
  background: transparent !important;
  font-size: 0 !important;
}

.brand-symbol {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.tool-manifesto-mark {
  box-shadow: 0 8px 20px rgba(3, 18, 57, .16);
}

.oauth-node:last-child .oauth-node-icon {
  box-shadow: 0 5px 14px rgba(3, 18, 57, .14);
}

/* Hi-res брендовый знак для Retina/4K/8K: 512×512 вместо favicon 32×32. */
.hero-flow-core,
.brand-symbol,
.tool-manifesto-mark,
.oauth-node:last-child .oauth-node-icon {
  background-image: url('/static/brand/AppIcon-512.png') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.hero-flow-core img,
.brand-symbol img,
.tool-manifesto-mark img,
.oauth-node:last-child .oauth-node-icon img {
  opacity: 0;
}

/* Глифы часов и стрелки заменены геометрически центрированными SVG-иконками. */
.proof-grid article:nth-child(3)::before {
  content: "";
  background-color: #70e8ed;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031239' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v5h4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

.result-symbol {
  color: transparent !important;
  font-size: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031239' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M9 7h8v8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 28px 28px !important;
}

/* Короткое пояснение о контроле над таблицей. */
.security-table-control {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #cceee3;
  border-radius: 15px;
  background: #f1fbf7;
}

.security-table-control-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #075f47;
  background: #dff8ef;
  font-size: 20px;
  font-weight: 800;
}

.security-table-control strong,
.security-table-control p {
  display: block;
}

.security-table-control strong {
  margin-bottom: 4px;
  color: #075f47;
  font-size: 15px;
}

.security-table-control p {
  margin: 0;
  color: #42685c;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .hero-flow-merge {
    height: 84px;
  }

  .hero-flow-core {
    top: 31px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .hero-flow-merge small {
    bottom: 0;
  }

  .security-table-control {
    grid-template-columns: 38px 1fr;
    padding: 16px;
  }

  .security-table-control-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 17px;
  }
}

@media (max-width: 419.98px) {
  .hero-flow-merge {
    height: 82px;
  }

  .hero-flow-core {
    top: 30px;
    width: 36px;
    height: 36px;
  }
}
