.company-summary {
  scroll-margin-top: 74px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 42px;
  padding: 42px clamp(24px, 5vw, 80px);
  background: #061f46;
  color: #fff;
}
.company-summary small {
  color: #f4c653;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.company-summary h3 {
  font-size: clamp(25px, 3vw, 40px);
  margin: 10px 0 18px;
}
.company-summary p {
  max-width: 850px;
  color: #d9e8f7;
  font-size: 16px;
  line-height: 1.75;
}
.company-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.company-summary dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  border: 1px solid #ffffff29;
  background: #ffffff0a;
  padding: 16px;
}
.company-summary dt {
  font-size: 25px;
  font-weight: 900;
  color: #f4c653;
}
.company-summary dd {
  margin: 0;
  font-size: 14px;
}
.legal-dialog {
  width: min(680px, calc(100% - 32px));
  border: 0;
  border-top: 5px solid #0874e8;
  padding: 34px;
  border-radius: 5px;
  color: #102c4b;
  box-shadow: 0 24px 70px #001a3e88;
}
.legal-dialog::backdrop {
  background: #00152ecc;
}
.legal-dialog h2 {
  margin: 0 40px 20px 0;
  font-size: 25px;
}
.legal-dialog p {
  font-size: 15px;
  line-height: 1.75;
  color: #4f6277;
}
.legal-close {
  position: absolute;
  right: 16px;
  top: 13px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #e9f3fc;
  color: #073d83;
  font-size: 24px;
  cursor: pointer;
}
footer span {
  display: flex;
  align-items: center;
  gap: 9px;
}
footer button {
  border: 0;
  padding: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer i {
  font-style: normal;
}
footer .footer-copy {
  display: block;
}
footer .footer-legal {
  margin-left: auto;
}
footer .footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 18px;
}
footer .footer-social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #17365e;
  color: #c9d8e9;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
footer .footer-social a:hover,
footer .footer-social a:focus-visible {
  background: #0874e8;
  color: #fff;
  transform: translateY(-2px);
  outline: 2px solid #8fc7ff;
  outline-offset: 2px;
}
footer .footer-social b {
  font: 700 15px/1 Arial, sans-serif;
}
footer .footer-social a:last-child b {
  font-size: 12px;
}
@media (max-width: 680px) {
  .about-banner {
    min-height: 0;
  }
  .about-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    transform: none;
  }
  .about-banner a {
    left: 3.7%;
    top: 69%;
    width: 45%;
    height: 14%;
  }
  .company-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 22px;
  }
  .company-summary p {
    font-size: 15px;
  }
  .company-summary dl div {
    grid-template-columns: 74px 1fr;
  }
  footer .footer-legal,
  footer .footer-social {
    margin-left: 0;
  }
}
