/* FROM — home, section 2: safety, as one big orange card with a cut-out photo over a huge faded FROM mark. */

.safe {
  padding: clamp(80px, 10vw, 144px) 0;
  background: var(--paper-warm);
}

.safe__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.safe__tag {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(7, 13, 23, 0.06);
  font-size: 15px;
  font-weight: 600;
}

.safe__title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* ---------- The card ---------- */

.safe__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 580px;
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--orange);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.safe__art {
  position: relative;
  min-height: 100%;
}

/* The FROM mark, far bigger than the card, in a lighter orange. */
.safe__mark {
  position: absolute;
  right: -6%;
  top: 8%;
  width: 100%;
  height: auto;
  fill: #ff8f40;
  z-index: -1;
}

/* The photo is cut off at its right edge, so that edge sits flush with the card's. */
.safe__person {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 94%;
  max-width: none;
}

.safe__body {
  order: -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px);
  justify-content: center;
}

.safe__heading {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.06;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.safe__text {
  max-width: 40ch;
  margin-top: 20px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  font-weight: 500;
}

.safe__points {
  display: grid;
  width: 100%;
  max-width: 420px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.safe__points li {
  padding: 14px 0;
  border-top: 1.5px solid rgba(7, 13, 23, 0.18);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 650;
  letter-spacing: -0.015em;
}

.safe__points li:last-child {
  border-bottom: 1.5px solid rgba(7, 13, 23, 0.18);
}

.safe__cta {
  margin-top: 36px;
}

/* ---------- Phone: words first, then the photo rising from the bottom ---------- */

@media (max-width: 680px) {
  .safe__card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .safe__body {
    padding: 36px 24px 8px;
  }

  .safe__cta {
    margin-top: 28px;
  }

  .safe__art {
    height: clamp(360px, 90vw, 520px);
  }

  .safe__mark {
    right: -4%;
    top: 10%;
    width: 84%;
  }

  .safe__person {
    height: 96%;
  }
}
