/* ==========================================================================
   Database Modernization — page stylesheet
   /services/database-modernization
   Every class is prefixed .dbm- so nothing here can collide with common.css
   or with another page's stylesheet.
   ========================================================================== */

@font-face {
  font-family: "FONTSPRING DEMO - Roc Grotesk";
  src: url('/ms-assets/img/assets/css/fonts/Fontspring-DEMO-rocgrotesk-regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "FONTSPRING DEMO - Roc Grotesk";
  src: url('/ms-assets/img/assets/css/fonts/Fontspring-DEMO-rocgrotesk-medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "FONTSPRING DEMO - Roc Grotesk";
  src: url('/ms-assets/img/assets/css/fonts/Fontspring-DEMO-rocgrotesk-bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}

.dbm-hero, .dbm-sec, .dbm-eng, .dbm-cta, .dbm-faq, .dbm-close {
  --dbm-ink:        #16201A;
  --dbm-ink-soft:   rgba(12, 2, 29, 0.62);
  --dbm-lime:       #BEFF00;
  --dbm-green:      #297907;
  --dbm-green-mid:  #2F9438;
  --dbm-green-card: #2E7D16;
  --dbm-green-deep: #1C4A0B;
  --dbm-dark:       #060D0A;
  --dbm-band:       #0A2C0E;
  --dbm-line:       #E6E9E5;
  --dbm-display:    "FONTSPRING DEMO - Roc Grotesk", "Inter", system-ui, sans-serif;
  --dbm-body:       "Manrope", "Inter", system-ui, sans-serif;
  --dbm-ui:         "Roboto", "Inter", system-ui, sans-serif;
  --dbm-wrap:       1300px;
}

.dbm-hero *, .dbm-sec *, .dbm-eng *, .dbm-cta *, .dbm-faq *, .dbm-close * {
  box-sizing: border-box;
}

/* ============================ shared bits ============================ */

.dbm-pill {
  display: inline-block;
  background: var(--dbm-green);
  color: #fff;
  border: 1px solid #C7CBDB;
  border-radius: 50px;
  padding: 11px 13px;
  min-width: 170px;
  font-family: var(--dbm-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(32, 41, 76, .1);
  margin: 0 0 24px;
}
.dbm-pill--dark {
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

.dbm-h2 {
  font-family: var(--dbm-display);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1.44px;
  color: var(--dbm-ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.dbm-h2--light { color: #fff; }

.dbm-sec {
  padding: 80px 24px;
  max-width: var(--dbm-wrap);
  margin: 0 auto;
  text-align: center;
  font-family: var(--dbm-body);
}
.dbm-sec-lede {
  max-width: 760px;
  margin: 0 auto 36px;
  font-family: var(--dbm-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dbm-ink-soft);
}

.dbm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0D1100;
  border: 1px solid var(--dbm-lime);
  border-radius: 50px;
  padding: 15px 32px;
  font-family: var(--dbm-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--dbm-lime);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.dbm-btn:hover { background: var(--dbm-lime); color: #0D1100; }
.dbm-btn-arrow { font-size: 1.05em; line-height: 1; }

/* ================================ hero =============================== */

.dbm-hero {
  position: relative;
  background: var(--dbm-dark);
  overflow: hidden;
  font-family: var(--dbm-body);
}
.dbm-hero-bg {
  position: absolute;
  inset: 0;
  background-image:url("/ms-assets/img/services/Database-Modernization/Database-Modernization.webp");
  background-size: cover;
  background-position: center;
  background-color: #000000;
}
.dbm-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--dbm-wrap);
  margin: 0 auto;
  padding: 92px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 48px;
  align-items: center;
}
.dbm-hero-copy { min-width: 0; }

.dbm-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--dbm-body);
  font-size: 13px;
  color: #FFFFFF;
  margin-bottom: 22px;
}
.dbm-crumb a { color: #FFFFFF; text-decoration: none; }
.dbm-crumb a:hover { color: #fff; }
.dbm-crumb-star { color: var(--dbm-lime); font-size: 14px; }
.dbm-crumb-sep { color: #4E6356; }
.dbm-crumb-cur { color: var(--dbm-lime); letter-spacing: .04em; }

.dbm-h1 {
  font-family: var(--dbm-display);
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 24px;
  text-wrap: balance;
}
.dbm-lede {
  font-size: 16px;
  line-height: 1.65;
  color: #FFFFFF;
  margin: 0 0 16px;
  max-width: 58ch;
}
.dbm-lede a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.dbm-hero .dbm-btn { margin-top: 14px; }

.dbm-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}
.dbm-stat {
  background: rgba(0, 0, 0, .67);
  border-radius: 9999px;
  padding: 26px 44px;
  min-width: 260px;
  text-align: left;
  backdrop-filter: blur(2px);
}
.dbm-stat:nth-child(2) { margin-right: 54px; }
.dbm-stat-num {
  font-family: var(--dbm-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dbm-lime);
}
.dbm-stat-lbl {
  font-size: 14px;
  color: #fff;
  margin-top: 4px;
}

.dbm-trusted {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0 0 56px;
  text-align: center;
}
.dbm-trusted-lbl {
  font-family: var(--dbm-ui);
  font-size: 12px;
  letter-spacing: .18em;
  color: #fff;
  margin-bottom: 26px;
}
.dbm-slider-outer {
  position: relative;
  overflow: hidden;
}
.dbm-slider-outer::before,
.dbm-slider-outer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 10vw, 140px);
  z-index: 4;
  pointer-events: none;
}
.dbm-slider-outer::before {
  left: 0;
  background: linear-gradient(90deg, var(--dbm-dark), transparent);
}
.dbm-slider-outer::after {
  right: 0;
  background: linear-gradient(270deg, var(--dbm-dark), transparent);
}
.dbm-slider-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: dbm-marquee 22s linear infinite;
  will-change: transform;
}
.dbm-slider-track:hover { animation-play-state: paused; }
@keyframes dbm-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .dbm-slider-track { animation: none; }
}
.dbm-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 32px;
  filter: grayscale(1) brightness(1.4);
  transition: filter .25s;
}
.dbm-logo-item:hover { filter: none; }
.dbm-logo-item img {
  height: 90px;
  width: auto;
  display: block;
}

/* ========================= four-card feature grid ==================== */

.dbm-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  text-align: left;
}
.dbm-card {
  border-radius: 24px;
  border: 1px solid rgba(209, 250, 229, .5);
  backdrop-filter: blur(6px);
  padding: 40px 36px 44px;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.dbm-card--0 { background: #297907; }
.dbm-card--1 { background: #1A4906; }
.dbm-card-rule {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 0;
  background: var(--dbm-lime);
  margin-bottom: 24px;
}
.dbm-card-title {
  font-family: var(--dbm-ui);
  font-size: 28px;
  font-weight: 600;
  line-height: 38.4px;
  letter-spacing: -.32px;
  color: #fff;
  margin: 0 0 20px;
}
.dbm-card-body {
  font-family: Inter, var(--dbm-body);
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 0;
}
.dbm-card-body a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ============================== tables =============================== */

.dbm-table3 { border-radius: 50px; }
.dbm-table2 { border-radius: 12px; }
.dbm-table3, .dbm-table2 {
  margin-top: 36px;
  
  overflow: hidden;
  text-align: left;
  box-shadow: 0 1px 3px rgba(22, 32, 26, .08), 0 12px 28px rgba(22, 32, 26, .06);
}

/* three column — question / analysis / what you receive */
.dbm-table3 { background: #F6F6F6; border: 1px solid #ABABAB; }
.dbm-tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  border-top: 1px solid #ABABAB;
}
.dbm-th + .dbm-th, .dbm-td + .dbm-td { border-left: 1px solid #ABABAB; }
.dbm-tr--head { border-top: 0; background: #F6F6F6; }
.dbm-th {
   font-family: var(--dbm-display);
    font-weight: 600;
    font-size: 25px;
    color: var(--dbm-green);
    padding: 26px 28px;
    text-align: center;
}
.dbm-th:nth-child(2) { color: #CB0000; }
.dbm-th:nth-child(3) { color: var(--dbm-green); }
.dbm-td {
  padding: 26px 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dbm-ink-soft);
}
.dbm-td--q { font-weight: 900; color: #0C021D; font-size: 23px; background: transparent; }
.dbm-td--r { background: transparent; }
.dbm-td a { color: var(--dbm-green-mid); text-decoration: underline; text-underline-offset: 2px; }
.dbm-td-lbl { display: none; }

/* two column — hazard / how DMS handles it, and before / after */
.dbm-table2 { background: #fff; }
.dbm-tr2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  border-top: 1px solid var(--dbm-line);
}
.dbm-tr2--head { border-top: 0; }
.dbm-th2 {
  background: var(--dbm-green);
  color: #fff;
  font-family: var(--dbm-body);
  font-weight: 900;
  font-size: 23px;
  padding: 20px 28px;
}
.dbm-td2 {
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dbm-ink-soft);
}
.dbm-td2--k {
  background: #EEF6E8;
  font-weight: 700;
  color: #14321A;
}
.dbm-td2 a { color: var(--dbm-green-mid); text-decoration: underline; text-underline-offset: 2px; }

.dbm-related {
  max-width: 820px;
  margin: 34px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dbm-ink-soft);
}
.dbm-related a { color: var(--dbm-green-mid); text-decoration: underline; text-underline-offset: 2px; }

/* ====================== engagement shapes (dark) ===================== */

.dbm-eng {
background-image:url("/ms-assets/img/services/Database-Modernization/Four-steps-from-copybook-to-reconciled-tables.webp");
font-family: var(--dbm-body);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 30px;
}
.dbm-eng-inner {
  max-width: var(--dbm-wrap);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.dbm-eng .dbm-h2 { margin-top: 10px; }

.dbm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.dbm-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  position: relative;
  padding-bottom: 36px;
}
.dbm-step:last-child { padding-bottom: 0; }
.dbm-step::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 82px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.3) 0 5px, transparent 5px 11px);
}
.dbm-step:last-child::before { display: none; }
.dbm-step-num {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--dbm-body);
  font-size: 26px;
  font-weight: 600;
  color: #000000;
  background: #FFFFFF;
  border: 7px solid #5CA0FF;
}
.dbm-step-num.is-on {
  background: var(--dbm-lime);
  border-color: #5CA0FF;
  color: #000000;
}
.dbm-step-title {
  font-family: var(--dbm-body);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 12px 0 8px;
}
.dbm-step-body {
  font-size: 15px;
  line-height: 1.6;
  color: #D2CFCF;
  margin: 0;
}
.dbm-step-body a { color: var(--dbm-lime); text-decoration: underline; text-underline-offset: 2px; }

/* ========================= delivery timeline ========================= */

.dbm-flow {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  text-align: left;
}
.dbm-flow-item { position: relative; padding-top: 100px; }
.dbm-flow-item::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 56px;
  right: -26px;
  height: 1px;
  background: var(--dbm-line);
}
.dbm-flow-item:last-child::before { display: none; }
.dbm-flow-item::after {
  content: "";
  position: absolute;
  top: 56px;
  left: 27px;
  width: 1px;
  height: 14px;
  background: var(--dbm-line);
}
.dbm-flow-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #C5C6D1;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  font-family: var(--dbm-ui);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #206393;
}
.dbm-flow-num::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 16px;
  margin-top: 8px;
  background: #206393;
  opacity: .5;
}
.dbm-flow-title {
  font-family: var(--dbm-body);
  font-size: 18px;
  font-weight: 700;
  color: #1A1D23;
  margin: 0 0 10px;
}
.dbm-flow-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dbm-ink-soft);
  margin: 0;
}
.dbm-flow-body a { color: var(--dbm-green-mid); text-decoration: underline; text-underline-offset: 2px; }

/* ============================== mid CTA ============================== */

.dbm-cta {
  background: #fff;
  font-family: var(--dbm-body);
  padding: 8px 24px 64px;
}
.dbm-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 50px;
  background-image:url("/ms-assets/img/services/Database-Modernization/The-data-was-never-the-hard-part.-The-code-that-reads-it-is..webp"),
    linear-gradient(135deg, var(--dbm-green-deep) 0%, var(--dbm-band) 55%, var(--dbm-dark) 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.dbm-cta-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 88px 32px;
  text-align: center;
}
.dbm-cta-head {
  font-family: var(--dbm-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 45px;
  letter-spacing: -1.44px;
  color: var(--dbm-lime);
  margin: 0 0 14px;
  text-wrap: balance;
}
.dbm-cta-body {
  font-family: var(--dbm-ui);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -.2px;
  color: rgba(255, 255, 255, .96);
  margin: 0 0 28px;
}
.dbm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 50px;
  padding: 14px 30px;
  font-family: var(--dbm-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--dbm-ink);
  text-decoration: none;
  text-transform: capitalize;
  filter: drop-shadow(0 20px 10px rgba(190, 255, 0, .2));
  transition: background .18s ease, color .18s ease;
}
.dbm-cta-btn:hover { background: var(--dbm-lime); border-color: var(--dbm-lime); }

/* ================================ FAQ ================================ */

.dbm-faq {
  background:
    radial-gradient(760px 420px at 20% 10%, rgba(173, 216, 255, .18) 0%, rgba(255,255,255,0) 65%),
    radial-gradient(760px 420px at 85% 60%, rgba(190, 255, 0, .13) 0%, rgba(255,255,255,0) 65%),
    #fff;
  font-family: var(--dbm-body);
}
.dbm-faq-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.dbm-faq-sub {
  display: inline-block;
  background: #EBEEF5;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--dbm-ui);
  font-size: 15px;
  line-height: 16px;
  color: #676D79;
  margin: 0 0 28px;
}
.dbm-faq-list { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.dbm-faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 1px rgba(31, 34, 41, .24), 0 2px 6px rgba(31, 34, 41, .06);
  overflow: hidden;
}
.dbm-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 18px 22px;
  font-family: var(--dbm-ui);
  font-size: 15px;
  font-weight: 500;
  color: #1A1D23;
  line-height: 1.45;
}
.dbm-faq-n { color: #1A1D23; font-weight: 600; flex: none; }
.dbm-faq-text { flex: 1 1 auto; min-width: 0; }
.dbm-faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.dbm-faq-icon::before, .dbm-faq-icon::after {
  content: "";
  position: absolute;
  background: #0A7CFF;
  transition: transform .2s ease, opacity .2s ease;
}
.dbm-faq-icon::before { inset: 7px 0 7px 0; height: 2px; }
.dbm-faq-icon::after  { inset: 0 7px 0 7px; width: 2px; }
.dbm-faq-q[aria-expanded="true"] .dbm-faq-icon::after { opacity: 0; transform: rotate(90deg); }
.dbm-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s ease;
}
.dbm-faq-q[aria-expanded="true"] + .dbm-faq-a { grid-template-rows: 1fr; }
.dbm-faq-a-inner { overflow: hidden; }
.dbm-faq-a-inner p {
  margin: 0;
  padding: 0 22px 20px 22px;
  font-family: var(--dbm-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--dbm-ink-soft);
}
.dbm-faq-a-inner a { color: var(--dbm-green-mid); text-decoration: underline; text-underline-offset: 2px; }
.dbm-faq-q:focus-visible { outline: 2px solid var(--dbm-green-mid); outline-offset: -2px; }

/* ============================ closing CTA ============================ */

.dbm-close {
  background: linear-gradient(120deg, #05090A 0%, #0B1414 50%, #05090A 100%);
  font-family: var(--dbm-body);
}
.dbm-close-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 88px 24px;
  text-align: center;
}
.dbm-close-head {
  font-family: var(--dbm-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 14px;
  text-wrap: balance;
}
.dbm-close-body { font-size: 16px; line-height: 1.6; color: #C6D2C8; margin: 0 0 30px; }
.dbm-close-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.dbm-btn--ghost {
  background: #fff;
  border-color: #fff;
  color: var(--dbm-ink);
}
.dbm-btn--ghost:hover { background: var(--dbm-lime); border-color: var(--dbm-lime); color: #0D1100; }

/* ============================= responsive ============================ */

@media (max-width: 1100px) {
  .dbm-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .dbm-stats { flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; }
  .dbm-stat { min-width: 0; flex: 1 1 200px; }
  .dbm-stat:nth-child(2) { margin-right: 0; }
  .dbm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dbm-eng-inner { grid-template-columns: 1fr; gap: 32px; }
  .dbm-eng-head { position: static; }
  .dbm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .dbm-cta-inner { padding: 72px 28px; }
  .dbm-flow-item:nth-child(2)::before { display: none; }
}

@media (max-width: 760px) {
  .dbm-sec, .dbm-eng-inner, .dbm-faq-inner { padding-left: 18px; padding-right: 18px; }
  .dbm-sec { padding-top: 56px; padding-bottom: 56px; }
  .dbm-hero-inner { padding: 64px 18px 40px; }
  .dbm-trusted { padding: 0 0 44px; }
  .dbm-logo-item img { height: 24px; }
  .dbm-logo-item { padding: 0 22px; }
  .dbm-cards { grid-template-columns: 1fr; }
  .dbm-flow { grid-template-columns: 1fr; }
  .dbm-flow-item::before, .dbm-flow-item::after { display: none; }
  .dbm-flow-item { padding-top: 0; padding-left: 72px; min-height: 56px; }
  .dbm-flow-num { top: 0; }

  /* tables become stacked cards */
  .dbm-tr, .dbm-tr2 { grid-template-columns: 1fr; }
  .dbm-th + .dbm-th, .dbm-td + .dbm-td { border-left: 0; }
  .dbm-tr--head, .dbm-tr2--head { display: none; }
  .dbm-tr { padding: 6px 0 14px; }
  .dbm-td, .dbm-td2 { padding: 14px 18px; }
  .dbm-td--q { border-radius: 0; }
  .dbm-td-lbl {
    display: block;
    font-family: var(--dbm-ui);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dbm-green-mid);
    margin-bottom: 6px;
  }
  .dbm-td2--k .dbm-td-lbl { color: #14321A; }
  .dbm-cta { padding: 4px 14px 48px; }
  .dbm-cta-card { border-radius: 20px; }
  .dbm-cta-inner { padding: 52px 20px; }
  .dbm-close-btns { flex-direction: column; align-items: stretch; }
  .dbm-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .dbm-faq-a, .dbm-faq-icon::before, .dbm-faq-icon::after, .dbm-btn, .dbm-cta-btn { transition: none; }
}


/* ---- design-match fix, 17 Nov 2026 — audited against Figma 4585:7573 ----
   header band: Manrope 15px in the build, Roboto Bold 20px in the design
   cells: 28px side padding in the build, 48px in the design
   sections: 160px apart in the build, 95px in the design
   This page's key column is already the correct tint and is left alone.
   The @media block restates the mobile rules, which live earlier in this
   file and would otherwise be overridden by the rules above.
   Rollback: delete from this comment to the end of the file.          ---- */

.dbm-th2    { font-family: var(--dbm-ui); font-weight: 600; font-size: 20px; }
.dbm-td2--k { font-size: 16px; color: #000D2F; }
.dbm-td2--v { background: #fff; color: #444650; font-size: 16px; }
.dbm-th2, .dbm-td2 { padding-left: 46px; padding-right: 46px; }
.dbm-sec { padding-top: 95px; padding-bottom: 95px; }
.dbm-sec + .dbm-sec { padding-top: 0; }

@media (max-width: 760px) {
  .dbm-sec { padding-top: 56px; padding-bottom: 56px; }
  .dbm-sec + .dbm-sec { padding-top: 0; }
  .dbm-th2, .dbm-td2 { padding-left: 18px; padding-right: 18px; }
}


/* =========================================================================
   Banner button animation, star and FAQ sizing, 17 Nov 2026
   - Hero button gets the rotating conic-gradient border already used on the
     older service pages (.green-btn on the COBOL to Java page).
   - Breadcrumb star 14px -> 18px.
   - FAQ question 15px -> 17px, FAQ answer 15px -> 16px.
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

@keyframes ms-rotate-border { 100% { transform: rotate(360deg); } }

.dbm-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-color: transparent;
}

.dbm-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: conic-gradient(from 0deg, transparent, #BEFF00, transparent, transparent);
  animation: ms-rotate-border 2.5s linear infinite;
  z-index: -2;
}

.dbm-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50px;
  background: #0D1100;
  z-index: -1;
}

.dbm-btn:hover::after { background: #BEFF00; }

.dbm-crumb-star { font-size: 22px; }

.dbm-faq-q { font-size: 17px; }

.dbm-faq-a-inner p { font-size: 16px; }


/* =========================================================================
   Glyph fix, 17 Nov 2026
   The Roc Grotesk DEMO files carry no real glyphs for about 28 characters
   (# - 4 + and others); they render as the Fontspring DEMO flower mark.
   These three rules re-declare the SAME family name, later in the cascade,
   pointing at the site's own Roboto files, but ONLY for the broken
   codepoints. Every other character still comes from Roc Grotesk, and the
   markup is untouched, so headings written later are covered too.
   This block must stay LAST in the file: the later face wins.
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

@font-face {
  font-family: 'FONTSPRING DEMO - Roc Grotesk';
  src: url('/ms-assets/img/assets/css/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+21-2B, U+2D, U+2F, U+34, U+3C-3E, U+40, U+5B-60, U+7B-7E;
}

@font-face {
  font-family: 'FONTSPRING DEMO - Roc Grotesk';
  src: url('/ms-assets/img/assets/css/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+21-2B, U+2D, U+2F, U+34, U+3C-3E, U+40, U+5B-60, U+7B-7E;
}

@font-face {
  font-family: 'FONTSPRING DEMO - Roc Grotesk';
  src: url('/ms-assets/img/assets/css/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+21-2B, U+2D, U+2F, U+34, U+3C-3E, U+40, U+5B-60, U+7B-7E;
}


/* =========================================================================
   Logo strip size and ghost button, 17 Nov 2026
   - Logo strip: the six new pages were split between 90px (too large, the
     last logos ran off the right edge) and 30px (too small). The design
     and the site homepage both show a 50px logo, nine across in one row.
   - Ghost button: the rotating border animation added earlier painted its
     dark inner fill (::after) over the white Schedule A Pilot Call button
     as well, leaving dark text on a dark pill. These rules take the
     animation off the ghost variant only; the primary button keeps it.
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

.dbm-logo-item img { height: 50px; }
.dbm-logo-item { padding: 0 24px; }

.dbm-btn--ghost { background: #fff; border-color: #fff; color: var(--dbm-ink); }
.dbm-btn--ghost::before,
.dbm-btn--ghost::after { display: none; }
.dbm-btn--ghost:hover { background: var(--dbm-lime); border-color: var(--dbm-lime); color: #0D1100; }


/* =========================================================================
   Database Modernization additions, 24 Nov 2026
   - Hero check list (the DMS capability bullets in the Figma hero).
   - Related services split: copy left, image right (same layout as the
     Code Refactoring page's .crs-split).
   - Targets note under the mapping table.
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

.dbm-checks {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  max-width: 64ch;
}
.dbm-checks li {
  position: relative;
  padding-left: 30px;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: #FFFFFF;
}
.dbm-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--dbm-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230D1100' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

.dbm-note {
  max-width: 860px;
  margin: 32px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dbm-ink-soft);
}
.dbm-note a { color: var(--dbm-green-mid); text-decoration: underline; text-underline-offset: 2px; }

.dbm-sec--split { text-align: left; }
.dbm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.dbm-split-copy .dbm-h2 { text-align: left; text-wrap: pretty; }
.dbm-split-copy .dbm-related { margin: 0; max-width: none; }
.dbm-split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

@media (max-width: 1100px) {
  .dbm-split { grid-template-columns: 1fr; gap: 30px; }
}


/* =========================================================================
   Design tweaks, 24 Nov 2026
   - Hero image anchored right so the database graphic stays whole
     behind the stat pills.
   - Hero button: lime border with a soft lime glow and Title Case text,
     no arrow, no rotating border (reference design).
   - Delivery steps: all numbers white; only the hovered step turns lime.
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

.dbm-hero-bg { background-position: right center; }

.dbm-hero .dbm-btn {
  background: #0D1100;
  border: 1px solid var(--dbm-lime);
  color: var(--dbm-lime);
  padding: 18px 36px;
  text-transform: capitalize;
  box-shadow: 0 0 16px rgba(190, 255, 0, .45), 0 0 2px rgba(190, 255, 0, .9);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.dbm-hero .dbm-btn::before,
.dbm-hero .dbm-btn::after { display: none; }
.dbm-hero .dbm-btn-arrow { display: none; }
.dbm-hero .dbm-btn:hover {
  background: var(--dbm-lime);
  color: #0D1100;
  box-shadow: 0 0 24px rgba(190, 255, 0, .6);
}

.dbm-step-num { transition: background .2s ease; }
.dbm-step-num.is-on { background: #FFFFFF; }
.dbm-step:hover .dbm-step-num { background: var(--dbm-lime); }


/* FAQ background image instead of the gradient colour, 24 Nov 2026.
   Rollback: delete this rule, save, publish this one file. */
.dbm-faq {
  background: url("/ms-assets/img/services/Database-Modernization/faq-bg-image.webp") center / cover no-repeat;
}


/* =========================================================================
   Hero spacing to match Figma, 24 Nov 2026
   - Wider text column (stats column fixed at 400px) and wider paragraphs.
   - Stat pills: 295px wide, 10px apart, middle pill offset 95px,
     46px numbers.
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

@media (min-width: 1101px) {
  .dbm-hero-inner { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
}
.dbm-lede { max-width: 780px; }
.dbm-stats { gap: 10px; }
.dbm-stat { padding: 26px 54px; min-width: 295px; }
.dbm-stat:nth-child(2) { margin-right: 95px; }
.dbm-stat-num { font-size: 46px; }
.dbm-stat-lbl { font-size: 15px; margin-top: 6px; }
@media (max-width: 1100px) {
  .dbm-stat { min-width: 0; padding: 22px 32px; }
  .dbm-stat:nth-child(2) { margin-right: 0; }
}


/* Hero button: running lime border + glow (same as Legacy Software
   Modernization page), 24 Nov 2026.
   Rollback: delete this block, save, publish this one file. */
.dbm-hero .dbm-hero-copy .dbm-btn {
  position: relative; overflow: hidden; z-index: 1;
  border: 0; padding: 19px 37px;
  background: transparent;
  box-shadow: 0 0 18px rgba(190, 255, 0, .45);
}
.dbm-hero .dbm-hero-copy .dbm-btn::before {
  display: block; content: ""; position: absolute; z-index: -2;
  left: 50%; top: 50%; width: 140%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(from 0deg, transparent 0 55%, #BEFF00 70%, transparent 85% 100%);
  animation: dbm-spin 2.5s linear infinite;
}
.dbm-hero .dbm-hero-copy .dbm-btn::after {
  display: block; content: ""; position: absolute; z-index: -1;
  inset: 1.5px; border-radius: 50px; background: #0D1100;
}
.dbm-hero .dbm-hero-copy .dbm-btn:hover { color: #0D1100; }
.dbm-hero .dbm-hero-copy .dbm-btn:hover::after { background: #BEFF00; }
@keyframes dbm-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .dbm-hero .dbm-hero-copy .dbm-btn::before { animation: none; }
}
