.dsm-bacs__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-bacs__contents strong { color: #06384a; font-size: 1.05rem; }
.dsm-bacs__contents a { width: fit-content; color: #056b70; font-weight: 700; }

.dsm-bacs__answer,
.dsm-bacs__status {
  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-bacs__answer h3,
.dsm-bacs__status h3,
.dsm-bacs__cta h2 { margin: .3rem 0 .55rem; }

.dsm-bacs__answer p:last-child,
.dsm-bacs__status p:last-child,
.dsm-bacs__cta p:last-child,
.dsm-bacs__benefits p:last-child,
.dsm-bacs__method-grid p:last-child { margin-bottom: 0; }

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

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

.dsm-bacs__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-bacs__benefits h3 { margin: .8rem 0 .35rem; }
.dsm-bacs__method-grid h3 { margin-top: 0; color: #07364a; }

.dsm-bacs__flow {
  display: grid;
  gap: .85rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: bacs-step;
}

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

.dsm-bacs__flow li::before {
  content: counter(bacs-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-bacs__flow p { margin: .25rem 0 0; }

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

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

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

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

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

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

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

.dsm-bacs__status {
  border-left-color: #ef8a5c;
  background: linear-gradient(135deg, #fff2ea, #fffaf7);
}

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

.dsm-bacs__cta h2,
.dsm-bacs__cta .eyebrow { color: #fff; }
.dsm-bacs__cta .button {
  display: inline-block;
  padding: .8rem 1.1rem;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .dsm-bacs__table { min-width: 760px; }
}

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

  .dsm-bacs__contents,
  .dsm-bacs__answer,
  .dsm-bacs__status { padding: 1.15rem; }

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

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

  .dsm-bacs__table thead { display: none; }

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

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

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

  .dsm-bacs__table td:nth-child(2)::before { content: "Bacs Direct Debit"; }
  .dsm-bacs__table td:nth-child(3)::before { content: "Standard UK card"; }
  .dsm-bacs__table td:nth-child(4)::before { content: "Premium UK card"; }
  .dsm-bacs__table td:nth-child(5)::before { content: "International card"; }
}

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