/* --------------------------------------------------------------------------
   Data Quality, MDM & Audit-Ready Governance — page-specific blocks.

   Reuses the shared section components (section-intro, section-description,
   ls-section, section-cta-transform, service-case-studies, faq, bottom-form).
   Everything here covers the blocks that have no shared equivalent: the
   takeaway band, the five-question ledger, the relationship and comparison
   tables, the implementation pyramid, deliverables, audience roles, the
   stall list, the MDM decision split, regulatory cards, the audit checklist,
   the three implementation pillars, the technology table and security card.
   -------------------------------------------------------------------------- */

/* Content links inside the custom blocks follow the site's link rule. */
.dqg-hero__actions a:not(.btn),
.dqg-takeaways a,
.dqg-questions a,
.dqg-fit a,
.dqg-implementation a,
.dqg-deliverables a,
.dqg-audience-section a,
.dqg-stall-section a,
.dqg-platform-need a,
.dqg-compare a,
.dqg-regulatory a,
.dqg-audit a,
.dqg-pillars a,
.dqg-technologies-section a,
.dqg-security-section a,
.dqg-related a,
.dqg-table a {
  color: var(--color-brand-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dqg-hero__actions a:not(.btn):hover,
.dqg-takeaways a:hover,
.dqg-questions a:hover,
.dqg-fit a:hover,
.dqg-implementation a:hover,
.dqg-deliverables a:hover,
.dqg-audience-section a:hover,
.dqg-stall-section a:hover,
.dqg-platform-need a:hover,
.dqg-compare a:hover,
.dqg-regulatory a:hover,
.dqg-audit a:hover,
.dqg-pillars a:hover,
.dqg-technologies-section a:hover,
.dqg-security-section a:hover,
.dqg-related a:hover,
.dqg-table a:hover {
  color: var(--color-brand-teal-300);
}

/* The page reads at full contrast: running copy uses the default text
   colour, not the muted grey the shared section header applies. */
.page-data-quality-mdm-governance .section-intro__text {
  color: rgba(255, 255, 255, 0.9);
}

.page-data-quality-mdm-governance .section-description__info {
  color: rgba(255, 255, 255, 0.85);
}

.page-data-quality-mdm-governance .section-faq {
  padding: var(--spacing-80) 0;
  background: #fff;
}

#data-quality-mdm-cases {
  padding: var(--spacing-80) 0;
}

/* The terracotta part of the FAQ heading starts a second line on desktop. */
@media (min-width: 769px) {
  .page-data-quality-mdm-governance .section-faq h2 .span-terracotta {
    display: block;
  }
}

/* --- Hero ---------------------------------------------------------------- */

.dqg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-16);
  margin-top: var(--spacing-32);
}

/* Three statistics with longer labels than the usual strip: give the row the
   full container width and a slightly smaller number and label size. */
#intro-section .dqg-stats {
  max-width: 1100px;
}

.dqg-stats .section-description__item {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.dqg-stats .section-description__info {
  font-size: 14px;
  line-height: 1.5;
}

.dqg-stats .section-description__number {
  font-size: clamp(24px, 1.75vw, 32px);
  line-height: 1.15;
  text-wrap: balance;
}

@media (max-width: 1000px) {
  #intro-section .dqg-stats {
    flex-wrap: wrap;
  }

  #intro-section .dqg-stats .section-description__item {
    flex: 1 1 calc(50% - var(--spacing-16));
  }
}

@media (max-width: 640px) {
  #intro-section .dqg-stats .section-description__item {
    flex: 1 1 auto;
  }
}

/* --- Shared type helpers ------------------------------------------------- */

.dqg-subhead {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  color: var(--primary-text);
  text-align: left;
}

.dqg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dqg-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
  color: var(--primary-text);
}

.dqg-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand-teal-200);
}

.dqg-list strong {
  color: var(--primary-text);
  font-weight: var(--font-weight-600);
}

.dqg-note {
  margin: 0;
  padding: var(--spacing-20, 20px) var(--spacing-24);
  border-left: 3px solid var(--color-brand-terracotta-200);
  background: var(--color-brand-mist-100);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--primary-text);
}

.dqg-split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.dqg-split-head .ls-section__title {
  margin: 0 0 var(--spacing-16);
  text-align: left;
}

.dqg-split-head__lead,
.dqg-split-head__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  min-width: 0;
}

/* --- Key takeaways ------------------------------------------------------- */

/* Dark band with five glass cards in one row, matching the takeaway panels
   on the other Data Engineering landings. */
.dqg-takeaways {
  padding-top: 0;
  background: var(--color-brand-navy-800);
}

.dqg-takeaways__header {
  max-width: 760px;
  margin: 0 auto var(--spacing-40);
  text-align: center;
}

.dqg-takeaways__header .ls-section__title {
  margin: 0;
  color: var(--color-brand-white);
}

.dqg-takeaways__header .ls-section__title span {
  color: var(--accent-orange);
}

.dqg-takeaways__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--spacing-24);
}

.dqg-takeaways__list li {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-32);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.dqg-takeaways__list li:hover {
  border-color: rgba(7, 145, 143, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(7, 145, 143, 0.12);
  transform: translateY(-4px);
}

.dqg-takeaways__list li > p {
  margin: 0;
}

.dqg-takeaways__list li a {
  color: var(--color-brand-teal-200);
}

.dqg-takeaways__list li a:hover {
  color: var(--color-brand-teal-300);
}

/* Number tile mirrors the orange icon tile of the reference block. */
.dqg-takeaways__list li::before {
  content: "\e809";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--spacing-24);
  border-radius: 12px;
  background: rgba(255, 227, 210, 0.12);
  border: 1px solid var(--color-brand-orange-300);
  font-family: fontello;
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
  color: var(--accent-orange);
}

.dqg-takeaways__list li:nth-child(2)::before { content: "\f295"; }
.dqg-takeaways__list li:nth-child(3)::before { content: "\e82d"; }
.dqg-takeaways__list li:nth-child(4)::before { content: "\f132"; }
.dqg-takeaways__list li:nth-child(5)::before { content: "\f1e0"; }

@media (max-width: 1240px) {
  .dqg-takeaways__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dqg-takeaways__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dqg-takeaways__list {
    grid-template-columns: 1fr;
  }

  .dqg-takeaways__list li {
    padding: var(--spacing-24);
  }
}

/* --- Five questions ------------------------------------------------------ */

.dqg-questions {
  background: var(--secondary-bg);
}

.dqg-questions .ls-section__header {
  max-width: 1000px;
}

.dqg-questions__list {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  counter-reset: dqg-question;
}

.dqg-question {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
  counter-increment: dqg-question;
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--color-brand-mist-300);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(6, 11, 26, 0.04);
}

.dqg-question__head {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* A large ghost number under the question title, following the challenge
   watermark pattern without pushing the answer down. */
.dqg-question__head::after {
  content: "#" counter(dqg-question);
  align-self: flex-start;
  margin-top: var(--spacing-16);
  font-family: var(--font-display);
  font-size: clamp(72px, 7vw, 112px);
  font-weight: var(--font-weight-700);
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: rgba(171, 61, 17, 0.1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.dqg-question__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.1rem + 0.7vw, 28px);
  font-weight: var(--font-weight-600);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--primary-text);
  text-wrap: balance;
}

.dqg-question__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--primary-text);
}

.dqg-question__practice {
  margin-top: var(--spacing-16) !important;
  color: var(--secondary-text) !important;
}

.dqg-question__practice strong {
  color: var(--primary-text);
  font-weight: var(--font-weight-600);
}

/* The sentence the reader should be able to say afterwards: a quiet evidence
   slip inside the answer, with a teal spine rather than another full card. */
.dqg-question__say {
  position: relative;
  margin-top: var(--spacing-20, 20px) !important;
  padding: var(--spacing-16) var(--spacing-20, 20px) var(--spacing-16) 48px;
  background: var(--color-brand-mist-100);
  border-left: 3px solid var(--color-brand-teal);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.1vw, 17px);
  font-style: italic;
  line-height: 1.55;
  color: var(--primary-text) !important;
}

.dqg-question__say::before {
  content: "\201C";
  position: absolute;
  left: 17px;
  top: 2px;
  font-family: var(--font-display);
  font-size: 38px;
  font-style: normal;
  line-height: 1;
  color: var(--color-brand-teal-200);
}

.dqg-question__say-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body, inherit);
  font-size: 11px;
  font-style: normal;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-brand-terracotta);
}

@media (max-width: 900px) {
  .dqg-question {
    grid-template-columns: 1fr;
    gap: var(--spacing-16);
  }

  .dqg-question__head::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .dqg-question {
    padding: var(--spacing-20, 20px);
    border-radius: 16px;
  }

  .dqg-question__say {
    padding: var(--spacing-16) var(--spacing-16) var(--spacing-16) 38px;
  }

  .dqg-question__say::before {
    left: 12px;
  }
}

/* --- Tables -------------------------------------------------------------- */

/* Tables follow the case-study table standard: a rounded frame, a quiet blue
   header tint and a terracotta highlight column. */
.dqg-table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}

.dqg-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(15, 30, 60, 0.1);
  border-radius: 16px;
  overflow: hidden;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
}

.dqg-table th,
.dqg-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 30, 60, 0.08);
}

.dqg-table tbody tr:last-child th,
.dqg-table tbody tr:last-child td {
  border-bottom: 0;
}

.dqg-table thead th {
  background: rgba(30, 77, 146, 0.04);
  font-size: inherit;
  font-weight: var(--font-weight-600);
  letter-spacing: 0;
  text-transform: none;
  color: var(--primary-text);
}

.dqg-table tbody th {
  width: 26%;
  font-weight: var(--font-weight-600);
  color: var(--primary-text);
}

.dqg-table td {
  color: var(--primary-text);
}

.dqg-table tbody tr:hover th,
.dqg-table tbody tr:hover td:not(.dqg-table__col--highlight) {
  background: rgba(30, 77, 146, 0.03);
}

/* Highlight column, same treatment the case-study tables use. */
.dqg-table__col--highlight {
  color: var(--primary-text) !important;
  background: rgba(171, 61, 17, 0.1);
  border-left: 2px solid rgba(171, 61, 17, 0.35);
}

.dqg-table thead th.dqg-table__col--highlight {
  font-weight: var(--font-weight-600);
  background: rgba(171, 61, 17, 0.16);
  border-left-color: rgba(171, 61, 17, 0.7);
}

.dqg-table tbody td.dqg-table__col--highlight {
  font-weight: var(--font-weight-500);
}

.dqg-table tbody tr:hover td.dqg-table__col--highlight {
  background: rgba(171, 61, 17, 0.16);
}

.dqg-table--fit tbody th {
  width: 24%;
}

.dqg-table--tech tbody th {
  width: 30%;
}

/* On phones the two comparison tables become stacked cards instead of
   requiring a horizontal swipe. */
@media (max-width: 700px) {
  .dqg-table--fit,
  .dqg-table--compare {
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .dqg-table--fit thead,
  .dqg-table--compare thead {
    display: none;
  }

  .dqg-table--fit tbody,
  .dqg-table--compare tbody,
  .dqg-table--fit tr,
  .dqg-table--compare tr,
  .dqg-table--fit th,
  .dqg-table--fit td,
  .dqg-table--compare th,
  .dqg-table--compare td {
    display: block;
    width: auto;
  }

  .dqg-table--fit tbody tr,
  .dqg-table--compare tbody tr {
    margin-bottom: var(--spacing-16);
    padding: var(--spacing-8) 0 var(--spacing-16);
    background: #fff;
    border: 1px solid rgba(15, 30, 60, 0.1);
    border-radius: 14px;
  }

  .dqg-table--fit tbody th,
  .dqg-table--compare tbody th {
    width: auto;
    padding: 12px 16px 4px;
    border-bottom: 0;
    font-size: 17px;
  }

  .dqg-table--fit tbody td,
  .dqg-table--compare tbody td {
    padding: 6px 16px 10px;
    border-bottom: 0;
  }

  .dqg-table--fit tbody td::before,
  .dqg-table--compare tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: var(--font-weight-600);
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--color-brand-terracotta);
  }

  .dqg-table--fit tbody td.dqg-table__col--highlight,
  .dqg-table--compare tbody td.dqg-table__col--highlight {
    margin: 4px 10px 0;
    border-left: 3px solid rgba(171, 61, 17, 0.45);
    border-radius: 0 8px 8px 0;
  }
}

/* The technology table has only four rows; stack it as cards too rather
   than asking phone users to swipe a wide table. */
@media (max-width: 700px) {
  .dqg-table--tech {
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .dqg-table--tech thead {
    display: none;
  }

  .dqg-table--tech tbody,
  .dqg-table--tech tr,
  .dqg-table--tech th,
  .dqg-table--tech td {
    display: block;
    width: auto;
  }

  .dqg-table--tech tbody tr {
    margin-bottom: var(--spacing-16);
    padding: var(--spacing-8) 0 var(--spacing-16);
    background: #fff;
    border: 1px solid rgba(15, 30, 60, 0.1);
    border-radius: 14px;
  }

  .dqg-table--tech tbody th {
    width: auto;
    padding: 12px 16px 4px;
    border-bottom: 0;
    font-size: 17px;
  }

  .dqg-table--tech tbody td {
    padding: 6px 16px 10px;
    border-bottom: 0;
  }

  .dqg-table--tech tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: var(--font-weight-600);
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--color-brand-terracotta);
  }

  .dqg-table--tech tbody td.dqg-table__col--highlight {
    margin: 4px 10px 0;
    border-left: 3px solid rgba(171, 61, 17, 0.45);
    border-radius: 0 8px 8px 0;
  }
}

/* --- Relationship table -------------------------------------------------- */

.dqg-fit {
  background: #fff;
}

.dqg-fit .ls-section__header {
  max-width: 1000px;
}

#how-they-fit-together .dqg-table-wrap {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* Keep the whole terracotta accent on its own line on desktop: otherwise
   the browser breaks inside the span after "data". */
@media (min-width: 769px) {
  .dqg-fit .ls-section__title span {
    display: block;
  }
}

/* Balance the two lead lines and avoid the orphaned article at the line end. */
.dqg-fit .ls-section__header .ls-section__lead {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.dqg-fit__note.bf-callout {
  max-width: 1000px;
  margin: var(--spacing-32) auto 0;
}

/* Keep the link phrase whole, and give it a clean second line on desktop
   instead of leaving "MRO AI." as an orphan. */
.dqg-fit__note-link a {
  white-space: nowrap;
}

@media (min-width: 769px) {
  .dqg-fit__note-link {
    display: block;
    margin-top: 2px;
  }
}

/* --- Implementation pyramid --------------------------------------------- */

.dqg-implementation {
  position: relative;
  overflow: hidden;
  background: var(--color-brand-navy);
}

/* Brand artwork pinned bottom-left, as on the other navy bands. */
.dqg-implementation::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/about-bg.7be2890657ad.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto;
  pointer-events: none;
  z-index: 0;
}

.dqg-implementation > .container {
  position: relative;
  z-index: 1;
}

.dqg-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.dqg-process__intro .ls-section__title {
  margin: 0 0 var(--spacing-16);
  text-align: left;
  color: var(--color-brand-white);
}

.dqg-process__intro .ls-section__title span {
  color: var(--accent-orange);
}

/* Start the accent on its own line on desktop. */
@media (min-width: 769px) {
  .dqg-process__intro .ls-section__title span {
    display: block;
  }
}

.dqg-process__intro .ls-section__lead {
  color: rgba(255, 255, 255, 0.85);
}

/* Pyramid: narrow at the top, widening downwards. */
.dqg-process-pyramid__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dqg-process-pyramid__layer {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-16);
  width: 100%;
  margin: 0;
  padding: var(--spacing-24) var(--spacing-32);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left-width: 3px;
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dqg-process-pyramid__layer:nth-child(1) { width: 78%; }
.dqg-process-pyramid__layer:nth-child(2) { width: 84%; }
.dqg-process-pyramid__layer:nth-child(3) { width: 90%; }
.dqg-process-pyramid__layer:nth-child(4) { width: 96%; }
.dqg-process-pyramid__layer:nth-child(5) { width: 100%; }

.dqg-process-pyramid__layer:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.dqg-process-pyramid__index {
  flex: 0 0 2ch;
  width: 2ch;
  font-size: 13px;
  font-weight: var(--font-weight-600);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--accent-orange);
}

.dqg-process-pyramid__body {
  min-width: 0;
}

.dqg-process-pyramid__layer-title {
  margin: 0 0 var(--spacing-8);
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: var(--font-weight-600);
  line-height: 1.3;
  color: var(--color-brand-white);
}

.dqg-process-pyramid__layer-text {
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.dqg-process-pyramid__layer-text a,
.dqg-process-pyramid__output a {
  color: var(--color-brand-teal-200);
}

.dqg-process-pyramid__layer-text a:hover,
.dqg-process-pyramid__output a:hover {
  color: var(--color-brand-teal-300);
}

.dqg-process-pyramid__output {
  margin: var(--spacing-12, 12px) 0 0;
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.dqg-process-pyramid__output strong {
  color: var(--accent-orange);
  font-weight: var(--font-weight-600);
}

@media (max-width: 1200px) {
  .dqg-implementation::before {
    background-size: 100% auto;
    background-position: 30% 100%;
  }
}

@media (max-width: 992px) {
  .dqg-process__layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-32);
  }
}

@media (max-width: 768px) {
  .dqg-process-pyramid__stack {
    gap: 8px;
  }

  .dqg-process-pyramid__layer,
  .dqg-process-pyramid__layer:nth-child(n) {
    width: 100%;
    padding: var(--spacing-16) var(--spacing-24);
  }
}

/* --- Deliverables -------------------------------------------------------- */

.dqg-deliverables {
  background: var(--secondary-bg);
}

.dqg-deliverables .ls-section__header {
  max-width: 1000px;
  margin-bottom: var(--spacing-24);
}

/* Start the terracotta accent on its own line on desktop. */
@media (min-width: 769px) {
  .dqg-deliverables .ls-section__title span {
    display: block;
  }
}

/* The brief gives two short lead paragraphs before the grid; keep them
   distinct instead of letting them run together. */
.dqg-deliverables .ls-section__header .ls-section__lead + .ls-section__lead {
  margin-top: var(--spacing-16);
}

/* The scope line reads as a label for the grid, not as another lead. */
.dqg-deliverables__label {
  margin-top: var(--spacing-16) !important;
  font-weight: var(--font-weight-600);
  color: var(--primary-text);
}

.dqg-deliverables__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-16);
  max-width: 1300px;
  margin: 0 auto;
}

.dqg-deliverable {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-24);
  background: #fff;
  border: 1px solid var(--color-brand-mist-300);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dqg-deliverable:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14, 17, 22, 0.07);
}

.dqg-deliverable__num {
  margin-bottom: var(--spacing-16);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: var(--font-weight-600);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--color-brand-terracotta-100);
  opacity: 0.55;
}

.dqg-deliverable__title {
  margin: 0 0 var(--spacing-8);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: var(--font-weight-600);
  line-height: 1.3;
  color: var(--primary-text);
  text-wrap: balance;
}

.dqg-deliverable p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--primary-text);
}

@media (max-width: 1100px) {
  .dqg-deliverables__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dqg-deliverables__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Mid-page CTA -------------------------------------------------------- */

.dqg-readiness-cta .section-cta-transform__container {
  max-width: 1100px;
}

.dqg-readiness-cta .section-cta-transform__title {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}

.dqg-readiness-cta__paths {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-40);
  text-align: center;
}

.dqg-readiness-cta__paths .section-cta-transform__subtitle {
  margin: 0 auto;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: #fff;
}

/* The shared subtitle-link rule is more specific than the page rule and
   kept this link at teal-50. Target the section to override it reliably. */
#hardest-to-defend .section-cta-transform__subtitle a:not(.btn) {
  color: var(--color-brand-teal-100);
  font-weight: var(--font-weight-600);
  text-decoration: none;
}

#hardest-to-defend .section-cta-transform__subtitle a:not(.btn):hover {
  color: var(--color-brand-white);
}

/* --- Audience roles ------------------------------------------------------ */

.dqg-audience-section {
  background: #fff;
}

.dqg-audience {
  display: grid;
  gap: var(--spacing-16);
  max-width: 1300px;
  margin: 0 auto;
}

.dqg-audience--roles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dqg-audience__card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-20, 20px);
  padding: var(--spacing-24);
  background: var(--secondary-bg);
  border-radius: 18px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dqg-audience__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(14, 17, 22, 0.07);
}

.dqg-audience__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(171, 61, 17, 0.1);
  border: 1px solid rgba(171, 61, 17, 0.3);
  color: var(--color-brand-terracotta);
  font-family: fontello;
  font-size: 22px;
  line-height: 1;
}

.dqg-audience__body {
  min-width: 0;
}

.dqg-audience__title {
  margin: 0 0 6px;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: var(--font-weight-600);
  line-height: 1.3;
  color: var(--primary-text);
  text-wrap: balance;
}

.dqg-audience__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--primary-text);
}

.dqg-audience__body a {
  color: var(--color-brand-teal);
}

/* Seven roles leave one card on its own row. Let the last one close the grid
   across both columns instead of leaving a conspicuous empty cell. */
@media (min-width: 901px) {
  .dqg-audience--roles .dqg-audience__card:last-child {
    grid-column: 1 / -1;
  }

  /* The full-width role card gets one very long line otherwise. */
  .dqg-audience--roles .dqg-audience__card:last-child .dqg-audience__body p {
    max-width: 920px;
    text-wrap: balance;
  }
}

/* Light variant of the closing note, with a quiet blush backing. */
.dqg-callout {
  max-width: 1300px;
  margin: var(--spacing-40) auto 0;
  padding: var(--spacing-24) var(--spacing-32);
  background: #FBF0EB;
  background: color-mix(in srgb, var(--color-brand-terracotta-50) 35%, #fff);
  border-left: 4px solid var(--color-brand-terracotta-300);
  border-radius: 0 14px 14px 0;
}

.dqg-callout__title {
  margin: 0 0 var(--spacing-8);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: var(--font-weight-600);
  line-height: 1.3;
  color: var(--primary-text);
}

.dqg-callout > p {
  margin: 0 0 var(--spacing-16);
  font-size: 15px;
  line-height: 1.6;
  color: var(--primary-text);
}

.dqg-callout .dqg-list li::before {
  background: var(--color-brand-terracotta-200);
}

/* Audience note banner. Motif 05 is used here; the full set of eight
   backgrounds lives in static/img/bg-banner/ for other pages. */
.dqg-note-preview {
  position: relative;
  overflow: hidden;
}

.dqg-note-preview::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  background-image: var(--dqg-banner);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.dqg-note-preview > * {
  position: relative;
  z-index: 1;
}

.dqg-note-preview--05 {
  --dqg-banner: url("../img/bg-banner/bg-banner-05.4f72963b09f0.svg");
}

@media (max-width: 900px) {
  .dqg-note-preview::before {
    width: 72%;
    opacity: 0.42;
  }
}

@media (max-width: 600px) {
  .dqg-note-preview::before {
    width: 85%;
    opacity: 0.28;
  }
}

@media (max-width: 900px) {
  .dqg-audience--roles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dqg-audience__card {
    gap: var(--spacing-16);
    padding: var(--spacing-20, 20px);
  }

  .dqg-callout {
    padding: var(--spacing-20, 20px) var(--spacing-24);
  }
}

/* --- Why programmes stall ------------------------------------------------ */

.dqg-stall-section {
  background: var(--secondary-bg);
}

/* Four cards in one row, following the legacy-framework pattern on the
   Engineering & Manufacturing industry page: a single white panel split by
   1px rules, with a terracotta number circle on each card. */
.dqg-lessons-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1300px;
  margin: 0 auto;
  background: #e2e4eb;
  border-radius: 16px;
  overflow: hidden;
}

.dqg-lesson-step {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-32) var(--spacing-24);
  background: #fff;
}

.dqg-lesson-step__top {
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-16);
}

.dqg-lesson-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand-terracotta);
  color: #fff;
  font-size: 14px;
  font-weight: var(--font-weight-700);
  letter-spacing: 0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dqg-lesson-step__title {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: var(--font-weight-600);
  line-height: 1.3;
  color: var(--primary-text);
  text-wrap: balance;
}

.dqg-lesson-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--secondary-text);
}

@media (max-width: 1100px) {
  .dqg-lessons-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dqg-lessons-steps {
    grid-template-columns: 1fr;
  }

  .dqg-lesson-step {
    padding: var(--spacing-24);
  }
}

/* --- MDM platform decision ---------------------------------------------- */

.dqg-platform-need {
  background: #fff;
}

#mdm-platform .dqg-split-head {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.dqg-platform-need .dqg-split-head__lead .ls-section__lead {
  max-width: 470px;
}

/* Start the accent on its own line on desktop. */
@media (min-width: 769px) {
  .dqg-platform-need .ls-section__title span {
    display: block;
  }
}

.dqg-platform-need__note.bf-callout {
  max-width: none;
  margin: 0;
}

/* --- Platform comparison ------------------------------------------------- */

.dqg-compare {
  background: var(--secondary-bg);
}

.dqg-compare .ls-section__header {
  max-width: 1000px;
}

/* Keep the comparison inside a 1300px frame and give the table itself a
   white surface while it is still a table. Once it stacks into cards on
   phones, the cards carry the white background instead. */
.dqg-compare .dqg-table-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

.dqg-compare .dqg-table {
  background: #fff;
}

@media (max-width: 700px) {
  .dqg-compare .dqg-table {
    background: transparent;
  }
}

/* Start the accent on its own line on desktop. */
@media (min-width: 769px) {
  .dqg-compare .ls-section__title span {
    display: block;
  }
}

/* --- Regulatory cards ---------------------------------------------------- */

.dqg-regulatory {
  background: var(--color-brand-navy);
}

.dqg-regulatory > .container {
  position: relative;
  z-index: 1;
}

.dqg-regulatory .ls-section__header {
  max-width: 1000px;
  margin-bottom: var(--spacing-32);
}

.dqg-regulatory .ls-section__title {
  color: var(--color-brand-white);
}

.dqg-regulatory .ls-section__title span {
  color: var(--accent-orange);
}

/* Start the accent on its own line on desktop. */
@media (min-width: 769px) {
  .dqg-regulatory .ls-section__title span {
    display: block;
  }
}

.dqg-regulatory .ls-section__lead {
  color: rgba(255, 255, 255, 0.82);
}

.dqg-regulatory__note {
  max-width: 1000px;
  margin: 0 auto var(--spacing-40);
  padding: var(--spacing-20, 20px) var(--spacing-24);
  border-left: 3px solid var(--accent-orange);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 12px 12px 0;
}

.dqg-regulatory__note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.dqg-regulatory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-16);
  max-width: 1300px;
  margin: 0 auto;
}

.dqg-regulatory__card {
  padding: var(--spacing-24);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dqg-regulatory__title {
  margin: 0 0 var(--spacing-20, 20px);
  padding-bottom: var(--spacing-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.5vw, 23px);
  font-weight: var(--font-weight-600);
  line-height: 1.3;
  color: var(--color-brand-white);
}

/* Only the article numbers are links; keep them in the standard teal used
   on dark surfaces, without an underline. */
.dqg-regulatory__title a {
  color: var(--color-brand-teal-200);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dqg-regulatory__title a:hover {
  color: var(--color-brand-teal-300);
}

.dqg-regulatory__block + .dqg-regulatory__block {
  margin-top: var(--spacing-16);
}

.dqg-regulatory__block h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.dqg-regulatory__block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1100px) {
  .dqg-regulatory__grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

/* --- Audit preparation --------------------------------------------------- */

.dqg-audit {
  background: #fff;
}

.dqg-audit .dqg-split-head {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.dqg-audit .dqg-split-head__lead .ls-section__lead {
  max-width: 480px;
}

/* Start the accent on its own line on desktop. */
@media (min-width: 769px) {
  .dqg-audit .ls-section__title span {
    display: block;
  }
}

/* The checklist lead is a label, not a section heading: keep it on one line
   at desktop width and carry the terracotta accent. */
.dqg-audit .dqg-subhead {
  max-width: none;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.35;
  color: var(--color-brand-terracotta);
}

.dqg-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dqg-checklist li {
  position: relative;
  padding: var(--spacing-16) var(--spacing-16) var(--spacing-16) 44px;
  background: var(--color-brand-teal-50);
  font-size: 15px;
  line-height: 1.55;
  color: var(--primary-text);
}

.dqg-checklist li:first-child {
  border-radius: 12px 12px 0 0;
}

.dqg-checklist li:last-child {
  border-radius: 0 0 12px 12px;
}

.dqg-checklist li::before {
  content: "\2713";
  position: absolute;
  left: var(--spacing-16);
  top: var(--spacing-16);
  font-size: 16px;
  font-weight: var(--font-weight-700);
  line-height: 1.4;
  color: var(--color-brand-teal-700);
}

/* --- Implementation pillars --------------------------------------------- */

.dqg-pillars {
  background: var(--color-brand-navy);
  color: var(--white-text);
}

.dqg-pillars .ls-section__title {
  color: var(--white-text);
}

.dqg-pillars .ls-section__title span {
  color: var(--accent-orange);
}

.dqg-pillars .ls-section__header {
  max-width: 1000px;
}

.dqg-pillars .ls-section__header .ls-section__lead {
  color: rgba(255, 255, 255, 0.82);
}

.dqg-pillars .ls-section__header .ls-section__lead {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

/* Start the accent on its own line on desktop. */
@media (min-width: 769px) {
  .dqg-pillars .ls-section__title span {
    display: block;
  }
}

/* Capability tabs on the navy band, same pattern as the legacy landings. */
.dqg-build-tabs {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.dqg-build-tabs .about-project-stages__layout {
  max-width: none;
  gap: 0;
  align-items: stretch;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.dqg-build-tabs .about-project-stages__nav {
  border: 0;
}

@media (min-width: 901px) {
  .dqg-build-tabs .about-project-stages__layout {
    grid-template-columns: 380px minmax(0, 1fr);
  }

  .dqg-build-tabs .about-project-stages__nav {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    border-bottom: none;
    border-left: none;
  }

  .dqg-build-tabs .about-project-stages__tab {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--spacing-16);
    padding: var(--spacing-24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    font-family: var(--font-body);
    font-size: clamp(15px, 13px + 0.4vw, 17px);
    font-weight: var(--font-weight-500);
    line-height: 1.35;
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.72);
    white-space: normal;
  }

  .dqg-build-tabs .about-project-stages__tab:last-child {
    border-bottom: none;
  }

  .dqg-build-tabs .about-project-stages__tab::before {
    width: 3px;
    background: var(--color-brand-teal);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .dqg-build-tabs .about-project-stages__tab:hover {
    color: var(--color-brand-white);
    background: rgba(255, 255, 255, 0.05);
  }

  .dqg-build-tabs .about-project-stages__tab.is-active {
    color: var(--color-brand-white);
    background: linear-gradient(90deg, rgba(7, 145, 143, 0.26) 0%, rgba(7, 145, 143, 0) 100%);
    box-shadow: none;
  }

  .dqg-build-tabs .about-project-stages__tab.is-active::before {
    opacity: 1;
  }
}

.dqg-build-tabs__num {
  font-size: 12px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.3s ease;
}

.dqg-build-tabs .about-project-stages__tab:hover .dqg-build-tabs__num,
.dqg-build-tabs .about-project-stages__tab.is-active .dqg-build-tabs__num {
  color: var(--color-brand-teal-300);
}

.dqg-build-tabs__label {
  color: inherit;
  font-weight: var(--font-weight-600);
  margin: 0 0 3px;
}

.dqg-build-tabs .about-project-stages__card {
  height: 100%;
  padding: var(--spacing-40);
  background: transparent;
  border-radius: 0;
}

.dqg-build-tabs .about-project-stages__panel {
  max-width: 900px;
}

.dqg-build-tabs__head {
  display: block;
  margin-bottom: var(--spacing-24);
}

.dqg-build-tabs__head .about-project-stages__panel-title {
  margin: 0;
  color: var(--color-brand-white);
}

.dqg-build-tabs .about-project-stages__lead {
  margin-bottom: var(--spacing-16);
  font-size: 16px;
  font-weight: var(--font-weight-400);
  line-height: 1.65;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.82);
}

.dqg-build-tabs .dqg-list {
  margin-bottom: var(--spacing-20, 20px);
}

.dqg-build-tabs .dqg-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.dqg-build-tabs .dqg-list li::before {
  background: var(--color-brand-teal-200);
}

.dqg-build-tabs a {
  color: var(--color-brand-teal-200);
}

.dqg-build-tabs a:hover {
  color: var(--color-brand-teal-300);
}

.dqg-build-tabs .dqg-pillar__proven {
  margin: var(--spacing-24) 0 0;
  padding: var(--spacing-16);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.dqg-build-tabs .dqg-pillar__proven strong {
  color: var(--accent-orange);
  font-weight: var(--font-weight-600);
}

@media (max-width: 900px) {
  .dqg-build-tabs .about-project-stages__layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-16);
    border: 0;
  }

  .dqg-build-tabs .about-project-stages__nav {
    border: 0;
  }

  .dqg-build-tabs .about-project-stages__tab {
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
  }

  .dqg-build-tabs .about-project-stages__tab:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .dqg-build-tabs .about-project-stages__tab.is-active {
    background: rgba(7, 145, 143, 0.18);
    border-color: rgba(7, 145, 143, 0.5);
    color: var(--color-brand-white);
  }

  .dqg-build-tabs .about-project-stages__tab::after {
    margin-left: auto;
    color: var(--color-brand-teal-200);
  }

  .dqg-build-tabs .about-project-stages__panel {
    max-width: none;
  }

  .dqg-build-tabs .about-project-stages__mobile-panel {
    background: transparent;
  }

  .dqg-build-tabs .about-project-stages__mobile-panel.is-open {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .dqg-build-tabs .about-project-stages__mobile-panel .about-project-stages__panel-title {
    color: var(--color-brand-white);
  }

  .dqg-build-tabs .about-project-stages__mobile-panel .about-project-stages__lead {
    color: rgba(255, 255, 255, 0.82);
  }

  .dqg-build-tabs .about-project-stages__mobile-panel .dqg-list li {
    color: rgba(255, 255, 255, 0.85);
  }

  .dqg-build-tabs .about-project-stages__mobile-panel .dqg-list li::before {
    background: var(--color-brand-teal-200);
  }
}

/* --- Technologies -------------------------------------------------------- */

.dqg-technologies-section {
  background: #fff;
}

.dqg-technologies__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.dqg-technologies__lead .ls-section__title {
  margin: 0 0 var(--spacing-16);
  font-size: clamp(30px, 2.3vw, 40px);
  text-align: left;
}

.dqg-technologies__lead .ls-section__lead {
  max-width: 470px;
  font-size: 16px;
}

/* Grid items default to min-width:auto, which lets the table's min-width
   blow the page out on phones. Keep both columns inside the viewport. */
.dqg-technologies__lead,
.dqg-technologies__body {
  min-width: 0;
}

/* --- Security ------------------------------------------------------------ */

.dqg-security-section {
  position: relative;
  overflow: hidden;
  background: var(--secondary-bg);
}

/* Mirrored terracotta artwork on the right, as on the sibling landings. */
#security-and-access::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1200px;
  height: 587px;
  background: url("../img/about-bg-terracotta.dd50fe517fdf.svg") no-repeat center / contain;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

#security-and-access > .container {
  position: relative;
  z-index: 1;
}

#security-heading {
  max-width: 520px;
}

@media (min-width: 769px) {
  #security-heading span {
    display: block;
  }
}

@media (min-width: 901px) {
  #security-and-access .dqg-split-head {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .dqg-security__card {
    max-width: 600px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #security-and-access::before {
    right: -600px;
  }
}

@media (max-width: 768px) {
  #security-and-access::before {
    display: none;
  }
}

.dqg-security {
  padding: 0;
}

.dqg-security__card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid rgba(15, 30, 60, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(6, 11, 26, 0.05);
}

/* Teal spine, echoing the security cue rather than another terracotta bar. */
.dqg-security__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-brand-teal);
}

.dqg-security__head {
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-24);
}

.dqg-security__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(7, 145, 143, 0.1);
  border: 1px solid rgba(7, 145, 143, 0.25);
  color: var(--color-brand-teal);
}

.dqg-security__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: var(--font-weight-600);
  line-height: 1.2;
  letter-spacing: var(--ls-h3);
  color: var(--color-brand-terracotta);
}

.dqg-security__intro {
  max-width: 500px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary-text);
}

.dqg-security__intro a {
  color: var(--color-brand-teal);
}

.dqg-security__block .ls-section__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--primary-text);
}

/* --- Related services ---------------------------------------------------- */

.dqg-related {
  padding: var(--spacing-80) 0;
  background: var(--secondary-bg);
}

.dqg-related__header {
  max-width: 900px;
}

/* One 1300px panel split into two directories, with a shared run of
   numbers and a row-level arrow instead of two generic cards. */
.dqg-related__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1300px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-brand-mist-300);
  border-radius: 24px;
  overflow: hidden;
  counter-reset: dqg-related;
}

.dqg-related__col {
  padding: clamp(24px, 3vw, 40px);
}

.dqg-related__col + .dqg-related__col {
  border-left: 1px solid var(--color-brand-mist-300);
}

.dqg-related__title {
  margin: 0 0 6px;
  padding-bottom: var(--spacing-16);
  border-bottom: 1px solid rgba(15, 30, 60, 0.1);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.3;
  color: var(--primary-text);
}

.dqg-related__title span {
  color: var(--color-brand-terracotta);
}

.dqg-related__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dqg-related__list li + li {
  border-top: 1px solid rgba(15, 30, 60, 0.08);
}

.dqg-related__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 2px;
  color: var(--primary-text);
  font-size: clamp(17px, 1.2vw, 18px);
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Numbers continue across both lists: 01–04 in the first column, 05–08
   in the second. */
.dqg-related__list a::before {
  counter-increment: dqg-related;
  content: counter(dqg-related, decimal-leading-zero);
  flex: 0 0 2.4ch;
  font-size: 12px;
  font-weight: var(--font-weight-600);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--color-brand-terracotta);
}

.dqg-related__name {
  min-width: 0;
}

.dqg-related__arrow {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: var(--spacing-16);
  font-size: 20px;
  line-height: 1;
  color: var(--color-brand-teal);
  transition: transform 0.25s ease, color 0.25s ease;
}

.dqg-related__list a:hover {
  color: var(--color-brand-teal);
}

.dqg-related__list a:hover .dqg-related__arrow {
  transform: translate(2px, -2px);
  color: var(--color-brand-teal-300);
}

@media (max-width: 900px) {
  .dqg-related__panel {
    grid-template-columns: 1fr;
  }

  .dqg-related__col + .dqg-related__col {
    border-left: 0;
    border-top: 1px solid var(--color-brand-mist-300);
  }
}

@media (max-width: 600px) {
  .dqg-related__panel {
    border-radius: 18px;
  }

  .dqg-related__col {
    padding: var(--spacing-24);
  }
}

/* --- Section-specific desktop splits ------------------------------------ */

@media (max-width: 992px) {
  .dqg-split-head,
  .dqg-audit .dqg-split-head,
  .dqg-technologies__layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-32);
  }

  .dqg-platform-need .dqg-split-head__lead .ls-section__lead,
  .dqg-audit .dqg-split-head__lead .ls-section__lead,
  .dqg-technologies__lead .ls-section__lead {
    max-width: none;
  }
}
