.safety-page {
  background: #fff;
}

.safety-main {
  width: min(calc(100% - 108px), 1200px);
  margin: 0 auto;
}

.safety-reference-hero {
  height: 354px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  align-items: center;
  gap: 32px;
}

.safety-hero-copy {
  padding-left: 8px;
}

.safety-hero-copy h1 {
  margin: 0;
  color: #070b12;
  font-size: 39px;
  line-height: 1.38;
  font-weight: 900;
}

.safety-hero-copy h1 span {
  color: #ff5f00;
}

.safety-hero-copy > p {
  margin: 14px 0 0;
  color: #3e4653;
  font-size: 13px;
  line-height: 1.8;
}

.safety-hero-art {
  width: 345px;
  height: 310px;
  object-fit: contain;
}

.safety-tags {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}

.safety-tags span {
  height: 34px;
  padding: 0 12px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #363f4d;
  border: 1px solid #e7e9ec;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.safety-tags img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.safety-trust-grid {
  height: 239px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.safety-trust-grid article {
  padding: 18px 14px 12px;
  text-align: center;
  border: 1px solid #f0dfd6;
  border-radius: 10px;
  background: #fff;
}

.safety-trust-grid img {
  width: 150px;
  height: 136px;
  margin: 0 auto;
  object-fit: contain;
}

.safety-trust-grid h2 {
  margin: -4px 0 10px;
  color: #10151d;
  font-size: 17px;
  line-height: 1.2;
}

.safety-trust-grid p {
  margin: 0;
  color: #414954;
  font-size: 11px;
  line-height: 1.75;
}

.safety-process-section {
  margin-top: 38px;
}

.safety-process-section > h2,
.safety-rules-section > h2 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #11161e;
  font-size: 22px;
  line-height: 1.2;
}

.safety-process-section > h2 span,
.safety-rules-section > h2 span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff6a00;
}

.safety-process-card {
  height: 164px;
  padding: 8px 34px 14px;
  border: 1px solid #e9eaed;
  border-radius: 12px;
  background: #fff;
}

.safety-process-card > img {
  width: 100%;
  height: 92px;
  object-fit: contain;
}

.safety-process-copy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.safety-process-copy strong,
.safety-process-copy span {
  display: block;
}

.safety-process-copy strong {
  color: #11161e;
  font-size: 14px;
}

.safety-process-copy span {
  margin-top: 5px;
  color: #515a68;
  font-size: 10px;
}

.safety-privacy-panel {
  height: 320px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border-radius: 14px;
  background: #f2fbfc;
}

.privacy-phone {
  width: 245px;
  height: 305px;
  margin: 15px 0 0 24px;
  align-self: end;
  object-fit: contain;
  object-position: bottom;
}

.privacy-content {
  padding: 0 30px 0 10px;
}

.privacy-content > h2 {
  margin: 0 0 26px;
  color: #11161e;
  font-size: 24px;
}

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

.privacy-grid article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.privacy-grid img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.privacy-grid h3 {
  margin: 0 0 7px;
  color: #11161e;
  font-size: 15px;
}

.privacy-grid p {
  margin: 0;
  color: #515a68;
  font-size: 10px;
  line-height: 1.7;
}

.safety-rules-section {
  min-height: 240px;
  margin-top: 18px;
  padding: 20px 18px 18px;
  border: 1px solid #e9eaed;
  border-radius: 12px;
  background: #fff;
}

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

.safety-rule-grid article {
  min-height: 154px;
  padding: 2px 8px 10px;
  text-align: center;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  background: #fff;
}

.safety-rule-grid img {
  width: 88px;
  height: 82px;
  margin: 0 auto;
  object-fit: contain;
}

.safety-rule-grid h3 {
  margin: -2px 0 8px;
  color: #11161e;
  font-size: 14px;
}

.safety-rule-grid p {
  margin: 0;
  color: #515a68;
  font-size: 10px;
  line-height: 1.7;
}

.safety-contact-panel {
  height: 254px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff3ea;
}

.safety-contact-copy {
  padding: 28px 20px 20px 34px;
}

.safety-contact-copy h2 {
  margin: 0;
  color: #11161e;
  font-size: 23px;
}

.safety-contact-copy > p {
  margin: 6px 0 22px;
  color: #4f5966;
  font-size: 12px;
}

.safety-contact-copy a {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.safety-contact-copy a img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.safety-contact-copy a span,
.safety-contact-copy a strong {
  display: block;
}

.safety-contact-copy a span {
  color: #424b58;
  font-size: 12px;
}

.safety-contact-copy a strong {
  margin-top: 4px;
  color: #11161e;
  font-size: 16px;
  font-weight: 500;
}

.safety-contact-art {
  width: 340px;
  height: 248px;
  align-self: end;
  object-fit: contain;
}

.safety-footer {
  min-height: 48px;
  margin-top: 20px;
  padding: 12px 20px;
  gap: 0;
  color: #636b77;
  background: #fff;
  border-top: 0;
  font-size: 12px;
}

.safety-footer > * {
  padding: 0 12px;
  border-left: 1px solid #b9bec6;
}

.safety-footer > *:first-child {
  border-left: 0;
}

.safety-footer img {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: -3px;
}

@media (max-width: 760px) {
  .safety-main {
    width: calc(100% - 28px);
  }

  .safety-reference-hero {
    height: auto;
    padding: 38px 0 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .safety-hero-copy {
    padding: 0;
  }

  .safety-hero-copy h1 {
    font-size: 34px;
  }

  .safety-hero-copy > p br {
    display: none;
  }

  .safety-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-hero-art {
    width: min(100%, 345px);
    height: auto;
    margin: 0 auto;
  }

  .safety-trust-grid,
  .safety-process-copy,
  .safety-rule-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-trust-grid article {
    min-height: 224px;
  }

  .safety-process-card {
    height: auto;
    padding: 12px;
  }

  .safety-process-card > img {
    height: auto;
  }

  .safety-process-copy {
    gap: 18px 8px;
  }

  .safety-privacy-panel {
    height: auto;
    grid-template-columns: 1fr;
  }

  .privacy-phone {
    width: min(76%, 245px);
    height: auto;
    margin: 18px auto 0;
  }

  .privacy-content {
    padding: 8px 18px 26px;
  }

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

  .safety-rules-section {
    height: auto;
  }

  .safety-rule-grid article {
    min-height: 170px;
  }

  .safety-contact-panel {
    height: auto;
    grid-template-columns: 1fr;
  }

  .safety-contact-art {
    width: 100%;
    height: auto;
  }

  .safety-footer {
    padding: 18px 14px;
  }

  .safety-footer > * {
    margin: 5px 0;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .safety-trust-grid,
  .safety-rule-grid {
    grid-template-columns: 1fr;
  }

  .safety-process-section > h2,
  .safety-rules-section > h2 {
    gap: 12px;
    font-size: 19px;
  }
}
