/* Dynamics 365 AI case study — scoped to avoid layout conflicts */
.nd-cs-d365ai {
  --brand-1: #2257d3;
  --brand-2: #263b8c;
  --grad-brand: linear-gradient(120deg, #2257d3 0%, #263b8c 100%);
  --grad-brand-160: linear-gradient(160deg, #2257d3 0%, #263b8c 100%);
  --grad-surface: linear-gradient(122deg, rgba(34, 87, 211, 0.08) 0%, rgba(128, 163, 245, 0.12) 50%, #ffffff 100%);
  --black: #242424;
  --ink-900: #0f172b;
  --ink-700: #364153;
  --ink-600: #45556c;
  --grey-1: #6b7280;
  --grey-2: #717182;
  --emphasis: #9dc3ff;
  --off-white: #ebebeb;
  --nav-bg: #272727;
  --section-alt: #fbfbfb;
  --chip-bg: #eaeaea;
  --border-soft: #e6ecf5;
  --border-2: #e9e9e9;
  --line: #e2e8f0;
  --font-head: "Plus Jakarta Sans", sans-serif;
  --font-body: Inter, Arial, sans-serif;
  --maxw: 1280px;
  --pad: clamp(20px, 5.3vw, 68px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --cs-sticky-offset: 72px;
  --cs-subnav-height: 53px;
  font-family: var(--font-body);
  color: var(--black);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.nd-cs-d365ai *,
.nd-cs-d365ai *::before,
.nd-cs-d365ai *::after { box-sizing: border-box; }

.nd-cs-d365ai p { margin: 0; }
.nd-cs-d365ai a { text-decoration: none; color: inherit; }
.nd-cs-d365ai img,
.nd-cs-d365ai svg { display: block; max-width: 100%; }

.nd-cs-d365ai__container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.nd-cs-d365ai .section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.29;
  letter-spacing: -0.09px;
  margin: 0 0 8px;
  background: var(--grad-brand-160);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.nd-cs-d365ai .section-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.56;
  color: var(--grey-2);
  max-width: 990px;
}

.nd-cs-d365ai .section-lead strong {
  font-weight: 500;
  color: var(--grey-2);
}

.nd-cs-d365ai .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.nd-cs-d365ai .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .nd-cs-d365ai .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero */
.nd-cs-d365ai .hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding-block: 60px 0;
}

.nd-cs-d365ai .hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.nd-cs-d365ai .hero__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.29;
  letter-spacing: -0.09px;
  color: var(--black);
  max-width: 730px;
}

.nd-cs-d365ai .hero__title strong { font-weight: 700; }

.nd-cs-d365ai .hero__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  height: 56px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: var(--grad-brand);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

.nd-cs-d365ai .hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px -6px rgba(34, 87, 211, 0.4);
  filter: brightness(1.05);
  color: #fff;
}

.nd-cs-d365ai .hero__banner {
  position: relative;
  border-radius: 4px 4px 0 0;
  background: url('/images/pages/casestudy/how-dynamics-365-ai-reduced-case-resolution-time-hero.jpg') center / cover no-repeat;
  min-height: 458px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 55px 57px;
}

.nd-cs-d365ai .hero__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(15, 23, 43, 0.72) 0%, rgba(15, 23, 43, 0.28) 32%, transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.nd-cs-d365ai .hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 214px;
}

.nd-cs-d365ai .stat { color: #fff; }

.nd-cs-d365ai .stat__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.33;
}

.nd-cs-d365ai .stat__value--wide { font-size: 29px; }

.nd-cs-d365ai .stat__label {
  margin-top: 8px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  white-space: pre-line;
}

.nd-cs-d365ai .stat__divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Subnav */
.nd-cs-d365ai .subnav {
  position: sticky;
  top: var(--cs-sticky-offset);
  z-index: 998;
  background: var(--nav-bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nd-cs-d365ai .subnav.is-stuck {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.nd-cs-d365ai #overview,
.nd-cs-d365ai #challenges,
.nd-cs-d365ai #approaches,
.nd-cs-d365ai #solutions,
.nd-cs-d365ai #roadmap,
.nd-cs-d365ai #impact,
.nd-cs-d365ai #ahead {
  scroll-margin-top: calc(var(--cs-sticky-offset) + var(--cs-subnav-height) + 16px);
}

.nd-cs-d365ai .subnav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 53px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nd-cs-d365ai .subnav__inner::-webkit-scrollbar { display: none; }

.nd-cs-d365ai .subnav__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--off-white);
  white-space: nowrap;
  flex-shrink: 0;
}

.nd-cs-d365ai .subnav__links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nd-cs-d365ai .subnav__link {
  font-weight: 500;
  font-size: 14px;
  color: var(--off-white);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nd-cs-d365ai .subnav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nd-cs-d365ai .subnav__link--active {
  background: #bebebe;
  color: #1d1d1d;
  font-weight: 700;
}

.nd-cs-d365ai .subnav__link--active:hover {
  background: #cfcfcf;
  color: #1d1d1d;
}

/* Intro */
.nd-cs-d365ai .intro {
  background: #fff;
  padding-block: 76px;
}

.nd-cs-d365ai .intro__grid {
  display: grid;
  grid-template-columns: 323px 1fr;
  gap: 52px;
  align-items: start;
}

.nd-cs-d365ai .tech__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--grey-2);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.nd-cs-d365ai .tech__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nd-cs-d365ai .chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 40px;
  background: var(--chip-bg);
  color: #2c2c2c;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nd-cs-d365ai .chip:hover {
  transform: translateY(-2px);
  background: #e0eafc;
  box-shadow: 0 6px 14px rgba(34, 87, 211, 0.14);
}

.nd-cs-d365ai .overview__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.29;
  letter-spacing: -0.09px;
  margin-bottom: 17px;
  background: var(--grad-brand-160);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.nd-cs-d365ai .overview__body {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.nd-cs-d365ai .overview__body p {
  font-size: 18px;
  line-height: 1.56;
  color: var(--grey-2);
}

.nd-cs-d365ai .overview__body p:first-child { color: var(--black); }

/* Challenges */
.nd-cs-d365ai .challenges {
  background: var(--section-alt);
  padding-block: 74px;
}

.nd-cs-d365ai .challenges__title { margin-bottom: 40px; }

.nd-cs-d365ai .challenge {
  padding-block: 32px;
  border-bottom: 1px solid var(--border-2);
}

.nd-cs-d365ai .challenge:last-of-type { border-bottom: none; }

.nd-cs-d365ai .challenge__head {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 12px;
}

.nd-cs-d365ai .challenge__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf1fc;
  border: 1px solid rgba(34, 87, 211, 0.1);
  transition: transform 0.3s var(--ease);
}

.nd-cs-d365ai .challenge:hover .challenge__icon {
  transform: scale(1.08) rotate(-3deg);
}

.nd-cs-d365ai .challenge__icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-1);
}

.nd-cs-d365ai .challenge__title {
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.36;
  color: var(--ink-900);
}

.nd-cs-d365ai .challenge__text {
  font-size: 18px;
  line-height: 1.56;
  color: var(--grey-2);
  max-width: 1046px;
  margin-left: 72px;
}

.nd-cs-d365ai .callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 18px;
  border-radius: 6px;
  background: var(--grad-surface);
}

.nd-cs-d365ai .callout__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--brand-1);
  margin-top: 2px;
}

.nd-cs-d365ai .callout__text {
  font-size: 18px;
  line-height: 1.56;
  color: rgba(37, 37, 37, 0.8);
}

/* Approaches */
.nd-cs-d365ai .approaches {
  background: #fff;
  padding-block: 40px 72px;
}

.nd-cs-d365ai .approaches__title { margin-bottom: 16px; }
.nd-cs-d365ai .approaches__intro { margin-bottom: 52px; }

.nd-cs-d365ai .approaches__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  box-shadow: 0 12px 15px rgba(10, 40, 120, 0.06);
  overflow: hidden;
}

.nd-cs-d365ai .approach {
  padding: 36px 31px;
  background: #fff;
  transition: background 0.35s var(--ease);
}

.nd-cs-d365ai .approach--dark { background: var(--black); }

.nd-cs-d365ai .approach__label {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--grey-1);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.nd-cs-d365ai .approach--dark .approach__label { color: var(--emphasis); }

.nd-cs-d365ai .approach__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink-700);
  margin-bottom: 24px;
}

.nd-cs-d365ai .approach--dark .approach__title { color: #fff; }

.nd-cs-d365ai .approach__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nd-cs-d365ai .approach__text p {
  font-size: 18px;
  line-height: 1.33;
  color: var(--grey-1);
}

.nd-cs-d365ai .approach--dark .approach__text p { color: var(--off-white); }

/* Solutions */
.nd-cs-d365ai .solutions {
  background: #fff;
  padding-block: 68px;
}

.nd-cs-d365ai .solutions__title { margin-bottom: 32px; }
.nd-cs-d365ai .solutions__intro { margin-bottom: 24px; }

.nd-cs-d365ai .solution {
  display: grid;
  grid-template-columns: 1fr 545px;
  gap: 60px;
  align-items: center;
  padding-block: 48px;
  border-top: 1px solid var(--border-2);
}

.nd-cs-d365ai .solution:first-of-type {
  border-top: none;
  padding-top: 16px;
}

.nd-cs-d365ai .solution--reverse .solution__body { order: 2; }
.nd-cs-d365ai .solution--reverse .solution__visual { order: 1; }

.nd-cs-d365ai .solution__index {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.63;
  color: var(--grey-1);
  margin-bottom: 14px;
}

.nd-cs-d365ai .solution__heading {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.36;
  color: var(--ink-900);
  margin-bottom: 20px;
}

.nd-cs-d365ai .solution__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nd-cs-d365ai .solution__text p {
  font-size: 18px;
  line-height: 1.56;
  color: var(--grey-2);
}

.nd-cs-d365ai .viz {
  position: relative;
  background: rgba(217, 217, 217, 0.05);
  border: 1px solid rgba(170, 170, 170, 0.29);
  border-radius: 6px;
  min-height: 218px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nd-cs-d365ai .solution:hover .viz {
  border-color: rgba(34, 87, 211, 0.4);
  box-shadow: 0 14px 30px rgba(10, 40, 120, 0.08);
}

.nd-cs-d365ai .node {
  background: #fff;
  border: 1px solid #b7b7b7;
  border-radius: 7px;
  padding: 11px 9px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 11px;
  color: var(--grey-1);
  text-align: center;
  box-shadow: 0 8px 19px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s var(--ease);
}

.nd-cs-d365ai .node--blue {
  background: #f0f6ff;
  border-color: var(--emphasis);
  color: var(--black);
}

.nd-cs-d365ai .node--green {
  background: #daebea;
  border-color: #2d8a5f;
  color: #2d8a5f;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}

.nd-cs-d365ai .node--summary {
  background: #f0f6ff;
  border-color: var(--emphasis);
}

.nd-cs-d365ai .node--summary .node__head {
  color: var(--grey-1);
  margin-bottom: 6px;
}

.nd-cs-d365ai .node--summary .node__meta {
  color: var(--black);
  line-height: 1.3;
}

.nd-cs-d365ai .solution:hover .node { transform: translateY(-3px); }

.nd-cs-d365ai .viz1 { gap: 34px; }

.nd-cs-d365ai .viz1__doc {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 8px 19px rgba(0, 0, 0, 0.08);
  padding: 17px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 174px;
}

.nd-cs-d365ai .viz1__bar {
  height: 7px;
  border-radius: 21px;
  background: #d9d9d9;
}

.nd-cs-d365ai .viz1__bar--g { background: var(--grad-brand); }

.nd-cs-d365ai .viz1__arrow {
  width: 60px;
  height: 2px;
  background: #c3d2f0;
  position: relative;
  flex-shrink: 0;
}

.nd-cs-d365ai .viz1__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: #c3d2f0;
}

.nd-cs-d365ai .viz2 {
  flex-direction: column;
  gap: 26px;
}

.nd-cs-d365ai .viz2__row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.nd-cs-d365ai .viz2__connectors {
  width: 2px;
  height: 24px;
  background: #c3d2f0;
}

.nd-cs-d365ai .viz3 {
  flex-direction: column;
  gap: 16px;
}

.nd-cs-d365ai .viz3 .viz__arrow-down {
  width: 2px;
  height: 32px;
  background: #c3d2f0;
  position: relative;
}

.nd-cs-d365ai .viz3 .viz__arrow-down::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -4px;
  border: 5px solid transparent;
  border-top-color: #c3d2f0;
}

.nd-cs-d365ai .viz4 { gap: 22px; }

.nd-cs-d365ai .viz4__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.nd-cs-d365ai .viz4__arrow {
  width: 44px;
  height: 2px;
  background: #c3d2f0;
  position: relative;
  align-self: center;
  flex-shrink: 0;
}

.nd-cs-d365ai .viz4__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: #c3d2f0;
}

.nd-cs-d365ai .viz5 { gap: 30px; }

.nd-cs-d365ai .viz5__spokes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nd-cs-d365ai .viz5__arrow {
  width: 80px;
  height: 2px;
  background: #c3d2f0;
  position: relative;
}

.nd-cs-d365ai .viz5__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: #c3d2f0;
}

/* Roadmap */
.nd-cs-d365ai .roadmap {
  background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
  padding-block: 52px 72px;
}

.nd-cs-d365ai .roadmap__title { margin-bottom: 40px; }

.nd-cs-d365ai .roadmap__list { position: relative; }

.nd-cs-d365ai .roadmap__list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}

.nd-cs-d365ai .step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-block: 16px;
}

.nd-cs-d365ai .step__num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 8px 18px rgba(34, 87, 211, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nd-cs-d365ai .step:hover .step__num {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(34, 87, 211, 0.4);
}

.nd-cs-d365ai .step__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.nd-cs-d365ai .step__text {
  font-size: 18px;
  line-height: 1.56;
  color: var(--ink-600);
}

/* Impact */
.nd-cs-d365ai .impact {
  background: var(--black);
  padding-block: 34px 76px;
}

.nd-cs-d365ai .impact__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.29;
  letter-spacing: -0.09px;
  text-transform: capitalize;
  color: var(--emphasis);
  margin-bottom: 30px;
}

.nd-cs-d365ai .impact__grid {
  border: 1px solid rgba(235, 235, 235, 0.6);
  border-radius: 2px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.nd-cs-d365ai .metric {
  padding: 40px 36px;
  transition: background 0.3s var(--ease);
}

.nd-cs-d365ai .metric:nth-child(odd) {
  border-right: 1px solid rgba(235, 235, 235, 0.4);
}

.nd-cs-d365ai .metric:nth-child(-n+2) {
  border-bottom: 1px solid rgba(235, 235, 235, 0.4);
}

.nd-cs-d365ai .metric:hover {
  background: rgba(157, 195, 255, 0.06);
}

.nd-cs-d365ai .metric__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.29;
  letter-spacing: -0.09px;
  color: var(--emphasis);
  margin-bottom: 12px;
}

.nd-cs-d365ai .metric__label {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.44;
  color: #d6d6d6;
}

/* Looking ahead */
.nd-cs-d365ai .ahead {
  background: #fff;
  padding-block: 73px;
}

.nd-cs-d365ai .ahead__title { margin-bottom: 34px; }

.nd-cs-d365ai .ahead__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1126px;
  margin-bottom: 48px;
}

.nd-cs-d365ai .ahead__text p {
  font-size: 18px;
  line-height: 1.56;
  color: var(--grey-2);
}

.nd-cs-d365ai .quote {
  position: relative;
  padding-left: 34px;
  max-width: 1140px;
}

.nd-cs-d365ai .quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 44px;
  width: 4px;
  border-radius: 10px;
  background: var(--grad-brand);
}

.nd-cs-d365ai .quote__text {
  font-size: 18px;
  line-height: 1.56;
  color: var(--ink-700);
  margin-bottom: 24px;
}

.nd-cs-d365ai .quote__author {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  text-transform: uppercase;
  color: var(--grey-2);
  letter-spacing: 0.02em;
}

/* CTA */
.nd-cs-d365ai .cta {
  background: var(--grad-brand);
  padding-block: 56px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.nd-cs-d365ai .cta__title {
  font-weight: 700;
  font-size: clamp(24px, 3.1vw, 30px);
  line-height: 1.3;
  color: #fff;
  max-width: 620px;
  margin-bottom: 6px;
}

.nd-cs-d365ai .cta__text {
  font-size: 18px;
  line-height: 1.62;
  color: #fff;
  opacity: 0.95;
  max-width: 720px;
}

.nd-cs-d365ai .cta__button {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nd-cs-d365ai .cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.nd-cs-d365ai .cta__button-text {
  font-weight: 700;
  font-size: 16px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nd-cs-d365ai .cta__button svg {
  width: 20px;
  height: 20px;
  color: var(--brand-1);
  transition: transform 0.3s var(--ease);
}

.nd-cs-d365ai .cta__button:hover svg { transform: translateX(4px); }

@media (max-width: 1100px) {
  .nd-cs-d365ai .intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nd-cs-d365ai .solution {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nd-cs-d365ai .solution__visual { order: 2 !important; }
  .nd-cs-d365ai .solution__body { order: 1 !important; }

  .nd-cs-d365ai .viz {
    width: 100%;
    max-width: 545px;
    margin-inline: auto;
  }

  .nd-cs-d365ai .impact__grid { grid-template-columns: 1fr; }

  .nd-cs-d365ai .metric:nth-child(odd) { border-right: none; }

  .nd-cs-d365ai .metric:nth-child(-n+2),
  .nd-cs-d365ai .metric:not(:last-child) {
    border-bottom: 1px solid rgba(235, 235, 235, 0.4);
  }
}

@media (max-width: 820px) {
  .nd-cs-d365ai .hero__top { flex-direction: column; }
  .nd-cs-d365ai .hero__cta { align-self: flex-start; }
  .nd-cs-d365ai .hero__banner {
    padding: 32px;
    justify-content: center;
  }
  .nd-cs-d365ai .approaches__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nd-cs-d365ai .hero__banner { padding: 24px; }
  .nd-cs-d365ai .hero__stats {
    width: 100%;
    max-width: 280px;
  }
  .nd-cs-d365ai .metric { padding: 22px 18px; }
  .nd-cs-d365ai .metric__value { font-size: 22px; }
  .nd-cs-d365ai .metric__label { font-size: 14px; }
  .nd-cs-d365ai .challenge__head { gap: 16px; }
  .nd-cs-d365ai .challenge__text { margin-left: 0; }
  .nd-cs-d365ai .step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .nd-cs-d365ai .step__num {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .nd-cs-d365ai .roadmap__list::before { left: 21px; }
  .nd-cs-d365ai .viz1 { flex-direction: column; }
  .nd-cs-d365ai .viz1__arrow { transform: rotate(90deg); }
  .nd-cs-d365ai .callout { flex-direction: column; }
}
