.dsm-becs__contents {
  display: grid;
  gap: .65rem;
  margin: 2rem 0 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #c9e3df;
  border-radius: 18px;
  background: #f0faf8;
}

.dsm-becs__contents strong { color: #06384a; font-size: 1.05rem; }
.dsm-becs__contents a { width: fit-content; color: #056b70; font-weight: 700; }

.dsm-becs__answer,
.dsm-becs__policy {
  margin: 2.25rem 0;
  padding: 1.75rem;
  border-left: 6px solid #06a68f;
  border-radius: 8px 20px 20px 8px;
  background: linear-gradient(135deg, #eaf9f5, #f8fcfb);
}

.dsm-becs__answer h3,
.dsm-becs__policy h3,
.dsm-becs__warning h3,
.dsm-becs__cta h2 { margin: .3rem 0 .55rem; }

.dsm-becs__answer p:last-child,
.dsm-becs__policy p:last-child,
.dsm-becs__warning p:last-child,
.dsm-becs__cta p:last-child,
.dsm-becs__fees p:last-child,
.dsm-becs__benefits p:last-child { margin-bottom: 0; }

.dsm-becs__benefits,
.dsm-becs__fees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.dsm-becs__benefits section,
.dsm-becs__fees section {
  padding: 1.4rem;
  border: 1px solid #d9e3e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(5, 49, 67, .06);
}

.dsm-becs__benefits span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #dff5ef;
  color: #006d64;
  font-weight: 800;
}

.dsm-becs__benefits h3 { margin: .8rem 0 .35rem; }

.dsm-becs__flow,
.dsm-becs__setup {
  display: grid;
  gap: .85rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: becs-step;
}

.dsm-becs__flow li,
.dsm-becs__setup li {
  position: relative;
  min-height: 3.25rem;
  padding: 1rem 1rem 1rem 4.25rem;
  border: 1px solid #d9e3e8;
  border-radius: 15px;
  background: #fff;
  counter-increment: becs-step;
}

.dsm-becs__flow li::before,
.dsm-becs__setup li::before {
  content: counter(becs-step, decimal-leading-zero);
  position: absolute;
  top: .9rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 12px;
  background: #0a5264;
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}

.dsm-becs__flow p { margin: .25rem 0 0; }

.dsm-becs__table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid #ccdce1;
  border-radius: 16px;
}

.dsm-becs__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }

.dsm-becs__table th,
.dsm-becs__table td {
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid #dbe7ea;
  vertical-align: top;
  text-align: left;
}

.dsm-becs__table thead th { background: #083c50; color: #fff; }
.dsm-becs__table tbody th { width: 24%; color: #07364a; background: #f2f8f8; }
.dsm-becs__table tr:last-child th,
.dsm-becs__table tr:last-child td { border-bottom: 0; }

.dsm-becs__fees { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsm-becs__fees section:first-child { border-top: 5px solid #0c8ea6; }
.dsm-becs__fees section:nth-child(2) { border-top: 5px solid #08a286; }
.dsm-becs__fees section:nth-child(3) { border-top: 5px solid #ef8a5c; }

.dsm-becs__fees .price {
  margin: .35rem 0 .75rem;
  color: #062d44;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
}

.dsm-becs__fees .price span { margin-left: .2rem; font-size: .95rem; font-weight: 600; }

.dsm-becs__checklist {
  display: grid;
  gap: .8rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}

.dsm-becs__checklist li {
  position: relative;
  padding: .95rem 1rem .95rem 3rem;
  border-radius: 12px;
  background: #f3f8fa;
}

.dsm-becs__checklist li::before {
  content: "✓";
  position: absolute;
  top: .88rem;
  left: 1rem;
  color: #008575;
  font-weight: 900;
}

.dsm-becs__warning {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid #f1c8b3;
  border-radius: 16px;
  background: #fff5ef;
}

.dsm-becs__policy { border-left-color: #f08a5d; background: linear-gradient(135deg, #fff1e9, #fffaf7); }

.dsm-becs__cta {
  margin: 2.75rem 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 24px;
  background: linear-gradient(135deg, #07354a, #075c68);
  color: #fff;
}

.dsm-becs__cta h2,
.dsm-becs__cta .eyebrow { color: #fff; }
.dsm-becs__cta .wp-block-buttons { margin-top: 1.25rem; }
.dsm-becs__cta .wp-block-button.is-style-outline .wp-block-button__link { border-color: #fff; color: #fff; }

@media (max-width: 760px) {
  .dsm-becs__benefits,
  .dsm-becs__fees { grid-template-columns: 1fr; }

  .dsm-becs__contents,
  .dsm-becs__answer,
  .dsm-becs__policy,
  .dsm-becs__warning { padding: 1.15rem; }

  .dsm-becs__table-wrap { overflow: visible; border: 0; }

  .dsm-becs__table,
  .dsm-becs__table tbody,
  .dsm-becs__table tr,
  .dsm-becs__table th,
  .dsm-becs__table td { display: block; width: 100%; }

  .dsm-becs__table thead { display: none; }

  .dsm-becs__table tr {
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #ccdce1;
    border-radius: 14px;
  }

  .dsm-becs__table tbody th {
    width: 100% !important;
    box-sizing: border-box;
    background: #083c50;
    color: #fff;
  }

  .dsm-becs__table td::before {
    display: block;
    margin-bottom: .2rem;
    color: #06716e;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .dsm-becs__table td:nth-child(2)::before { content: "Stripe BECS Direct Debit"; }
  .dsm-becs__table td:nth-child(3)::before { content: "Online domestic card"; }
}

@media (max-width: 430px) {
  .dsm-becs__flow li,
  .dsm-becs__setup li { padding: 3.7rem 1rem 1rem; }
}
