/* --------------------------------------------------------------------------
   SaaS Replacement with AI-Built Software — page-specific blocks.

   Reuses the shared section components (ls-section, section-intro,
   section-description, accordion, service-case-studies, faq, bottom-form).
   Only the blocks that have no shared equivalent live here: the hero
   definition + actions, the build/buy pair, the category and model card
   grids, the dark risk band, the HR scenario, the AI-ready numbering, the
   comparison table and the seven-step process.
   -------------------------------------------------------------------------- */

/* Inline links inside the custom blocks follow the site's link rule. */
.sr-definition a,
.sr-list a,
.sr-note a,
.sr-card a,
.sr-category-tabs a,
.sr-model a,
.sr-scenario a,
.sr-dark a,
.sr-inset a,
.sr-numbered a,
.sr-table a,
.sr-comparison a,
.sr-flow a {
  color: var(--color-brand-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sr-definition a:hover,
.sr-list a:hover,
.sr-note a:hover,
.sr-card a:hover,
.sr-category-tabs a:hover,
.sr-category-tabs a:focus-visible,
.sr-model a:hover,
.sr-scenario a:hover,
.sr-dark a:hover,
.sr-inset a:hover,
.sr-numbered a:hover,
.sr-table a:hover,
.sr-comparison a:hover,
.sr-flow a:hover {
  color: var(--color-brand-teal-300);
}

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

/* The definition block is a full-weight paragraph: the brief marks it as the
   citation target for AI answers, and the wireframe sets it in bold. */
.sr-definition {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: var(--font-weight-600);
}

.sr-definition strong {
  color: #fff;
}

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

/* Secondary hero action: a text link with an arrow, teal on the dark hero
   and a lighter teal on hover, the same pair the inline links use there. */
.sr-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-size: var(--fs-body);
  font-weight: var(--font-weight-600);
  color: var(--color-brand-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sr-hero__link:hover,
.sr-hero__link:focus-visible {
  color: var(--color-brand-teal-300);
}

.sr-hero__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.sr-hero__link:hover .sr-hero__arrow,
.sr-hero__link:focus-visible .sr-hero__arrow {
  transform: translateX(4px);
}

/* Four stat cards need the room: keep the standard type scale and let the
   strip use the full container width instead of the default 940px box. */
#intro-section .section-description__number-wrapper {
  max-width: 1200px;
}

@media (max-width: 1150px) {
  #intro-section .section-description__number-wrapper {
    flex-wrap: wrap;
  }

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

@media (max-width: 768px) {
  /* Base switches the strip to a column; a percentage flex-basis would then
     size height instead of width. */
  #intro-section .section-description__item {
    flex: 1 1 auto;
  }
}

/* --- Shared pieces ------------------------------------------------------- */

/* Section header: title left, running text right. */
/* Same columns and gutter as the .sr-compare grid below, so the left and
   right edges line up across the whole block. */
.sr-split-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-24);
  align-items: start;
  margin-bottom: var(--spacing-40);
}

.sr-split-head .ls-section__title {
  margin: 0;
  text-align: left;
}

.sr-split-head__lead {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

.sr-split-head__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

/* The question that closes the argument and introduces the two cards. */
.sr-subhead {
  max-width: 900px;
  margin: 0 0 var(--spacing-24);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  font-weight: var(--font-weight-600);
  text-align: left;
  color: var(--color-brand-terracotta);
}

.sr-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-12, 12px);
}

.sr-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--secondary-text);
}

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

.sr-list--tight li {
  font-size: 14px;
}

.sr-note {
  margin: var(--spacing-32) 0 0;
  padding: var(--spacing-20, 20px) var(--spacing-24);
  border-left: 3px solid var(--color-brand-teal);
  border-radius: 0 12px 12px 0;
  background: var(--secondary-bg);
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-text);
}

.sr-note--center {
  max-width: 900px;
  margin: var(--spacing-40) auto 0;
  padding: 0;
  text-align: center;
  border-left: none;
  border: 1px solid rgba(var(--outline), 0.25);
  border-radius: 16px;
  font-weight: var(--font-weight-600);
}

/* The hybrid conclusion reads as a statement, not a callout box: centred,
   no panel, full weight. Only the keyword keeps the darker text colour. */
.sr-note--hybrid {
  max-width: 760px;
  margin: var(--spacing-40) auto 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  text-align: center;
  font-weight: var(--font-weight-600);
  color: #5c6066;
}

.sr-note--hybrid strong {
  color: var(--primary-text);
  font-weight: inherit;
}

/* Both closing statements sit the same distance below their block. */
.sr-note--hybrid,
.sr-note--center {
  margin-top: var(--spacing-40);
  margin-right: auto;
  margin-left: auto;
}

/* --- Build or buy -------------------------------------------------------- */

.sr-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-24);
}

.sr-compare__card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: 20px;
  background: var(--secondary-bg);
  border: 1px solid rgba(var(--outline), 0.18);
}

.sr-compare__card--build {
  border-top: 4px solid var(--color-brand-teal);
}

.sr-compare__card--buy {
  border-top: 4px solid var(--color-brand-terracotta);
}

.sr-compare__title {
  margin: 0 0 var(--spacing-24);
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--primary-text);
}

/* The cards carry the main argument, so their copy is at full text contrast. */
.sr-compare__card .sr-list li {
  color: var(--primary-text);
}

/* The buying list keeps the terracotta accent of its card header. */
.sr-list--buy li::before {
  background: var(--color-brand-terracotta-200);
}

/* --- SaaS categories ----------------------------------------------------- */

/* Mirrors the audit-covers block on /services/ai-integration/: a ruled rail on
   the left, one white panel on the right, no gaps between them. The section
   sits on the secondary surface; the shared component paints its own white
   background and vertical padding, so both are neutralised. */
.sr-categories {
  background: var(--secondary-bg);
}

.sr-category-tabs {
  padding: 0;
  background: transparent;
}

.sr-category-tabs .about-project-stages__layout {
  max-width: 1300px;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid rgba(6, 11, 26, 0.12);
  border-bottom: 1px solid rgba(6, 11, 26, 0.12);
}

.sr-category-tabs .about-project-stages__card {
  height: 100%;
  padding: var(--spacing-40);
  background: #ffffff;
  border-radius: 0;
}

/* Desktop rail only — below 900px the component switches to its own
   accordion layout, which must not be overridden by the grid below. */
@media (min-width: 901px) {
  /* Wide enough for the longest category name on a single line. */
  .sr-category-tabs .about-project-stages__layout {
    grid-template-columns: 500px minmax(0, 1fr);
  }

  .sr-category-tabs .about-project-stages__nav {
    border-right: 1px solid rgba(6, 11, 26, 0.12);
    border-top: none;
    border-bottom: none;
    border-left: none;
  }

  .sr-category-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(6, 11, 26, 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: var(--secondary-text);
    white-space: nowrap;
  }

  .sr-category-tabs .about-project-stages__tab:last-child {
    border-bottom: none;
  }

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

  .sr-category-tabs .about-project-stages__tab:hover {
    color: var(--primary-text);
    background: rgba(7, 145, 143, 0.04);
  }

  .sr-category-tabs .about-project-stages__tab.is-active {
    color: var(--primary-text);
    background: linear-gradient(90deg, rgba(7, 145, 143, 0.1) 0%, rgba(7, 145, 143, 0) 100%);
    box-shadow: none;
  }

  .sr-category-tabs .about-project-stages__tab.is-active::before {
    opacity: 1;
  }
}

.sr-category-tabs__num {
  font-size: 12px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(6, 11, 26, 0.4);
  transition: color 0.3s ease;
}

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

/* Icon above the title, then the three semantic parts with clear spacing. */
.sr-cat__head {
  display: block;
  margin-bottom: var(--spacing-24);
}

.sr-cat__head .sr-card__icon {
  margin-bottom: var(--spacing-16);
}

.sr-cat__head .about-project-stages__panel-title {
  margin: 0;
}

.sr-category-tabs .sr-card__meta {
  margin: 0 0 var(--spacing-24);
  font-size: 15px;
  line-height: 1.6;
}

.sr-category-tabs .sr-card__text {
  max-width: 70ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.sr-category-tabs .sr-card__text + .sr-card__text {
  margin-top: var(--spacing-16);
}

/* Product names in "Often replaces" read as tags, not as running text. */
.sr-tag {
  display: inline-block;
  margin: 2px 2px 2px 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(7, 145, 143, 0.08);
  color: var(--color-brand-navy);
  font-size: 13px;
  line-height: 1.5;
  font-weight: var(--font-weight-500);
  white-space: nowrap;
}

@media (max-width: 900px) {
  /* Below 900px the component switches to its accordion layout, where the
     desktop rail rule would leave a stray border on the right. */
  .sr-category-tabs .about-project-stages__nav {
    border-right: none;
  }

  .sr-category-tabs .about-project-stages__card {
    padding: var(--spacing-24);
  }
}

/* --- Card grids ---------------------------------------------------------- */

.sr-cards {
  display: grid;
  gap: var(--spacing-24);
  align-items: stretch;
}

.sr-cards--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sr-cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sr-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sr-card {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-32) var(--spacing-24);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(var(--outline), 0.18);
  box-shadow: 0 10px 30px rgba(6, 11, 26, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sr-card:hover {
  border-color: rgba(7, 145, 143, 0.35);
  box-shadow: 0 16px 40px rgba(6, 11, 26, 0.08);
}

.sr-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--spacing-16);
  border-radius: 12px;
  background: rgba(7, 145, 143, 0.1);
  color: var(--color-brand-teal);
  /* The icon-* classes only carry the glyph; the family comes from the wrapper.
     <i> is italic by default, which slants the glyph — pin it upright. */
  font-family: fontello;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

/* Real glyphs from static/fonts/fontello-legend.json: the icon-* classes in
   fonts.css draw different artwork than their names suggest. */
.sr-ico-handshake::before { content: "\f2b5"; }
.sr-ico-team::before { content: "\e82d"; }
.sr-ico-member::before { content: "\e82e"; }
.sr-ico-calendar::before { content: "\f133"; }
.sr-ico-check::before { content: "\f14a"; }
.sr-ico-grid::before { content: "\e800"; }
.sr-ico-chart::before { content: "\e809"; }
.sr-ico-book::before { content: "\e805"; }

.sr-card__title {
  margin: 0 0 var(--spacing-12, 12px);
  font-size: 18px;
  line-height: 1.3;
  color: var(--primary-text);
}

.sr-card__meta {
  margin: 0 0 var(--spacing-12, 12px);
  font-size: 13px;
  line-height: 1.45;
  color: #4a4d52;
}

.sr-card__text {
  margin: 0 0 var(--spacing-8, 8px);
  font-size: 14px;
  line-height: 1.55;
  color: var(--primary-text);
}

.sr-card--compliance {
  padding: clamp(24px, 3vw, 36px);
}

.sr-card--compliance .sr-card__text {
  font-size: 15px;
}

/* --- Dark risk band ------------------------------------------------------ */

/* Same treatment as #who-benefits on the industrial master-data page: navy
   band with the logo artwork anchored bottom-left, intro on the left, a
   single bordered accordion on the right. */
#risks {
  position: relative;
  isolation: isolate;
  padding: var(--spacing-80) 0;
  background: var(--color-brand-navy);
  color: var(--white-text);
}

#risks::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/about-bg.7be2890657ad.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 100%;
  z-index: -1;
  pointer-events: none;
}

#risks .sr-dark__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-16);
  align-items: start;
}

#risks .sr-dark__intro {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  max-width: 610px;
}

#risks .sr-dark__title {
  margin: 0;
  text-align: left;
  color: var(--white-text);
}

#risks .sr-dark__title span {
  color: var(--accent-orange);
}

@media (min-width: 981px) {
  #risks .sr-dark__title span {
    display: block;
  }
}

#risks .sr-dark__lead {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

#risks .sr-dark__lead a {
  color: var(--color-brand-teal-300);
  text-decoration: none;
}

#risks .sr-dark__lead a:hover,
#risks .sr-dark__lead a:focus-visible {
  color: var(--color-brand-teal-200);
}

#risks .accordion {
  display: grid;
  gap: 0;
  max-width: none;
  margin: 0;
  background: #0D1326;
  border: 1px solid rgba(7, 145, 143, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

#risks .accordion__item {
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #222222;
}

#risks .accordion__item:last-child {
  border-bottom: none;
}

#risks .accordion__item summary {
  padding: var(--spacing-24);
  padding-right: 64px;
  background: transparent;
  color: var(--white-text);
  font-size: clamp(17px, 1.05vw, 20px);
  font-weight: var(--font-weight-600);
  transition: background 0.3s ease, color 0.3s ease;
}

#risks .accordion__item[open] summary {
  background: #1F2330;
}

#risks .accordion__item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: var(--font-weight-500);
  color: var(--color-brand-teal);
  background: #242425;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, color 0.3s ease;
}

#risks .accordion__item[open] summary::after {
  content: "\2212";
  color: var(--white-text);
  background: var(--color-brand-teal);
}

/* Vertical collapse only: the copy must not fade in or slide sideways, and
   the cap stays close to the real content height so the whole transition is
   visible instead of finishing early against a 640px ceiling. */
/* The collapse animates the way .cv-industries__collapse does on
   /services/engineering-data-for-digital-twins/: grid-template-rows from 0fr
   to 1fr, no opacity, no max-height guesswork. The display override beats the
   display:block !important that _accordion.css puts on the children. */
#risks .accordion__item-content {
  display: grid !important;
  grid-template-rows: 0fr;
  padding: 0 var(--spacing-24);
  overflow: hidden;
  transition: grid-template-rows 0.45s ease, padding 0.45s ease;
}

#risks .accordion__item[open] .accordion__item-content {
  grid-template-rows: 1fr;
  padding: 0 var(--spacing-24) var(--spacing-24);
  background: #1F2330;
}

#risks .accordion__item-content > * {
  min-height: 0;
  overflow: hidden;
}

#risks .accordion__item-content p {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

#risks .accordion__item-content p + p {
  margin-top: var(--spacing-16);
}

#risks .accordion__item a {
  color: var(--color-brand-teal-300);
  text-decoration: none;
}

#risks .accordion__item a:hover,
#risks .accordion__item a:focus-visible {
  color: var(--color-brand-teal-200);
}

@media (max-width: 980px) {
  #risks .sr-dark__layout {
    grid-template-columns: 1fr;
  }

  #risks .sr-dark__intro {
    max-width: none;
  }
}

/* --- HR scenario --------------------------------------------------------- */

/* Story on the left; the questions and the answer share the right column. */
.sr-scenario {
  background: var(--secondary-bg);
}

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

.sr-scenario__main .ls-section__title {
  text-align: left;
  margin-bottom: var(--spacing-24);
}

.sr-scenario__side-title {
  margin: 0 0 var(--spacing-16);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: var(--font-weight-600);
  line-height: 1.4;
  color: var(--color-brand-terracotta);
}

/* Each question is its own white block: the list is not a sequence, so no
   numbering and no connecting line. */
.sr-questions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-questions li {
  padding: var(--spacing-16) var(--spacing-24);
  background: #fff;
  border: 1px solid rgba(var(--outline), 0.25);
  border-radius: 12px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: var(--primary-text);
}

/* The answer panel uses a different fill from the question blocks. */
.sr-scenario__side {
  padding: 0;
  background: none;
  border-radius: 0;
}

.sr-answer {
  margin-top: var(--spacing-32);
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: 16px;
  background: var(--color-brand-mist);
  border-left: 4px solid var(--color-brand-teal);
}

.sr-answer__label {
  margin: 0 0 var(--spacing-12, 12px);
  font-size: 12px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-teal);
}

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

@media (max-width: 980px) {
  .sr-scenario__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Engagement models --------------------------------------------------- */

/* The accent phrase starts its own line on desktop, as in the other blocks. */
@media (min-width: 981px) {
  #models .ls-section__title span {
    display: block;
  }
}

.sr-model {
  /* One slightly lighter rule colour for the frame and all inner hairlines. */
  --sr-rule: #d4d8db;
  display: flex;
  flex-direction: column;
  background: var(--secondary-bg);
  border: 1px solid var(--sr-rule);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sr-model:hover {
  border-color: rgba(7, 145, 143, 0.3);
  box-shadow: 0 16px 40px rgba(6, 11, 26, 0.08);
}

/* Card anatomy follows .legacy-industry-solutions__card: a head block, a
   body block and a tinted outcome block, split by hairlines. Only the palette
   stays light. The hairlines are inset to the text column and every gap
   around them is the same 24px. */
.sr-model__top {
  padding: var(--spacing-16) var(--spacing-32) var(--spacing-16);
}

/* The step number is set plain and large, not as the reference's tag chip. */
.sr-model__num {
  display: block;
  margin-bottom: var(--spacing-8);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: var(--font-weight-600);
  line-height: 1;
  color: var(--color-brand-teal-200);
}

.sr-model__title {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: var(--font-weight-600);
  line-height: 1.3;
  color: var(--primary-text);
}

.sr-model__for {
  margin: 0;
  padding: var(--spacing-16) var(--spacing-32);
  border-top: 1px solid var(--sr-rule);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: #4a4d52;
}

.sr-model__body {
  flex: 1;
  padding: var(--spacing-16) var(--spacing-32);
  border-top: 1px solid var(--sr-rule);
}

.sr-model .sr-list {
  margin: 0;
}

.sr-model .sr-list li {
  color: var(--primary-text);
}

.sr-model__outcome {
  margin-top: auto;
  padding: var(--spacing-16) var(--spacing-32);
  background: var(--primary-bg, #fbfbfb);
  border-top: 1px solid var(--sr-rule);
}

/* The outcome copy differs in length between cards; a floor keeps the three
   blocks the same height so their rules line up on desktop. */
@media (min-width: 981px) {
  .sr-model__outcome {
    min-height: 120px;
  }
}


.sr-model__outcome-label {
  margin: 0 0 var(--spacing-8, 8px);
  font-size: 12px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-teal);
}

.sr-model__outcome-text {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: var(--primary-text);
}

/* --- AI-ready data ------------------------------------------------------- */

/* Secondary surface for the numbered checks, so the block separates from the
   white sections around it. */
#ai-ready-data {
  background: var(--secondary-bg);
}

/* The challenge cards are mist by default and would vanish on the same
   surface, so they sit on white here. */
#ai-ready-data .section-challenges__item {
  background: #fff;
}

.sr-numbered {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-32) var(--spacing-24);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.sr-numbered__item {
  padding-top: var(--spacing-24);
  border-top: 1px solid rgba(var(--outline), 0.25);
}

.sr-numbered__num {
  display: inline-block;
  margin-bottom: var(--spacing-12, 12px);
  font-size: 13px;
  font-weight: var(--font-weight-600);
  color: var(--color-brand-terracotta);
}

.sr-numbered__title {
  margin: 0 0 var(--spacing-8, 8px);
  font-size: 17px;
  line-height: 1.35;
  color: var(--primary-text);
}

.sr-numbered__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--secondary-text);
}

/* --- Compliance on the navy band ----------------------------------------- */

.sr-compliance {
  position: relative;
  isolation: isolate;
  background: var(--color-brand-navy);
  color: var(--white-text);
}

/* Content column is narrower than the page container here. */
#compliance .container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Standard geometric artwork anchored bottom-left, same treatment as #risks. */
#compliance::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/about-bg.7be2890657ad.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 100%;
  z-index: -1;
  pointer-events: none;
}

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

@media (max-width: 760px) {
  #compliance::before {
    display: none;
  }
}

#compliance .ls-section__title {
  color: var(--white-text);
}

#compliance .ls-section__title span {
  color: var(--accent-orange);
}

@media (min-width: 981px) {
  #compliance .ls-section__title span {
    display: block;
  }
}

/* Two columns: intro on the left, one card of four stacked rows on the right. */
.sr-compliance__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.sr-compliance__intro .ls-section__title {
  margin: 0 0 var(--spacing-24);
  text-align: left;
}

.sr-compliance__intro .ls-section__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.sr-compliance__card {
  background: #0d1326;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.sr-compliance__row {
  padding: var(--spacing-24) var(--spacing-32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-compliance__row:last-child {
  border-bottom: none;
}

.sr-compliance__row-title {
  margin: 0 0 var(--spacing-8, 8px);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: var(--font-weight-600);
  line-height: 1.35;
  color: var(--white-text);
}

.sr-compliance__row-title a {
  color: var(--color-brand-teal);
  text-decoration: none;
}

.sr-compliance__row-title a:hover,
.sr-compliance__row-title a:focus-visible {
  color: var(--color-brand-teal-300);
}

.sr-compliance__row-text {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.sr-compliance__row-text a {
  color: var(--color-brand-teal-300);
}

.sr-compliance__row-text a:hover,
.sr-compliance__row-text a:focus-visible {
  color: var(--color-brand-teal-200);
}

@media (max-width: 980px) {
  .sr-compliance__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Comparison table ---------------------------------------------------- */

/* Secondary surface, and the table borrows the case-study table treatment:
   terracotta-tinted rules and a highlighted column. */
.sr-comparison {
  background: var(--secondary-bg);
}

.sr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid rgba(171, 61, 17, 0.15);
}

.sr-table {
  width: 100%;
  min-width: 760px;
  background-color: #fff;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
}

.sr-table th,
.sr-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(171, 61, 17, 0.12);
}

.sr-table thead th {
  background: rgba(171, 61, 17, 0.06);
  font-weight: var(--font-weight-600);
  color: var(--primary-text);
}

.sr-table tbody th {
  font-weight: var(--font-weight-600);
  color: var(--primary-text);
  white-space: nowrap;
}

.sr-table tbody td {
  color: var(--secondary-text);
}

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

.sr-table tbody tr:hover th,
.sr-table tbody tr:hover td {
  background: rgba(171, 61, 17, 0.08);
}

/* Accent column, same recipe as .case-achievements-table__col--highlight. */
.sr-table .sr-table__highlight {
  color: var(--primary-text);
  background: rgba(171, 61, 17, 0.1);
  border-left: 2px solid rgba(171, 61, 17, 0.35);
}

.sr-table thead .sr-table__highlight {
  font-weight: var(--font-weight-600);
  background: rgba(171, 61, 17, 0.14);
  border-left-color: var(--color-brand-terracotta);
}

.sr-table tbody .sr-table__highlight {
  font-weight: var(--font-weight-500);
}

.sr-table tbody tr:hover .sr-table__highlight {
  background: rgba(171, 61, 17, 0.16);
}

/* --- Process -------------------------------------------------------------- */

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

/* Intro on the left with its CTA, the seven steps as a vertical timeline on
   the right, as in the mockup. */
.sr-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.sr-process__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-24);
}

.sr-process__intro .ls-section__title {
  margin: 0;
  text-align: left;
}

.sr-process__intro .ls-section__lead {
  margin: 0;
}

.sr-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-steps__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--spacing-24);
  padding-bottom: var(--spacing-32);
}

.sr-steps__item:last-child {
  padding-bottom: 0;
}

.sr-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  width: 1px;
  height: calc(100% - 2.25rem);
  background: var(--outline);
  opacity: 0.4;
}

.sr-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--outline);
  font-size: 14px;
  font-weight: var(--font-weight-500);
  color: var(--primary-text);
  z-index: 1;
}

.sr-steps__content {
  min-width: 0;
}

.sr-steps__title {
  margin: 0 0 4px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: var(--font-weight-600);
  line-height: 1.25;
  color: var(--primary-text);
}

.sr-steps__phase {
  margin: 0 0 var(--spacing-8, 8px);
  font-size: 12px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-terracotta);
}

.sr-steps__text {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: var(--secondary-text);
}

@media (max-width: 980px) {
  .sr-process__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Case studies and FAQ spacing --------------------------------------- */

/* The shared case-studies and FAQ components get their vertical padding from
   bundles this page does not load (_industry-metrics.css, _bfsi-about-who.css),
   so on this page they would otherwise sit flush against the neighbouring
   bands. Scope the rhythm to this page instead of changing the components. */
.page-saas-replacement .section-case-studies,
.page-saas-replacement .section-faq {
  padding: var(--spacing-80) 0;
}

/* The challenge heading uses its own class without the uppercase transform the
   other three case-study headings get; keep all four visually identical. */
.page-saas-replacement .section-case-studies__detail-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
}

/* --- Bottom form (page copy) -------------------------------------------- */

.section-form--bottom__intro {
  margin: -16px 0 var(--spacing-32);
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1150px) {
  .sr-cards--four,
  .sr-cards--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-numbered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .sr-split-head,
  .sr-dark__layout,
  .sr-scenario__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sr-split-head .ls-section__title {
    margin-bottom: var(--spacing-16);
  }
}

@media (max-width: 768px) {
  .sr-compare,
  .sr-cards--four,
  .sr-cards--three,
  .sr-cards--two,
  .sr-numbered {
    grid-template-columns: minmax(0, 1fr);
  }

  .sr-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .sr-inset {
    flex-direction: column;
  }

  .sr-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
