/* ==========================================================================
   Legacy Software Modernization — page stylesheet
   /services/legacy-software-modernization
   Every class is prefixed .lsm- 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;
}

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

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

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

.lsm-pill {
  display: inline-block;
  background: var(--lsm-green);
  color: #fff;
  border: 1px solid #C7CBDB;
  border-radius: 50px;
  padding: 11px 13px;
  min-width: 170px;
  font-family: var(--lsm-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;
}
.lsm-pill--dark {
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

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

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

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

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

.lsm-hero {
  position: relative;
  background: var(--lsm-dark);
  overflow: hidden;
  font-family: var(--lsm-body);
}
.lsm-hero-bg {
  position: absolute;
  inset: 0;
  background-image:url("/ms-assets/img/services/Legacy-Software-Modernization/Legacy-Software-Modernization-banner-image.webp");
  background-size: cover;
  background-position: center;
  background-color: #000000;
}
.lsm-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--lsm-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;
}
.lsm-hero-copy { min-width: 0; }

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

.lsm-h1 {
  font-family: var(--lsm-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;
}
.lsm-lede {
  font-size: 16px;
  line-height: 1.65;
  color: #FFFFFF;
  margin: 0 0 16px;
  max-width: 58ch;
}
.lsm-lede a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.lsm-hero .lsm-btn { margin-top: 14px; }

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

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

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

.lsm-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  text-align: left;
}
.lsm-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;
}
.lsm-card--0 { background: #297907; }
.lsm-card--1 { background: #1A4906; }
.lsm-card-rule {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 0;
  background: var(--lsm-lime);
  margin-bottom: 24px;
}
.lsm-card-title {
  font-family: var(--lsm-ui);
  font-size: 28px;
  font-weight: 600;
  line-height: 38.4px;
  letter-spacing: -.32px;
  color: #fff;
  margin: 0 0 20px;
}
.lsm-card-body {
  font-family: Inter, var(--lsm-body);
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 0;
}
.lsm-card-body a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

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

.lsm-table3 { border-radius: 50px; }
.lsm-table2 { border-radius: 12px; }
.lsm-table3, .lsm-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 */
.lsm-table3 { background: #F6F6F6; border: 1px solid #ABABAB; }
.lsm-tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  border-top: 1px solid #ABABAB;
}
.lsm-th + .lsm-th, .lsm-td + .lsm-td { border-left: 1px solid #ABABAB; }
.lsm-tr--head { border-top: 0; background: #F6F6F6; }
.lsm-th {
  font-family: var(--lsm-display);
  font-weight: 600;
  font-size: 25px;
  color: var(--lsm-green);
  padding: 26px 28px;
  text-align: center;
}
.lsm-th:nth-child(2) { color: #CB0000; }
.lsm-th:nth-child(3) { color: var(--lsm-green); }
.lsm-td {
  padding: 26px 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lsm-ink-soft);
}
.lsm-td--q { font-weight: 900; color: #0C021D; font-size: 23px; background: transparent; }
.lsm-td--r { background: transparent; }
.lsm-td a { color: var(--lsm-green-mid); text-decoration: underline; text-underline-offset: 2px; }
.lsm-td-lbl { display: none; }

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

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

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

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

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

.lsm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.lsm-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  position: relative;
  padding-bottom: 36px;
}
.lsm-step:last-child { padding-bottom: 0; }
.lsm-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);
}
.lsm-step:last-child::before { display: none; }
.lsm-step-num {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--lsm-body);
  font-size: 26px;
  font-weight: 600;
  color: #000000;
  background: #FFFFFF;
  border: 7px solid #5CA0FF;
}
.lsm-step-num.is-on {
  background: var(--lsm-lime);
  border-color: #5CA0FF;
  color: #000000;
}
.lsm-step-title {
  font-family: var(--lsm-body);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 12px 0 8px;
}
.lsm-step-body {
  font-size: 15px;
  line-height: 1.6;
  color: #D2CFCF;
  margin: 0;
}
.lsm-step-body a { color: var(--lsm-lime); text-decoration: underline; text-underline-offset: 2px; }

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

.lsm-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;
}
.lsm-flow-item { position: relative; padding-top: 100px; }
.lsm-flow-item::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 56px;
  right: -26px;
  height: 1px;
  background: var(--lsm-line);
}
.lsm-flow-item:last-child::before { display: none; }
.lsm-flow-item::after {
  content: "";
  position: absolute;
  top: 56px;
  left: 27px;
  width: 1px;
  height: 14px;
  background: var(--lsm-line);
}
.lsm-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(--lsm-ui);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #206393;
}
.lsm-flow-num::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 16px;
  margin-top: 8px;
  background: #206393;
  opacity: .5;
}
.lsm-flow-title {
  font-family: var(--lsm-body);
  font-size: 18px;
  font-weight: 700;
  color: #1A1D23;
  margin: 0 0 10px;
}
.lsm-flow-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lsm-ink-soft);
  margin: 0;
}
.lsm-flow-body a { color: var(--lsm-green-mid); text-decoration: underline; text-underline-offset: 2px; }

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

.lsm-cta {
  background: #fff;
  font-family: var(--lsm-body);
  padding: 8px 24px 64px;
}
.lsm-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 50px;
  background-image:url("/ms-assets/img/services/middle-CTA.webp"),
    linear-gradient(135deg, var(--lsm-green-deep) 0%, var(--lsm-band) 55%, var(--lsm-dark) 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.lsm-cta-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 88px 32px;
  text-align: center;
}
.lsm-cta-head {
  font-family: var(--lsm-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 45px;
  letter-spacing: -1.44px;
  color: var(--lsm-lime);
  margin: 0 0 14px;
  text-wrap: balance;
}
.lsm-cta-body {
  font-family: var(--lsm-ui);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -.2px;
  color: rgba(255, 255, 255, .96);
  margin: 0 0 28px;
}
.lsm-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(--lsm-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--lsm-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;
}
.lsm-cta-btn:hover { background: var(--lsm-lime); border-color: var(--lsm-lime); }

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

.lsm-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(--lsm-body);
}
.lsm-faq-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.lsm-faq-sub {
  display: inline-block;
  background: #EBEEF5;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--lsm-ui);
  font-size: 15px;
  line-height: 16px;
  color: #676D79;
  margin: 0 0 28px;
}
.lsm-faq-list { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.lsm-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;
}
.lsm-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(--lsm-ui);
  font-size: 15px;
  font-weight: 500;
  color: #1A1D23;
  line-height: 1.45;
}
.lsm-faq-n { color: #1A1D23; font-weight: 600; flex: none; }
.lsm-faq-text { flex: 1 1 auto; min-width: 0; }
.lsm-faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.lsm-faq-icon::before, .lsm-faq-icon::after {
  content: "";
  position: absolute;
  background: #0A7CFF;
  transition: transform .2s ease, opacity .2s ease;
}
.lsm-faq-icon::before { inset: 7px 0 7px 0; height: 2px; }
.lsm-faq-icon::after  { inset: 0 7px 0 7px; width: 2px; }
.lsm-faq-q[aria-expanded="true"] .lsm-faq-icon::after { opacity: 0; transform: rotate(90deg); }
.lsm-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s ease;
}
.lsm-faq-q[aria-expanded="true"] + .lsm-faq-a { grid-template-rows: 1fr; }
.lsm-faq-a-inner { overflow: hidden; }
.lsm-faq-a-inner p {
  margin: 0;
  padding: 0 22px 20px 22px;
  font-family: var(--lsm-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--lsm-ink-soft);
}
.lsm-faq-a-inner a { color: var(--lsm-green-mid); text-decoration: underline; text-underline-offset: 2px; }
.lsm-faq-q:focus-visible { outline: 2px solid var(--lsm-green-mid); outline-offset: -2px; }

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

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

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  .lsm-faq-a, .lsm-faq-icon::before, .lsm-faq-icon::after, .lsm-btn, .lsm-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.          ---- */

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

@media (max-width: 760px) {
  .lsm-sec { padding-top: 56px; padding-bottom: 56px; }
  .lsm-sec + .lsm-sec { padding-top: 0; }
  .lsm-th2, .lsm-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); } }

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

.lsm-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;
}

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

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

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

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

.lsm-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.
   ========================================================================= */

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

.lsm-btn--ghost { background: #fff; border-color: #fff; color: var(--lsm-ink); }
.lsm-btn--ghost::before,
.lsm-btn--ghost::after { display: none; }
.lsm-btn--ghost:hover { background: var(--lsm-lime); border-color: var(--lsm-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.
   ========================================================================= */

.lsm-checks {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  max-width: 64ch;
}
.lsm-checks li {
  position: relative;
  padding-left: 30px;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: #FFFFFF;
}
.lsm-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--lsm-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;
}

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

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

@media (max-width: 1100px) {
  .lsm-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.
   ========================================================================= */

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

.lsm-hero .lsm-btn {
  background: #0D1100;
  border: 1px solid var(--lsm-lime);
  color: var(--lsm-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;
}
.lsm-hero .lsm-btn::before,
.lsm-hero .lsm-btn::after { display: none; }
.lsm-hero .lsm-btn-arrow { display: none; }
.lsm-hero .lsm-btn:hover {
  background: var(--lsm-lime);
  color: #0D1100;
  box-shadow: 0 0 24px rgba(190, 255, 0, .6);
}

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

/* FAQ background image instead of the gradient colour, 24 Nov 2026.
   Rollback: delete this rule, save, publish this one file. */
.lsm-faq {
  background: url("/ms-assets/img/services/Legacy-Software-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) {
  .lsm-hero-inner { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
}
.lsm-lede { max-width: 780px; }
.lsm-stats { gap: 10px; }
.lsm-stat { padding: 26px 54px; min-width: 295px; }
.lsm-stat:nth-child(2) { margin-right: 95px; }
.lsm-stat-num { font-size: 46px; }
.lsm-stat-lbl { font-size: 15px; margin-top: 6px; }
@media (max-width: 1100px) {
  .lsm-stat { min-width: 0; padding: 22px 32px; }
  .lsm-stat:nth-child(2) { margin-right: 0; }
}

/* =========================================================================
   Legacy Software Modernization components, 24 Nov 2026
   Sections this page has that the Database page did not: two hero buttons,
   the stats panel, pattern cards, the 3/4/5-column tables, the "Where we
   fit" band, the DMS pipeline, stage cards, the verification timeline and
   the process band.
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

.lsm-hero, .lsm-sec, .lsm-fit, .lsm-dms, .lsm-process, .lsm-cta, .lsm-faq {
  --lsm-band: #1F3D0B;
  --lsm-band-2: #284A10;
  --lsm-soft: #EEF2E7;
  --lsm-soft-2: #DCEACB;
}
.lsm-fit *, .lsm-dms *, .lsm-process * { box-sizing: border-box; }

/* hero: second paragraph style and two buttons */
.lsm-lede--strong { font-weight: 600; }
.lsm-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.lsm-hero .lsm-hero-btns .lsm-btn { margin-top: 0; }
.lsm-hero .lsm-btn--ghost {
  background: #fff;
  border-color: #fff;
  color: #0D1100;
  box-shadow: none;
}
.lsm-hero .lsm-btn--ghost:hover { background: var(--lsm-lime); border-color: var(--lsm-lime); color: #0D1100; }

/* section text helpers */
.lsm-sec-lede--after { margin: 36px auto 0; }
.lsm-sec-lede--light { color: rgba(255,255,255,.85); }
.lsm-transition {
  margin: 40px auto 0;
  font-family: var(--lsm-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--lsm-ink);
}

/* stats panel (dark green, 2 x 2) */
.lsm-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 80px;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 48px 56px;
  background: var(--lsm-band);
  border-radius: 16px;
  text-align: left;
}
.lsm-number-big {
  font-family: var(--lsm-display);
  font-size: clamp(36px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lsm-lime);
  margin-bottom: 12px;
}
.lsm-number-what { font-size: 16px; font-weight: 700; line-height: 1.5; color: #fff; margin-bottom: 10px; }
.lsm-number-src { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.7); }
.lsm-number-src a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }

/* pattern cards (2 x 2, image on top) */
.lsm-patterns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 36px auto 0;
  text-align: left;
}
.lsm-pattern {
  background: #F6F8F3;
  border: 1px solid #E1E6DA;
  border-radius: 4px;
  padding: 24px 24px 30px;
}
.lsm-pattern-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--lsm-ui);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--lsm-green);
  margin-bottom: 14px;
}
.lsm-pattern-top span + span { color: #8A9186; }
.lsm-pattern-img {
  background: #fff;
  border: 1px solid #E1E6DA;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 22px;
}
.lsm-pattern-img img { display: block; width: 100%; height: auto; }
.lsm-pattern-title {
  font-family: var(--lsm-ui);
  font-size: 22px;
  font-weight: 700;
  color: #0C1A06;
  margin: 0 0 12px;
}
.lsm-pattern-body { font-size: 15px; line-height: 1.65; color: #333; margin: 0; }

/* generic data tables (3, 4 and 5 columns) */
.lsm-table {
  margin-top: 36px;
  background: #F6F6F6;
  border: 1px solid #ABABAB;
  border-radius: 40px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 1px 3px rgba(22, 32, 26, .08), 0 12px 28px rgba(22, 32, 26, .06);
}
.lsm-table .lsm-tr { display: grid; border-top: 1px solid #ABABAB; }
.lsm-table .lsm-tr--head { border-top: 0; }
.lsm-table--3 .lsm-tr { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); }
.lsm-table--4 .lsm-tr { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); }
.lsm-table--5 .lsm-tr { grid-template-columns: minmax(0, .75fr) repeat(4, minmax(0, 1fr)); }
.lsm-table .lsm-th + .lsm-th, .lsm-table .lsm-td + .lsm-td { border-left: 1px solid #ABABAB; }
.lsm-table .lsm-th {
  font-family: var(--lsm-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--lsm-green);
  padding: 24px 22px;
  text-align: left;
}
.lsm-table .lsm-th:nth-child(2) { color: #CB0000; }
.lsm-table .lsm-td {
  padding: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lsm-ink-soft);
}
.lsm-table .lsm-td--k {
  font-family: var(--lsm-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #0C1A06;
}
.lsm-table .lsm-td a { color: var(--lsm-ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.lsm-table .lsm-td a:hover { color: var(--lsm-green-mid); }
.lsm-table--joined { border-radius: 24px 24px 0 0; }
.lsm-more {
  background: var(--lsm-band);
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
  padding: 26px 40px;
  border-radius: 0 0 24px 24px;
}

/* "Where we fit" band */
.lsm-fit { background: var(--lsm-band); font-family: var(--lsm-body); }
.lsm-fit-inner { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }
.lsm-fit-head {
  font-family: var(--lsm-ui);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
}
.lsm-fit-body { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.9); margin: 0 0 24px; }
.lsm-quote {
  margin: 0;
  background: #E9ECE6;
  border-radius: 8px;
  padding: 22px 28px;
}
.lsm-quote blockquote {
  margin: 0 0 10px;
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  color: #1B2416;
}
.lsm-quote blockquote::before { content: "\201C\201C"; display: none; }
.lsm-quote figcaption { font-size: 13px; color: #5B6455; }
.lsm-quote figcaption a { color: var(--lsm-green-mid); text-decoration: underline; text-underline-offset: 2px; }

/* DMS section: light band, pipeline, stage cards */
.lsm-dms { background: #F7FBEF; font-family: var(--lsm-body); }
.lsm-dms-head { max-width: var(--lsm-wrap); margin: 0 auto; padding: 80px 24px 56px; text-align: center; }
.lsm-pipe { background: var(--lsm-band); }
.lsm-pipe-inner { max-width: 1100px; margin: 0 auto; padding: 56px 24px; }
.lsm-pipe-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--lsm-ui);
  font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 6px;
}
.lsm-pipe-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lsm-lime); box-shadow: 0 0 10px var(--lsm-lime); flex: none; }
.lsm-pipe-sub { font-size: 14px; color: rgba(255,255,255,.75); margin: 0 0 28px 22px; }
.lsm-pipe-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
  align-items: center;
}
.lsm-pipe-step {
  border: 1px solid rgba(190,255,0,.28);
  border-radius: 6px;
  padding: 16px 14px 18px;
  background: rgba(0,0,0,.08);
  color: #fff;
}
.lsm-pipe-step.is-core {
  border-color: var(--lsm-lime);
  background: rgba(190,255,0,.10);
  box-shadow: 0 0 22px rgba(190,255,0,.18);
  padding-top: 24px; padding-bottom: 26px;
}
.lsm-pipe-num {
  display: inline-block;
  font-family: var(--lsm-ui); font-size: 11px; color: var(--lsm-lime);
  border: 1px solid var(--lsm-lime); border-radius: 4px; padding: 3px 6px; margin-bottom: 14px;
}
.lsm-pipe-name { display: block; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.lsm-pipe-step ul {
  list-style: none; margin: 0; padding: 12px;
  background: rgba(0,0,0,.35); border-radius: 4px;
  font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.85);
}
.lsm-pipe-ai {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 28px; padding: 16px 18px;
  border-top: 1px dashed rgba(190,255,0,.35);
  background: rgba(0,0,0,.18); border-radius: 4px;
}
.lsm-pipe-ai-tag {
  border: 1px solid var(--lsm-lime); color: var(--lsm-lime);
  font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 2px;
  background: rgba(190,255,0,.06);
}
.lsm-pipe-ai-text { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.6; }
.lsm-pipe-ai-text small { display: block; font-size: 12px; color: rgba(255,255,255,.55); }

.lsm-stages {
  max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  text-align: left;
}
.lsm-stage { background: var(--lsm-soft); padding: 26px 26px 30px; border-radius: 2px; }
.lsm-stage--wide { grid-column: 1 / -1; }
.lsm-stage--core { background: var(--lsm-soft-2); border-left: 4px solid var(--lsm-green); }
.lsm-stage-eyebrow { font-family: var(--lsm-ui); font-size: 11px; letter-spacing: .06em; color: var(--lsm-green); margin-bottom: 12px; }
.lsm-stage-title { font-family: var(--lsm-ui); font-size: 20px; font-weight: 700; color: #0C1A06; margin: 0 0 14px; }
.lsm-stage--ai .lsm-stage-title,
.lsm-stage--ai .lsm-stage-body { border-left: 3px solid #8FD14F; padding-left: 14px; }
.lsm-stage-body { font-size: 14.5px; line-height: 1.7; color: #333; margin: 0; }

/* verification timeline */
.lsm-layers { list-style: none; margin: 40px auto 0; padding: 0; max-width: 820px; text-align: left; }
.lsm-layer { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; position: relative; padding-bottom: 34px; }
.lsm-layer::before {
  content: ""; position: absolute; left: 21px; top: 40px; bottom: 0; width: 2px;
  background: #CFE3B6;
}
.lsm-layer:last-child::before { display: none; }
.lsm-layer-num {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 2px solid var(--lsm-green); border-radius: 8px; background: #fff;
  font-family: var(--lsm-ui); font-size: 14px; font-weight: 700; color: var(--lsm-green);
  position: relative; z-index: 1;
}
.lsm-layer-title { font-family: var(--lsm-ui); font-size: 20px; font-weight: 600; color: #0C1A06; margin: 6px 0 10px; }
.lsm-layer-body { font-size: 15px; line-height: 1.65; color: #333; margin: 0; }
.lsm-runs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  background: #F7FBEF; border: 1px solid #D5E6C1; border-radius: 12px; padding: 18px;
}
.lsm-run { background: #fff; border: 1px solid #DDE3D6; border-radius: 4px; padding: 14px 12px 18px; }
.lsm-run.is-on { background: #F1FADF; border: 2px solid #8FD14F; }
.lsm-run-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--lsm-ui); font-size: 11px; letter-spacing: .06em; color: var(--lsm-green); margin-bottom: 10px; }
.lsm-run-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lsm-green); }
.lsm-run-title { font-family: var(--lsm-ui); font-size: 16px; font-weight: 700; color: #0C1A06; margin: 0 0 8px; }
.lsm-run-body { font-size: 14px; line-height: 1.55; color: #333; margin: 0; }
.lsm-note {
  max-width: 820px; margin: 10px auto 0; text-align: left;
  border-left: 3px solid #8FD14F; padding: 6px 0 6px 18px;
  font-size: 15px; line-height: 1.65; color: #333;
}

/* process band */
.lsm-process { background: var(--lsm-band); font-family: var(--lsm-body); }
.lsm-process-inner { max-width: 1100px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.lsm-phases {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  text-align: left;
}
.lsm-phase { background: rgba(0,0,0,.28); border-radius: 4px; padding: 20px 18px 24px; color: #fff; }
.lsm-phase-num { display: block; font-family: var(--lsm-ui); font-size: 12px; color: var(--lsm-lime); margin-bottom: 12px; }
.lsm-phase-title { font-family: var(--lsm-ui); font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 14px; }
.lsm-phase-body { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.8); margin: 0; }
.lsm-process-note {
  margin: 28px 0 0; text-align: left;
  background: rgba(0,0,0,.25); border-left: 3px solid var(--lsm-lime);
  padding: 18px 22px; font-size: 15px; line-height: 1.65; color: #fff;
}

/* responsive */
@media (max-width: 1100px) {
  .lsm-pipe-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lsm-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsm-runs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .lsm-numbers { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .lsm-patterns, .lsm-stages { grid-template-columns: 1fr; }
  .lsm-pipe-steps, .lsm-phases, .lsm-runs { grid-template-columns: 1fr; }
  .lsm-table { border-radius: 20px; }
  .lsm-table .lsm-tr { grid-template-columns: 1fr !important; padding: 6px 0 14px; }
  .lsm-table .lsm-th + .lsm-th, .lsm-table .lsm-td + .lsm-td { border-left: 0; }
  .lsm-table .lsm-tr--head { display: none; }
  .lsm-table .lsm-td { padding: 12px 18px; }
  .lsm-table--joined { border-radius: 20px 20px 0 0; }
  .lsm-more { padding: 22px 20px; border-radius: 0 0 20px 20px; }
  .lsm-hero-btns { flex-direction: column; align-items: stretch; }
}

/* Hero width to match Figma (4-line H1, wider paragraphs), 24 Nov 2026.
   Rollback: delete this block, save, publish this one file. */
@media (min-width: 1101px) {
  .lsm-hero-inner { max-width: 1340px; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; }
}
.lsm-h1 { text-wrap: wrap; }
.lsm-hero .lsm-lede { max-width: 860px; }
.lsm-stat:nth-child(2) { margin-right: 81px; }

/* =========================================================================
   Design match pass 2, 24 Nov 2026 (against Figma 5057-1521)
   1 stats panel  2 pattern cards  3 hero button border animation
   4 "Where we fit"  5 pipeline hover  6 verification hover + left rule
   Rollback: delete this block, save, publish this one file.
   ========================================================================= */

/* 1. stats panel: 5 stats, divider lines, olive panel */
.lsm-numbers {
  max-width: 1300px;
  gap: 0;
  padding: 24px 56px 40px;
  background: #233505;
  border-radius: 16px;
}
.lsm-number {
  padding: 26px 0 30px;
  border-top: 1px solid rgba(128, 186, 12, .35);
}
.lsm-number:nth-child(even) { border-left: 0; padding-left: 72px; position: relative; }
.lsm-number:nth-child(even)::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 30px;
  width: 1px; background: rgba(128, 186, 12, .35);
}
.lsm-number:nth-child(odd) { padding-right: 72px; }
.lsm-number-big {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 56px; font-weight: 700; line-height: 1.1;
  color: #80BA0C; margin-bottom: 14px;
}
.lsm-number-what { font-family: "Roboto", "Inter", sans-serif; font-size: 19px; font-weight: 500; line-height: 1.6; margin-bottom: 8px; }
.lsm-number-src { font-family: "Roboto", "Inter", sans-serif; font-size: 15px; color: #C8CCBF; }
.lsm-number-src a { color: #C8CCBF; }
.lsm-number--wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; column-gap: 28px;
  padding-right: 0 !important;
}
.lsm-number--wide .lsm-number-big { margin: 0; }
.lsm-number--wide .lsm-number-what { margin: 0; }
.lsm-number--wide .lsm-number-src { text-align: right; }

/* 2. pattern intro + cards */
.lsm-patterns-intro {
  max-width: 1300px; margin: 60px auto 40px; text-align: left;
  font-family: "Roboto", "Inter", sans-serif; font-size: 24px; font-weight: 500; color: #111;
}
.lsm-patterns { max-width: 1300px; gap: 46px; margin-top: 0; }
.lsm-pattern {
  background: #FAFBF8; border: 1px solid #CFE5BF; border-radius: 8px; padding: 36px 36px 40px;
}
.lsm-pattern-top {
  font-family: "Roboto", "Inter", sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .06em;
  color: #2E7D0B; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid #E4E8E0;
}
.lsm-pattern-top span + span { color: #7C8379; font-weight: 500; }
.lsm-pattern-img { border: 1px solid #E3E6E0; border-radius: 2px; padding: 0; margin-bottom: 30px; background: #fff; }
.lsm-pattern-img img { max-height: 210px; object-fit: contain; margin: 0 auto; }
.lsm-pattern-title { font-family: "Roboto", "Inter", sans-serif; font-size: 30px; font-weight: 700; color: #1E3B0B; margin: 0 0 18px; }
.lsm-pattern-body { font-family: "Roboto", "Inter", sans-serif; font-size: 19px; line-height: 1.75; color: #1A1A1A; }

/* 3. hero primary button: running border + glow */
.lsm-hero .lsm-hero-btns .lsm-btn:not(.lsm-btn--ghost) {
  position: relative; overflow: hidden; z-index: 1;
  border: 0; padding: 19px 37px;
  background: transparent;
  box-shadow: 0 0 18px rgba(190, 255, 0, .45);
}
.lsm-hero .lsm-hero-btns .lsm-btn:not(.lsm-btn--ghost)::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: lsm-spin 2.5s linear infinite;
}
.lsm-hero .lsm-hero-btns .lsm-btn:not(.lsm-btn--ghost)::after {
  display: block; content: ""; position: absolute; z-index: -1;
  inset: 1.5px; border-radius: 50px; background: #0D1100;
}
.lsm-hero .lsm-hero-btns .lsm-btn:not(.lsm-btn--ghost):hover { color: #0D1100; }
.lsm-hero .lsm-hero-btns .lsm-btn:not(.lsm-btn--ghost):hover::after { background: #BEFF00; }
@keyframes lsm-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .lsm-hero .lsm-hero-btns .lsm-btn:not(.lsm-btn--ghost)::before { animation: none; }
}

/* 4. Where we fit */
.lsm-fit { background: #233505; }
.lsm-fit-inner { max-width: 1300px; padding: 80px 24px 84px; }
.lsm-fit-head {
  position: relative; display: inline-block;
  font-family: "Inter", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -.6px;
  padding-bottom: 14px; margin-bottom: 26px;
}
.lsm-fit-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 90px; height: 4px; background: #80BA0C; }
.lsm-fit-body { font-family: "Inter", sans-serif; font-size: 19px; line-height: 1.95; color: #fff; margin-bottom: 32px; }
.lsm-quote { position: relative; background: #E6E7E9; border-radius: 12px; padding: 34px 44px 34px 92px; max-width: 1250px; }
.lsm-quote::before {
  content: "\f10d"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 54px; top: 36px; font-size: 20px; color: #2E7D0B;
}
.lsm-quote blockquote { font-family: "Inter", sans-serif; font-size: 18px; font-weight: 700; font-style: italic; color: #1E1E1E; margin: 0 0 20px; }
.lsm-quote figcaption { font-family: "Inter", sans-serif; font-size: 17px; color: #6B6E72; }
.lsm-quote figcaption a { color: #6B6E72; }

/* 5. DMS pipeline: hover highlight on every box */
.lsm-pipe { background: #233505; }
.lsm-pipe-inner { max-width: 1340px; padding: 80px 24px 70px; }
.lsm-pipe-title { font-family: "Roboto", "Inter", sans-serif; font-size: 31px; font-weight: 500; gap: 16px; }
.lsm-pipe-sub { font-size: 19px; color: #C5CBBE; margin: 4px 0 36px 26px; }
.lsm-pipe-steps { gap: 20px; align-items: center; }
.lsm-pipe-step {
  position: relative;
  background: #263A09; border: 1px solid #3D5C14; border-radius: 2px;
  padding: 22px 22px 24px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.lsm-pipe-step:not(:last-child)::after {
  content: ""; position: absolute; right: -21px; top: 58px; width: 20px; height: 2px; background: #5E9218;
}
.lsm-pipe-step.is-core { background: #263A09; border-color: #3D5C14; box-shadow: none; padding: 22px 22px 24px; }
.lsm-pipe-step:hover, .lsm-pipe-step.is-core:hover {
  background: #2E5A0C; border: 2px solid #8FD14F;
  box-shadow: 0 0 22px rgba(143, 209, 79, .25);
  transform: translateY(-12px);
}
.lsm-pipe-num {
  background: #2B7A0B; border: 1px solid #8FD14F; border-radius: 8px;
  color: #E6FFC0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px;
  padding: 8px 10px; margin-bottom: 22px;
}
.lsm-pipe-name { font-family: "Roboto", "Inter", sans-serif; font-size: 20px; font-weight: 500; margin-bottom: 24px; }
.lsm-pipe-step ul { background: #18270A; border-radius: 0; padding: 16px 14px; font-family: "Roboto", "Inter", sans-serif; font-size: 16px; line-height: 1.9; color: #fff; }
.lsm-pipe-ai {
  margin-top: 44px; padding: 18px 22px; gap: 34px;
  border-top: 2px dashed #6BA11A; background: #1F3009; border-radius: 0;
}
.lsm-pipe-ai-tag { border: 1px solid #7AB80E; color: #8FD14F; background: #24420A; font-family: "Roboto", "Inter", sans-serif; font-size: 20px; font-weight: 500; letter-spacing: .6px; padding: 14px 22px; }
.lsm-pipe-ai-text { font-family: "Roboto", "Inter", sans-serif; font-size: 16px; color: #fff; }
.lsm-pipe-ai-text small { font-size: 15px; color: #A6AD9C; margin-top: 6px; }

/* 6. verification: left rule, separators, hover-only highlight */
.lsm-layers { max-width: 1200px; margin-top: 56px; }
.lsm-layer { grid-template-columns: 46px minmax(0, 1fr); gap: 36px; padding-bottom: 0; }
.lsm-layer::before { left: 22px; top: 46px; bottom: -10px; width: 2px; background: #CFE3B6; }
.lsm-layer:last-child::before { display: block; bottom: 0; }
.lsm-layer-num {
  width: 46px; height: 46px; border-radius: 10px; border: 2px solid #2E7D0B;
  font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; color: #1E3B0B;
}
.lsm-layer-text {
  border-left: 2px solid #CFE3B6; padding: 0 0 40px 28px; margin-bottom: 40px;
  position: relative;
}
.lsm-layer:not(:last-child) .lsm-layer-text::after {
  content: ""; position: absolute; left: 28px; right: 0; bottom: 0; height: 1px; background: #E2E6DE;
}
.lsm-layer:last-child .lsm-layer-text { border-left-color: #8FD14F; }
.lsm-layer-title { font-family: "Inter", sans-serif; font-size: 29px; font-weight: 500; color: #1E3B0B; margin: 4px 0 16px; }
.lsm-layer-body { font-family: "Inter", sans-serif; font-size: 19px; line-height: 1.75; color: #222; }
.lsm-runs { background: #F8FAF3; border: 1px solid #DDE9CE; border-radius: 24px; padding: 34px; gap: 18px; }
.lsm-run { background: #fff; border: 1px solid #E3E6E0; border-radius: 10px; padding: 24px 22px 26px; transition: background .2s ease, border-color .2s ease; }
.lsm-run.is-on { background: #fff; border: 1px solid #E3E6E0; }
.lsm-run:hover, .lsm-run.is-on:hover { background: #F3FAE6; border: 2px solid #8FD14F; }
.lsm-run-top { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 500; color: #2E7D0B; margin-bottom: 18px; }
.lsm-run-dot { width: 14px; height: 14px; background: #2E7D0B; }
.lsm-run-title { font-family: var(--lsm-display); font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.lsm-run-body { font-family: "Inter", sans-serif; font-size: 19px; line-height: 1.45; color: #222; }
.lsm-note { max-width: 1200px; }

@media (max-width: 760px) {
  .lsm-numbers { padding: 16px 22px 28px; }
  .lsm-number:nth-child(even) { padding-left: 0; }
  .lsm-number:nth-child(even)::before { display: none; }
  .lsm-number:nth-child(odd) { padding-right: 0; }
  .lsm-number--wide { grid-template-columns: 1fr; row-gap: 10px; }
  .lsm-number--wide .lsm-number-src { text-align: left; }
  .lsm-number-big { font-size: 42px; }
  .lsm-pattern { padding: 24px; }
  .lsm-pattern-title { font-size: 24px; }
  .lsm-pattern-body, .lsm-layer-body, .lsm-run-body { font-size: 16px; }
  .lsm-quote { padding: 26px 22px 26px 56px; }
  .lsm-quote::before { left: 22px; top: 28px; }
  .lsm-layer { gap: 16px; }
  .lsm-layer-title { font-size: 22px; }
  .lsm-pipe-step:not(:last-child)::after { display: none; }
}

/* Process cards: Figma colours + hover lift, 24 Nov 2026.
   Rollback: delete this block, save, publish this one file. */
.lsm-phases { gap: 22px; }
.lsm-phase {
  background: #172803; border-radius: 4px; padding: 26px 18px 30px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lsm-phase:hover {
  background: #22380A;
  transform: translateY(4px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, .35);
}
.lsm-phase-num { font-family: "Roboto", "Inter", sans-serif; font-size: 15px; font-weight: 600; color: #8FE04E; margin-bottom: 18px; }
.lsm-phase-title { font-family: "Roboto", "Inter", sans-serif; font-size: 20px; font-weight: 500; color: #CDEB9E; margin: 0 0 24px; }
.lsm-phase-body { font-family: "Roboto", "Inter", sans-serif; font-size: 16px; line-height: 1.7; color: #D7DCCF; }
@media (prefers-reduced-motion: reduce) { .lsm-phase { transition: none; } }


/* Process cards: wider row, smaller text so cards are shorter, 24 Nov 2026.
   Rollback: delete this block, save, publish this one file. */
.lsm-process-inner { max-width: 1360px; }
.lsm-phases { gap: 18px; }
.lsm-phase { padding: 22px 20px 24px; }
.lsm-phase-num { font-size: 14px; margin-bottom: 12px; }
.lsm-phase-title { font-size: 18px; margin: 0 0 14px; }
.lsm-phase-body { font-size: 14.5px; line-height: 1.6; }
