/*
 * Trust and cards: the "Private by design" band and the refined plan cards.
 * Uses the showcase variables, so it matches every product page.
 */

/* ---- Private by design ---- */
.wms-privacy-band {
  padding-block: 64px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgb(185 230 206 / 22%) 0%, transparent 55%),
    var(--showcase-surface, #fff);
  border-block: 1px solid var(--showcase-border, rgba(15, 23, 42, 0.12));
}

.wms-privacy-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 30px;
}

.wms-privacy-head h2 {
  margin: 4px 0 8px;
}

.wms-privacy-head p:not(.showcase-kicker) {
  margin: 0;
  color: var(--showcase-muted, #64748b);
  font-size: 16px;
}

.wms-privacy-seal {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--showcase-navy, #1d2b33);
  color: #b9e6ce;
  box-shadow: 0 12px 26px rgb(29 43 51 / 22%);
}

.wms-privacy-seal .wms-icon svg {
  width: 28px;
  height: 28px;
}

.wms-privacy-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wms-privacy-grid li {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--showcase-border, rgba(15, 23, 42, 0.12));
  border-radius: 12px;
  background: var(--showcase-surface, #fff);
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wms-privacy-grid li:hover {
  transform: translateY(-2px);
  border-color: rgb(4 120 87 / 35%);
  box-shadow: 0 12px 28px rgb(15 23 42 / 8%);
}

.wms-privacy-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--showcase-mint, #e8f6ef);
  color: #047857;
}

.wms-privacy-icon .wms-icon svg {
  width: 20px;
  height: 20px;
}

.wms-privacy-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.wms-privacy-grid p {
  margin: 0;
  color: var(--showcase-muted, #64748b);
  font-size: 13.5px;
  line-height: 1.55;
}

.wms-privacy-more {
  margin: 22px 0 0;
  font-size: 14px;
}

.wms-privacy-more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wms-privacy-more .wms-icon svg {
  width: 16px;
  height: 16px;
}

.wms-privacy-band.is-compact {
  padding-block: 40px;
  background: transparent;
  border: 0;
}

/* A one-line reminder for places with less room (pricing hero, account). */
.wms-privacy-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--showcase-mint, #e8f6ef);
  color: #065f46;
  font-size: 13px;
  font-weight: 560;
}

.wms-privacy-inline .wms-icon svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1000px) {
  .wms-privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wms-privacy-band {
    padding-block: 44px;
  }

  .wms-privacy-head {
    gap: 14px;
  }

  .wms-privacy-seal {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .wms-privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Plan cards ---- */
.wms-price-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wms-price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgb(15 23 42 / 10%);
}

.wms-price-card .wms-price-includes {
  margin: 16px 0 0;
  padding: 12px 14px;
  list-style: none;
  display: grid;
  gap: 10px;
  border-radius: 10px;
  background: var(--color-surface-primary, #f8fafc);
  border: 1px solid var(--color-border, rgba(15, 23, 42, 0.08));
}

.wms-price-perks {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.wms-price-card .wms-price-perks {
  gap: 8px;
}

.wms-price-card .wms-price-perks li,
.wms-price-card .wms-price-includes li {
  margin: 0;
  padding: 0;
  border: 0;
}

.wms-price-perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-secondary, #334155);
}

.wms-price-perks .wms-icon {
  flex: none;
  color: #047857;
  margin-top: 1px;
}

.wms-price-perks .wms-icon svg {
  width: 16px;
  height: 16px;
}

.wms-price-card .wms-account-actions {
  margin-top: auto;
}

.wms-price-card.is-featured {
  box-shadow: 0 18px 44px rgb(4 120 87 / 14%);
}

@media (prefers-reduced-motion: reduce) {
  .wms-privacy-grid li,
  .wms-price-card {
    transition: none;
  }

  .wms-privacy-grid li:hover,
  .wms-price-card:hover {
    transform: none;
  }
}

/* ---- Privacy page summary ---- */
.wms-privacy-summary {
  margin: 28px 0 36px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid rgb(4 120 87 / 25%);
  background: linear-gradient(135deg, rgb(209 250 229 / 55%) 0%, rgb(255 255 255 / 0%) 70%), var(--color-surface-raised, #fff);
}

.wms-privacy-summary h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.wms-privacy-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.wms-privacy-summary li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

.wms-privacy-summary .wms-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  color: #047857;
  box-shadow: 0 1px 2px rgb(15 23 42 / 8%);
}

.wms-privacy-summary .wms-icon svg {
  width: 18px;
  height: 18px;
}
