.rescuer-demo-promo {
  margin: 1rem 0;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 20px;
  box-shadow: var(--bodyid-shadow);
  overflow: hidden;
}

.card-body .rescuer-demo-promo {
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.rescuer-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 3rem 2.5rem;
}

.card-body .rescuer-demo-grid {
  padding: 1rem 0 2rem;
}

.rescuer-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.15rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: #e6effd;
  color: var(--bs-primary);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.rescuer-demo-pill .fa {
  font-size: 1.15rem;
}

.rescuer-demo-promo .rescuer-demo-copy h2 {
  margin: 0 0 .8rem;
  max-width: 16ch;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.038em;
  text-align: left;
  text-wrap: balance;
}

.rescuer-demo-lead {
  margin: 0 0 1.35rem;
  max-width: 39ch;
  color: #55637a;
  font-size: 1.08rem;
  line-height: 1.5;
}

.rescuer-demo-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.5rem;
  padding: 0 1.55rem;
  border-radius: 12px;
  box-shadow: 0 8px 18px -10px rgba(var(--bs-primary-rgb), .85);
}

.rescuer-demo-fine {
  margin: .85rem 0 0;
  color: #55637a;
  font-size: .98rem;
  font-weight: 600;
}

.rescuer-demo-stage {
  position: relative;
  display: flex;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  border-radius: 34px;
}

.rescuer-demo-stage::before {
  content: "";
  position: absolute;
  inset: 1% -9% 3%;
  background: linear-gradient(150deg, #ddebfb, #ecf3fd 55%, #e5f0fb);
  border-radius: 44% 56% 52% 48% / 46% 42% 58% 54%;
}

.rescuer-demo-stage:focus-visible {
  outline: .2rem solid rgba(var(--bs-primary-rgb), .35);
  outline-offset: .4rem;
}

.rescuer-demo-phone {
  position: relative;
  z-index: 1;
  width: 19rem;
  max-width: 100%;
  padding: .5rem;
  background: #0e1520;
  border-radius: 34px;
  box-shadow: var(--bodyid-shadow-lift);
}

.rescuer-demo-tag {
  position: absolute;
  z-index: 3;
  top: -.75rem;
  right: -.75rem;
  padding: .28rem .6rem;
  background: #fff;
  color: #55637a;
  border: 1px solid #e1e6ee;
  border-radius: 999px;
  box-shadow: var(--bodyid-shadow);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* phone screen: sizes in em mirror the rem sizes of the real rescuer view */
.rescuer-demo-screen {
  position: relative;
  max-height: 47em;
  overflow: hidden;
  background: #ebf4ff;
  border-radius: 27px;
  color: #212529;
  font-size: .75rem;
  line-height: 1.4;
  text-align: left;
}

.ph-navbar {
  display: flex;
  align-items: center;
  gap: .4em;
  padding: .9em 1em;
  background: #1059ad;
  color: #fff;
}

.ph-flag {
  height: 1.5em;
  width: auto;
}

.ph-caret {
  margin-right: .9em;
}

.ph-logo {
  height: 2.1em;
  width: auto;
}

.ph-toggler {
  margin-left: auto;
  padding: .2em .55em;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: .4em;
  font-size: 1.4em;
  color: rgba(255, 255, 255, .8);
}

.ph-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1em;
  padding: 1em .75em;
}

.ph-alert {
  background: #fbe7e9;
  border: 1px solid #f1aeb5;
  border-radius: .5em;
  color: #58151c;
}

.ph-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1em;
  padding: 1em;
  background: #fff;
  border: 1px solid #c5ccd3;
  border-radius: 1em;
  box-shadow: 0 .125em .25em rgba(0, 0, 0, .075);
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  flex-shrink: 0;
  padding: .4em .75em;
  border-radius: .5em;
  font-weight: 600;
  white-space: nowrap;
}

.ph-btn-danger {
  background: #dc3545;
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
}

.ph-btn-primary {
  background: var(--bs-primary);
  color: #fff;
  font-size: 1.2em;
}

.ph-btn-light {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #212529;
}

.ph-emergency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1em;
}

.ph-emergency strong,
.ph-emergency small {
  display: block;
}

.ph-emergency small {
  font-size: .875em;
}

.ph-identity {
  display: flex;
  align-items: center;
}

.ph-photo {
  flex-shrink: 0;
  width: 6em;
  height: 6em;
  object-fit: cover;
  border: .25em solid var(--bs-primary);
  border-radius: 50%;
  box-shadow: 0 .125em .25em rgba(0, 0, 0, .075);
}

.ph-identity-text {
  min-width: 0;
}

.ph-identity-text > * {
  display: block;
}

.ph-name {
  margin-bottom: .2em;
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.ph-meta {
  margin-bottom: .25em;
  font-weight: 600;
}

.ph-updated {
  color: rgba(33, 37, 41, .75);
  font-size: .875em;
}

.ph-updated .fa {
  color: var(--bs-primary);
}

.ph-attention-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5em;
  padding: .5em 1em;
}

.ph-attention-head strong {
  color: #dc3545;
  font-size: 1.25em;
  font-weight: 700;
}

.ph-pill {
  padding: .25em .75em;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 50rem;
  color: #dc3545;
  font-size: .95em;
  font-weight: 600;
  white-space: nowrap;
}

.ph-attention p {
  margin: 0;
  padding: 0 1em 1em;
}

.ph-contact-head {
  display: flex;
  align-items: center;
  gap: .5em;
}

.ph-contact-head > .fa {
  color: var(--bs-primary);
  font-size: 1.5em;
}

.ph-contact-head span,
.ph-contact-head strong,
.ph-contact-head small {
  display: block;
}

.ph-label {
  color: var(--bs-primary);
  font-size: .875em;
  font-weight: 700;
  text-transform: uppercase;
}

.ph-contact-head small {
  color: rgba(33, 37, 41, .75);
}

.ph-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5em;
  padding: .5em;
  border: 1px solid #dee2e6;
  border-radius: .5em;
}

.ph-number strong {
  font-size: 1.25em;
}

.ph-actions {
  display: flex;
  gap: .5em;
}

.ph-actions .ph-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: .6em .5em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4em;
  background: linear-gradient(rgba(235, 244, 255, 0), #ebf4ff 85%);
}

.rescuer-demo-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0 3rem;
  padding: 1.45rem 0 1.7rem;
  list-style: none;
  border-top: 1px solid #e1e6ee;
}

.card-body .rescuer-demo-trust {
  margin: 0;
  padding-bottom: 0;
}

.rescuer-demo-trust li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .8rem;
}

.rescuer-demo-trust-icon {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 15px;
  background: #e6effd;
  color: var(--bs-primary);
  font-size: 1.4rem;
}

.rescuer-demo-trust b,
.rescuer-demo-trust small {
  display: block;
}

.rescuer-demo-trust b {
  font-size: 1.12rem;
  font-weight: 800;
}

.rescuer-demo-trust small {
  margin-top: .15rem;
  color: #55637a;
  font-size: .98rem;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .rescuer-demo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 2rem 1.25rem 2.25rem;
  }

  .rescuer-demo-promo .rescuer-demo-copy h2 {
    max-width: 18ch;
    font-size: clamp(1.9rem, 8.5vw, 2.5rem);
  }

  .rescuer-demo-open {
    width: 100%;
  }

  .rescuer-demo-phone {
    width: min(19rem, 82vw);
  }

  .rescuer-demo-trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 0 1.25rem;
  }
}

@media (max-width: 420px) {
  .rescuer-demo-pill {
    padding: .58rem .75rem;
    font-size: .82rem;
  }
}

@media (max-width: 360px) {
  .rescuer-demo-screen {
    font-size: .68rem;
  }
}
