/* V70.1.67 public-site readiness layer.
   Keeps pre-door pages mobile safe, makes contextual service cards clearer,
   and prevents status badges/buttons from creating hidden horizontal overflow. */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  overflow-wrap: anywhere;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.btn,
button,
a.btn,
.pill,
.status-pill,
.eyebrow {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.status-pill {
  flex-shrink: 1;
  justify-content: center;
  text-align: center;
  width: auto;
  max-width: min(100%, 178px);
}

.service-card .card-head {
  min-width: 0;
}

.service-card .logo-lockup,
.service-card .logo-text {
  min-width: 0;
}

.service-card .logo-text strong,
.service-card .logo-text span {
  overflow-wrap: anywhere;
}

.rhm-v67-value-row {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.rhm-v67-value-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #d8e3f4;
  border-radius: 999px;
  background: #f8fbff;
  color: #334a66;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 900;
}

.rhm-v67-service-ad,
.rhm-v67-privacy-panel,
.rhm-v67-readiness-panel {
  width: min(1160px, calc(100% - 36px));
  margin: 26px auto;
  border: 1px solid #d8e3f4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(7,20,38,.11);
  padding: 24px;
}

.rhm-v67-service-ad {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at 5% 0, rgba(35,199,183,.16), transparent 32%),
    radial-gradient(circle at 95% 0, rgba(11,99,246,.12), transparent 35%),
    #fff;
}

.rhm-v67-service-ad h2,
.rhm-v67-privacy-panel h2,
.rhm-v67-readiness-panel h2 {
  margin: 0 0 8px;
  color: #13223a;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.rhm-v67-service-ad p,
.rhm-v67-privacy-panel p,
.rhm-v67-readiness-panel p {
  margin: 0 0 12px;
  color: #58708f;
  line-height: 1.55;
}

.rhm-v67-ad-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rhm-v67-ad-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e3f4;
  border-radius: 14px;
  padding: 12px 15px;
  font-weight: 950;
  color: #13223a;
  background: #fff;
  text-decoration: none;
}

.rhm-v67-ad-actions a:first-child {
  background: linear-gradient(135deg, #0b63f6, #0347bf);
  border-color: #0b63f6;
  color: #fff;
}

.rhm-v67-ad-list,
.rhm-v67-policy-grid {
  display: grid;
  gap: 10px;
}

.rhm-v67-ad-list div,
.rhm-v67-policy-card {
  border: 1px solid #d8e3f4;
  border-radius: 16px;
  background: #f8fbff;
  padding: 14px;
  color: #334a66;
  line-height: 1.45;
}

.rhm-v67-policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rhm-v67-copyright {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #d8e3f4;
  color: #58708f;
  font-size: 13px;
}

.rhm-v67-readiness-panel {
  background: #fff8ec;
  border-color: #ecd09c;
}

.rhm-v67-readiness-panel strong {
  color: #7a4b12;
}

.rhm-v67-safe-label {
  display: inline-flex;
  border: 1px solid #b7ccf7;
  background: #eef5ff;
  color: #183a72;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width: 1180px) {
  .site-header .nav,
  .top .navlinks {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .wrap,
  .rhm-v67-service-ad,
  .rhm-v67-privacy-panel,
  .rhm-v67-readiness-panel {
    width: min(100% - 24px, 1160px);
  }

  h1 {
    font-size: clamp(34px, 11vw, 44px) !important;
    line-height: 1.02 !important;
  }

  h2 {
    font-size: clamp(24px, 7vw, 32px) !important;
  }

  .rhm-v67-service-ad,
  .rhm-v67-policy-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  button,
  a.btn,
  .rhm-v67-ad-actions a {
    width: 100%;
  }

  .status-pill {
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
  }
}
