:root {
  --bg: #020807;
  --bg-deep: #000302;
  --surface: rgba(8, 24, 21, 0.74);
  --surface-strong: rgba(12, 37, 32, 0.92);
  --surface-soft: rgba(85, 255, 203, 0.08);
  --text: #effff8;
  --muted: #9ab8ad;
  --line: rgba(174, 212, 198, 0.14);
  --brand: #28f7a8;
  --brand-deep: #00b874;
  --accent: #effff8;
  --cyan: #7ccfd5;
  --ink: #03110d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --glow: 0 0 18px rgba(40, 247, 168, 0.14);
  --radius: 8px;
  --radius-sm: 6px;
  --shell: 1180px;
}

body[data-theme="light"] {
  --bg: #eef9f4;
  --bg-deep: #dbeee7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(246, 255, 251, 0.94);
  --surface-soft: rgba(0, 184, 116, 0.08);
  --text: #08231b;
  --muted: #47665d;
  --line: rgba(0, 90, 62, 0.16);
  --brand: #00b874;
  --brand-deep: #007a52;
  --accent: #f4fff9;
  --cyan: #008ea1;
  --ink: #f4fff9;
  --shadow: 0 24px 70px rgba(0, 55, 40, 0.14);
  --glow: 0 0 28px rgba(0, 184, 116, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Aptos, "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 12%), rgba(40, 247, 168, 0.16), transparent 22rem),
    radial-gradient(circle at 78% 8%, rgba(86, 243, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 36%, rgba(40, 247, 168, 0.06), transparent 22rem),
    linear-gradient(180deg, #071512 0%, var(--bg) 46%, var(--bg-deep) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

@media (min-width: 901px) {
  html:has(body.home-page) {
    scroll-snap-type: y proximity;
  }
}

/* Migration to Cloud D365 — focused review pass */
.migration-page .migration-hero {
  min-height: clamp(650px, 82vh, 850px);
  padding: calc(var(--header-height) + clamp(3rem, 5vw, 5rem)) 0 clamp(4.25rem, 6vw, 6rem);
}

.migration-page .migration-hero-shell {
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  gap: clamp(2.4rem, 4.8vw, 5.2rem);
}

.migration-page .migration-hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 4.1vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.migration-page .migration-hero-copy .page-intro {
  max-width: 38rem;
}

.migration-cloud-visual {
  min-height: clamp(390px, 36vw, 560px);
  border-radius: clamp(1.6rem, 2.6vw, 2.25rem);
  background:
    radial-gradient(circle at 50% 48%, rgba(40, 247, 168, 0.13), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
}

.migration-cloud-visual::before {
  inset: 12%;
  border-color: rgba(40, 247, 168, 0.095);
  opacity: 0.72;
}

.migration-cloud-visual::after {
  inset: 25%;
  border-color: rgba(124, 207, 213, 0.08);
  opacity: 0.46;
}

.migration-cloud-card,
.migration-transfer-card,
.migration-value-chip {
  border-color: rgba(197, 255, 231, 0.15);
  background: rgba(7, 20, 17, 0.68);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.migration-cloud-card {
  z-index: 3;
  width: min(30%, 210px);
  min-height: 156px;
  padding: clamp(1.05rem, 1.8vw, 1.45rem);
  border-radius: 1.35rem;
}

.migration-legacy-card {
  top: 48%;
  left: 6%;
}

.migration-online-card {
  top: 48%;
  right: 6%;
}

.migration-cloud-icon {
  width: 4.1rem;
  height: 4.1rem;
  margin-bottom: 0.65rem;
  border-radius: 1.1rem;
  font-size: 1.7rem;
}

.migration-cloud-card strong {
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
}

.migration-transfer-card {
  z-index: 1;
  width: min(40%, 340px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.migration-transfer-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.migration-transfer-card svg {
  min-height: 84px;
}

.migration-transfer-card path {
  stroke-width: 2.35;
  stroke-dasharray: 8 12;
  filter: drop-shadow(0 0 7px rgba(40, 247, 168, 0.34));
}

.migration-transfer-card circle {
  r: 4px;
}

.migration-transfer-steps {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.migration-transfer-steps span {
  padding: 0.24rem 0.48rem;
  background: rgba(255, 255, 255, 0.045);
}

.migration-value-chip {
  padding: 0.58rem 0.76rem;
  font-size: 0.75rem;
  background: rgba(6, 30, 24, 0.5);
}

.migration-chip-one {
  left: 13%;
  top: 10%;
}

.migration-chip-two {
  right: 13%;
  top: 11%;
}

.migration-chip-three {
  right: 25%;
  bottom: 10%;
}

.migration-section-heading {
  width: 100%;
  max-width: none;
}

.migration-section-heading h2 {
  max-width: min(25ch, 100%);
  font-size: clamp(2.15rem, 3.65vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.migration-approach-section .migration-section-heading h2,
.migration-expect-section .migration-section-heading h2 {
  max-width: min(30ch, 100%);
}

.migration-section-heading p {
  max-width: min(88ch, 100%);
}

.migration-approach-grid {
  gap: clamp(1rem, 1.5vw, 1.35rem);
}

.migration-approach-card {
  min-height: 226px;
  padding: clamp(1.3rem, 2vw, 1.75rem);
  border-color: rgba(7, 49, 39, 0.085);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(241, 252, 247, 0.42)),
    rgba(255, 254, 248, 0.78);
  box-shadow: 0 12px 34px rgba(7, 49, 39, 0.055);
}

.migration-approach-card span {
  margin-bottom: 1.35rem;
  color: #28d996;
  font-size: 0.9rem;
}

.migration-approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 137, 91, 0.105);
}

.migration-expect-grid {
  gap: clamp(0.95rem, 1.5vw, 1.25rem);
}

.migration-expect-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  column-gap: 1rem;
  padding: clamp(1.15rem, 1.8vw, 1.55rem);
  border-color: rgba(7, 49, 39, 0.085);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(241, 252, 247, 0.38)),
    rgba(255, 254, 248, 0.78);
  box-shadow: 0 12px 34px rgba(7, 49, 39, 0.052);
}

.migration-expect-card i {
  width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  border-radius: 0.95rem;
  font-size: 1.2rem;
  background:
    radial-gradient(circle at 35% 30%, rgba(40, 247, 168, 0.28), transparent 58%),
    rgba(0, 137, 91, 0.075);
}

.migration-expect-card h3,
.migration-expect-card p {
  grid-column: 2;
}

.migration-expect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 137, 91, 0.105);
}

.motion-ready .migration-section-heading.reveal,
.motion-ready .migration-benefit-card.reveal,
.motion-ready .migration-approach-card.reveal,
.motion-ready .migration-expect-card.reveal,
.motion-ready .migration-cta-shell.reveal {
  transform: translateY(18px);
  transition-duration: 620ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .migration-section-heading.reveal.is-visible,
.motion-ready .migration-benefit-card.reveal.is-visible,
.motion-ready .migration-approach-card.reveal.is-visible,
.motion-ready .migration-expect-card.reveal.is-visible,
.motion-ready .migration-cta-shell.reveal.is-visible {
  transform: translateY(0);
}

.motion-ready .migration-benefit-card.reveal:nth-child(1),
.motion-ready .migration-approach-card.reveal:nth-child(1),
.motion-ready .migration-expect-card.reveal:nth-child(1) { transition-delay: 80ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(2),
.motion-ready .migration-approach-card.reveal:nth-child(2),
.motion-ready .migration-expect-card.reveal:nth-child(2) { transition-delay: 170ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(3),
.motion-ready .migration-approach-card.reveal:nth-child(3),
.motion-ready .migration-expect-card.reveal:nth-child(3) { transition-delay: 260ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(4),
.motion-ready .migration-approach-card.reveal:nth-child(4),
.motion-ready .migration-expect-card.reveal:nth-child(4) { transition-delay: 350ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(5),
.motion-ready .migration-approach-card.reveal:nth-child(5) { transition-delay: 440ms; }

.motion-ready .migration-approach-card.reveal:nth-child(6) { transition-delay: 530ms; }

@media (max-width: 1180px) {
  .migration-page .migration-hero-shell {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .migration-cloud-card {
    width: min(31%, 190px);
  }

  .migration-transfer-card {
    width: min(38%, 300px);
  }
}

@media (max-width: 980px) {
  .migration-page .migration-hero {
    min-height: auto;
  }

  .migration-page .migration-hero-shell {
    grid-template-columns: 1fr;
  }

  .migration-page .migration-hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(2.9rem, 8vw, 4.8rem);
  }

  .migration-cloud-visual {
    min-height: 470px;
  }

  .migration-section-heading h2 {
    max-width: 100%;
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
}

@media (max-width: 720px) {
  .migration-page {
    overflow-x: clip;
  }

  .migration-page .shell,
  .migration-page .migration-hero-shell,
  .migration-page .migration-hero-copy,
  .migration-cloud-visual {
    width: 100%;
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .migration-page .migration-hero {
    padding-top: calc(var(--header-height) + 2.4rem);
    overflow-x: clip;
  }

  .migration-page .migration-hero-copy h1,
  body:not(.home-page) .migration-page .migration-hero-copy h1 {
    width: 100%;
    max-width: 100% !important;
    font-size: clamp(2.3rem, 11vw, 3.05rem) !important;
    line-height: 1.03;
    overflow-wrap: normal;
  }

  .migration-cloud-visual {
    min-height: 560px;
    margin-inline: auto;
  }

  .migration-cloud-card {
    width: min(76%, 320px);
    min-height: 132px;
  }

  .migration-legacy-card {
    top: 6%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .migration-online-card {
    bottom: 6%;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .migration-transfer-card {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: min(82%, 330px);
  }

  .migration-expect-card {
    grid-template-columns: 1fr;
  }

  .migration-expect-card h3,
  .migration-expect-card p {
    grid-column: auto;
  }

  .migration-expect-card i {
    margin-bottom: 0.85rem;
  }
}

body[data-theme="light"] {
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 12%), rgba(0, 184, 116, 0.18), transparent 22rem),
    radial-gradient(circle at 78% 8%, rgba(0, 142, 161, 0.14), transparent 24rem),
    radial-gradient(circle at 12% 36%, rgba(0, 184, 116, 0.1), transparent 22rem),
    linear-gradient(180deg, #f8fffb 0%, var(--bg) 50%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(174, 212, 198, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.032) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

body[data-theme="light"]::before {
  background:
    linear-gradient(90deg, rgba(0, 90, 62, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 90, 62, 0.08) 1px, transparent 1px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 50% -10%, transparent 0, rgba(0, 0, 0, 0.72) 58%);
}

body[data-theme="light"]::after {
  background: radial-gradient(circle at 50% -10%, transparent 0, rgba(255, 255, 255, 0.52) 60%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--brand);
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  --text: #effff8;
  --muted: #9ab8ad;
  --line: rgba(174, 212, 198, 0.14);
  --accent: #effff8;
  border-bottom: 1px solid var(--line);
  background: rgba(1, 8, 7, 0.76);
  backdrop-filter: blur(20px);
}

body[data-theme="light"] .site-header {
  background: rgba(1, 8, 7, 0.86);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 0 clamp(1rem, 3vw, 3.25rem);
  gap: 2rem;
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 1.45rem;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 112px;
}

.brand-logo {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.12));
}

body[data-theme="light"] .brand-logo {
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.12));
}

.ms-partner-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.42rem;
  row-gap: 0.42rem;
  align-items: center;
  min-width: 164px;
  color: rgba(239, 255, 248, 0.76);
  filter: none;
  line-height: 1.06;
}

.ms-window {
  display: grid;
  grid-template-columns: repeat(2, 0.56rem);
  grid-template-rows: repeat(2, 0.56rem);
  gap: 0.08rem;
  flex: 0 0 auto;
  grid-row: 1;
}

.ms-window span:nth-child(1) {
  background: #f25022;
}

.ms-window span:nth-child(2) {
  background: #7fba00;
}

.ms-window span:nth-child(3) {
  background: #00a4ef;
}

.ms-window span:nth-child(4) {
  background: #ffb900;
}

.ms-partner-copy {
  display: contents;
}

.ms-partner-copy strong {
  grid-column: 2;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

.ms-partner-copy strong span {
  display: block;
}

.ms-partner-copy strong span:first-child {
  font-size: 0.9rem;
}

.ms-partner-copy strong span:last-child {
  font-size: 0.68rem;
  font-weight: 650;
}

.ms-partner-copy small {
  grid-column: 1 / -1;
  color: rgba(154, 184, 173, 0.82);
  display: block;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

body[data-theme="light"] .ms-partner-badge {
  color: rgba(239, 255, 248, 0.76);
  filter: none;
}

body[data-theme="light"] .ms-partner-copy small {
  color: rgba(154, 184, 173, 0.82);
}

.site-nav,
.nav-list {
  display: flex;
  align-items: center;
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 2.5vw, 3.5rem);
  flex: 1 1 auto;
  margin-left: auto;
}

.nav-list {
  gap: clamp(1rem, 1.55vw, 2.2rem);
  justify-self: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.25vw, 1.35rem);
}

/* Temporarily hidden for launch; keep markup in place for future reuse. */
.nav-portal-link,
.theme-toggle {
  display: none !important;
}

.nav-list a,
.nav-accordion-trigger,
.search-trigger {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-accordion-trigger:hover,
.nav-accordion-trigger:focus-visible,
.search-trigger:hover,
.search-trigger:focus-visible {
  color: var(--text);
  text-shadow: none;
}

.nav-list > li > a,
.nav-list > li > .nav-accordion-trigger {
  position: relative;
}

.nav-list > li > a::after,
.nav-list > li > .nav-accordion-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.72rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: none;
  opacity: 0;
  transform: scaleX(0.48);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-list > li > a:hover::after,
.nav-list > li > a:focus-visible::after,
.nav-list > li > a.is-active::after,
.nav-list > li > .nav-accordion-trigger:hover::after,
.nav-list > li > .nav-accordion-trigger:focus-visible::after,
.nav-list > li > .nav-accordion-trigger.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-list > li > a.is-active,
.nav-list > li > .nav-accordion-trigger.is-active {
  color: var(--text);
  text-shadow: none;
}

.nav-list .contact-trigger {
  color: var(--text);
  text-shadow: none;
}

.nav-list .contact-trigger::after {
  transform: scaleX(0.78);
}

.nav-list .contact-trigger:hover::after,
.nav-list .contact-trigger:focus-visible::after,
.nav-list .contact-trigger.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.services-dropdown {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(980px, calc(100vw - 4rem));
  padding: 1.35rem;
  border: 1px solid rgba(163, 255, 221, 0.18);
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 247, 168, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(4, 20, 17, 0.99), rgba(1, 8, 7, 0.98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(24px);
}

.services-nav-item:hover .services-dropdown,
.services-nav-item:focus-within .services-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.services-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.6rem;
  height: 1.6rem;
}

.services-dropdown-heading {
  display: grid;
  align-content: center;
  grid-column: 1 / -1;
  min-height: auto;
  padding: 0 0 0.65rem;
}

.services-dropdown-heading span {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
}

.services-dropdown-heading strong {
  max-width: none;
  margin-top: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.05;
  opacity: 0.82;
}

.services-dropdown-link {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 4.9rem;
  padding: 0.95rem 0.85rem;
  color: var(--text);
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  border: 1px solid rgba(174, 212, 198, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.services-dropdown-link:hover,
.services-dropdown-link:focus-visible {
  color: var(--text);
  border-color: rgba(239, 255, 248, 0.42);
  background: rgba(239, 255, 248, 0.055);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  text-shadow: none;
  transform: translateY(-2px);
}

.nav-list .services-dropdown-link {
  white-space: normal;
}

.services-dropdown-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--brand);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(40, 247, 168, 0.2));
}

.services-dropdown-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-dropdown-icon i {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  font-size: 1.25rem;
  line-height: 1;
}

.services-dropdown-link strong,
.services-dropdown-link small {
  display: block;
}

.services-dropdown-link strong {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.services-dropdown-link .services-dropdown-title-nowrap {
  white-space: normal;
  font-size: 0.9rem;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.services-dropdown-link small {
  display: none;
}

.nav-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: none;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.nav-portal-link:hover,
.nav-portal-link:focus-visible {
  color: var(--brand);
  text-shadow: 0 0 18px rgba(40, 247, 168, 0.32);
  outline: none;
}

.nav-external-icon {
  display: inline-grid;
  place-items: center;
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  font-size: 0.82rem;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
}

.nav-portal-link:hover .nav-external-icon,
.nav-portal-link:focus-visible .nav-external-icon {
  transform: translate(2px, -2px);
  filter: drop-shadow(0 0 10px rgba(40, 247, 168, 0.34));
}

body[data-theme="light"] .nav-portal-link {
  color: var(--brand);
}

.search-trigger {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
}

.search-icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -0.38rem;
  bottom: -0.28rem;
  width: 0.52rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: center;
}

.search-trigger,
.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
}

.contact-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-accordion-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-accordion-trigger .mobile-nav-chevron {
  display: none;
}

.contact-nav::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 0.85rem;
}

.contact-popover {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) auto;
  align-items: start;
  width: min(930px, calc(100vw - 4rem));
  max-width: calc(100vw - 4rem);
  column-gap: clamp(1.6rem, 4vw, 4.2rem);
  row-gap: 1.35rem;
  padding: 1.5rem 1.8rem 1.65rem;
  color: var(--text);
  border: 1px solid rgba(163, 255, 221, 0.18);
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 247, 168, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(4, 20, 17, 0.99), rgba(1, 8, 7, 0.98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.contact-popover::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.6rem;
  height: 1.6rem;
}

.contact-nav:hover .contact-popover,
.contact-nav:focus-within .contact-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.contact-popover strong {
  grid-column: 1 / -1;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  white-space: nowrap;
}

.contact-method {
  display: grid;
  min-width: 0;
  min-height: auto;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: color 180ms ease, transform 180ms ease, filter 180ms ease;
}

.contact-copy {
  display: grid;
  gap: 0.42rem;
}

.contact-copy span:first-child {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.contact-copy span:last-child {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 850;
  white-space: nowrap;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.contact-icon,
.linkedin-logo {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: #06110e;
  border-radius: 8px;
  background: var(--text);
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.linkedin-logo {
  color: var(--brand);
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
}

.contact-popover a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-popover a:hover,
.contact-popover a:focus-visible {
  color: var(--brand);
}

.contact-method:hover,
.contact-method:focus-visible {
  color: var(--text);
  filter: saturate(1.08);
  outline: none;
  transform: translateY(-2px);
}

.contact-method:hover .contact-copy span:last-child,
.contact-method:focus-visible .contact-copy span:last-child {
  color: #7cffca;
  text-shadow: 0 0 14px rgba(40, 247, 168, 0.34);
}

.contact-method:active {
  transform: translateY(0);
}

.linkedin-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: flex-end;
  align-self: center;
  margin-left: 0;
  padding-left: clamp(1rem, 2vw, 1.7rem);
  border-left: 1px solid rgba(163, 255, 221, 0.18);
}

.contact-social-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--brand);
  border-radius: 50%;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.contact-social-link .linkedin-logo,
.youtube-logo {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: currentColor;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 900;
}

.contact-social-link .linkedin-logo {
  font-size: 1.25rem;
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  color: #7cffca;
  filter:
    drop-shadow(0 0 8px rgba(40, 247, 168, 0.42))
    drop-shadow(0 0 18px rgba(40, 247, 168, 0.18));
  outline: none;
  transform: translateY(-2px) scale(1.05);
}

.contact-social-link:active {
  transform: translateY(0) scale(0.96);
}

.youtube-logo {
  position: relative;
}

.youtube-logo::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid currentColor;
}

body[data-theme="light"] .contact-popover {
  color: var(--text);
  border-color: rgba(163, 255, 221, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 247, 168, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(4, 20, 17, 0.99), rgba(1, 8, 7, 0.98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.search-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(2, 12, 10, 0.94);
}

body[data-theme="light"] .search-panel {
  background: rgba(246, 255, 251, 0.94);
}

.search-shell {
  padding: 1rem 0 1.2rem;
}

.search-label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-weight: 800;
}

.search-row {
  display: flex;
  gap: 0.75rem;
}

.search-row input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

body[data-theme="light"] .search-row input {
  background: rgba(255, 255, 255, 0.72);
}

.search-row input:focus {
  border-color: rgba(239, 255, 248, 0.48);
  box-shadow: 0 0 0 3px rgba(40, 247, 168, 0.08);
}

.search-hint {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  padding: clamp(3rem, 5vw, 4.2rem) 0 clamp(3rem, 5vw, 4rem);
  overflow: hidden;
  scroll-snap-align: start;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(128deg, transparent 0 40%, rgba(255, 255, 255, 0.07) 47%, transparent 55%),
    linear-gradient(rgba(174, 212, 198, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 212, 198, 0.022) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 32%, #000 100%);
  animation: panelSheen 9s ease-in-out infinite;
}

.hero-ambient {
  position: absolute;
  inset: 8% -10% auto;
  height: 44rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 66% 36%, rgba(40, 247, 168, 0.12), transparent 19rem),
    radial-gradient(circle at 30% 66%, rgba(124, 207, 213, 0.06), transparent 18rem);
  filter: blur(12px);
  opacity: 0.58;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 2rem;
  align-items: center;
  transform: translateY(clamp(1.25rem, 4vh, 3rem));
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.45rem, 3.55vw, 3.55rem);
  line-height: 1.04;
}

h2 {
  /* max-width: 16ch; */
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.hero-intro,
.section-heading p,
.about-copy p,
.cta-actions p,
.content-card p,
.industry-card p,
.story-card p,
.insight-card p,
.panel-card p,
.footer-shell p {
  color: var(--muted);
}

.hero-intro {
  max-width: 58ch;
  margin: 1.35rem 0 0;
  font-size: 1.14rem;
}

.how-help-section {
  --help-arc-opacity: 0.18;
  --help-arc-rotate: -8deg;
  --help-arc-scale: 0.96;
  --help-title-lift: 2.4rem;
  --help-item-lift: 2rem;
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: clamp(3.4rem, 6vw, 5rem) 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.client-marquee-section {
  position: relative;
  padding: clamp(3rem, 5vw, 4.8rem) 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.client-marquee-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(40, 247, 168, 0.08), transparent 20rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22));
}

.client-marquee-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 1.4rem;
}

.client-marquee-heading h2 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

.client-marquee {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(163, 255, 221, 0.12);
  background:
    linear-gradient(90deg, rgba(2, 8, 7, 0.96), transparent 12%, transparent 88%, rgba(2, 8, 7, 0.96)),
    rgba(255, 255, 255, 0.025);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-marquee-track {
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
  min-width: max-content;
  padding: 1.1rem 1rem;
}

.client-marquee:hover .client-marquee-track,
.client-marquee:focus-within .client-marquee-track {
  animation-play-state: paused;
}

.client-logo-tile {
  display: grid;
  place-items: center;
  min-width: clamp(190px, 17vw, 260px);
  min-height: 92px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(163, 255, 221, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.1), transparent 9rem),
    rgba(8, 24, 21, 0.68);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.client-logo-tile img {
  width: min(100%, 210px);
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
}

.client-logo-tile:hover,
.client-logo-tile:focus-visible {
  border-color: rgba(239, 255, 248, 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.16), transparent 9rem),
    rgba(10, 34, 29, 0.86);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3), 0 0 24px rgba(40, 247, 168, 0.08);
  outline: none;
  transform: translateY(-3px);
}

.how-help-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 24%, rgba(40, 247, 168, 0.12), transparent 24rem),
    radial-gradient(circle at 76% 60%, rgba(124, 207, 213, 0.06), transparent 22rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 30%, rgba(0, 0, 0, 0.16));
}

.how-help-section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(760px, 72vw);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 49%, rgba(239, 255, 248, 0.11) 49.2% 49.7%, transparent 50%, transparent 65.6%, rgba(239, 255, 248, 0.14) 65.9% 66.5%, transparent 66.8%),
    radial-gradient(circle, transparent 0 48%, rgba(40, 247, 168, 0.035) 49%, rgba(40, 247, 168, 0.11) 66%, transparent 72%);
  -webkit-mask: radial-gradient(circle, transparent 0 47%, #000 48% 70%, transparent 71%);
  mask: radial-gradient(circle, transparent 0 47%, #000 48% 70%, transparent 71%);
  box-shadow:
    inset 0 0 0 1px rgba(239, 255, 248, 0.07),
    0 0 42px rgba(40, 247, 168, 0.08);
  opacity: var(--help-arc-opacity);
  transform: translate(-50%, -48%) rotate(var(--help-arc-rotate)) scale(var(--help-arc-scale));
  filter: blur(0.2px) saturate(1.08);
  animation: radarSweepFloat 6.5s ease-in-out infinite;
  transition: opacity 180ms linear, transform 180ms linear;
}

.how-help-section .shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.how-help-section .shell::after {
  content: "A";
  position: absolute;
  right: -22%;
  bottom: -34%;
  z-index: 0;
  pointer-events: none;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(34rem, 58vw, 68rem);
  font-weight: 900;
  line-height: 0.75;
  -webkit-text-stroke: 1.8px rgba(239, 255, 248, 0.082);
  text-shadow: none;
  opacity: 0.58;
  transform: rotate(-5deg) scale(0.98);
  transform-origin: 52% 58%;
  animation: oaLetterBreath 6.5s ease-in-out infinite;
}

.how-help-section h2 {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: clamp(3.6rem, 7vw, 5.4rem) 0 clamp(2.4rem, 4.8vw, 3.8rem);
  text-align: center;
  font-size: clamp(2.35rem, 4.2vw, 4.1rem);
  line-height: 0.96;
  transform: translateY(var(--help-title-lift));
  transition: transform 180ms linear;
}

.help-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  width: min(1040px, calc(100vw - 2rem));
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}

.help-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.9rem;
  min-height: 158px;
  padding: 0 clamp(1.25rem, 2.5vw, 2.4rem) 1.8rem;
  color: var(--text);
  text-align: center;
  transform: translateY(var(--help-item-lift));
  transition: transform 180ms linear;
}

.help-item + .help-item {
  border-left: 0;
}

.help-item:nth-child(1),
.help-item:nth-child(2),
.help-item:nth-child(3) {
  border-bottom: 1px solid rgba(163, 255, 221, 0.24);
  box-shadow: 0 1px 0 rgba(40, 247, 168, 0.1), 0 10px 24px -22px rgba(40, 247, 168, 0.9);
}

.help-item:nth-child(1) {
  grid-column: 1 / span 2;
}

.help-item:nth-child(2) {
  grid-column: 3 / span 2;
}

.help-item:nth-child(3) {
  grid-column: 5 / span 2;
}

.help-item:nth-child(2),
.help-item:nth-child(3),
.help-item:nth-child(5),
.help-item:nth-child(6) {
  border-left: 1px solid rgba(163, 255, 221, 0.24);
  box-shadow: -1px 0 0 rgba(40, 247, 168, 0.08);
}

.help-item:nth-child(4) {
  grid-column: 1 / span 2;
  justify-self: stretch;
  width: auto;
  margin-left: 0;
  padding-top: 2rem;
}

.help-item:nth-child(5) {
  grid-column: 3 / span 2;
  width: auto;
  margin-left: 0;
  padding-top: 2rem;
}

.help-item:nth-child(6) {
  grid-column: 5 / span 2;
  width: auto;
  margin-left: 0;
  padding-top: 2rem;
}

.help-icon {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  color: rgba(239, 255, 248, 0.94);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(40, 247, 168, 0.18));
}

.help-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-item strong,
.help-item small {
  display: block;
}

.help-item strong {
  margin-bottom: 0.34rem;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.15;
}

.help-item small {
  color: var(--muted);
  font-size: clamp(0.78rem, 0.9vw, 0.88rem);
  line-height: 1.45;
}

.motion-ready .how-help-section.reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 760ms ease, transform 760ms ease;
}

.motion-ready .how-help-section.reveal h2 {
  opacity: 0;
  transform: translateY(var(--help-title-lift)) scale(0.98);
}

.motion-ready .how-help-section.reveal .help-item {
  opacity: 0;
  transform: translateY(var(--help-item-lift));
}

.motion-ready .how-help-section.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .how-help-section.reveal.is-visible .help-item {
  opacity: 1;
  transform: translateY(var(--help-item-lift));
  transition: opacity 680ms ease, transform 680ms ease;
}

.motion-ready .how-help-section.reveal.is-visible h2 {
  opacity: 1;
  transform: translateY(var(--help-title-lift)) scale(1);
  transition: opacity 760ms ease, transform 760ms ease;
}

.motion-ready .how-help-section.reveal.is-visible .help-item:nth-child(1) { transition-delay: 180ms; }
.motion-ready .how-help-section.reveal.is-visible .help-item:nth-child(2) { transition-delay: 280ms; }
.motion-ready .how-help-section.reveal.is-visible .help-item:nth-child(3) { transition-delay: 380ms; }
.motion-ready .how-help-section.reveal.is-visible .help-item:nth-child(4) { transition-delay: 480ms; }
.motion-ready .how-help-section.reveal.is-visible .help-item:nth-child(5) { transition-delay: 580ms; }
.motion-ready .how-help-section.reveal.is-visible .help-item:nth-child(6) { transition-delay: 680ms; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #063b2a;
  border-color: rgba(239, 255, 248, 0.88);
  background: var(--text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

body[data-theme="light"] .button-primary {
  color: #03110d;
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}

body[data-theme="light"] .button-secondary,
body[data-theme="light"] .button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.button-ghost:hover,
.button-secondary:hover {
  border-color: rgba(239, 255, 248, 0.42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-signals {
  display: grid;
  gap: 0.7rem;
  max-width: 34rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-signals li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

body[data-theme="light"] .hero-signals li {
  background: rgba(255, 255, 255, 0.68);
}

.hero-signals span {
  color: var(--muted);
  font-weight: 700;
}

.hero-signals strong {
  color: var(--accent);
  white-space: nowrap;
}

.hero-panel,
.panel-card,
.content-card,
.industry-card,
.story-card,
.insight-card,
.cta-shell,
.trust-shell,
.about-shell {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  min-height: 620px;
  padding: 1.05rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 75%, rgba(40, 247, 168, 0.18), transparent 18rem),
    radial-gradient(circle at 86% 30%, rgba(124, 207, 213, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(5, 35, 27, 0.94), rgba(0, 2, 1, 0.96));
}

body[data-theme="light"] .hero-panel {
  background:
    radial-gradient(circle at 22% 75%, rgba(0, 184, 116, 0.32), transparent 18rem),
    radial-gradient(circle at 86% 30%, rgba(0, 142, 161, 0.18), transparent 16rem),
    linear-gradient(180deg, rgba(245, 255, 250, 0.92), rgba(220, 243, 234, 0.9));
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.11) 42%, transparent 48%),
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.55), transparent 16rem);
  opacity: 0.78;
  animation: panelSheen 8s ease-in-out infinite;
}

body[data-theme="light"] .hero-panel::before {
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.42) 42%, transparent 48%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.24), transparent 16rem);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(163, 255, 221, 0.14);
  border-radius: 22px;
  pointer-events: none;
}

.hero-panel-top,
.panel-grid {
  position: relative;
  z-index: 1;
}

.hero-panel-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  color: var(--text);
}

.hero-panel-top span:last-child {
  margin-left: auto;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: none;
}

.panel-grid,
.card-grid,
.industry-grid,
.insights-grid,
.story-list {
  display: grid;
  gap: 1rem;
}

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

.panel-card,
.content-card,
.industry-card,
.story-card,
.insight-card {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.panel-card::before,
.content-card::before,
.industry-card::before,
.story-card::before,
.insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(239, 255, 248, 0.07), transparent 44%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.panel-card:hover,
.content-card:hover,
.industry-card:hover,
.story-card:hover,
.insight-card:hover,
.panel-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(239, 255, 248, 0.34);
  background: var(--surface-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.panel-card:hover::before,
.content-card:hover::before,
.industry-card:hover::before,
.story-card:hover::before,
.insight-card:hover::before,
.panel-card.is-active::before {
  opacity: 1;
}

.panel-card span {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--brand);
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-weight: 900;
}

.panel-card h2 {
  font-size: 1.25rem;
}

.difference-panel {
  display: block;
  min-height: 590px;
  padding: 0;
  background: transparent;
  transform: translateY(-0.25rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.difference-panel::before,
.difference-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.difference-panel::before {
  width: min(830px, 124%);
  aspect-ratio: 1;
  background: conic-gradient(
    from 18deg,
    rgba(86, 243, 255, 0.58) 0deg 156deg,
    transparent 158deg 202deg,
    rgba(40, 247, 168, 0.36) 204deg 294deg,
    transparent 296deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px), #000 calc(100% - 0.5px), transparent 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px), #000 calc(100% - 0.5px), transparent 100%);
  opacity: 0.92;
  animation: orbitRotate 24s linear infinite;
}

.difference-panel::after {
  width: min(620px, 92%);
  aspect-ratio: 1;
  background: conic-gradient(
    from 148deg,
    rgba(86, 243, 255, 0.28) 0deg 128deg,
    transparent 130deg 196deg,
    rgba(40, 247, 168, 0.28) 198deg 274deg,
    transparent 276deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px), #000 calc(100% - 0.5px), transparent 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px), #000 calc(100% - 0.5px), transparent 100%);
  opacity: 0.82;
  animation: orbitRotateReverse 19s linear infinite;
}

.difference-grid {
  position: relative;
  z-index: 1;
  min-height: 570px;
  width: 100%;
  margin: 0;
}

.difference-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(430px, 64%);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 14%, rgba(239, 255, 248, 0.82) 0 2px, rgba(86, 243, 255, 0.38) 3px, transparent 6px),
    conic-gradient(
      from 248deg,
      transparent 0deg 34deg,
      rgba(239, 255, 248, 0.2) 36deg 132deg,
      transparent 134deg 212deg,
      rgba(86, 243, 255, 0.24) 214deg 286deg,
      transparent 288deg 360deg
    );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  transform: translate(-50%, -50%);
  opacity: 0.7;
  animation: orbitRotate 17s linear infinite;
}

.difference-grid::after {
  display: none;
}

.difference-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.72rem;
  width: max-content;
  min-width: 230px;
  max-width: 340px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22);
  overflow: visible;
  text-align: center;
  backdrop-filter: none;
  transition: transform 240ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
  animation: orbitLabelFloat 8s ease-in-out infinite;
}

.difference-item:nth-child(1) {
  left: 9%;
  top: 34%;
  z-index: 3;
  min-width: 285px;
  animation-duration: 9.8s;
}

.difference-item:nth-child(2) {
  right: 7%;
  top: 18%;
  z-index: 4;
  min-width: 245px;
  animation-delay: -2.8s;
  animation-duration: 8.8s;
}

.difference-item:nth-child(3) {
  left: 24%;
  bottom: 12%;
  z-index: 2;
  min-width: 245px;
  animation-delay: -5.2s;
  animation-duration: 9.8s;
}

.difference-item:nth-child(4) {
  right: 4%;
  top: 57%;
  z-index: 3;
  min-width: 300px;
  animation-delay: -1.4s;
  animation-duration: 10.2s;
}

.difference-item::before {
  display: none;
}

.difference-item:hover {
  filter: saturate(1.02);
  animation-play-state: paused;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.difference-item:nth-child(1):hover { transform: translateY(-0.18rem) scale(1.018); }
.difference-item:nth-child(2):hover { transform: translateY(-0.18rem) scale(1.018); }
.difference-item:nth-child(3):hover { transform: translateY(-0.18rem) scale(1.018); }
.difference-item:nth-child(4):hover { transform: translateY(-0.18rem) scale(1.018); }

.difference-item::after {
  display: none;
}

.difference-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  color: var(--brand);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 0 10px rgba(40, 247, 168, 0.38))
    drop-shadow(0 0 22px rgba(40, 247, 168, 0.16));
}

.difference-icon svg,
.difference-icon i {
  width: 58px;
  height: 58px;
}

.difference-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.difference-icon i {
  display: grid;
  place-items: center;
  font-size: 3.4rem;
  line-height: 1;
}

.difference-icon .fa-user-tie::before { content: "\f508"; }
.difference-icon .fa-location-crosshairs::before { content: "\f601"; }
.difference-icon .fa-computer::before { content: "\e4e5"; }
.difference-icon .fa-user-group::before { content: "\f500"; }

.difference-item strong {
  position: relative;
  z-index: 1;
  color: rgba(239, 255, 248, 0.95);
  max-width: 14.5ch;
  font-size: clamp(1.18rem, 1.32vw, 1.42rem);
  line-height: 1.12;
  text-shadow: none;
}

.difference-item:nth-child(1) strong {
  font-size: clamp(1.18rem, 1.32vw, 1.42rem);
  max-width: 14.5ch;
}

.difference-item:nth-child(2) strong,
.difference-item:nth-child(3) strong {
  font-size: clamp(1.18rem, 1.32vw, 1.42rem);
}

.difference-item:nth-child(4) strong {
  font-size: clamp(1.18rem, 1.32vw, 1.42rem);
  max-width: 14.5ch;
}

body[data-theme="light"] .difference-panel {
  background: transparent;
}

body[data-theme="light"] .difference-grid,
body[data-theme="light"] .difference-item {
  background: transparent;
  box-shadow: none;
}

body[data-theme="light"] .difference-icon {
  color: #00b874;
  filter:
    drop-shadow(0 0 8px rgba(0, 184, 116, 0.24))
    drop-shadow(0 0 18px rgba(0, 184, 116, 0.12));
}

body[data-theme="light"] .difference-item strong {
  color: #08231b;
}

.section {
  padding: 4rem 0 1rem;
}

.section-alt {
  padding-top: 4.2rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 66ch;
}

.trust-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
}

.trust-shell p {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
}

.trust-shell ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-shell li {
  padding: 0.45rem 0.8rem;
  color: var(--text);
  border: 1px solid rgba(163, 255, 221, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(40, 247, 168, 0.08);
  font-weight: 700;
}

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

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

.split-shell,
.about-shell,
.cta-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body[data-theme="light"] .cta-shell {
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 184, 116, 0.1), transparent 18rem),
    linear-gradient(135deg, rgba(0, 184, 116, 0.14), rgba(255, 255, 255, 0.88) 42%);
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 62px;
  height: 34px;
  padding: 3px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(239, 255, 248, 0.46);
  box-shadow: none;
  outline: none;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease;
}

body[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="light"] .theme-toggle::before {
  transform: translateX(28px);
}

.theme-toggle span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1;
}

.story-list,
.insights-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card,
.insight-card {
  display: flex;
  flex-direction: column;
}

.story-tag,
.insight-card > p:first-child {
  color: var(--brand);
  font-weight: 800;
}

.story-card a {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.case-summary-card ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  margin: 1rem 0 1.3rem;
  color: var(--muted);
}

.case-summary-card {
  min-width: 0;
}

.case-study-grid:has(.case-visual-card) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 1.55rem);
  align-items: stretch;
}

.case-visual-card {
  grid-column: span 2;
  padding: 0;
  min-height: 100%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.075), transparent 12rem),
    rgba(9, 31, 25, 0.62);
}

/* .case-visual-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.case-visual-card:nth-last-child(1) {
  grid-column: 4 / span 2;
} */

.case-visual-card::before {
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(40, 247, 168, 0.08), transparent 42%),
    radial-gradient(circle at 50% 0%, rgba(239, 255, 248, 0.1), transparent 12rem);
}

.case-card-media {
  position: relative;
  display: block;
  min-height: clamp(190px, 16vw, 245px);
  margin: 0;
  overflow: hidden;
  border-radius: 28px 28px 18px 18px;
  color: inherit;
  isolation: isolate;
}

.case-card-media::before,
.case-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.case-card-media::before {
  background:
    linear-gradient(180deg, rgba(1, 12, 10, 0.04), rgba(1, 12, 10, 0.68)),
    radial-gradient(circle at 20% 8%, rgba(40, 247, 168, 0.22), transparent 12rem);
}

.case-card-media::after {
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(1, 12, 10, 0.84));
}

.case-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(0.84) contrast(1.04);
  transition: transform 520ms cubic-bezier(.22,1,.36,1), filter 520ms ease;
}

.case-card-logo {
  position: absolute;
  left: 1.15rem;
  bottom: 1.1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(58%, 190px);
  min-height: 74px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 252, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.case-card-logo-wide {
  width: min(72%, 250px);
}

.case-card-logo img {
  display: block;
  width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.case-card-logo-wide img {
  max-height: 62px;
}

.case-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.3rem, 2vw, 1.75rem);
}

.case-visual-card .story-tag {
  margin: 0 0 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-visual-card h3 {
  margin: 0;
  font-size: clamp(1.38rem, 1.75vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.case-visual-card p:not(.story-tag) {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.case-visual-card ul {
  margin: 1.15rem 0 1.4rem;
}

.case-visual-card li {
  line-height: 1.45;
}

.case-visual-card .case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: auto;
  text-decoration: none;
  transition: gap 180ms ease, color 180ms ease;
}

.case-visual-card:hover .case-card-bg,
.case-visual-card:focus-within .case-card-bg {
  transform: scale(1.07);
  filter: saturate(1.02) contrast(1.08);
}

.case-visual-card:hover .case-card-logo,
.case-visual-card:focus-within .case-card-logo {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.case-visual-card:hover .case-card-link,
.case-visual-card:focus-within .case-card-link {
  gap: 0.75rem;
}

body[data-theme="light"] .case-visual-card {
  border-color: rgba(24, 67, 54, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.055), transparent 12rem),
    rgba(255, 255, 252, 0.9);
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.1);
}

@media (max-width: 1080px) {
  .case-study-grid:has(.case-visual-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-visual-card,
  .case-visual-card:nth-last-child(2),
  .case-visual-card:nth-last-child(1) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .case-study-grid:has(.case-visual-card) {
    grid-template-columns: 1fr;
  }
}

.case-study-detail {
  padding-bottom: 4rem;
}

.case-study-hero {
  overflow: hidden;
}

body:not(.home-page) .case-study-hero {
  background:
    linear-gradient(90deg, rgba(174, 212, 198, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 24% 30%, rgba(40, 247, 168, 0.12), transparent 26rem),
    linear-gradient(180deg, #0a1d18 0%, #020807 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.case-study-hero-shell {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.case-study-hero-copy {
  position: absolute;
  z-index: 3;
  left: clamp(2rem, 5vw, 5rem);
  right: clamp(2rem, 16vw, 16rem);
  bottom: clamp(2rem, 6vw, 5rem);
  max-width: 840px;
  color: #effff8;
}

.case-study-hero-copy h1 {
  max-width: 13ch;
  text-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.42);
}

body:not(.home-page) .case-study-hero h1 {
  font-size: clamp(3.5rem, 6.4vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.case-study-hero .eyebrow {
  text-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.34);
}

.case-study-hero .page-intro {
  max-width: 64ch;
  color: rgba(239, 255, 248, 0.84);
  text-shadow: 0 0.7rem 1.7rem rgba(0, 0, 0, 0.42);
}

.case-study-hero-visual {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  /* border-radius: clamp(2rem, 3vw, 3.4rem); */
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 2.2rem 6.5rem rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(239, 255, 248, 0.12);
}

.case-study-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(2, 8, 7, 0.72) 0%, rgba(2, 8, 7, 0.42) 38%, rgba(2, 8, 7, 0.1) 72%),
    linear-gradient(180deg, rgba(2, 8, 7, 0.08) 0%, rgba(2, 8, 7, 0.28) 56%, rgba(2, 8, 7, 0.72) 100%),
    radial-gradient(circle at 18% 76%, rgba(40, 247, 168, 0.24), transparent 24rem);
  pointer-events: none;
}

.case-study-hero-visual::after {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 1;
  border: 1px solid rgba(239, 255, 248, 0.2);
  border-radius: calc(clamp(2rem, 3vw, 3.4rem) - 0.8rem);
  pointer-events: none;
}

.case-study-hero-bg {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(0.94) contrast(1.04);
}

.case-study-hero-logo {
  position: absolute;
  z-index: 2;
  top: clamp(1.6rem, 3vw, 3rem);
  left: clamp(1.6rem, 3vw, 3rem);
  display: grid;
  place-items: center;
  width: clamp(8rem, 12vw, 12rem);
  min-height: clamp(5.6rem, 7vw, 7.3rem);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.25rem;
  background: rgb(54 54 54 / 94%);
  opacity: 0.3;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.24);
}

.case-study-hero-logo--wide {
  width: clamp(13rem, 19vw, 18rem);
}

.case-study-hero-logo img {
  width: 100%;
  max-height: clamp(3.6rem, 5vw, 5rem);
  object-fit: contain;
}

.case-study-hero--surf .case-study-hero-logo img {
  max-height: 4.8rem;
}

.case-study-hero--civtec .case-study-hero-bg,
.case-study-hero--generation .case-study-hero-bg {
  object-position: center;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.case-study-facts,
.case-study-content,
.case-study-results,
.case-study-quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.case-study-facts {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.case-study-facts dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.case-study-facts dt {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-study-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.case-study-content {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.case-study-content h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.case-study-content section + section {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.case-study-content p,
.case-study-content li,
.case-study-quote {
  color: var(--muted);
}

.case-study-content ul,
.case-study-results ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
}

.case-study-results {
  padding: 1.2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.12), transparent 14rem),
    var(--surface);
}

.case-study-quote {
  margin: 0;
  padding: 1.2rem;
  color: var(--text);
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.32;
}

.case-study-quote cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--brand);
  font-family: Aptos, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  font-style: normal;
}

.about-shell,
.cta-shell {
  padding: 1.4rem;
  border-radius: var(--radius);
}

.cta-section {
  padding-bottom: 4rem;
}

.cta-shell {
  background:
    radial-gradient(circle at 78% 12%, rgba(40, 247, 168, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(40, 247, 168, 0.1), rgba(10, 28, 24, 0.92) 42%);
}

.site-footer {
  width: 100%;
  padding: 0;
  --text: #effff8;
  --muted: #9ab8ad;
  --line: rgba(174, 212, 198, 0.14);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 45%, rgba(40, 247, 168, 0.05), transparent 20rem),
    rgba(1, 8, 7, 0.86);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(163, 255, 221, 0.06);
  scroll-snap-align: start;
}

body[data-theme="light"] .site-footer {
  background:
    radial-gradient(circle at 12% 45%, rgba(40, 247, 168, 0.05), transparent 20rem),
    rgba(1, 8, 7, 0.9);
}

.footer-shell {
  display: grid;
  grid-template-columns: auto auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.2rem);
  width: 100%;
  max-width: none;
  padding: 1.25rem clamp(1rem, 3vw, 3.25rem);
  margin: 0;
}

.footer-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
}

.footer-logo {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(40, 247, 168, 0.1));
}

.footer-ms-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.42rem;
  row-gap: 0.42rem;
  align-items: center;
  min-width: 164px;
  color: var(--text);
  filter: none;
  line-height: 1.06;
}

.footer-ms-badge .ms-window {
  grid-template-columns: repeat(2, 0.56rem);
  grid-template-rows: repeat(2, 0.56rem);
  grid-row: 1;
  margin-top: 0;
}

.footer-ms-badge .ms-partner-copy {
  display: contents;
}

.footer-ms-badge .ms-partner-copy strong {
  grid-column: 2;
  color: rgba(239, 255, 248, 0.96);
  font-weight: 700;
  line-height: 1.04;
}

.footer-ms-badge .ms-partner-copy strong span:first-child {
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-ms-badge .ms-partner-copy strong span:last-child {
  font-size: 0.68rem;
  font-weight: 650;
}

.footer-ms-badge .ms-partner-copy small {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  color: rgba(154, 184, 173, 0.82);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

.footer-version {
  display: inline-block;
  margin-top: 0.62rem;
  padding: 0.28rem 0.58rem;
  color: rgba(239, 255, 248, 0.78);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
  border: 1px solid rgba(239, 255, 248, 0.16);
  border-radius: 999px;
  background: rgba(239, 255, 248, 0.055);
}

.footer-copy {
  max-width: 560px;
}

.footer-copy strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 850;
}

.footer-copy p {
  max-width: 54ch;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  justify-self: end;
  width: max-content;
  min-width: 0;
  min-height: 50px;
  padding: 0.85rem 0.95rem;
  color: var(--text);
  border: 1px solid rgba(163, 255, 221, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  border-color: rgba(239, 255, 248, 0.48);
  background: rgba(239, 255, 248, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.page-hero {
  position: relative;
  padding: 5rem 0 2.5rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 18%, rgba(40, 247, 168, 0.08), transparent 22rem),
    radial-gradient(circle at 18% 68%, rgba(124, 207, 213, 0.06), transparent 20rem);
}

.page-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.page-intro {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.services-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.services-hero::before,
.services-hero::after {
  content: none;
}

.services-hero::before {
  content: "O";
  --service-letter-rotate: -8deg;
  left: max(-10rem, -8vw);
  top: 5%;
  transform: rotate(var(--service-letter-rotate));
}

.services-hero::after {
  content: "A";
  --service-letter-rotate: 7deg;
  right: max(-8rem, -6vw);
  bottom: -10%;
  animation-delay: -2.8s;
  transform: rotate(var(--service-letter-rotate));
}

.services-hero-shell {
  grid-template-columns: minmax(0, 0.56fr) minmax(620px, 1.24fr);
  align-items: center;
  gap: clamp(2rem, 5.5vw, 5rem);
  min-width: 0;
}

.services-hero-copy {
  max-width: 500px;
}

.services-hero-copy h1,
.services-hero-copy h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.service-button-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.service-button {
  position: relative;
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  min-height: 118px;
  padding: 1.1rem;
  color: var(--text);
  border: 1px solid rgba(174, 212, 198, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.12), transparent 11rem),
    rgba(8, 24, 21, 0.7);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: serviceButtonIn 640ms ease forwards;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.service-button:nth-child(2) {
  animation-delay: 90ms;
}

.service-button:nth-child(3) {
  animation-delay: 180ms;
}

.service-button:nth-child(4) {
  animation-delay: 270ms;
}

.service-button:nth-child(5) {
  animation-delay: 360ms;
}

.service-button:nth-child(6) {
  animation-delay: 450ms;
}

.service-button::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.34;
  transform: rotate(45deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-button:hover,
.service-button:focus-visible {
  border-color: rgba(239, 255, 248, 0.44);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.18), transparent 11rem),
    rgba(10, 34, 29, 0.82);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34), 0 0 26px rgba(40, 247, 168, 0.08);
  outline: none;
  transform: translateY(-4px);
}

.service-button:hover::after,
.service-button:focus-visible::after {
  opacity: 0.8;
  transform: translate(3px, -3px) rotate(45deg);
}

.service-button-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--brand);
  filter: drop-shadow(0 0 12px rgba(40, 247, 168, 0.2));
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
}

.service-button-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-button-icon i {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 2rem;
  line-height: 1;
}

.service-button:hover .service-button-icon,
.service-button:focus-visible .service-button-icon {
  color: #7cffca;
  filter: drop-shadow(0 0 16px rgba(40, 247, 168, 0.34));
  transform: translateY(-2px) scale(1.05);
}

.service-button > span:last-child,
.service-button::after {
  transition: transform 220ms ease, opacity 220ms ease, color 220ms ease;
}

.service-button:hover > span:last-child,
.service-button:focus-visible > span:last-child {
  transform: translateX(0.18rem);
}

.service-button small,
.service-button strong {
  display: block;
}

.service-button > span:last-child {
  min-width: 0;
}

.service-button small {
  margin-bottom: 0.45rem;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.service-button strong {
  max-width: none;
  padding-right: 1rem;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(1.16rem, 1.25vw, 1.32rem);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
}

body[data-theme="light"] .service-button {
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.075), transparent 10rem),
    rgba(255, 255, 252, 0.88);
  box-shadow: 0 16px 38px rgba(31, 55, 47, 0.09);
}

body[data-theme="light"] .service-button:hover,
body[data-theme="light"] .service-button:focus-visible {
  color: #102b23;
  border-color: rgba(8, 123, 83, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.12), transparent 10rem),
    linear-gradient(135deg, rgba(255, 255, 252, 0.96), rgba(237, 244, 237, 0.92));
  box-shadow: 0 22px 50px rgba(31, 55, 47, 0.14), 0 0 0 1px rgba(8, 123, 83, 0.08);
}

body[data-theme="light"] .service-button:hover .service-button-icon,
body[data-theme="light"] .service-button:focus-visible .service-button-icon {
  color: #087b53;
  filter: drop-shadow(0 8px 14px rgba(8, 123, 83, 0.16));
}

.capability-hero {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.capability-hero-shell {
  max-width: 980px;
  min-width: 0;
}

.capability-hero h1 {
  max-width: 12ch;
  overflow-wrap: normal;
}

.capability-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-width: 0;
}

.capability-copy-block p:last-child,
.capability-section-heading p,
.capability-card p,
.platform-card p,
.benefit-strip p {
  color: var(--muted);
}

.capability-copy-block p:last-child {
  max-width: 56ch;
  margin-top: 1rem;
}

.ecosystem-map,
.capability-card,
.platform-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.ecosystem-map {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.ecosystem-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.product-chip {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-width: 0;
  min-height: 96px;
  padding: 0.85rem 0.65rem;
  color: var(--text);
  text-align: center;
  border: 1px solid rgba(163, 255, 221, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.platform-layer {
  padding: 1rem;
  border: 1px solid rgba(163, 255, 221, 0.1);
  border-radius: var(--radius);
  background: rgba(239, 255, 248, 0.045);
}

.dataverse-layer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 72px;
  color: #effff8;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(40, 247, 168, 0.22), transparent 12rem),
    linear-gradient(135deg, #073b2d, #052354 76%);
  font-weight: 900;
}

.product-icon {
  position: relative;
  display: inline-block;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  border-radius: 12px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2));
}

.product-icon::before,
.product-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.microsoft-product-icon {
  display: grid;
  place-items: center;
  padding: 0.34rem;
  overflow: visible;
  border: 1px solid rgba(163, 255, 221, 0.12);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.18), transparent 62%),
    rgba(255, 255, 255, 0.075);
  box-shadow:
    0 12px 18px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: none;
  clip-path: none;
}

.microsoft-product-icon::before,
.microsoft-product-icon::after {
  display: none;
}

.microsoft-product-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.dataverse-product-icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 14px;
}

.icon-sales {
  border-radius: 50% 50% 50% 18%;
  background: conic-gradient(from 90deg, #1686ff, #0e62ff 42%, #2ee6d6 42% 75%, #d9f6ff 75%);
}

.icon-service {
  background: linear-gradient(135deg, #f5a0ff, #8b39d8 58%, #5a218f);
  transform: rotate(45deg);
  border-radius: 12px 12px 4px 12px;
}

.icon-service::after {
  inset: 24% 0 auto 24%;
  width: 72%;
  height: 72%;
  background: rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.icon-field {
  background: linear-gradient(135deg, #ffce32, #ff9f00);
  clip-path: polygon(26% 0, 74% 0, 100% 50%, 74% 100%, 26% 100%, 0 50%);
}

.icon-field::after {
  inset: 24%;
  background: rgba(255, 255, 255, 0.24);
  clip-path: inherit;
}

.icon-insights {
  border-radius: 50%;
  background:
    radial-gradient(circle at 66% 34%, #49f0ef 0 22%, transparent 23%),
    radial-gradient(circle at 36% 62%, #243fc8 0 28%, transparent 29%),
    linear-gradient(135deg, #63f4e6, #1074d8 64%, #07195f);
}

.icon-apps {
  background: linear-gradient(135deg, #f060d2, #9c2abc 58%, #6b1f95);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.icon-automate {
  background: linear-gradient(135deg, #48b9ff, #1c68ec 58%, #0d2da6);
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%, 30% 50%);
}

.icon-pages {
  background: linear-gradient(135deg, #c5b9ff, #7769ff 54%, #5441ca);
  transform: rotate(45deg);
}

.icon-bi {
  border-radius: 6px;
  background:
    linear-gradient(180deg, #ffd95c, #ff9f00) 18% 78% / 20% 48% no-repeat,
    linear-gradient(180deg, #ffd95c, #ff9f00) 50% 62% / 20% 66% no-repeat,
    linear-gradient(180deg, #ffd95c, #ff9f00) 82% 48% / 20% 84% no-repeat;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.18));
}

.icon-bi::before,
.icon-bi::after {
  display: none;
}

.icon-dataverse {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 48%, #0bbf75 0 34%, transparent 35%),
    radial-gradient(circle at 62% 48%, #76df69 0 35%, transparent 36%),
    linear-gradient(135deg, #0d6a51, #0db06e);
}

.icon-copilot {
  background:
    radial-gradient(circle at 28% 34%, #13d1d1 0 28%, transparent 29%),
    radial-gradient(circle at 72% 58%, #1e9cf0 0 32%, transparent 33%),
    linear-gradient(135deg, #01c2d1, #1463dc);
}

.capability-section-heading {
  margin-bottom: 1.4rem;
}

.capability-section-heading.wide {
  max-width: 860px;
}

.capability-section-heading h2 {
  max-width: 18ch;
}

.capability-section-heading.wide h2 {
  max-width: 22ch;
}

.capability-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.capability-card {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  min-width: 0;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover {
  border-color: rgba(239, 255, 248, 0.32);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34), 0 0 26px rgba(40, 247, 168, 0.06);
  transform: translateY(-3px);
}

.capability-card .eyebrow {
  margin-bottom: 0.35rem;
}

.capability-card h3,
.platform-card h3,
.benefit-strip h3 {
  margin-bottom: 0.35rem;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.capability-tags span {
  padding: 0.26rem 0.55rem;
  color: var(--muted);
  border: 1px solid rgba(163, 255, 221, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 750;
}

.platform-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.platform-card {
  padding: 1rem;
}

.platform-card .product-icon {
  margin-bottom: 0.85rem;
}

.capability-industry-section,
.capability-trusted-section {
  position: relative;
  overflow: hidden;
}

.capability-industry-section::before,
.capability-trusted-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 22%, rgba(40, 247, 168, 0.08), transparent 24rem),
    radial-gradient(circle at 84% 58%, rgba(124, 207, 213, 0.05), transparent 22rem);
}

.capability-industry-section .shell,
.capability-trusted-section .shell {
  position: relative;
  z-index: 1;
}

.industry-tabs {
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.6vw, 1.6rem);
  align-items: stretch;
  min-width: 0;
}

.industry-tab-list,
.industry-tab-panels,
.industry-panel,
.trusted-logo,
.business-value-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.industry-tab-list {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 0.75rem;
}

.industry-tab {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0.9rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 6px);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.industry-tab i {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--brand);
  border-radius: 50%;
  background: rgba(40, 247, 168, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.industry-tab:hover,
.industry-tab:focus-visible,
.industry-tab.is-active {
  color: var(--text);
  border-color: rgba(40, 247, 168, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.1), transparent 8rem),
    rgba(239, 255, 248, 0.055);
  outline: none;
  transform: translateY(-2px);
}

.industry-tab:hover i,
.industry-tab:focus-visible i,
.industry-tab.is-active i {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 22px rgba(40, 247, 168, 0.14);
}

.industry-tab-panels {
  min-width: 0;
  overflow: hidden;
}

.industry-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 100%;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 0;
  background:
    linear-gradient(135deg, rgba(239, 255, 248, 0.055), transparent 46%),
    transparent;
}

.industry-panel[hidden] {
  display: none;
}

.industry-panel h3 {
  max-width: 16ch;
  margin-bottom: 0.85rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.industry-panel p {
  max-width: 58ch;
  color: var(--muted);
}

.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.industry-detail-grid div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(163, 255, 221, 0.12);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.04);
}

.industry-detail-grid dt {
  margin-bottom: 0.65rem;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.industry-detail-grid dd {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-weight: 800;
}

.trusted-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.trusted-logo {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 1rem;
  overflow: hidden;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.trusted-logo img {
  width: min(88%, 190px);
  max-height: 62px;
  object-fit: contain;
  opacity: 0.58;
  filter: grayscale(1) saturate(0) brightness(1.25);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.trusted-logo-wide img {
  width: min(94%, 230px);
  max-height: 76px;
}

.trusted-logo:hover,
.trusted-logo:focus-within {
  border-color: rgba(40, 247, 168, 0.3);
  background:
    radial-gradient(circle at 80% 10%, rgba(40, 247, 168, 0.1), transparent 9rem),
    var(--surface);
  transform: translateY(-3px);
}

.trusted-logo:hover img,
.trusted-logo:focus-within img {
  opacity: 1;
  filter: grayscale(0) saturate(1.08) brightness(1);
  transform: scale(1.06);
}

.business-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.business-value-grid article {
  position: relative;
  min-width: 0;
  padding: 1.1rem;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.business-value-grid article::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.business-value-grid i {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.85rem;
  color: var(--brand);
  border-radius: 50%;
  background: rgba(40, 247, 168, 0.09);
  font-size: 1rem;
}

.business-value-grid h3 {
  margin-bottom: 0.35rem;
}

.business-value-grid p {
  color: var(--muted);
}

.business-value-grid article:hover {
  border-color: rgba(40, 247, 168, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.08), transparent 8rem),
    var(--surface);
  transform: translateY(-3px);
}

.business-value-grid article:hover::before {
  opacity: 0.9;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.benefit-strip article {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.8rem;
  padding-right: 1rem;
}

.benefit-strip article + article {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.benefit-strip span {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  color: #022016;
  border-radius: 50%;
  background: var(--brand);
  font-weight: 900;
  line-height: 1;
}

.capability-cta {
  background:
    linear-gradient(135deg, rgba(3, 35, 79, 0.94), rgba(2, 12, 10, 0.92)),
    radial-gradient(circle at 90% 12%, rgba(40, 247, 168, 0.16), transparent 18rem);
}

body[data-theme="light"] .ecosystem-map,
body[data-theme="light"] .capability-card,
body[data-theme="light"] .platform-card {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(0, 55, 40, 0.1);
}

body[data-theme="light"] .microsoft-product-icon {
  border-color: rgba(24, 67, 54, 0.1);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.9), transparent 62%),
    rgba(255, 255, 252, 0.72);
  box-shadow:
    0 10px 24px rgba(31, 55, 47, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

body[data-theme="light"] .industry-tab-list,
body[data-theme="light"] .industry-tab-panels,
body[data-theme="light"] .trusted-logo,
body[data-theme="light"] .business-value-grid article {
  border-color: rgba(24, 67, 54, 0.12);
  background: rgba(255, 255, 252, 0.82);
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.08);
}

body[data-theme="light"] .industry-panel {
  background:
    linear-gradient(135deg, rgba(8, 123, 83, 0.05), transparent 46%),
    transparent;
}

body[data-theme="light"] .industry-tab:hover,
body[data-theme="light"] .industry-tab:focus-visible,
body[data-theme="light"] .industry-tab.is-active {
  border-color: rgba(8, 123, 83, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.08), transparent 8rem),
    rgba(8, 123, 83, 0.045);
}

body[data-theme="light"] .industry-detail-grid div {
  border-color: rgba(24, 67, 54, 0.12);
  background: rgba(255, 255, 252, 0.66);
}

body[data-theme="light"] .trusted-logo img {
  opacity: 0.68;
  filter: grayscale(1) saturate(0) brightness(0.35);
}

body[data-theme="light"] .trusted-logo:hover img,
body[data-theme="light"] .trusted-logo:focus-within img {
  opacity: 1;
  filter: grayscale(0) saturate(1.04) brightness(1);
}

body[data-theme="light"] .trusted-logo-invert-light img {
  filter: grayscale(1) saturate(0) brightness(0.42);
}

body[data-theme="light"] .trusted-logo:hover,
body[data-theme="light"] .trusted-logo:focus-within,
body[data-theme="light"] .business-value-grid article:hover {
  border-color: rgba(8, 123, 83, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.06), transparent 9rem),
    rgba(255, 255, 252, 0.92);
}

.implementation-page {
  background:
    radial-gradient(circle at 82% 14%, rgba(40, 247, 168, 0.11), transparent 28rem),
    radial-gradient(circle at 12% 34%, rgba(124, 207, 213, 0.055), transparent 22rem),
    linear-gradient(180deg, #061210 0%, #020807 48%, #000302 100%);
}

.implementation-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 7vw, 6.8rem) 0 clamp(4rem, 7vw, 6rem);
}

.implementation-hero::before {
  background:
    radial-gradient(circle at 74% 32%, rgba(40, 247, 168, 0.13), transparent 24rem),
    linear-gradient(115deg, transparent 0 42%, rgba(239, 255, 248, 0.045) 48%, transparent 56%),
    radial-gradient(circle at 18% 86%, rgba(124, 207, 213, 0.055), transparent 26rem);
}

.implementation-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.implementation-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.7vw, 5.9rem);
}

.implementation-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  isolation: isolate;
}

.implementation-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 3% 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 46%, rgba(40, 247, 168, 0.12) 46.3% 46.8%, transparent 47.1% 69%, rgba(124, 207, 213, 0.22) 69.2% 69.8%, transparent 70.1%),
    radial-gradient(circle, transparent 0 45%, rgba(40, 247, 168, 0.055) 48%, transparent 72%);
  -webkit-mask: linear-gradient(130deg, transparent 0 10%, #000 23% 82%, transparent 96%);
  mask: linear-gradient(130deg, transparent 0 10%, #000 23% 82%, transparent 96%);
  opacity: 0.72;
  animation: implementationBreath 7s ease-in-out infinite;
}

.implementation-visual::after {
  content: "";
  position: absolute;
  inset: 12% 2% 5% 12%;
  border: 1px solid rgba(163, 255, 221, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(239, 255, 248, 0.06), transparent 38%),
    rgba(239, 255, 248, 0.025);
  transform: rotate(-4deg);
}

.implementation-blueprint {
  position: absolute;
  z-index: 1;
  left: 8%;
  top: 12%;
  width: min(480px, 78%);
  overflow: hidden;
  border: 1px solid rgba(163, 255, 221, 0.16);
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 255, 248, 0.1), transparent 11rem),
    linear-gradient(135deg, rgba(14, 55, 47, 0.84), rgba(4, 18, 16, 0.78));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.blueprint-toolbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(163, 255, 221, 0.12);
}

.blueprint-toolbar span {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(40, 247, 168, 0.32);
}

.blueprint-toolbar strong,
.blueprint-record strong {
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 284px;
}

.blueprint-rail {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1rem;
  border-right: 1px solid rgba(163, 255, 221, 0.1);
}

.blueprint-rail span {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  color: rgba(239, 255, 248, 0.74);
  background: rgba(239, 255, 248, 0.055);
  font-size: 0.78rem;
  font-weight: 800;
}

.blueprint-main {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.blueprint-record,
.blueprint-process {
  padding: 1rem;
  border: 1px solid rgba(163, 255, 221, 0.1);
  border-radius: 16px;
  background: rgba(239, 255, 248, 0.045);
}

.blueprint-record span,
.blueprint-process span,
.implementation-card span,
.implementation-step span,
.blueprint-chip span {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blueprint-record strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.1;
}

.blueprint-record i {
  display: block;
  width: 100%;
  height: 0.52rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 255, 248, 0.26), rgba(239, 255, 248, 0.06));
}

.blueprint-record i:nth-of-type(2) {
  width: 76%;
}

.blueprint-record i:nth-of-type(3) {
  width: 54%;
}

.blueprint-process div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.blueprint-process i {
  display: block;
  height: 2.35rem;
  border: 1px solid rgba(40, 247, 168, 0.22);
  border-radius: 12px;
  background: rgba(40, 247, 168, 0.07);
}

.blueprint-chip {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 134px;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(40, 247, 168, 0.2);
  border-radius: 999px;
  background: rgba(2, 18, 15, 0.78);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24), 0 0 24px rgba(40, 247, 168, 0.06);
  backdrop-filter: blur(16px);
}

.blueprint-chip::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 72px;
  background: linear-gradient(rgba(40, 247, 168, 0.34), transparent);
}

.chip-data {
  right: 4%;
  top: 16%;
}

.chip-data::before {
  left: 14%;
  top: 100%;
  transform: rotate(44deg);
}

.chip-security {
  right: 0;
  bottom: 20%;
}

.chip-security::before {
  right: 82%;
  bottom: 76%;
  transform: rotate(-62deg);
}

.chip-flow {
  left: 0;
  bottom: 8%;
}

.chip-flow::before {
  left: 74%;
  bottom: 86%;
  transform: rotate(52deg);
}

.implementation-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.implementation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(40, 247, 168, 0.06), transparent 22rem),
    radial-gradient(circle at 72% 75%, rgba(124, 207, 213, 0.045), transparent 24rem);
}

.implementation-canvas,
.implementation-flow-section .shell,
.outcome-shell {
  position: relative;
  z-index: 1;
}

.implementation-section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.implementation-section-heading h2 {
  max-width: 15ch;
}

.implementation-section-heading p:last-child {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.implementation-approach-heading {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.implementation-approach-heading h2 {
  max-width: none;
}

.implementation-approach-heading p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.implementation-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 1rem;
}

/* Continuous Improvement Hero Styles */
.improvement-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 7vw, 6.8rem) 0 clamp(4rem, 7vw, 6rem);
}

.improvement-hero::before {
  background:
    radial-gradient(circle at 68% 28%, rgba(40, 247, 168, 0.12), transparent 26rem),
    linear-gradient(125deg, transparent 0 38%, rgba(239, 255, 248, 0.04) 46%, transparent 54%),
    radial-gradient(circle at 22% 88%, rgba(124, 207, 213, 0.05), transparent 28rem);
}

.improvement-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.improvement-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.7vw, 5.9rem);
}

.improvement-visual {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  isolation: isolate;
}

.improvement-cycle {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.cycle-track {
  position: absolute;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.cycle-track svg {
  position: absolute;
  width: clamp(280px, 70%, 400px);
  height: clamp(280px, 70%, 400px);
  animation: rotateGlow 20s linear infinite reverse;
}

.cycle-center {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: centerPulse 3s ease-in-out infinite;
}

.cycle-center strong {
  display: block;
  font-size: 1.3rem;
  color: var(--brand);
  margin-bottom: 0.4rem;
  transition: all 0.3s ease;
}

.cycle-center small {
  font-size: 0.9rem;
  color: var(--muted);
}

.cycle-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.cycle-item:hover {
  transform: scale(1.2);
}

.cycle-item:hover .cycle-number {
  background: rgba(40, 247, 168, 0.25);
  box-shadow: 0 0 25px rgba(40, 247, 168, 0.5);
  border-color: rgba(40, 247, 168, 0.7);
  animation: stepGlow 0.8s ease-in-out infinite;
}

.cycle-item:hover .cycle-label {
  color: var(--brand);
  font-weight: 900;
  transform: translateY(-2px);
}

.cycle-item svg {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--brand);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 0 rgba(40, 247, 168, 0.4));
}

.cycle-item:hover svg {
  filter: drop-shadow(0 0 12px rgba(40, 247, 168, 0.7));
}

.cycle-number {
  display: inline-block;
  width: 2.2rem;
  height: 2.2rem;
  line-height: 2.2rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  border: 1px solid rgba(40, 247, 168, 0.3);
  border-radius: 50%;
  background: rgba(40, 247, 168, 0.08);
  transition: all 0.3s ease;
}

.cycle-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cycle-listen {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.cycle-analyze {
  top: 28%;
  right: 12%;
  transform: translateX(-50%);
}

.cycle-improve {
  bottom: 12%;
  right: 18%;
  transform: translateX(-50%);
}

.cycle-deliver {
  bottom: 18%;
  left: 12%;
  transform: translateX(-50%);
}

.cycle-arrows {
  position: absolute;
  width: clamp(280px, 70%, 400px);
  height: clamp(280px, 70%, 400px);
  animation: flowPulse 4s ease-in-out infinite;
}

.arrow-path {
  stroke-dasharray: 200;
  animation: pathStroke 3s ease-in-out infinite;
}

.arrow-path {
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.3));
  animation: arrowFlow 3s ease-in-out infinite;
}

/* Migration Hero Styles */
.migration-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 7vw, 6.8rem) 0 clamp(4rem, 7vw, 6rem);
}

.migration-hero::before {
  background:
    radial-gradient(circle at 72% 25%, rgba(40, 247, 168, 0.11), transparent 28rem),
    linear-gradient(110deg, transparent 0 40%, rgba(239, 255, 248, 0.035) 50%, transparent 60%),
    radial-gradient(circle at 16% 92%, rgba(124, 207, 213, 0.04), transparent 30rem);
}

.migration-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.migration-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.7vw, 5.9rem);
}

.migration-visual {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  isolation: isolate;
}

.migration-diagram {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
  max-width: 380px;
}

.migration-source,
.migration-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.migration-source strong,
.migration-target strong {
  font-size: 1.1rem;
  color: var(--text);
}

.migration-source small,
.migration-target small {
  font-size: 0.85rem;
  color: var(--muted);
}

.migration-server-icon,
.migration-cloud-icon {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(40, 247, 168, 0.2);
  border-radius: 14px;
  background: rgba(40, 247, 168, 0.08);
}

.migration-server-icon svg,
.migration-cloud-icon svg {
  width: 70%;
  height: 70%;
  color: var(--brand);
}

.migration-server-icon i,
.migration-cloud-icon i {
  display: grid;
  place-items: center;
  width: 70%;
  height: 70%;
  color: var(--brand);
  font-size: 2.35rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(40, 247, 168, 0.24));
}

.migration-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.migration-arrow {
  width: 100%;
  height: 80px;
}

.pulse-arrow {
  filter: drop-shadow(0 0 6px rgba(40, 247, 168, 0.4));
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: arrowFlow 2.8s linear infinite, pulsePath 3s ease-in-out infinite;
}

.migration-steps-indicator {
  display: flex;
  gap: 0.4rem;
}

.step-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(40, 247, 168, 0.3);
  font-size: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

.migration-dot {
  filter: drop-shadow(0 0 8px rgba(40,247,168,0.9));
}

.migration-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  width: 100%;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid rgba(40, 247, 168, 0.15);
  border-radius: 12px;
  background: rgba(40, 247, 168, 0.05);
}

.benefit-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--brand);
  stroke-width: 1.5;
}

.benefit-item i {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--brand);
  font-size: 1.85rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(40, 247, 168, 0.2));
}

.benefit-item small {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Support Hero Styles */
.support-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 7vw, 6.8rem) 0 clamp(4rem, 7vw, 6rem);
}

.support-hero::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(40, 247, 168, 0.1), transparent 26rem),
    linear-gradient(120deg, transparent 0 42%, rgba(239, 255, 248, 0.03) 52%, transparent 62%),
    radial-gradient(circle at 20% 85%, rgba(124, 207, 213, 0.045), transparent 28rem);
}

.support-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.support-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.7vw, 5.9rem);
}

.support-visual {
  position: relative;
  display: grid;
  min-height: 580px;
  place-items: center;
  isolation: isolate;
}

.support-workflow {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  min-height: 550px;
}

.support-center-glow {
  position: absolute;
  width: clamp(240px, 50%, 360px);
  height: clamp(240px, 50%, 360px);
  opacity: 0.6;
  animation: flowPulse 4s ease-in-out infinite;
}

.support-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
  text-align: center;
  animation: centerPulse 3.5s ease-in-out infinite;
}

.support-center-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: rgba(40, 247, 168, 0.15);
  border: 1px solid rgba(40, 247, 168, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.support-center-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.support-center strong {
  font-size: 1.1rem;
  color: var(--brand);
}

.support-center small {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.support-step-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  width: auto;
  min-width: 96px;
  max-width: 140px;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.28s ease, color 0.28s ease;
  z-index: 1;
}

.support-step-card:hover {
  transform: translateY(-6px);
}

.support-step-card .step-number {
  display: none;
}

.support-step-card .step-info strong {
  color: var(--text);
}

.step-number {
  display: none;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.step-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.step-info small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

.step-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: all 0.3s ease;
}

/* Position each step card around the circle */
.support-step-1 {
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
}

.support-step-2 {
  top: 8%;
  right: 2%;
  transform: translateX(0%);
}

.support-step-3 {
  top: 52%;
  right: 6%;
  transform: translateX(0%);
}

.support-step-4 {
  bottom: -6%;
  left: 50%;
  transform: translateX(-50%);
}

.support-step-5 {
  top: 52%;
  left: 6%;
  transform: translateX(0%);
}

.support-step-6 {
  top: 8%;
  left: 2%;
  transform: translateX(0%);
}

.support-flow-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.flow-connector {
  opacity: 0.2;
  transition: all 0.3s ease;
  animation: pathStroke 3.5s ease-in-out infinite;
}

.support-step-card:hover ~ .support-flow-lines .flow-connector {
  opacity: 0.4;
}

.feature-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid rgba(40, 247, 168, 0.15);
  border-radius: 12px;
  background: rgba(40, 247, 168, 0.04);
  text-align: center;
}

.feature-badge svg {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--brand);
  stroke-width: 1.5;
}

.feature-badge span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

/* Animations */
@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes arrowFlow {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

@keyframes pulsePath {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes flowDraw {
  0%, 100% { stroke-dasharray: 0, 1000; opacity: 0.3; }
  50% { stroke-dasharray: 1000, 1000; opacity: 1; }
}

@keyframes pathStroke {
  0% { stroke-dasharray: 0, 100; opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { stroke-dasharray: 100, 0; opacity: 0.2; }
}

@keyframes centerPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 247, 168, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(40, 247, 168, 0); }
}

@keyframes stepGlow {
  0%, 100% { background: rgba(40, 247, 168, 0.08); box-shadow: 0 0 0 0 rgba(40, 247, 168, 0.4); }
  50% { background: rgba(40, 247, 168, 0.15); box-shadow: 0 0 15px 0 rgba(40, 247, 168, 0.3); }
}

@keyframes dotPulse {
  0%, 100% { r: 2; fill-opacity: 0.4; }
  50% { r: 3.5; fill-opacity: 0.1; }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.implementation-benefits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.implementation-card {
  position: relative;
  min-height: 100%;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border: 1px solid rgba(163, 255, 221, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(239, 255, 248, 0.065), transparent 42%),
    rgba(8, 26, 23, 0.58);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.implementation-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 15rem;
  aspect-ratio: 1;
  border: 1px solid rgba(40, 247, 168, 0.13);
  border-radius: 50%;
}

.implementation-card-icon {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.2rem;
  color: var(--brand);
}

.implementation-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-icon {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 0.8rem;
  margin-bottom: 0.6rem;
  color: var(--brand);
  vertical-align: top;
}

.step-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.implementation-card h3,
.implementation-step h3 {
  margin-bottom: 0.55rem;
  color: var(--text);
}

.implementation-card p,
.implementation-step p,
.outcome-points p {
  margin: 0;
  color: var(--muted);
}

.card-large {
  grid-row: span 2;
  display: grid;
  align-content: end;
  min-height: 420px;
  background:
    radial-gradient(circle at 75% 22%, rgba(40, 247, 168, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(239, 255, 248, 0.08), transparent 48%),
    rgba(8, 26, 23, 0.6);
}

.implementation-flow-section {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.implementation-section-heading.compact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  max-width: none;
}

.implementation-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(163, 255, 221, 0.16);
}

.implementation-flow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 247, 168, 0.74), transparent);
  animation: lineScan 5.6s ease-in-out infinite;
}

.implementation-step {
  position: relative;
  min-height: 230px;
  padding: 2rem clamp(1rem, 2vw, 1.6rem) 0;
}

.implementation-step + .implementation-step {
  border-left: 1px solid rgba(163, 255, 221, 0.12);
}

.implementation-step::before {
  content: "";
  position: absolute;
  top: -0.42rem;
  left: clamp(1rem, 2vw, 1.6rem);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(40, 247, 168, 0.32);
}

.implementation-outcome {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.outcome-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(163, 255, 221, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 0%, rgba(40, 247, 168, 0.1), transparent 18rem),
    rgba(239, 255, 248, 0.035);
}

.outcome-points {
  display: grid;
  gap: 1rem;
}

.outcome-points p {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(163, 255, 221, 0.11);
}

body[data-theme="light"].implementation-page {
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 184, 116, 0.12), transparent 28rem),
    linear-gradient(180deg, #f7fffb 0%, #eef9f4 48%, #dbeee7 100%);
}

body[data-theme="light"] .implementation-blueprint,
body[data-theme="light"] .blueprint-chip,
body[data-theme="light"] .implementation-card,
body[data-theme="light"] .outcome-shell {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 20px 60px rgba(0, 55, 40, 0.1);
}

.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(163, 255, 221, 0.1);
  color: var(--muted);
  font-weight: 700;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  color: var(--accent);
  white-space: nowrap;
}

.stat-grid,
.feature-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.stat-card,
.feature-band,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.2rem;
}

.stat-card strong {
  display: block;
  color: var(--brand);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stat-card span,
.timeline-item span {
  color: var(--muted);
  font-weight: 700;
}

.feature-band {
  position: relative;
  min-height: 100%;
  padding: 1.35rem;
  overflow: hidden;
}

.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.08), transparent 12rem);
}

.feature-band > * {
  position: relative;
}

.timeline-item {
  padding: 1.35rem;
}

.timeline-item h3,
.feature-band h3 {
  margin-top: 0.55rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li {
  padding: 0.9rem;
  border: 1px solid rgba(163, 255, 221, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.contact-section {
  padding-top: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 247, 168, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(1, 8, 7, 0), rgba(1, 8, 7, 0.68));
}

.contact-form-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 7rem;
}

.contact-intro p {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.75;
}

.contact-direct {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-direct a {
  color: var(--text);
  font-weight: 850;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  color: var(--brand);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  color: #14201d;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.contact-form input[name="_honey"] {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  color: #25322f;
  font-size: 0.95rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  color: #101816;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f5f1f1;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 184, 116, 0.48);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 184, 116, 0.12);
}

.contact-form button {
  justify-self: start;
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: #52645e;
  font-size: 0.92rem;
  font-weight: 750;
}

.form-status[data-state="success"] {
  color: #087b53;
}

.form-status[data-state="error"] {
  color: #9b372d;
}

body[data-theme="light"] .contact-page-hero {
  position: relative;
  min-height: clamp(390px, 46vw, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(8rem, 13vw, 11rem);
  color: #effff8;
  border-bottom-right-radius: clamp(2.2rem, 5vw, 4.4rem);
  border-bottom-left-radius: clamp(2.2rem, 5vw, 4.4rem);
  background:
    radial-gradient(circle at 88% 10%, rgba(40, 247, 168, 0.08), transparent 24rem),
    radial-gradient(circle at 12% 82%, rgba(124, 207, 213, 0.08), transparent 20rem),
    linear-gradient(120deg, rgba(239, 255, 248, 0.035) 0 28%, transparent 28.2%),
    #0d211d;
  box-shadow: 0 24px 64px rgba(31, 55, 47, 0.22);
}

body[data-theme="light"] .contact-page-hero::before {
  content: "Contact";
  position: absolute;
  left: 9%;
  top: 36%;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(5rem, 13vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(239, 255, 248, 0.055);
  text-stroke: 1px rgba(239, 255, 248, 0.055);
  pointer-events: none;
}

body[data-theme="light"] .contact-page-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -3rem;
  width: clamp(18rem, 34vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(40, 247, 168, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4.5rem rgba(40, 247, 168, 0.018),
    inset 0 0 0 7rem rgba(239, 255, 248, 0.015);
  opacity: 0.72;
  pointer-events: none;
}

body[data-theme="light"] .contact-page-heading {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

body[data-theme="light"] .contact-page-heading .eyebrow {
  color: #28f7a8;
}

body[data-theme="light"] .contact-page-heading h1 {
  max-width: none;
  color: #effff8;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

body[data-theme="light"] .contact-page-heading .page-intro {
  max-width: 58ch;
  color: rgba(239, 255, 248, 0.88);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  font-weight: 850;
}

body[data-theme="light"] .contact-section {
  position: relative;
  margin-top: calc(clamp(5rem, 9vw, 8rem) * -1);
  padding-top: 0;
  background:
    linear-gradient(rgba(8, 123, 83, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 123, 83, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 10%, rgba(8, 123, 83, 0.08), transparent 22rem),
    linear-gradient(180deg, #f7f5ed 0%, #f5f1e8 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

body[data-theme="light"] .contact-form-shell {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.84fr);
  align-items: stretch;
}

body[data-theme="light"] .contact-intro {
  position: static;
  align-self: start;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  color: #132c25;
  border: 1px solid rgba(24, 67, 54, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.7);
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.09);
  backdrop-filter: blur(18px);
}

body[data-theme="light"] .contact-intro h2 {
  max-width: 9ch;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 0.95;
}

body[data-theme="light"] .contact-intro p {
  color: #52645e;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

body[data-theme="light"] .contact-direct {
  margin-top: 1.2rem;
}

body[data-theme="light"] .contact-direct .contact-method {
  min-height: 64px;
  padding: 0.85rem;
  color: #132c25;
  border: 1px solid rgba(24, 67, 54, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 252, 0.68);
  box-shadow: none;
}

body[data-theme="light"] .contact-direct .contact-method:hover,
body[data-theme="light"] .contact-direct .contact-method:focus-visible {
  color: #087b53;
  border-color: rgba(8, 123, 83, 0.22);
  background: rgba(255, 255, 252, 0.9);
  box-shadow: 0 14px 32px rgba(31, 55, 47, 0.1);
}

body[data-theme="light"] .contact-form {
  border: 1px solid rgba(24, 67, 54, 0.1);
  border-radius: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(255, 255, 252, 0.96);
  box-shadow: 0 30px 90px rgba(31, 55, 47, 0.18);
  backdrop-filter: blur(18px);
}

body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea {
  border-color: rgba(24, 67, 54, 0.08);
  background: #f3efea;
}

body[data-theme="light"] .contact-form input:hover,
body[data-theme="light"] .contact-form textarea:hover {
  background: #f7f4ef;
}

.qa-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.qa-list {
  display: grid;
  gap: 0.85rem;
}

.qa-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.qa-item summary {
  position: relative;
  padding: 1.05rem 3rem 1.05rem 1.15rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  list-style: none;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  transform: translateY(-50%);
}

.qa-item[open] summary::after {
  content: "-";
}

.qa-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

.qa-item[open] {
  border-color: rgba(239, 255, 248, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.ai-chat-launcher {
  --chat-look-x: 0px;
  --chat-look-y: 0px;
  --chat-tilt: 0deg;
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 130;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(174, 212, 198, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.62), transparent 18%),
    linear-gradient(145deg, rgba(106, 255, 196, 0.94), rgba(23, 155, 109, 0.94));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.46),
    inset 0 1px 12px rgba(255, 255, 255, 0.24);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

/* Temporary chatbot feature flag fallback; keep all chatbot UI/code in place. */
.chatbot-disabled :is(.ai-chat-launcher, .ai-chat-panel) {
  display: none !important;
}

body[data-theme="light"] .ai-chat-launcher {
  border-color: rgba(0, 122, 82, 0.16);
  box-shadow:
    0 18px 44px rgba(0, 80, 58, 0.18),
    0 0 24px rgba(0, 184, 116, 0.18),
    inset 0 1px 18px rgba(255, 255, 255, 0.52);
}

.back-to-top {
  position: fixed;
  left: 1.6rem;
  bottom: 6.4rem;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  border: 1px solid rgba(163, 255, 221, 0.52);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(40, 247, 168, 0.2), rgba(239, 255, 248, 0.07)),
    rgba(2, 12, 10, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.36), 0 0 28px rgba(40, 247, 168, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.65rem);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(16px);
}

.back-to-top::before {
  content: "";
  width: 16px;
  height: 16px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: translateY(5px) rotate(45deg);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--text);
  border-color: rgba(239, 255, 248, 0.72);
  background:
    linear-gradient(135deg, rgba(40, 247, 168, 0.32), rgba(239, 255, 248, 0.12)),
    rgba(2, 12, 10, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), 0 0 34px rgba(40, 247, 168, 0.32);
  transform: translateY(-2px);
  outline: none;
}

body[data-theme="light"] .back-to-top {
  color: #03261d;
  border-color: rgba(0, 122, 82, 0.38);
  background:
    linear-gradient(135deg, rgba(0, 184, 116, 0.16), rgba(255, 255, 255, 0.72)),
    rgba(246, 255, 251, 0.92);
  box-shadow: 0 16px 40px rgba(0, 55, 40, 0.16), 0 0 22px rgba(0, 184, 116, 0.16);
}

.ai-chat-launcher:hover,
.ai-chat-launcher:focus-visible,
.ai-chat-launcher.is-awake {
  transform: translateY(-5px) scale(1.04);
  filter: saturate(1.04);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(40, 247, 168, 0.18),
    inset 0 1px 16px rgba(255, 255, 255, 0.3);
  outline: none;
}

.ai-chat-pulse {
  position: absolute;
  inset: -10px;
  z-index: -1;
  border: 1px solid rgba(40, 247, 168, 0.18);
  border-radius: 50%;
  animation: chatPulse 2.4s ease-out infinite;
}

.ai-chat-launcher::before,
.ai-chat-launcher::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ai-chat-launcher::before {
  left: 50%;
  bottom: 7px;
  width: 46px;
  height: 20px;
  border: 1px solid rgba(3, 17, 13, 0.2);
  border-radius: 16px 16px 18px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 54%),
    rgba(239, 255, 248, 0.26);
  transform: translateX(-50%);
}

.ai-chat-launcher::after {
  inset: -18px;
  z-index: -2;
  background: radial-gradient(circle, rgba(40, 247, 168, 0.16), transparent 68%);
  opacity: 0.45;
}

body[data-theme="light"] .ai-chat-launcher::after {
  opacity: 0.34;
}

.ai-chat-face {
  position: relative;
  z-index: 3;
  display: block;
  width: 62px;
  height: 46px;
  border: 2px solid rgba(3, 17, 13, 0.9);
  border-radius: 17px;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.78), transparent 20%),
    rgba(239, 255, 248, 0.9);
  box-shadow:
    inset 0 -7px 0 rgba(3, 17, 13, 0.08),
    0 10px 18px rgba(0, 0, 0, 0.2);
  transform: translate(var(--chat-look-x), calc(var(--chat-look-y) - 15px)) rotate(var(--chat-tilt));
  transition: transform 120ms ease;
}

.ai-chat-face::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -13px;
  width: 2px;
  height: 11px;
  background: rgba(3, 17, 13, 0.9);
  transform: translateX(-50%);
}

.ai-chat-face::after {
  content: none;
}

.ai-chat-face span {
  position: absolute;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #03110d;
  transform: translate(var(--chat-look-x), calc(var(--chat-look-y) * 0.7));
  transition: transform 120ms ease;
}

.ai-chat-face span:first-child {
  left: 19px;
}

.ai-chat-face span:last-child {
  right: 19px;
}

.ai-chat-face span:last-child::after {
  content: none;
}

.ai-chat-bubble {
  position: absolute;
  right: 52px;
  top: -2px;
  z-index: 4;
  display: flex;
  gap: 3px;
  align-items: center;
  padding: 6px 7px;
  border-radius: 12px 12px 2px 12px;
  background: rgba(239, 255, 248, 0.9);
  border: 1px solid rgba(3, 17, 13, 0.16);
  opacity: 0;
  transform: translate(8px, 4px) scale(0.82);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ai-chat-bubble span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #03110d;
}

.ai-chat-launcher:hover .ai-chat-bubble,
.ai-chat-launcher:focus-visible .ai-chat-bubble,
.ai-chat-launcher.is-awake .ai-chat-bubble {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.ai-chat-panel {
  position: fixed;
  right: 1.3rem;
  bottom: 6.75rem;
  z-index: 125;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(398px, calc(100vw - 2rem));
  height: min(660px, calc(100vh - 8.4rem));
  min-height: min(500px, calc(100vh - 8.4rem));
  overflow: hidden;
  border: 1px solid rgba(163, 255, 221, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(9, 32, 27, 0.88), rgba(2, 10, 8, 0.96)),
    var(--surface-strong);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

body[data-theme="light"] .ai-chat-panel {
  border-color: rgba(0, 122, 82, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 255, 249, 0.96)),
    var(--surface-strong);
  box-shadow:
    0 28px 78px rgba(0, 64, 48, 0.18),
    0 0 32px rgba(0, 184, 116, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.ai-chat-panel[hidden] {
  display: none;
}

.ai-chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 0%, rgba(40, 247, 168, 0.08), transparent 14rem),
    radial-gradient(circle at 86% 12%, rgba(124, 207, 213, 0.05), transparent 11rem);
}

.ai-chat-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.75rem 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 10%, rgba(40, 247, 168, 0.08), transparent 9rem),
    linear-gradient(135deg, rgba(40, 247, 168, 0.06), rgba(124, 207, 213, 0.035)),
    rgba(2, 12, 10, 0.54);
}

body[data-theme="light"] .ai-chat-header {
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 184, 116, 0.14), transparent 9rem),
    linear-gradient(135deg, rgba(0, 184, 116, 0.1), rgba(0, 142, 161, 0.05)),
    rgba(255, 255, 255, 0.72);
}

.ai-chat-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.78rem;
}

.ai-chat-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(163, 255, 221, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 36% 22%, rgba(255, 255, 255, 0.22), transparent 35%),
    rgba(40, 247, 168, 0.06);
  box-shadow: none;
}

.ai-chat-mark img {
  display: block;
  width: 36px;
  height: auto;
  filter: none;
}

.ai-chat-header strong {
  display: block;
}

.ai-chat-header strong {
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  line-height: 1.15;
  font-size: 1rem;
}

.ai-chat-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.55rem;
  line-height: 1;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ai-chat-close:hover,
.ai-chat-close:focus-visible {
  border-color: rgba(239, 255, 248, 0.42);
  box-shadow: none;
  outline: none;
  transform: translateY(-1px);
}

.ai-chat-frame-shell {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin: 0.72rem;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(163, 255, 221, 0.18);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

body[data-theme="light"] .ai-chat-frame-shell {
  border-color: rgba(0, 122, 82, 0.12);
  box-shadow: 0 14px 34px rgba(0, 64, 48, 0.12);
}

.ai-chat-frame {
  display: block;
  width: 100%;
  height: calc(100% + 54px);
  min-height: 100%;
  border: 0;
  outline: none;
  background: #ffffff;
  transform: translateY(-54px);
}

.ai-chat-frame:focus,
.ai-chat-frame:focus-visible,
.ai-chat-panel *:focus {
  outline: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .about-page .oa-about-facts article.reveal:nth-child(1),
.motion-ready .about-page .oa-info-card.reveal:nth-child(1),
.motion-ready .sentinel-page .oa-info-card.reveal:nth-child(1),
.motion-ready .sentinel-page .sentinel-benefit-grid article.reveal:nth-child(1),
.motion-ready .sentinel-page .sentinel-flow span.reveal:nth-child(1) { transition-delay: 80ms; }

.motion-ready .about-page .oa-about-facts article.reveal:nth-child(2),
.motion-ready .about-page .oa-info-card.reveal:nth-child(2),
.motion-ready .sentinel-page .oa-info-card.reveal:nth-child(2),
.motion-ready .sentinel-page .sentinel-benefit-grid article.reveal:nth-child(2),
.motion-ready .sentinel-page .sentinel-flow span.reveal:nth-child(2) { transition-delay: 170ms; }

.motion-ready .about-page .oa-about-facts article.reveal:nth-child(3),
.motion-ready .about-page .oa-info-card.reveal:nth-child(3),
.motion-ready .sentinel-page .oa-info-card.reveal:nth-child(3),
.motion-ready .sentinel-page .sentinel-benefit-grid article.reveal:nth-child(3),
.motion-ready .sentinel-page .sentinel-flow span.reveal:nth-child(3) { transition-delay: 260ms; }

.motion-ready .about-page .oa-about-facts article.reveal:nth-child(4),
.motion-ready .about-page .oa-info-card.reveal:nth-child(4),
.motion-ready .sentinel-page .oa-info-card.reveal:nth-child(4),
.motion-ready .sentinel-page .sentinel-benefit-grid article.reveal:nth-child(4),
.motion-ready .sentinel-page .sentinel-flow span.reveal:nth-child(4) { transition-delay: 350ms; }

.motion-ready .sentinel-page .oa-info-card.reveal:nth-child(5),
.motion-ready .sentinel-page .sentinel-benefit-grid article.reveal:nth-child(5) { transition-delay: 440ms; }

.motion-ready .sentinel-page .sentinel-benefit-grid article.reveal:nth-child(6) { transition-delay: 530ms; }

@keyframes panelSheen {
  0%,
  100% {
    transform: translateX(-6%);
    opacity: 0.62;
  }
  50% {
    transform: translateX(6%);
    opacity: 0.9;
  }
}

@keyframes serviceButtonIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes serviceOrbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--service-letter-rotate, -6deg)) scale(0.98);
  }
  50% {
    transform: translate3d(-1.4rem, 1rem, 0) rotate(calc(var(--service-letter-rotate, -6deg) + 5deg)) scale(1.02);
  }
}

@keyframes clientLogoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@keyframes signalFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0.35rem, -0.7rem, 0) scale(1.012);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.985);
  }
  50% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.015);
  }
}

@keyframes orbitRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbitRotateReverse {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes radarSweepFloat {
  0%,
  100% {
    transform: translate(-50%, -48%) rotate(calc(var(--help-arc-rotate) - 3deg)) scale(calc(var(--help-arc-scale) - 0.012));
  }
  50% {
    transform: translate(-50%, -48%) rotate(calc(var(--help-arc-rotate) + 3deg)) scale(calc(var(--help-arc-scale) + 0.045));
  }
}

@keyframes oaLetterBreath {
  0%,
  100% {
    transform: rotate(-5deg) scale(0.98);
  }
  50% {
    transform: rotate(-5deg) scale(1.035);
  }
}

@keyframes orbitLabelFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0.28rem, -0.42rem, 0);
  }
}

@keyframes signalSheen {
  0%,
  100% {
    transform: translateX(-10%) rotate(0deg);
    opacity: 0.32;
  }
  50% {
    transform: translateX(10%) rotate(5deg);
    opacity: 0.58;
  }
}

@keyframes implementationBreath {
  0%,
  100% {
    transform: scale(0.98) rotate(-4deg);
    opacity: 0.62;
  }
  50% {
    transform: scale(1.025) rotate(3deg);
    opacity: 0.9;
  }
}

@keyframes lineScan {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.08;
  }
  50% {
    transform: translateX(138%);
    opacity: 0.82;
  }
}

@keyframes signalBlink {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.9);
  }
  45% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes chatPulse {
  0% {
    transform: scale(0.82);
    opacity: 0.74;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Improvement Approach Section */
.improvement-approach-section {
  background: linear-gradient(135deg, rgba(40, 247, 168, 0.04) 0%, rgba(124, 207, 213, 0.02) 100%);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.approach-item {
  position: relative;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(40, 247, 168, 0.1);
  transition: all 280ms ease;
  animation: slideInUp 0.6s ease-out backwards;
}

.approach-item-1 {
  animation-delay: 0.1s;
}

.approach-item-2 {
  animation-delay: 0.2s;
}

.approach-item-3 {
  animation-delay: 0.3s;
}

.approach-item-4 {
  animation-delay: 0.4s;
}

.approach-item:hover {
  border-color: rgba(40, 247, 168, 0.3);
  background: var(--surface-strong);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.approach-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(40, 247, 168, 0.2), rgba(40, 247, 168, 0.08));
  border: 1px solid rgba(40, 247, 168, 0.3);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.approach-item h3 {
  margin: 0.8rem 0 0.6rem;
  font-size: 1.05rem;
  color: var(--text);
}

.approach-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1420px) {
  .header-shell {
    padding-inline: clamp(0.75rem, 1.8vw, 1.8rem);
    gap: 1.15rem;
  }

  .brand-cluster {
    gap: 1rem;
  }

  .brand-logo {
    width: 100px;
  }

  .site-nav {
    gap: clamp(0.85rem, 1.5vw, 2rem);
  }

  .nav-list {
    gap: clamp(0.8rem, 1.1vw, 1.45rem);
  }

  .nav-actions {
    gap: 0.8rem;
  }

  .nav-list a,
  .nav-portal-link,
  .search-trigger {
    font-size: 0.9rem;
  }
}

@media (max-width: 1240px) {
  .header-shell {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 12, 10, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  body[data-theme="light"] .site-nav {
    background: rgba(2, 12, 10, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-dropdown {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.75rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .services-dropdown::before {
    display: none;
  }

  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-portal-link {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-nav {
    align-items: stretch;
  }

  .contact-popover {
    position: static;
    left: 0;
    right: auto;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-top: 0.8rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .contact-nav:hover .contact-popover,
  .contact-nav:focus-within .contact-popover {
    transform: none;
  }

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

@media (max-width: 1080px) {
  .header-shell {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 12, 10, 0.96);
    box-shadow: var(--shadow);
  }

  body[data-theme="light"] .site-nav {
    background: rgba(2, 12, 10, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-dropdown {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.75rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .services-dropdown::before {
    display: none;
  }

  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-portal-link {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-nav {
    align-items: stretch;
  }

  .contact-popover {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-top: 0.8rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .card-grid-large,
  .story-list,
  .insights-grid,
  .case-study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shell,
  .page-hero-shell,
  .implementation-hero-shell,
  .improvement-hero-shell,
  .migration-hero-shell,
  .support-hero-shell,
  .implementation-section-heading.compact,
  .outcome-shell,
  .capability-split,
  .case-study-layout,
  .split-shell,
  .about-shell,
  .cta-shell,
  .contact-form-shell,
  .contact-panel,
  .qa-shell {
    grid-template-columns: 1fr;
  }

  .services-hero {
    min-height: auto;
  }

  .services-hero-copy {
    max-width: 760px;
  }

  .service-button-grid {
    max-width: 720px;
  }

  h1,
  h2 {
    max-width: unset;
  }

  .hero-copy {
    max-width: 760px;
  }

  .implementation-visual {
    min-height: 420px;
  }

  .implementation-mosaic {
    grid-template-columns: 1fr;
  }

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

  .card-large {
    grid-row: auto;
    min-height: 280px;
  }

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

  .ecosystem-row,
  .platform-card-grid,
  .benefit-strip,
  .trusted-logo-grid,
  .business-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-tabs,
  .industry-panel {
    grid-template-columns: 1fr;
  }

  .industry-tab-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .industry-tab {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .benefit-strip article + article {
    border-left: 0;
    padding-left: 0;
  }

  .implementation-step:nth-child(3) {
    border-left: 0;
  }

  .improvement-visual,
  .migration-visual,
  .support-visual {
    min-height: 380px;
  }

  .migration-diagram {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .migration-source,
  .migration-target {
    width: 100%;
  }

  .migration-path {
    grid-column: 1;
  }

  .migration-arrow {
    transform: rotate(90deg);
    height: 120px;
  }

  .support-workflow {
    min-height: 420px;
  }

  .support-step-card {
    width: clamp(80px, 10%, 120px);
    padding: 1rem;
  }

  .step-number {
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1.8rem;
    font-size: 0.8rem;
  }

  .step-info strong {
    font-size: 0.75rem;
  }

  .step-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .support-center-glow {
    width: clamp(180px, 40%, 280px);
    height: clamp(180px, 40%, 280px);
  }

  .help-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .help-item:nth-child(4),
  .help-item:nth-child(5) {
    grid-column: auto;
    margin-left: 0;
    width: auto;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
  }

  .footer-copy {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-snap-type: none;
  }

  .header-shell {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 12, 10, 0.96);
    box-shadow: var(--shadow);
  }

  body[data-theme="light"] .site-nav {
    background: rgba(2, 12, 10, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-dropdown {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.75rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .services-dropdown-heading,
  .services-dropdown-link {
    min-height: auto;
  }

  .services-dropdown::before {
    display: none;
  }

  .search-row,
  .trust-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-marquee-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .client-logo-tile {
    min-width: 178px;
    min-height: 82px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-brand-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta {
    width: max-content;
    justify-self: start;
  }

  .contact-nav {
    align-items: stretch;
  }

  .contact-popover {
    position: static;
    left: 0;
    right: auto;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-top: 0.8rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid,
  .card-grid-large,
  .story-list,
  .case-study-grid,
  .insights-grid,
  .panel-grid,
  .stat-grid,
  .feature-grid,
  .timeline-grid,
  .capability-card-grid,
  .platform-card-grid,
  .benefit-strip,
  .trusted-logo-grid,
  .business-value-grid,
  .industry-detail-grid,
  .implementation-benefits,
  .implementation-flow {
    grid-template-columns: 1fr;
  }

  .industry-tab-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.85rem;
    scroll-snap-type: x mandatory;
  }

  .industry-tab {
    min-width: 168px;
    scroll-snap-align: start;
  }

  .industry-panel h3 {
    max-width: 18ch;
  }

  .trusted-logo {
    min-height: 104px;
  }

  .case-study-facts {
    position: static;
  }

  .case-study-grid {
    width: auto;
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .case-summary-card p,
  .case-summary-card li {
    max-width: 32ch;
  }

  .capability-hero h1 {
    max-width: 9ch;
    font-size: clamp(2.15rem, 9.5vw, 2.95rem);
    overflow-wrap: normal;
  }

  .capability-hero .shell,
  .capability-ecosystem-section .shell,
  .capability-applications-section .shell,
  .capability-platform-section .shell,
  .capability-industry-section .shell,
  .capability-trusted-section .shell,
  .capability-benefits-section .shell {
    width: auto;
    max-width: none;
    margin-right: 1rem;
    margin-left: 1rem;
    min-width: 0;
  }

  .capability-hero,
  .capability-ecosystem-section,
  .capability-applications-section,
  .capability-platform-section,
  .capability-industry-section,
  .capability-trusted-section,
  .capability-benefits-section {
    overflow-x: hidden;
  }

  .capability-hero .page-intro,
  .capability-copy-block p:last-child,
  .capability-section-heading p,
  .capability-card p,
  .platform-card p,
  .benefit-strip p {
    max-width: 32ch;
    overflow-wrap: break-word;
  }

  .capability-copy-block h2,
  .capability-section-heading h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 8.8vw, 2.75rem);
  }

  .capability-card {
    grid-template-columns: 2.85rem minmax(0, 1fr);
    padding: 1rem;
  }

  .product-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .ecosystem-row {
    grid-template-columns: 1fr;
  }

  .product-chip {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    min-height: 70px;
    text-align: left;
  }

  .benefit-strip article {
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--line);
  }

  .benefit-strip article:last-child {
    border-bottom: 0;
  }

  .services-hero {
    padding: 3.5rem 0 4.25rem;
  }

  .services-hero-shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .services-hero .page-intro {
    max-width: 34ch;
  }

  .page-hero .page-intro {
    max-width: 32ch;
  }

  .services-hero::before,
  .services-hero::after {
    font-size: clamp(17rem, 90vw, 24rem);
    opacity: 0.32;
  }

  .services-hero::before {
    left: -48vw;
    top: 8%;
  }

  .services-hero::after {
    right: -22vw;
    top: 42%;
    bottom: auto;
  }

  .service-button-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-button {
    grid-template-columns: 2.65rem minmax(0, 1fr);
    min-height: 104px;
    padding: 1rem;
  }

  .service-button-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .service-button-icon svg {
    width: 2rem;
    height: 2rem;
  }

  .service-button strong {
    font-size: 1.28rem;
  }

  .implementation-hero {
    min-height: auto;
  }

  .implementation-visual {
    min-height: 520px;
  }

  .implementation-blueprint {
    left: 0;
    width: 86%;
  }

  .blueprint-grid {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .blueprint-chip {
    min-width: 112px;
    padding: 0.65rem 0.75rem;
  }

  .chip-data {
    right: 0;
    top: 10%;
  }

  .chip-security {
    right: 0;
    bottom: 18%;
  }

  .chip-flow {
    left: 2%;
    bottom: 4%;
  }

  .implementation-step,
  .implementation-step + .implementation-step,
  .implementation-step:nth-child(3) {
    border-left: 0;
  }

  .back-to-top {
    left: 1.15rem;
    bottom: 5.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    scroll-snap-align: none;
  }

  .how-help-section {
    min-height: auto;
    padding: 4rem 0;
    scroll-snap-align: none;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    transform: none;
  }

  .help-strip {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .help-item,
  .help-item:nth-child(even),
  .help-item:nth-child(n + 3) {
    min-height: 92px;
    border-left: 0;
    border-top: 0;
    width: auto;
  }

  .hero-panel {
    min-height: auto;
    border-radius: 18px;
  }

  .panel-grid {
    position: relative;
    z-index: 2;
  }

  .panel-card {
    padding: 1rem;
  }

  .difference-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-height: auto;
  }

  .difference-panel {
    transform: none;
  }

  .difference-panel::before,
  .difference-panel::after,
  .difference-grid::before,
  .difference-grid::after {
    display: none;
  }

  .difference-item,
  .difference-item:nth-child(1),
  .difference-item:nth-child(2),
  .difference-item:nth-child(3),
  .difference-item:nth-child(4),
  .difference-item:nth-child(1):hover,
  .difference-item:nth-child(2):hover,
  .difference-item:nth-child(3):hover,
  .difference-item:nth-child(4):hover {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: auto;
    aspect-ratio: auto;
    border-radius: 999px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    place-items: center start;
    text-align: left;
    transform: none;
    animation: none;
  }

  .difference-item strong {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .ai-chat-launcher {
    right: 1rem;
    bottom: 1rem;
    width: 60px;
    height: 60px;
  }

  .ai-chat-panel {
    right: 1rem;
    bottom: 5.7rem;
    width: calc(100vw - 2rem);
    height: min(640px, calc(100vh - 7rem));
    min-height: min(420px, calc(100vh - 7rem));
    border-radius: 14px;
  }
}

@media (max-width: 620px) {
  .brand-cluster {
    gap: 0.8rem;
  }

  .brand-logo {
    width: 96px;
  }

  .ms-partner-badge {
    min-width: 0;
  }

  .ms-partner-copy {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hide inline citation number, e.g. the small "1" after the answer */
.render-markdown__citation,
.render-markdown__pure-identifier {
  display: none !important;
}

/* Hide the "1 reference" expandable reference block */
.link-definitions {
  display: none !important;
}

/* Light theme: editorial daylight system */
body[data-theme="light"] {
  --bg: #f4f1e8;
  --bg-deep: #e8ede5;
  --surface: rgba(255, 255, 252, 0.88);
  --surface-strong: #fffefa;
  --surface-soft: rgba(7, 119, 79, 0.08);
  --text: #132c25;
  --muted: #526860;
  --line: rgba(24, 67, 54, 0.16);
  --brand: #087b53;
  --brand-deep: #055f40;
  --accent: #0a6c4a;
  --cyan: #177f8c;
  --ink: #fffefa;
  --shadow: 0 18px 48px rgba(31, 55, 47, 0.11);
  --glow: 0 0 0 7px rgba(8, 123, 83, 0.08);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(16, 73, 55, 0.035) 1px, transparent 1px),
    radial-gradient(circle at var(--cursor-x, 18%) var(--cursor-y, 12%), rgba(87, 178, 139, 0.2), transparent 25rem),
    radial-gradient(circle at 84% 9%, rgba(77, 154, 169, 0.14), transparent 28rem),
    linear-gradient(145deg, #fbfaf5 0%, #f4f1e8 44%, #e9eee7 100%);
  background-size: 72px 100%, auto, auto, auto;
}

body.theme-changing,
body.theme-changing .site-header,
body.theme-changing .site-nav,
body.theme-changing .section,
body.theme-changing .page-hero,
body.theme-changing .hero-panel,
body.theme-changing .content-card,
body.theme-changing .industry-card,
body.theme-changing .story-card,
body.theme-changing .insight-card,
body.theme-changing .panel-card,
body.theme-changing .cta-shell,
body.theme-changing .about-shell {
  transition: color 420ms ease, background-color 420ms ease, border-color 420ms ease, box-shadow 420ms ease;
}

body[data-theme="light"]::before {
  background:
    linear-gradient(90deg, rgba(19, 44, 37, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 44, 37, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

body[data-theme="light"]::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.22), transparent 22rem),
    radial-gradient(circle at 50% 110%, rgba(8, 123, 83, 0.08), transparent 34rem);
}

body[data-theme="light"] .site-header {
  --text: #17342b;
  --muted: #5e716a;
  --line: rgba(24, 67, 54, 0.14);
  --accent: #087b53;
  background: rgba(250, 249, 243, 0.88);
  box-shadow: 0 8px 28px rgba(31, 55, 47, 0.07);
}

body[data-theme="light"] .brand-logo {
  filter: drop-shadow(0 8px 12px rgba(8, 123, 83, 0.14));
}

body[data-theme="light"] .ms-partner-badge,
body[data-theme="light"] .ms-partner-copy strong,
body[data-theme="light"] .nav-list a,
body[data-theme="light"] .nav-portal-link,
body[data-theme="light"] .search-trigger {
  color: #17342b;
}

body[data-theme="light"] .ms-partner-copy small {
  color: #62756d;
}

body[data-theme="light"] .nav-list a::after {
  background: var(--brand);
}

body[data-theme="light"] .services-dropdown,
body[data-theme="light"] .contact-popover,
body[data-theme="light"] .search-panel {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.15);
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 24px 64px rgba(31, 55, 47, 0.16);
}

body[data-theme="light"] .services-dropdown-link:hover,
body[data-theme="light"] .services-dropdown-link:focus-visible {
  background: #eef5ef;
}

body[data-theme="light"] .services-hero::before,
body[data-theme="light"] .services-hero::after {
  -webkit-text-stroke-color: rgba(8, 123, 83, 0.16);
  text-stroke-color: rgba(8, 123, 83, 0.16);
  text-shadow: none;
  opacity: 0.34;
}

body[data-theme="light"] .theme-toggle {
  border-color: rgba(24, 67, 54, 0.24);
  background: #e3eee5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body[data-theme="light"] .theme-toggle::before {
  background: #fffefa;
  box-shadow: 0 3px 12px rgba(31, 55, 47, 0.2);
}

body[data-theme="light"] .hero,
body[data-theme="light"] .page-hero,
body[data-theme="light"] .services-hero,
body[data-theme="light"] .implementation-hero,
body[data-theme="light"] .improvement-hero,
body[data-theme="light"] .migration-hero,
body[data-theme="light"] .support-hero {
  position: relative;
  isolation: isolate;
}

body[data-theme="light"] .hero::after,
body[data-theme="light"] .page-hero::after,
body[data-theme="light"] .services-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -9rem;
  top: 12%;
  width: min(42vw, 38rem);
  aspect-ratio: 1;
  border: 1px solid rgba(8, 123, 83, 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 252, 0.9) 0 28%, transparent 29%),
    repeating-radial-gradient(circle, transparent 0 3rem, rgba(8, 123, 83, 0.08) 3.05rem 3.1rem);
  opacity: 0.8;
  animation: lightOrbitDrift 18s ease-in-out infinite;
}

body[data-theme="light"] .hero-ambient {
  opacity: 0.48;
  filter: saturate(0.75);
}

body[data-theme="light"] .eyebrow {
  color: var(--brand);
}

body[data-theme="light"] .difference-panel {
  border-color: rgba(24, 67, 54, 0.17);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.96), rgba(239, 246, 239, 0.82));
  box-shadow: 0 24px 70px rgba(31, 55, 47, 0.12);
}

body[data-theme="light"] .difference-grid,
body[data-theme="light"] .difference-item {
  border-color: rgba(24, 67, 54, 0.13);
}

body[data-theme="light"] .difference-item {
  background: transparent;
}

body[data-theme="light"] .difference-icon,
body[data-theme="light"] .help-icon {
  color: var(--brand);
  filter: none;
}

body[data-theme="light"] .difference-item strong {
  color: var(--text);
}

body[data-theme="light"] .how-help-section {
  background:
    linear-gradient(110deg, rgba(8, 123, 83, 0.08), transparent 34%),
    #fffefa;
  border-block: 1px solid rgba(24, 67, 54, 0.12);
}

body[data-theme="light"] .how-help-section::before {
  border-color: rgba(8, 123, 83, 0.18);
  box-shadow: 0 0 0 1.5rem rgba(8, 123, 83, 0.035), 0 0 0 3rem rgba(8, 123, 83, 0.025);
}

body[data-theme="light"] .help-item {
  border-color: rgba(24, 67, 54, 0.16);
}

body[data-theme="light"] .client-marquee-section,
body[data-theme="light"] .section-alt,
body[data-theme="light"] .improvement-approach-section {
  background:
    linear-gradient(180deg, rgba(231, 239, 232, 0.74), rgba(248, 247, 241, 0.72));
}

body[data-theme="light"] .client-logo-tile {
  border-color: rgba(24, 67, 54, 0.13);
  background: #fffefa;
  box-shadow: 0 12px 32px rgba(31, 55, 47, 0.08);
}

body[data-theme="light"] .hero-panel,
body[data-theme="light"] .panel-card,
body[data-theme="light"] .content-card,
body[data-theme="light"] .industry-card,
body[data-theme="light"] .story-card,
body[data-theme="light"] .insight-card,
body[data-theme="light"] .about-shell,
body[data-theme="light"] .stat-card,
body[data-theme="light"] .feature-band,
body[data-theme="light"] .timeline-item,
body[data-theme="light"] .qa-item,
body[data-theme="light"] .approach-item,
body[data-theme="light"] .contact-list li {
  border-color: rgba(24, 67, 54, 0.15);
  background: rgba(255, 255, 252, 0.9);
  box-shadow: 0 16px 44px rgba(31, 55, 47, 0.09);
  backdrop-filter: blur(10px);
}

body[data-theme="light"] .content-card:hover,
body[data-theme="light"] .industry-card:hover,
body[data-theme="light"] .story-card:hover,
body[data-theme="light"] .insight-card:hover,
body[data-theme="light"] .capability-card:hover,
body[data-theme="light"] .approach-item:hover {
  border-color: rgba(8, 123, 83, 0.34);
  background: #fffefa;
  box-shadow: 0 22px 54px rgba(31, 55, 47, 0.14);
}

body[data-theme="light"] .button-primary {
  color: #fffefa;
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(8, 123, 83, 0.22);
}

body[data-theme="light"] .button-primary:hover,
body[data-theme="light"] .button-primary:focus-visible {
  background: var(--brand-deep);
}

body[data-theme="light"] .button-secondary,
body[data-theme="light"] .button-ghost {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.2);
  background: rgba(255, 255, 252, 0.76);
}

body[data-theme="light"] .product-chip,
body[data-theme="light"] .platform-layer,
body[data-theme="light"] .capability-tags span,
body[data-theme="light"] .blueprint-record,
body[data-theme="light"] .blueprint-process,
body[data-theme="light"] .blueprint-rail span,
body[data-theme="light"] .benefit-item,
body[data-theme="light"] .feature-badge {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.14);
  background: rgba(237, 244, 237, 0.86);
}

body[data-theme="light"] .implementation-blueprint,
body[data-theme="light"] .blueprint-chip,
body[data-theme="light"] .implementation-card,
body[data-theme="light"] .outcome-shell,
body[data-theme="light"] .ecosystem-map,
body[data-theme="light"] .capability-card,
body[data-theme="light"] .platform-card {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.15);
  background:
    linear-gradient(145deg, rgba(255, 255, 252, 0.97), rgba(237, 244, 237, 0.88));
  box-shadow: 0 18px 50px rgba(31, 55, 47, 0.1);
}

body[data-theme="light"] .implementation-visual::after {
  border-color: rgba(8, 123, 83, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 252, 0.72), rgba(8, 123, 83, 0.04));
}

body[data-theme="light"] .blueprint-toolbar,
body[data-theme="light"] .blueprint-rail,
body[data-theme="light"] .implementation-flow,
body[data-theme="light"] .implementation-step + .implementation-step,
body[data-theme="light"] .outcome-points p {
  border-color: rgba(24, 67, 54, 0.15);
}

body[data-theme="light"] .signal-row strong,
body[data-theme="light"] .migration-source strong,
body[data-theme="light"] .migration-target strong,
body[data-theme="light"] .support-step-card .step-info strong {
  color: var(--text);
}

body[data-theme="light"] .migration-server-icon,
body[data-theme="light"] .migration-cloud-icon,
body[data-theme="light"] .support-center-icon,
body[data-theme="light"] .cycle-number {
  border-color: rgba(8, 123, 83, 0.3);
  background: rgba(8, 123, 83, 0.09);
  box-shadow: 0 10px 28px rgba(31, 55, 47, 0.08);
}

body[data-theme="light"] .cycle-track,
body[data-theme="light"] .cycle-arrows,
body[data-theme="light"] .support-flow-lines,
body[data-theme="light"] .support-center-glow,
body[data-theme="light"] .migration-arrow {
  filter: saturate(0.95) contrast(1.3);
}

body[data-theme="light"] .pulse-arrow,
body[data-theme="light"] .arrow-path,
body[data-theme="light"] .flow-connector {
  opacity: 0.82;
  stroke: var(--brand);
  filter: drop-shadow(0 0 5px rgba(8, 123, 83, 0.22));
}

body[data-theme="light"] .step-dot {
  background: rgba(8, 123, 83, 0.58);
}

body[data-theme="light"] .cta-shell,
body[data-theme="light"] .capability-cta {
  color: #f7fff9;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 86% 10%, rgba(87, 215, 161, 0.22), transparent 18rem),
    linear-gradient(135deg, #0b503b, #12342d);
  box-shadow: 0 24px 64px rgba(22, 54, 44, 0.2);
}

body[data-theme="light"] .cta-shell h2,
body[data-theme="light"] .cta-shell p,
body[data-theme="light"] .capability-cta h2,
body[data-theme="light"] .capability-cta p {
  color: inherit;
}

body[data-theme="light"] .site-footer {
  --text: #effff8;
  --muted: #a7bdb4;
  --line: rgba(174, 212, 198, 0.14);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 45%, rgba(40, 247, 168, 0.07), transparent 20rem),
    #0c201a;
}

body[data-theme="light"] .site-footer .footer-cta {
  color: #effff8;
}

body[data-theme="light"] .ai-chat-launcher {
  border-color: rgba(8, 123, 83, 0.2);
  background: #fffefa;
  box-shadow: 0 18px 42px rgba(31, 55, 47, 0.18);
}

body[data-theme="light"] .back-to-top {
  color: #fffefa;
  background: var(--brand);
}

/* Light mode parity for service detail visuals */
body[data-theme="light"] .implementation-visual,
body[data-theme="light"] .improvement-visual,
body[data-theme="light"] .migration-visual,
body[data-theme="light"] .support-visual {
  filter: saturate(1.08);
}

body[data-theme="light"] .implementation-visual::before {
  opacity: 0.95;
  background:
    radial-gradient(circle, transparent 0 45.5%, rgba(8, 123, 83, 0.18) 46.1% 46.8%, transparent 47.3% 68.5%, rgba(23, 127, 140, 0.18) 69% 69.8%, transparent 70.4%),
    radial-gradient(circle, transparent 0 44%, rgba(8, 123, 83, 0.08) 48%, rgba(8, 123, 83, 0.045) 64%, transparent 74%);
  filter: drop-shadow(0 0 18px rgba(8, 123, 83, 0.12));
}

body[data-theme="light"] .implementation-visual::after {
  border-color: rgba(8, 123, 83, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.62), transparent 42%),
    linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.08), transparent),
    rgba(255, 255, 252, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 252, 0.46),
    0 20px 60px rgba(31, 55, 47, 0.11);
}

body[data-theme="light"] .implementation-blueprint {
  border-color: rgba(24, 67, 54, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.92), rgba(240, 248, 242, 0.78)),
    radial-gradient(circle at 18% 0%, rgba(8, 123, 83, 0.12), transparent 12rem);
  box-shadow:
    0 28px 80px rgba(31, 55, 47, 0.16),
    inset 0 0 0 1px rgba(255, 255, 252, 0.7);
}

body[data-theme="light"] .blueprint-toolbar {
  border-bottom-color: rgba(24, 67, 54, 0.16);
  background: rgba(255, 255, 252, 0.45);
}

body[data-theme="light"] .blueprint-toolbar span {
  background: var(--brand);
  box-shadow: 0 0 18px rgba(8, 123, 83, 0.28);
}

body[data-theme="light"] .blueprint-rail {
  border-right-color: rgba(24, 67, 54, 0.14);
}

body[data-theme="light"] .blueprint-rail span {
  color: #132c25;
  background: rgba(8, 123, 83, 0.07);
  box-shadow: inset 0 0 0 1px rgba(8, 123, 83, 0.04);
}

body[data-theme="light"] .blueprint-record,
body[data-theme="light"] .blueprint-process {
  border-color: rgba(8, 123, 83, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.62), rgba(237, 244, 237, 0.58)),
    radial-gradient(circle at 96% 4%, rgba(40, 247, 168, 0.13), transparent 8rem);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 252, 0.5);
}

body[data-theme="light"] .blueprint-record i {
  background: linear-gradient(90deg, rgba(8, 123, 83, 0.16), rgba(8, 123, 83, 0.035));
  animation: lineScan 5.6s ease-in-out infinite;
}

body[data-theme="light"] .blueprint-process i {
  border-color: rgba(40, 247, 168, 0.36);
  background: rgba(40, 247, 168, 0.09);
  box-shadow: 0 0 18px rgba(40, 247, 168, 0.08);
}

body[data-theme="light"] .blueprint-chip {
  border-color: rgba(8, 123, 83, 0.2);
  background: rgba(255, 255, 252, 0.78);
  box-shadow:
    0 18px 46px rgba(31, 55, 47, 0.15),
    0 0 28px rgba(8, 123, 83, 0.08);
}

body[data-theme="light"] .blueprint-chip::before {
  background: linear-gradient(rgba(40, 247, 168, 0.42), transparent);
}

body[data-theme="light"] .cycle-track svg,
body[data-theme="light"] .cycle-arrows,
body[data-theme="light"] .migration-arrow,
body[data-theme="light"] .support-flow-lines {
  filter: drop-shadow(0 0 18px rgba(8, 123, 83, 0.12)) saturate(1.15);
}

body[data-theme="light"] .cycle-center {
  padding: 1.15rem 1.45rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 252, 0.74), rgba(237, 244, 237, 0.25));
  box-shadow: 0 0 44px rgba(8, 123, 83, 0.08);
}

body[data-theme="light"] .cycle-center strong {
  text-shadow: 0 0 18px rgba(8, 123, 83, 0.14);
}

body[data-theme="light"] .cycle-number {
  border-color: rgba(8, 123, 83, 0.4);
  background: rgba(8, 123, 83, 0.1);
  box-shadow: 0 0 0 6px rgba(8, 123, 83, 0.035);
}

body[data-theme="light"] .cycle-item svg,
body[data-theme="light"] .benefit-item svg,
body[data-theme="light"] .benefit-item i,
body[data-theme="light"] .feature-badge svg {
  color: var(--brand);
  filter: drop-shadow(0 0 8px rgba(8, 123, 83, 0.18));
}

body[data-theme="light"] .cycle-label {
  color: rgba(19, 44, 37, 0.72);
}

body[data-theme="light"] .pulse-arrow,
body[data-theme="light"] .arrow-path,
body[data-theme="light"] .flow-connector {
  opacity: 0.9;
  stroke: rgba(8, 123, 83, 0.76);
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(8, 123, 83, 0.18));
}

body[data-theme="light"] .migration-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% 3%;
  border: 1px solid rgba(8, 123, 83, 0.12);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 45%, rgba(40, 247, 168, 0.12), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 252, 0.24), transparent 48%);
  transform: rotate(-2deg);
  animation: implementationBreath 8s ease-in-out infinite;
  pointer-events: none;
}

body[data-theme="light"] .migration-diagram,
body[data-theme="light"] .migration-benefits {
  position: relative;
  z-index: 1;
}

body[data-theme="light"] .migration-server-icon,
body[data-theme="light"] .migration-cloud-icon,
body[data-theme="light"] .benefit-item,
body[data-theme="light"] .feature-badge {
  border-color: rgba(8, 123, 83, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.68), rgba(237, 244, 237, 0.48)),
    rgba(40, 247, 168, 0.03);
  box-shadow:
    0 16px 42px rgba(31, 55, 47, 0.11),
    inset 0 0 0 1px rgba(255, 255, 252, 0.58);
}

body[data-theme="light"] .migration-server-icon svg,
body[data-theme="light"] .migration-cloud-icon svg,
body[data-theme="light"] .migration-server-icon i,
body[data-theme="light"] .migration-cloud-icon i {
  color: var(--brand);
  filter: drop-shadow(0 0 10px rgba(8, 123, 83, 0.16));
}

body[data-theme="light"] .step-dot {
  background: rgba(8, 123, 83, 0.62);
  box-shadow: 0 0 16px rgba(8, 123, 83, 0.2);
}

body[data-theme="light"] .migration-dot {
  filter: drop-shadow(0 0 10px rgba(8, 123, 83, 0.55));
}

body[data-theme="light"] .support-workflow::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 7% 9%;
  border: 1px solid rgba(40, 247, 168, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(40, 247, 168, 0.12), transparent 13rem),
    radial-gradient(circle at 50% 50%, rgba(8, 123, 83, 0.06), transparent 18rem);
  animation: flowPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

body[data-theme="light"] .support-center,
body[data-theme="light"] .support-step-card,
body[data-theme="light"] .support-flow-lines {
  z-index: 1;
}

body[data-theme="light"] .support-center {
  z-index: 2;
}

body[data-theme="light"] .support-flow-lines {
  z-index: 0;
}

body[data-theme="light"] .support-center-glow {
  opacity: 0.88;
  filter: drop-shadow(0 0 18px rgba(8, 123, 83, 0.16));
}

body[data-theme="light"] .support-center {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(40, 247, 168, 0.28);
  background: rgba(255, 255, 252, 0.48);
  box-shadow: 0 0 42px rgba(8, 123, 83, 0.08);
}

body[data-theme="light"] .support-center-icon {
  border-color: rgba(8, 123, 83, 0.36);
  background: rgba(8, 123, 83, 0.1);
  box-shadow: 0 0 22px rgba(8, 123, 83, 0.12);
}

body[data-theme="light"] .support-step-card::after {
  content: "";
  width: 4.8rem;
  height: 2px;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.3), transparent);
  opacity: 0.75;
}

body[data-theme="light"] .support-step-card:hover .step-icon,
body[data-theme="light"] .support-step-card:hover .step-info strong {
  color: var(--brand);
  filter: drop-shadow(0 0 10px rgba(8, 123, 83, 0.2));
}

.support-step-1:hover,
.support-step-4:hover {
  transform: translateX(-50%) translateY(-6px);
}

.support-step-2:hover,
.support-step-3:hover,
.support-step-5:hover,
.support-step-6:hover {
  transform: translateY(-6px);
}

@keyframes lightOrbitDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  50% {
    transform: translate3d(-2rem, 1.5rem, 0) rotate(4deg);
  }
}

@media (max-width: 1240px) {
  body[data-theme="light"] .site-nav {
    color: var(--text);
    border-color: rgba(24, 67, 54, 0.14);
    background: rgba(250, 249, 243, 0.98);
    box-shadow: 0 24px 48px rgba(31, 55, 47, 0.13);
  }
}

@media (max-width: 760px) {
  body[data-theme="light"] .hero::after,
  body[data-theme="light"] .page-hero::after,
  body[data-theme="light"] .services-hero::after {
    right: -12rem;
    top: 5%;
    width: 26rem;
    opacity: 0.42;
  }
}

/* Light mode refinements: dark chrome, no hero white block, preserved motion language */
body[data-theme="light"] .site-header {
  --text: #effff8;
  --muted: #9ab8ad;
  --line: rgba(174, 212, 198, 0.16);
  --accent: #effff8;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 247, 168, 0.07), transparent 18rem),
    rgba(1, 8, 7, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

body[data-theme="light"] .site-header .brand-logo {
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.12));
}

body[data-theme="light"] .site-header .ms-partner-badge,
body[data-theme="light"] .site-header .ms-partner-copy strong,
body[data-theme="light"] .site-header .nav-list a,
body[data-theme="light"] .site-header .nav-portal-link,
body[data-theme="light"] .site-header .search-trigger,
body[data-theme="light"] .site-header .nav-toggle {
  color: #effff8;
}

body[data-theme="light"] .site-header .ms-partner-copy small {
  color: #9ab8ad;
}

body[data-theme="light"] .site-header .nav-portal-link {
  color: #28f7a8;
  text-shadow: 0 0 16px rgba(40, 247, 168, 0.12);
}

body[data-theme="light"] .site-header .nav-portal-link:hover,
body[data-theme="light"] .site-header .nav-portal-link:focus-visible {
  color: #effff8;
  text-shadow: 0 0 22px rgba(40, 247, 168, 0.36);
}

body[data-theme="light"] .site-header .nav-portal-link:hover .nav-external-icon,
body[data-theme="light"] .site-header .nav-portal-link:focus-visible .nav-external-icon {
  color: #28f7a8;
}

body[data-theme="light"] .site-header .nav-list a::after {
  background: #28f7a8;
}

body[data-theme="light"] .site-header .theme-toggle {
  border-color: rgba(174, 212, 198, 0.22);
  background: rgba(239, 255, 248, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .site-header .theme-toggle::before {
  background: #effff8;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

body[data-theme="light"] .services-dropdown,
body[data-theme="light"] .contact-popover,
body[data-theme="light"] .search-panel {
  --text: #effff8;
  --muted: #9ab8ad;
  --line: rgba(174, 212, 198, 0.16);
  color: var(--text);
  border-color: rgba(174, 212, 198, 0.16);
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 247, 168, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(4, 20, 17, 0.99), rgba(1, 8, 7, 0.98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

body[data-theme="light"] .services-dropdown-link:hover,
body[data-theme="light"] .services-dropdown-link:focus-visible {
  background: rgba(239, 255, 248, 0.06);
}

body.home-page[data-theme="light"] .hero::after {
  content: none;
}

body.home-page[data-theme="light"] .difference-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.home-page[data-theme="light"] .difference-panel::before {
  opacity: 0.72;
  background: conic-gradient(
    from 18deg,
    rgba(23, 127, 140, 0.28) 0deg 156deg,
    transparent 158deg 202deg,
    rgba(8, 123, 83, 0.28) 204deg 294deg,
    transparent 296deg 360deg
  );
}

body.home-page[data-theme="light"] .difference-panel::after,
body.home-page[data-theme="light"] .difference-grid::before {
  opacity: 0.58;
}

body.home-page[data-theme="light"] .difference-grid,
body.home-page[data-theme="light"] .difference-item {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.home-page[data-theme="light"] .difference-icon {
  color: #087b53;
  filter: none;
}

body.home-page[data-theme="light"] .difference-item strong {
  color: #132c25;
  text-shadow: none;
}

.how-help-section .shell::before {
  content: "O";
  position: absolute;
  left: -23%;
  top: -8%;
  z-index: 0;
  pointer-events: none;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(30rem, 54vw, 64rem);
  font-weight: 900;
  line-height: 0.75;
  -webkit-text-stroke: 1.8px rgba(239, 255, 248, 0.068);
  text-stroke: 1.8px rgba(239, 255, 248, 0.068);
  opacity: 0.5;
  transform: rotate(4deg) scale(0.98);
  transform-origin: 50% 50%;
  animation: oaLetterBreath 7s ease-in-out infinite reverse;
}

body[data-theme="light"] .how-help-section .shell::before,
body[data-theme="light"] .how-help-section .shell::after {
  -webkit-text-stroke-color: rgba(8, 123, 83, 0.12);
  text-stroke-color: rgba(8, 123, 83, 0.12);
  opacity: 0.48;
}

body[data-theme="light"] .how-help-section {
  background:
    radial-gradient(circle at 50% 24%, rgba(8, 123, 83, 0.1), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 252, 0.45), rgba(232, 237, 229, 0.32));
}

body[data-theme="light"] .how-help-section::before {
  background:
    radial-gradient(circle at 50% 24%, rgba(8, 123, 83, 0.11), transparent 24rem),
    radial-gradient(circle at 76% 60%, rgba(23, 127, 140, 0.07), transparent 22rem);
}

body[data-theme="light"] .how-help-section::after {
  background:
    radial-gradient(circle, transparent 0 49%, rgba(8, 123, 83, 0.11) 49.2% 49.7%, transparent 50%, transparent 65.6%, rgba(8, 123, 83, 0.13) 65.9% 66.5%, transparent 66.8%),
    radial-gradient(circle, transparent 0 48%, rgba(8, 123, 83, 0.035) 49%, rgba(8, 123, 83, 0.1) 66%, transparent 72%);
  opacity: 0.2;
}

body[data-theme="light"] .ai-chat-launcher {
  border-color: rgba(174, 212, 198, 0.32);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.62), transparent 18%),
    linear-gradient(145deg, rgba(106, 255, 196, 0.94), rgba(23, 155, 109, 0.94));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.46),
    inset 0 1px 12px rgba(255, 255, 255, 0.24);
}

body[data-theme="light"] .ai-chat-launcher::after {
  opacity: 0.45;
}

body[data-theme="light"] .ai-chat-panel {
  --text: #effff8;
  --muted: #9ab8ad;
  --line: rgba(174, 212, 198, 0.14);
  color: var(--text);
  border-color: rgba(163, 255, 221, 0.26);
  background:
    linear-gradient(180deg, rgba(9, 32, 27, 0.88), rgba(2, 10, 8, 0.96)),
    rgba(12, 37, 32, 0.92);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .ai-chat-header {
  background:
    radial-gradient(circle at 12% 10%, rgba(40, 247, 168, 0.08), transparent 9rem),
    linear-gradient(135deg, rgba(40, 247, 168, 0.06), rgba(124, 207, 213, 0.035)),
    rgba(2, 12, 10, 0.54);
}

body[data-theme="light"] .ai-chat-frame-shell {
  border-color: rgba(163, 255, 221, 0.18);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

@media (max-width: 1240px) {
  body[data-theme="light"] .site-nav {
    --text: #effff8;
    --muted: #9ab8ad;
    --line: rgba(174, 212, 198, 0.16);
    color: var(--text);
    border-color: rgba(174, 212, 198, 0.16);
    background: rgba(2, 12, 10, 0.96);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  }
}

@media (max-width: 760px) {
  .how-help-section .shell::before {
    left: -62vw;
    top: 0;
    font-size: clamp(20rem, 94vw, 28rem);
  }
}

/* Light mode home composition: dark hero preserved, light content below */
body.home-page[data-theme="light"] .hero {
  --text: #effff8;
  --muted: #b9d2c9;
  --line: rgba(174, 212, 198, 0.14);
  --brand: #28f7a8;
  --brand-deep: #00b874;
  --accent: #effff8;
  --cyan: #7ccfd5;
  --ink: #03110d;
  color: var(--text);
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 12%), rgba(40, 247, 168, 0.16), transparent 22rem),
    radial-gradient(circle at 78% 8%, rgba(86, 243, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 36%, rgba(40, 247, 168, 0.06), transparent 22rem),
    linear-gradient(180deg, #071512 0%, #020807 58%, #000302 100%);
}

body.home-page[data-theme="light"] .hero::before {
  content: "";
  z-index: 0;
  background:
    linear-gradient(128deg, transparent 0 40%, rgba(255, 255, 255, 0.07) 47%, transparent 55%),
    linear-gradient(rgba(174, 212, 198, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 212, 198, 0.022) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 32%, #000 100%);
}

body.home-page[data-theme="light"] .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 8rem;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 3, 2, 0.72));
  opacity: 0.78;
}

body.home-page[data-theme="light"] .hero-ambient {
  opacity: 0.58;
  filter: blur(12px);
  background:
    radial-gradient(circle at 66% 36%, rgba(40, 247, 168, 0.12), transparent 19rem),
    radial-gradient(circle at 30% 66%, rgba(124, 207, 213, 0.06), transparent 18rem);
}

body.home-page[data-theme="light"] .hero h1,
body.home-page[data-theme="light"] .hero h2,
body.home-page[data-theme="light"] .hero h3,
body.home-page[data-theme="light"] .hero .hero-intro {
  color: var(--text);
}

body.home-page[data-theme="light"] .hero .hero-intro {
  color: var(--muted);
}

body.home-page[data-theme="light"] .hero .eyebrow {
  color: var(--brand);
}

body.home-page[data-theme="light"] .difference-panel,
body.home-page[data-theme="light"] .difference-grid,
body.home-page[data-theme="light"] .difference-item {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.home-page[data-theme="light"] .difference-panel::before {
  opacity: 0.92;
  background: conic-gradient(
    from 18deg,
    rgba(86, 243, 255, 0.58) 0deg 156deg,
    transparent 158deg 202deg,
    rgba(40, 247, 168, 0.36) 204deg 294deg,
    transparent 296deg 360deg
  );
}

body.home-page[data-theme="light"] .difference-panel::after {
  opacity: 0.82;
  background: conic-gradient(
    from 148deg,
    rgba(86, 243, 255, 0.28) 0deg 128deg,
    transparent 130deg 196deg,
    rgba(40, 247, 168, 0.28) 198deg 274deg,
    transparent 276deg 360deg
  );
}

body.home-page[data-theme="light"] .difference-grid::before {
  opacity: 0.7;
  background:
    radial-gradient(circle at 72% 14%, rgba(239, 255, 248, 0.82) 0 2px, rgba(86, 243, 255, 0.38) 3px, transparent 6px),
    conic-gradient(
      from 248deg,
      transparent 0deg 34deg,
      rgba(239, 255, 248, 0.2) 36deg 132deg,
      transparent 134deg 212deg,
      rgba(86, 243, 255, 0.24) 214deg 286deg,
      transparent 288deg 360deg
    );
}

body.home-page[data-theme="light"] .difference-icon {
  color: var(--brand);
  filter:
    drop-shadow(0 0 10px rgba(40, 247, 168, 0.38))
    drop-shadow(0 0 22px rgba(40, 247, 168, 0.16));
}

body.home-page[data-theme="light"] .difference-item strong {
  color: rgba(239, 255, 248, 0.95);
  text-shadow: none;
}

body.home-page[data-theme="light"] .hero + .how-help-section {
  background:
    radial-gradient(circle at 50% 12%, rgba(8, 123, 83, 0.11), transparent 26rem),
    linear-gradient(180deg, #fffefa 0%, #f4f1e8 70%, #e9eee7 100%);
}

body[data-theme="light"] .how-help-section.reveal,
body[data-theme="light"] .how-help-section.reveal h2,
body[data-theme="light"] .how-help-section.reveal .help-item {
  opacity: 1 !important;
  transition-delay: 0ms !important;
}

/* Home refinements: full-screen customers, Font Awesome help icons, animated dividers */
.how-help-section {
  --help-divider-flow: linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.42), rgba(23, 127, 140, 0.22), transparent);
}

.how-help-section::after {
  width: min(820px, 76vw);
  background:
    radial-gradient(circle, transparent 0 45.8%, rgba(239, 255, 248, 0.18) 46.2% 47.6%, transparent 48.1%, transparent 63.4%, rgba(239, 255, 248, 0.2) 64% 66.1%, transparent 66.8%),
    radial-gradient(circle, transparent 0 44%, rgba(40, 247, 168, 0.055) 46%, rgba(40, 247, 168, 0.14) 66%, transparent 74%);
  -webkit-mask: radial-gradient(circle, transparent 0 43.6%, #000 44.2% 69%, transparent 70%);
  mask: radial-gradient(circle, transparent 0 43.6%, #000 44.2% 69%, transparent 70%);
  box-shadow:
    inset 0 0 0 2px rgba(239, 255, 248, 0.08),
    0 0 54px rgba(40, 247, 168, 0.12);
}

.how-help-section .shell::before {
  content: none;
}

.help-strip {
  isolation: isolate;
}

.help-strip::before,
.help-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.help-strip::before {
  background:
    linear-gradient(180deg, transparent, rgba(8, 123, 83, 0.24), transparent) 33.333% 0 / 1px 48% no-repeat,
    linear-gradient(180deg, transparent, rgba(8, 123, 83, 0.24), transparent) 66.666% 0 / 1px 48% no-repeat,
    linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.22), rgba(8, 123, 83, 0.22), transparent) 50% 48% / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(8, 123, 83, 0.24), transparent) 50% 48% / 1px 52% no-repeat,
    var(--help-divider-flow) -42% 48% / 38% 2px no-repeat;
  opacity: 0.72;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
  animation: helpDividerFlow 4.8s ease-in-out infinite;
}

.help-strip::after {
  content: none;
}

.help-item {
  z-index: 1;
}

.help-item:nth-child(1),
.help-item:nth-child(2),
.help-item:nth-child(3),
.help-item:nth-child(4),
.help-item:nth-child(5),
.help-item:nth-child(6) {
  border-color: transparent;
  box-shadow: none;
}

.help-icon i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 2rem;
  line-height: 1;
}

.client-marquee-section {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: clamp(3.5rem, 6vw, 5.8rem) 0 clamp(3.2rem, 5vw, 5rem);
}

.client-marquee-section::after {
  content: "OUR CUSTOMERS";
  position: absolute;
  left: 50%;
  top: 8%;
  z-index: 0;
  pointer-events: none;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(7rem, 12vw, 14rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(19, 44, 37, 0.09);
  text-stroke: 1.5px rgba(19, 44, 37, 0.09);
  opacity: 0.82;
  transform: translateX(-50%);
  animation: customerWordFloat 9s ease-in-out infinite;
}

.client-showcase-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(560px, 1.08fr) minmax(0, 0.72fr);
  gap: clamp(2.3rem, 5vw, 4.8rem);
  align-items: center;
}

.client-showcase-shell .client-marquee-heading {
  display: block;
  margin: 0;
  max-width: 560px;
  justify-self: end;
}

.client-showcase-shell .client-marquee-heading h2 {
  max-width: 13ch;
  margin-top: 0.8rem;
  font-size: clamp(2.2rem, 4.15vw, 4.15rem);
  line-height: 0.98;
}

.client-showcase-shell .client-marquee-heading p:not(.eyebrow) {
  max-width: 38ch;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.client-showcase-shell .client-marquee {
  display: block;
  width: 100%;
  overflow: visible;
  border: 0;
  background: transparent;
  mask-image: none;
}

.client-showcase-shell .client-marquee-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  min-width: 0;
  padding: 0;
}

.client-showcase-shell .client-logo-stack .client-marquee-track {
  grid-template-columns: 1fr;
  gap: clamp(0.78rem, 1.25vw, 1.05rem);
  width: min(100%, 560px);
  margin-inline: auto;
}

.client-showcase-shell .client-logo-tile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-width: 0;
  min-height: clamp(152px, 16.8vw, 190px);
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  border-radius: 24px;
  border-color: rgba(163, 255, 221, 0.18);
  background:
    radial-gradient(circle at 88% 8%, rgba(40, 247, 168, 0.16), transparent 10rem),
    linear-gradient(145deg, rgba(8, 36, 30, 0.98), rgba(1, 12, 10, 0.96));
  box-shadow: 0 24px 64px rgba(3, 18, 15, 0.28), inset 0 0 0 1px rgba(239, 255, 248, 0.06);
  color: #effff8;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.client-showcase-shell .client-logo-tile::after {
  content: "Read more →";
  position: absolute;
  right: 1.1rem;
  bottom: 0.95rem;
  color: currentColor;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-0.45rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

body[data-theme] .client-showcase-shell .client-logo-tile {
  border-color: rgba(163, 255, 221, 0.18);
  background:
    radial-gradient(circle at 88% 8%, rgba(40, 247, 168, 0.16), transparent 10rem),
    linear-gradient(145deg, rgba(8, 36, 30, 0.98), rgba(1, 12, 10, 0.96));
  box-shadow: 0 24px 64px rgba(3, 18, 15, 0.28), inset 0 0 0 1px rgba(239, 255, 248, 0.06);
}

body[data-theme="light"] .client-showcase-shell .client-logo-tile {
  border-color: rgba(24, 67, 54, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 8%, rgba(8, 123, 83, 0.055), transparent 10rem),
    rgba(255, 255, 252, 0.92);
  box-shadow: 0 16px 44px rgba(31, 55, 47, 0.1);
  color: #132c25;
}

.client-showcase-shell .client-logo-tile:nth-child(even) {
  transform: none;
}

.client-showcase-shell .client-logo-tile img {
  width: min(90%, 310px);
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
  transition: transform 240ms ease, filter 240ms ease;
}

.client-showcase-shell .client-logo-tile-wide img {
  width: min(96%, 360px);
  max-height: 112px;
}

.client-showcase-shell .client-logo-stack .client-logo-tile {
  min-height: clamp(90px, 8.1vw, 112px);
  padding: clamp(0.82rem, 1.35vw, 1.08rem);
  border-radius: 16px;
}

.client-showcase-shell .client-logo-stack .client-logo-tile img {
  width: min(84%, 270px);
  max-height: 58px;
}

.client-showcase-shell .client-logo-stack .client-logo-tile-wide img {
  width: min(92%, 330px);
  max-height: 68px;
}

.slsnz-logo-dark {
  display: none;
}

body[data-theme="dark"] .slsnz-logo-light {
  display: none;
}

body[data-theme="dark"] .slsnz-logo-dark {
  display: block;
}

body[data-theme="light"] .client-showcase-shell .logo-needs-light-contrast img {
  filter:
    brightness(0)
    saturate(100%)
    invert(14%)
    sepia(21%)
    saturate(1049%)
    hue-rotate(111deg)
    brightness(92%)
    contrast(95%);
}

.client-showcase-shell .client-logo-tile:hover,
.client-showcase-shell .client-logo-tile:focus-visible {
  border-color: rgba(40, 247, 168, 0.36);
  box-shadow: 0 30px 78px rgba(3, 18, 15, 0.34), inset 0 0 0 1px rgba(40, 247, 168, 0.16);
  transform: none;
}

.client-showcase-shell .client-logo-tile:nth-child(even):hover,
.client-showcase-shell .client-logo-tile:nth-child(even):focus-visible {
  transform: none;
}

.client-showcase-shell .client-logo-tile:hover::after,
.client-showcase-shell .client-logo-tile:focus-visible::after {
  opacity: 0.86;
  transform: translateX(0);
}

.client-showcase-shell .client-logo-tile:hover img,
.client-showcase-shell .client-logo-tile:focus-visible img {
  transform: scale(1.08);
}

.motion-ready .client-marquee-section.reveal .client-marquee-heading,
.motion-ready .client-marquee-section.reveal .client-logo-tile,
.motion-ready .client-marquee-section.reveal .partner-marquee {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 720ms ease, transform 720ms ease;
}

.motion-ready .client-marquee-section.reveal .client-logo-tile:nth-child(even) {
  transform: translateY(2.2rem);
}

.motion-ready .client-marquee-section.reveal.is-visible .client-marquee-heading,
.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile,
.motion-ready .client-marquee-section.reveal.is-visible .partner-marquee {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile:nth-child(even) {
  transform: translateY(0);
}

.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile:nth-child(1) { transition-delay: 120ms; }
.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile:nth-child(2) { transition-delay: 190ms; }
.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile:nth-child(3) { transition-delay: 260ms; }
.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile:nth-child(4) { transition-delay: 330ms; }
.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile:nth-child(5) { transition-delay: 400ms; }
.motion-ready .client-marquee-section.reveal.is-visible .client-logo-tile:nth-child(6) { transition-delay: 470ms; }
.motion-ready .client-marquee-section.reveal.is-visible .client-marquee-heading { transition-delay: 220ms; }
.motion-ready .client-marquee-section.reveal.is-visible .partner-marquee { transition-delay: 520ms; }

.partner-marquee {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  width: min(1160px, calc(100vw - 2rem));
  margin: clamp(2.8rem, 5vw, 4.8rem) auto 0;
}

.partner-marquee p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 800;
  text-align: left;
}

.partner-logo-rail {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-logo-track {
  display: flex;
  align-items: center;
  gap: clamp(2.4rem, 5vw, 4.8rem);
  width: max-content;
  animation: partnerLogoScroll 46s linear infinite;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: clamp(150px, 12vw, 210px);
  height: 62px;
  flex: 0 0 auto;
}

.partner-logo-wide {
  width: clamp(190px, 14vw, 250px);
}

.partner-logo img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.86;
  mix-blend-mode: normal;
  filter: brightness(0) saturate(0) drop-shadow(0 10px 18px rgba(4, 20, 17, 0.08));
}

body[data-theme="dark"] .partner-logo img {
  filter: brightness(0) invert(1) drop-shadow(0 10px 18px rgba(40, 247, 168, 0.08));
  mix-blend-mode: normal;
  opacity: 0.82;
}

body[data-theme="light"] .partner-logo img,
body[data-theme="light"] .partner-logo-invert-on-light img {
  filter: brightness(0) saturate(0) drop-shadow(0 10px 18px rgba(4, 20, 17, 0.08));
  opacity: 0.72;
}

@media (max-width: 980px) {
  .client-showcase-shell {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .client-showcase-shell .client-marquee-heading {
    order: -1;
    justify-self: start;
  }

  .client-showcase-shell .client-marquee-heading h2 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .help-strip::before,
  .help-strip::after {
    display: none;
  }

  .help-item {
    border-top: 1px solid rgba(8, 123, 83, 0.18);
  }

  .client-marquee-section {
    min-height: auto;
  }

  .client-marquee-section::after {
    top: 4%;
    font-size: clamp(4.8rem, 24vw, 8rem);
  }

  .client-showcase-shell .client-marquee-track {
    grid-template-columns: 1fr;
  }

  .client-showcase-shell .client-logo-tile,
  .client-showcase-shell .client-logo-tile:nth-child(even) {
    transform: none;
  }

  .partner-logo-track {
    gap: 2rem;
  }
}

@keyframes helpDividerFlow {
  0%,
  100% {
    background-position: 33.333% 0, 66.666% 0, 50% 48%, 50% 48%, -42% 48%;
    opacity: 0.64;
  }
  50% {
    background-position: 33.333% 0, 66.666% 0, 50% 48%, 50% 48%, 142% 48%;
    opacity: 1;
  }
}

@keyframes customerWordFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(1.1rem);
  }
}

@keyframes customerLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.9rem);
  }
}

@keyframes partnerLogoScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Final service taxonomy refinements */
.services-dropdown {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-dropdown-icon i,
.service-button-icon i {
  display: grid;
  place-items: center;
  line-height: 1;
}

.services-hero::before,
.services-hero::after,
.how-help-section .shell::before,
.how-help-section .shell::after,
body[data-theme="light"] .services-hero::before,
body[data-theme="light"] .services-hero::after,
body[data-theme="light"] .page-hero::after {
  content: none !important;
  display: none !important;
}

.services-hero-shell {
  grid-template-columns: minmax(0, 0.56fr) minmax(620px, 1.24fr);
}

.services-hero-copy h1,
.services-hero-copy h2 {
  font-size: clamp(2.45rem, 4.8vw, 4.9rem);
}

.service-button-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-button:hover > span:last-child,
.service-button:focus-visible > span:last-child {
  transform: translateX(0.18rem);
}

body[data-theme="light"] .service-button:hover,
body[data-theme="light"] .service-button:focus-visible {
  color: #102b23;
  border-color: rgba(8, 123, 83, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.12), transparent 10rem),
    linear-gradient(135deg, rgba(255, 255, 252, 0.96), rgba(237, 244, 237, 0.92));
  box-shadow: 0 22px 50px rgba(31, 55, 47, 0.14), 0 0 0 1px rgba(8, 123, 83, 0.08);
}

.help-strip {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.help-item {
  color: var(--text);
  text-decoration: none;
}

.help-item:nth-child(n) {
  grid-column: auto;
  width: auto;
  margin-left: 0;
}

.help-item:nth-child(1),
.help-item:nth-child(2),
.help-item:nth-child(3),
.help-item:nth-child(4) {
  grid-column: span 3;
  border-bottom: 1px solid rgba(163, 255, 221, 0.24);
}

.help-item:nth-child(5),
.help-item:nth-child(6),
.help-item:nth-child(7) {
  grid-column: span 4;
  padding-top: 2rem;
}

.help-item:nth-child(2),
.help-item:nth-child(3),
.help-item:nth-child(4),
.help-item:nth-child(6),
.help-item:nth-child(7) {
  border-left: 1px solid rgba(163, 255, 221, 0.24);
  box-shadow: -1px 0 0 rgba(40, 247, 168, 0.08);
}

.help-item:hover,
.help-item:focus-visible {
  color: var(--text);
  outline: none;
  transform: translateY(calc(var(--help-item-lift) - 0.28rem));
}

.help-item:hover .help-icon,
.help-item:focus-visible .help-icon {
  color: var(--brand);
  filter: drop-shadow(0 0 14px rgba(40, 247, 168, 0.34));
}

.integration-hero {
  min-height: auto;
  padding: calc(var(--header-height) + 3rem) 0 clamp(3.5rem, 7vw, 5.8rem);
  background:
    radial-gradient(circle at 78% 26%, rgba(40, 247, 168, 0.18), transparent 24rem),
    radial-gradient(circle at 15% 18%, rgba(124, 207, 213, 0.1), transparent 22rem),
    linear-gradient(135deg, rgba(2, 8, 7, 0.98), rgba(8, 35, 29, 0.94));
}

.integration-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.integration-hero-copy h1 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.integration-hero-copy h2 {
  max-width: 16ch;
  margin: 0.6rem 0 1rem;
  color: var(--text);
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.14;
}

.integration-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 34vw, 430px);
}

.integration-core,
.integration-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 255, 248, 0.38);
  background: rgba(239, 255, 248, 0.08);
  color: var(--text);
  box-shadow: 0 0 32px rgba(40, 247, 168, 0.12);
}

.integration-core {
  width: 110px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: rgba(239, 255, 248, 0.96);
  color: #0a4bb8;
  font-size: 3.2rem;
  animation: softPulse 3.4s ease-in-out infinite;
}

.integration-node {
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 1.7rem;
}

.integration-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 255, 248, 0.38));
  transform-origin: left center;
  z-index: -1;
}

.node-cloud { transform: translate(-28px, -150px); }
.node-chart { transform: translate(150px, -104px); }
.node-data { transform: translate(184px, 22px); }
.node-users { transform: translate(104px, 132px); }
.node-list { transform: translate(-128px, 126px); }
.node-gear { transform: translate(-170px, 0); }

.node-cloud::before { transform: rotate(72deg); }
.node-chart::before { transform: rotate(132deg); }
.node-data::before { transform: rotate(180deg); }
.node-users::before { transform: rotate(-132deg); }
.node-list::before { transform: rotate(-48deg); }
.node-gear::before { transform: rotate(0deg); }

.service-section-heading.wide-left {
  max-width: 980px;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.integration-benefit-grid,
.integration-system-grid,
.integration-steps {
  display: grid;
  gap: 1rem;
}

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

.integration-benefit-grid article,
.integration-system-card,
.integration-steps article {
  border: 1px solid rgba(174, 212, 198, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.08), transparent 10rem),
    rgba(8, 24, 21, 0.58);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.integration-benefit-grid article {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.6rem;
  text-align: center;
}

.integration-benefit-grid i,
.integration-card-icon,
.integration-steps i {
  color: var(--brand);
  font-size: 2rem;
}

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

.integration-systems-shell {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(174, 212, 198, 0.12);
  border-radius: 28px;
  background: rgba(239, 255, 248, 0.04);
}

.integration-system-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.integration-system-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.integration-ms-window,
.integration-card-icon {
  display: inline-grid;
  margin-bottom: 1rem;
}

.integration-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.integration-steps article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.35rem;
}

.integration-steps article > span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  color: #06221b;
  font-size: 0.9rem;
  font-weight: 900;
}

.compact-cta-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 0.65fr) auto;
  gap: 1.3rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(40, 247, 168, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(3, 26, 22, 0.96), rgba(8, 64, 48, 0.78));
}

.compact-cta-shell > i {
  color: var(--brand);
  font-size: 2.4rem;
}

body[data-theme="light"] .integration-hero {
  background:
    radial-gradient(circle at 78% 26%, rgba(40, 247, 168, 0.16), transparent 24rem),
    radial-gradient(circle at 15% 18%, rgba(124, 207, 213, 0.14), transparent 22rem),
    linear-gradient(135deg, #0b211b, #11392e);
}

body[data-theme="light"] .integration-benefit-grid article,
body[data-theme="light"] .integration-system-card,
body[data-theme="light"] .integration-steps article {
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.08), transparent 10rem),
    rgba(255, 255, 252, 0.84);
  box-shadow: 0 18px 42px rgba(36, 50, 43, 0.1);
}

.implementation-hero,
.improvement-hero,
.migration-hero,
.support-hero {
  min-height: auto;
  padding-top: calc(var(--header-height) + clamp(2rem, 4vw, 3.4rem));
  padding-bottom: clamp(2.8rem, 5vw, 4.4rem);
}

.implementation-section-heading,
.implementation-approach-heading,
.section-heading {
  max-width: min(980px, 100%);
  text-align: left;
  margin-inline: 0 auto;
}

.implementation-section-heading h2,
.section-heading h2,
.capability-section-heading h2,
.oa-section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.implementation-card {
  text-align: center;
}

.implementation-card-icon,
.panel-card > span,
.feature-band .eyebrow {
  justify-self: center;
}

@media (max-width: 1100px) {
  .integration-hero-shell {
    grid-template-columns: 1fr;
  }

  .integration-visual {
    min-height: 340px;
  }

  .integration-benefit-grid,
  .integration-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-cta-shell {
    grid-template-columns: auto 1fr;
  }

  .compact-cta-shell .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .help-strip,
  .service-button-grid,
  .integration-benefit-grid,
  .integration-system-grid,
  .integration-steps {
    grid-template-columns: 1fr;
  }

  .help-item:nth-child(n) {
    grid-column: auto;
    border-left: 0;
    border-bottom: 1px solid rgba(163, 255, 221, 0.18);
    padding-top: 1.6rem;
  }

  .integration-visual {
    transform: scale(0.82);
    transform-origin: center;
  }
}

.coming-soon-card {
  display: grid;
  align-content: center;
  gap: 1rem;
  min-height: clamp(320px, 34vw, 460px);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(174, 212, 198, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.12), transparent 14rem),
    rgba(8, 24, 21, 0.72);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.coming-soon-icon {
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  color: var(--brand);
  border: 1px solid rgba(40, 247, 168, 0.22);
  border-radius: 50%;
  background: rgba(40, 247, 168, 0.08);
  font-size: 2.3rem;
}

.coming-soon-card p:not(.eyebrow) {
  color: var(--muted);
  max-width: 44rem;
}

body[data-theme="light"] .coming-soon-card {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 123, 83, 0.09), transparent 14rem),
    rgba(255, 255, 252, 0.88);
  box-shadow: 0 20px 52px rgba(31, 55, 47, 0.11);
}

@media (max-width: 1080px) {
  .services-hero-shell {
    grid-template-columns: 1fr;
  }

  .service-button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 720px) {
  .services-dropdown,
  .service-button-grid {
    grid-template-columns: 1fr;
  }
}

/* About and product editorial pages */
.oa-about-hero,
.sentinel-hero {
  position: relative;
  overflow: hidden;
}

.oa-about-hero::before,
.sentinel-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(40, 247, 168, 0.12), transparent 22rem),
    radial-gradient(circle at 18% 78%, rgba(23, 127, 140, 0.12), transparent 24rem);
}

.oa-about-hero-shell,
.sentinel-hero-shell,
.oa-two-column {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.oa-about-hero-copy,
.sentinel-hero-copy {
  display: grid;
  gap: 1rem;
}

.oa-about-hero-copy p:not(.eyebrow),
.sentinel-hero-copy p:not(.eyebrow),
.oa-two-column p,
.sentinel-note {
  color: var(--muted);
}

.oa-about-visual,
.sentinel-console {
  position: relative;
  min-height: clamp(360px, 36vw, 520px);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(40, 247, 168, 0.08), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.oa-about-visual::before,
.sentinel-console::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(163, 255, 221, 0.1);
  border-radius: 22px;
  pointer-events: none;
}

.oa-screen-card {
  position: absolute;
  left: 12%;
  right: 10%;
  top: 16%;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(163, 255, 221, 0.18);
  border-radius: 18px;
  background: rgba(1, 14, 12, 0.8);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.oa-window-bar {
  display: flex;
  gap: 0.35rem;
}

.oa-window-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
}

.oa-dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr 1fr;
  gap: 0.6rem;
}

.oa-dashboard-grid span,
.oa-chart-row span {
  min-height: 52px;
  border-radius: 14px;
  background: rgba(239, 255, 248, 0.08);
}

.oa-chart-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0.5rem;
  height: 110px;
}

.oa-chart-row span:nth-child(1) { height: 42%; }
.oa-chart-row span:nth-child(2) { height: 74%; background: rgba(40, 247, 168, 0.42); }
.oa-chart-row span:nth-child(3) { height: 58%; }
.oa-chart-row span:nth-child(4) { height: 88%; background: rgba(23, 127, 140, 0.44); }

.oa-people-row {
  position: absolute;
  left: 18%;
  right: 16%;
  bottom: 14%;
  display: flex;
  justify-content: space-between;
}

.oa-people-row span {
  width: clamp(58px, 7vw, 88px);
  height: clamp(88px, 9vw, 124px);
  border-radius: 999px 999px 22px 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(239, 255, 248, 0.9) 0 18%, transparent 19%),
    linear-gradient(180deg, rgba(40, 247, 168, 0.85), rgba(8, 123, 83, 0.56));
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.oa-about-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.oa-about-facts article,
.oa-info-card,
.oa-check-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.oa-about-facts article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 92px;
  padding: 1rem;
}

.oa-mini-icon,
.oa-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(40, 247, 168, 0.1);
  font-weight: 900;
}

.oa-section-heading {
  max-width: 820px;
  margin-bottom: 1.4rem;
}

.oa-section-heading p {
  color: var(--muted);
}

.oa-card-grid {
  display: grid;
  gap: 1rem;
}

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

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

.oa-card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.oa-info-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.oa-info-card.compact {
  text-align: center;
}

.oa-info-card.compact .oa-card-icon {
  margin-inline: auto;
}

.oa-info-card p,
.oa-info-card li {
  color: var(--muted);
}

.oa-check-panel {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.oa-check-list {
  display: grid;
  gap: 0.62rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.oa-check-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oa-check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
}

.oa-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 900;
}

.oa-callout {
  padding: 1rem;
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: rgba(40, 247, 168, 0.08);
  font-weight: 800;
}

.oa-lifecycle {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.oa-lifecycle span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 1rem;
  color: var(--text);
  background: var(--surface);
  font-weight: 900;
  text-align: center;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
}

.sentinel-console {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 1.4rem);
}

.sentinel-status-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 122px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(239, 255, 248, 0.05);
}

.sentinel-status-card b {
  color: var(--brand);
  font-size: 2rem;
}

.sentinel-status-card em,
.sentinel-status-card small,
.sentinel-status-card li {
  color: var(--muted);
}

.sentinel-status-card ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1rem;
  margin: 0;
}

.sentinel-sparkline {
  height: 54px;
  background:
    linear-gradient(135deg, transparent 0 15%, rgba(40, 247, 168, 0.5) 16% 18%, transparent 19% 34%, rgba(40, 247, 168, 0.7) 35% 38%, transparent 39% 52%, rgba(23, 127, 140, 0.68) 53% 56%, transparent 57% 100%);
}

.sentinel-console-icons {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.sentinel-console-icons span,
.sentinel-flow span {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(40, 247, 168, 0.08);
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.sentinel-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.sentinel-note {
  margin-top: 1rem;
}

body[data-theme="light"] .oa-about-visual,
body[data-theme="light"] .sentinel-console,
body[data-theme="light"] .oa-about-facts article,
body[data-theme="light"] .oa-info-card,
body[data-theme="light"] .oa-check-panel,
body[data-theme="light"] .oa-lifecycle span {
  background: rgba(255, 255, 252, 0.86);
}

body[data-theme="light"] .oa-screen-card {
  background: rgba(255, 255, 252, 0.88);
}

body[data-theme="light"] .oa-dashboard-grid span,
body[data-theme="light"] .oa-chart-row span,
body[data-theme="light"] .sentinel-status-card {
  background: rgba(8, 123, 83, 0.07);
}

@media (max-width: 1080px) {
  .oa-about-hero-shell,
  .sentinel-hero-shell,
  .oa-two-column,
  .oa-card-grid.two,
  .oa-card-grid.three,
  .oa-card-grid.five {
    grid-template-columns: 1fr;
  }

  .oa-about-facts,
  .oa-lifecycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .oa-about-facts,
  .oa-check-list.two-col,
  .oa-lifecycle,
  .sentinel-console,
  .sentinel-console-icons,
  .sentinel-flow {
    grid-template-columns: 1fr;
  }
}

/* Home services visual cleanup and interaction pass */
.how-help-section {
  --home-service-letter: rgba(8, 64, 48, 0.09);
  --home-service-line: rgba(8, 123, 83, 0.2);
  --home-service-line-bright: rgba(40, 247, 168, 0.5);
  background:
    radial-gradient(circle at 50% 20%, rgba(8, 123, 83, 0.105), transparent 27rem),
    linear-gradient(180deg, rgba(255, 255, 252, 0.62), rgba(234, 240, 232, 0.52));
  isolation: isolate;
}

body[data-theme="dark"] .how-help-section {
  --home-service-letter: rgba(239, 255, 248, 0.08);
  --home-service-line: rgba(163, 255, 221, 0.2);
  --home-service-line-bright: rgba(40, 247, 168, 0.54);
  background:
    radial-gradient(circle at 50% 20%, rgba(40, 247, 168, 0.08), transparent 27rem),
    linear-gradient(180deg, rgba(1, 8, 7, 0.92), rgba(5, 18, 15, 0.9));
}

body.home-page[data-theme="light"] .hero + .how-help-section {
  background:
    radial-gradient(circle at 50% 18%, rgba(8, 123, 83, 0.11), transparent 27rem),
    linear-gradient(180deg, #fffefa 0%, #f5f1e8 66%, #e9eee7 100%);
}

.how-help-section::before {
  content: none !important;
  display: none !important;
}

.how-help-section::after,
.how-help-section .shell::before {
  content: "O" !important;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(22rem, 42vw, 48rem);
  font-weight: 900;
  line-height: 0.74;
  background: none !important;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 34px rgba(40, 247, 168, 0.055));
  -webkit-mask: none;
  mask: none;
  -webkit-text-stroke: 2px var(--home-service-letter);
  text-stroke: 2px var(--home-service-letter);
  opacity: 0.48;
  animation: homeServiceOABreathe 10s ease-in-out infinite;
}

.how-help-section::after {
  left: clamp(1rem, 12vw, 12rem);
  top: 38%;
  width: auto !important;
  aspect-ratio: auto;
  transform: translate(-50%, -50%) scale(0.99);
}

.how-help-section .shell::before {
  content: "A" !important;
  left: clamp(8rem, 27vw, 28rem);
  top: 64%;
  right: auto;
  transform: translate(-50%, -50%) scale(0.99);
  animation-delay: -3.5s;
}

.how-help-section .shell::after {
  content: none !important;
  display: none !important;
}

.help-strip {
  width: min(1120px, calc(100vw - 2rem));
  overflow: visible;
}

.help-strip::before {
  content: none !important;
  display: none !important;
}

.help-strip::after {
  content: "" !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 0;
  display: block !important;
  height: 1px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, var(--home-service-line), var(--home-service-line-bright), var(--home-service-line), transparent);
  background-size: 220% 100%;
  opacity: 0.56;
  animation: homeServiceDividerSweep 7s ease-in-out infinite;
}

.help-item {
  z-index: 1;
  min-height: 172px;
  padding: 1.4rem clamp(1rem, 2.2vw, 2rem) 1.8rem;
  border: 0 !important;
  border-radius: 22px;
  cursor: pointer;
  background: radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0), transparent 12rem);
  box-shadow: none !important;
  transition:
    transform 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease,
    color 240ms ease;
}

.help-item::before {
  content: "";
  position: absolute;
  right: 0;
  top: 17%;
  bottom: 17%;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--home-service-line), transparent);
  opacity: 0;
  transition: opacity 220ms ease, filter 220ms ease;
  animation: none;
}

.help-item:nth-child(1)::before,
.help-item:nth-child(2)::before,
.help-item:nth-child(3)::before,
.help-item:nth-child(5)::before,
.help-item:nth-child(6)::before {
  opacity: 0.58;
  animation: homeServiceDividerBreath 6.5s ease-in-out infinite;
}

.help-strip:hover::after,
.help-strip:focus-within::after {
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.26));
}

.help-item::after {
  content: "";
  position: absolute;
  inset: 0.35rem;
  z-index: -1;
  pointer-events: none;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 12%, rgba(40, 247, 168, 0.13), transparent 10rem),
    rgba(255, 255, 255, 0.02);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 240ms ease, transform 240ms ease;
}

.help-icon,
.help-icon i,
.help-item strong {
  transition: transform 240ms ease, color 240ms ease, filter 240ms ease;
}

.help-item:hover,
.help-item:focus-visible {
  color: var(--text);
  outline: none;
  transform: translateY(calc(var(--help-item-lift) - 0.34rem));
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0.1), transparent 12rem),
    rgba(40, 247, 168, 0.018);
  box-shadow: 0 22px 48px rgba(8, 64, 48, 0.08), 0 0 28px rgba(40, 247, 168, 0.08) !important;
}

.help-item:hover::before,
.help-item:focus-visible::before {
  opacity: 0.98;
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.42));
}

.help-item:hover::after,
.help-item:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.help-item:hover .help-icon,
.help-item:focus-visible .help-icon {
  color: var(--brand);
  transform: translateY(-0.24rem) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(40, 247, 168, 0.32));
}

.help-item:hover strong,
.help-item:focus-visible strong {
  color: var(--brand);
  transform: translateY(-0.06rem);
}

.help-item:active {
  transform: translateY(calc(var(--help-item-lift) - 0.12rem)) scale(0.985);
  box-shadow: 0 14px 34px rgba(8, 64, 48, 0.1), 0 0 34px rgba(40, 247, 168, 0.16) !important;
}

body[data-theme="dark"] .help-item:hover,
body[data-theme="dark"] .help-item:focus-visible {
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0.1), transparent 12rem),
    rgba(40, 247, 168, 0.026);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.2), 0 0 30px rgba(40, 247, 168, 0.08) !important;
}

@keyframes homeServiceOABreathe {
  0%,
  100% {
    opacity: 0.36;
    filter: drop-shadow(0 0 18px rgba(40, 247, 168, 0.035));
    scale: 0.992;
  }
  50% {
    opacity: 0.56;
    filter: drop-shadow(0 0 42px rgba(40, 247, 168, 0.075));
    scale: 1.01;
  }
}

@keyframes homeServiceDividerSweep {
  0%,
  100% {
    background-position: 120% 0;
    opacity: 0.42;
  }
  50% {
    background-position: -20% 0;
    opacity: 0.82;
  }
}

@keyframes homeServiceDividerBreath {
  0%,
  100% {
    opacity: 0.44;
  }
  50% {
    opacity: 0.78;
  }
}

@media (max-width: 900px) {
  .how-help-section::after {
    left: 8%;
    top: 34%;
    font-size: clamp(18rem, 58vw, 30rem);
    opacity: 0.34;
  }

  .how-help-section .shell::before {
    left: 38%;
    top: 70%;
    right: auto;
    font-size: clamp(18rem, 58vw, 30rem);
    opacity: 0.28;
  }

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

  .help-item:nth-child(n) {
    grid-column: auto;
    padding-top: 1.4rem;
  }

  .help-strip::after {
    display: none !important;
  }

  .help-item:nth-child(n)::before {
    opacity: 0.46;
    animation: homeServiceDividerBreath 6.5s ease-in-out infinite;
  }

  .help-item:nth-child(even)::before {
    opacity: 0;
    animation: none;
  }
}

@media (max-width: 640px) {
  .how-help-section::after {
    font-size: 22rem;
    opacity: 0.24;
  }

  .how-help-section::after {
    left: -16%;
    top: 40%;
  }

  .how-help-section .shell::before {
    display: none !important;
    content: none !important;
  }

  .help-strip {
    grid-template-columns: 1fr;
    width: min(520px, calc(100vw - 2rem));
  }

  .help-item:nth-child(n)::before {
    opacity: 0;
  }

  .help-item {
    min-height: auto;
    padding: 1.15rem 1rem 1.35rem;
    border-top: 1px solid rgba(8, 123, 83, 0.14) !important;
  }

  .help-item:first-child {
    border-top: 0 !important;
  }
}

/* Intentional full-page placeholder for service pages still in progress */
.coming-soon-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: calc(var(--header-height) + clamp(2.2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(40, 247, 168, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(2, 8, 7, 0.96), rgba(4, 18, 15, 0.92));
}

body[data-theme="light"] .coming-soon-hero {
  background:
    radial-gradient(circle at 50% 18%, rgba(8, 123, 83, 0.12), transparent 25rem),
    linear-gradient(180deg, #fffefa 0%, #f5f1e8 62%, #e9eee7 100%);
}

.coming-soon-hero::before,
.coming-soon-hero::after {
  content: "OA" !important;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(18rem, 34vw, 38rem);
  font-weight: 900;
  letter-spacing: -0.18em;
  line-height: 0.8;
  -webkit-text-stroke: 2px rgba(239, 255, 248, 0.07);
  text-stroke: 2px rgba(239, 255, 248, 0.07);
  opacity: 0.38;
  animation: comingSoonBreath 10s ease-in-out infinite;
}

.coming-soon-hero::before {
  left: -6%;
  top: 16%;
}

.coming-soon-hero::after {
  right: -7%;
  bottom: 3%;
  animation-delay: -4s;
}

body[data-theme="light"] .coming-soon-hero::before,
body[data-theme="light"] .coming-soon-hero::after {
  -webkit-text-stroke-color: rgba(8, 64, 48, 0.095);
  text-stroke-color: rgba(8, 64, 48, 0.095);
  opacity: 0.44;
}

.coming-soon-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.coming-soon-card.coming-soon-state {
  position: relative;
  isolation: isolate;
  width: min(900px, 100%);
  min-height: auto;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  align-content: center;
  justify-items: center;
  text-align: center;
  border-color: rgba(163, 255, 221, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(11, 36, 31, 0.88), rgba(2, 10, 8, 0.94));
  box-shadow:
    0 34px 88px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.coming-soon-card.coming-soon-state::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(40, 247, 168, 0.14);
  border-radius: 26px;
  opacity: 0.72;
  animation: comingSoonPanelGlow 7s ease-in-out infinite;
}

.coming-soon-service {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(163, 255, 221, 0.16);
  border-radius: 999px;
  background: rgba(40, 247, 168, 0.055);
  text-align: left;
}

.coming-soon-service .eyebrow {
  margin: 0 0 0.1rem;
  font-size: 0.68rem;
}

.coming-soon-service strong {
  display: block;
  color: var(--text);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.15;
}

.coming-soon-state .coming-soon-icon {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.55rem;
  animation: comingSoonIconFloat 4.8s ease-in-out infinite;
}

.coming-soon-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(8.5rem, 20vw, 13rem);
  aspect-ratio: 1;
  margin: clamp(1.4rem, 3vw, 2.2rem) 0 0.2rem;
}

.coming-soon-visual span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(40, 247, 168, 0.22);
  border-radius: 42%;
  transform: rotate(12deg);
  animation: comingSoonOrbit 8s ease-in-out infinite;
}

.coming-soon-visual span:nth-child(2) {
  inset: 1.1rem;
  border-color: rgba(124, 207, 213, 0.16);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation-delay: -3s;
}

.coming-soon-visual i {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(4.6rem, 10vw, 6.3rem);
  aspect-ratio: 1;
  color: var(--brand);
  border: 1px solid rgba(40, 247, 168, 0.26);
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 20%, rgba(239, 255, 248, 0.12), transparent 34%),
    rgba(40, 247, 168, 0.075);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  box-shadow: 0 18px 46px rgba(40, 247, 168, 0.1);
  animation: comingSoonIconFloat 4.8s ease-in-out infinite reverse;
}

.coming-soon-copy {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.coming-soon-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.coming-soon-copy p {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(0.6rem, 2vw, 1rem);
}

body[data-theme="light"] .coming-soon-card.coming-soon-state {
  border-color: rgba(8, 64, 48, 0.13);
  background:
    radial-gradient(circle at 50% 0%, rgba(8, 123, 83, 0.1), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 252, 0.94), rgba(237, 244, 237, 0.9));
  box-shadow:
    0 28px 72px rgba(31, 55, 47, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-theme="light"] .coming-soon-service {
  border-color: rgba(8, 64, 48, 0.12);
  background: rgba(8, 123, 83, 0.055);
}

body[data-theme="light"] .coming-soon-card.coming-soon-state::before {
  border-color: rgba(8, 123, 83, 0.13);
}

@keyframes comingSoonBreath {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.99);
    filter: drop-shadow(0 0 14px rgba(40, 247, 168, 0.03));
  }
  50% {
    opacity: 0.48;
    transform: scale(1.012);
    filter: drop-shadow(0 0 38px rgba(40, 247, 168, 0.07));
  }
}

@keyframes comingSoonPanelGlow {
  0%,
  100% {
    opacity: 0.46;
    box-shadow: 0 0 0 rgba(40, 247, 168, 0);
  }
  50% {
    opacity: 0.86;
    box-shadow: 0 0 36px rgba(40, 247, 168, 0.08);
  }
}

@keyframes comingSoonIconFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-0.28rem) scale(1.035);
  }
}

@keyframes comingSoonOrbit {
  0%,
  100% {
    transform: rotate(12deg) scale(0.98);
    opacity: 0.48;
  }
  50% {
    transform: rotate(19deg) scale(1.03);
    opacity: 0.86;
  }
}

@media (max-width: 760px) {
  .coming-soon-hero {
    min-height: calc(100svh - var(--header-height));
    padding-top: calc(var(--header-height) + 2rem);
  }

  .coming-soon-hero::before {
    left: -34%;
    top: 10%;
    font-size: 18rem;
  }

  .coming-soon-hero::after {
    display: none !important;
  }

  .coming-soon-card.coming-soon-state {
    border-radius: 26px;
  }

  .coming-soon-service {
    align-items: flex-start;
    border-radius: 22px;
  }

  .coming-soon-actions,
  .coming-soon-actions .button {
    width: 100%;
  }
}

/* Microsoft partner badge: keep existing sizing, use white text like the reference mark */
.site-header .ms-partner-badge,
.site-header .ms-partner-copy strong,
.site-header .ms-partner-copy small,
.site-footer .footer-ms-badge,
.site-footer .footer-ms-badge .ms-partner-copy strong,
.site-footer .footer-ms-badge .ms-partner-copy small,
body[data-theme="light"] .site-header .ms-partner-badge,
body[data-theme="light"] .site-header .ms-partner-copy strong,
body[data-theme="light"] .site-header .ms-partner-copy small,
body[data-theme="light"] .site-footer .footer-ms-badge,
body[data-theme="light"] .site-footer .footer-ms-badge .ms-partner-copy strong,
body[data-theme="light"] .site-footer .footer-ms-badge .ms-partner-copy small {
  color: #effff8 !important;
}

.site-header .ms-partner-badge,
.site-footer .footer-ms-badge {
  opacity: 1;
}

.site-header .ms-window,
.site-footer .footer-ms-badge .ms-window {
  filter: none;
  opacity: 1;
}

/* Use the Microsoft Solutions Partner mark as a single image, without the Business Applications line */
.site-header .ms-partner-badge,
.site-footer .footer-ms-badge,
body[data-theme="light"] .site-header .ms-partner-badge,
body[data-theme="light"] .site-footer .footer-ms-badge {
  display: block;
  width: 164px;
  min-width: 164px;
  height: 56px;
  background: url("../images/microsoft-solutions-partner.png") left center / contain no-repeat;
  color: transparent !important;
}

.site-header .ms-partner-badge > *,
.site-footer .footer-ms-badge > *,
body[data-theme="light"] .site-header .ms-partner-badge > *,
body[data-theme="light"] .site-footer .footer-ms-badge > * {
  display: none !important;
}

@media (max-width: 620px) {
  .site-header .ms-partner-badge {
    display: block;
    width: 142px;
    min-width: 142px;
    height: 48px;
  }
}

/* Coming soon pages: full-screen state, no framed card */
.coming-soon-hero .coming-soon-shell {
  min-height: calc(100svh - var(--header-height) - clamp(5rem, 10vw, 8rem));
}

.coming-soon-card.coming-soon-state,
body[data-theme="light"] .coming-soon-card.coming-soon-state {
  width: min(1040px, 100%);
  padding: clamp(2rem, 5vw, 4rem) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.coming-soon-card.coming-soon-state::before {
  content: none;
  display: none;
}

.coming-soon-service {
  border-color: rgba(163, 255, 221, 0.14);
  background: rgba(40, 247, 168, 0.06);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

body[data-theme="light"] .coming-soon-service {
  border-color: rgba(8, 64, 48, 0.13);
  background: rgba(8, 123, 83, 0.055);
  box-shadow: 0 16px 42px rgba(31, 55, 47, 0.08);
}

.coming-soon-copy h1 {
  max-width: 12ch;
  font-size: clamp(4.2rem, 10vw, 9.4rem);
}

.coming-soon-copy p {
  max-width: 52rem;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}

.coming-soon-visual {
  margin-top: clamp(1.6rem, 4vw, 3rem);
  width: clamp(7rem, 16vw, 11rem);
}

.coming-soon-visual i {
  width: clamp(4.2rem, 8vw, 5.8rem);
  border-radius: 24px;
  background:
    radial-gradient(circle at 35% 20%, rgba(239, 255, 248, 0.16), transparent 34%),
    rgba(40, 247, 168, 0.1);
}

body[data-theme="light"] .coming-soon-visual i {
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 252, 0.84), transparent 34%),
    rgba(8, 123, 83, 0.075);
}

.coming-soon-hero::before {
  left: 2%;
  top: 13%;
  opacity: 0.22;
}

.coming-soon-hero::after {
  right: 0;
  bottom: 2%;
  opacity: 0.18;
}

body[data-theme="light"] .coming-soon-hero::before {
  opacity: 0.28;
}

body[data-theme="light"] .coming-soon-hero::after {
  opacity: 0.22;
}

@media (max-width: 760px) {
  .coming-soon-card.coming-soon-state,
  body[data-theme="light"] .coming-soon-card.coming-soon-state {
    padding-inline: 0;
  }

  .coming-soon-copy h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }
}

/* Minimal coming soon treatment: text-only gradient glow */
.coming-soon-hero {
  min-height: calc(100svh - var(--header-height));
}

.coming-soon-card.coming-soon-state,
body[data-theme="light"] .coming-soon-card.coming-soon-state {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: calc(100svh - var(--header-height) - clamp(4rem, 8vw, 6rem));
  padding: 0;
}

.coming-soon-service,
.coming-soon-visual,
.coming-soon-copy p,
.coming-soon-actions {
  display: none !important;
}

.coming-soon-copy {
  display: grid;
  place-items: center;
}

.coming-soon-copy h1 {
  max-width: none;
  font-size: clamp(4.4rem, 13vw, 12rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-align: center;
  text-transform: capitalize;
  color: transparent;
  background:
    radial-gradient(circle at 18% 22%, #b7ffd6 0 10%, transparent 28%),
    linear-gradient(105deg, #6aff9e 0%, #28f7a8 34%, #0bbf76 58%, #8bffbe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 10px rgba(40, 247, 168, 0.3))
    drop-shadow(0 0 34px rgba(40, 247, 168, 0.16));
  animation: comingSoonTextGlow 4.8s ease-in-out infinite;
}

body[data-theme="light"] .coming-soon-copy h1 {
  background:
    radial-gradient(circle at 18% 22%, #e8fff1 0 8%, transparent 27%),
    linear-gradient(105deg, #087b53 0%, #0bbf76 38%, #28f7a8 66%, #087b53 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 9px rgba(8, 123, 83, 0.18))
    drop-shadow(0 0 32px rgba(40, 247, 168, 0.18));
}

@keyframes comingSoonTextGlow {
  0%,
  100% {
    opacity: 0.92;
    filter:
      drop-shadow(0 0 8px rgba(40, 247, 168, 0.22))
      drop-shadow(0 0 24px rgba(40, 247, 168, 0.12));
    transform: scale(0.992);
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 18px rgba(40, 247, 168, 0.38))
      drop-shadow(0 0 54px rgba(40, 247, 168, 0.22));
    transform: scale(1.006);
  }
}

/* Coming soon final layout: one-line title, supporting copy, actions, footer below fold */
.coming-soon-hero,
body[data-theme="light"] .coming-soon-hero {
  box-sizing: border-box;
  min-height: calc(100svh - var(--header-height));
  padding: calc(var(--header-height) + 2rem) 0 3rem;
  align-items: center;
}

.coming-soon-hero .coming-soon-shell {
  min-height: calc(100svh - var(--header-height) - 5rem);
}

.coming-soon-card.coming-soon-state,
body[data-theme="light"] .coming-soon-card.coming-soon-state {
  min-height: 0;
}

.coming-soon-copy p,
.coming-soon-actions {
  display: flex !important;
}

.coming-soon-service,
.coming-soon-visual {
  display: none !important;
}

.coming-soon-copy {
  gap: clamp(1rem, 2.2vw, 1.45rem);
  overflow: visible;
}

.coming-soon-copy h1 {
  max-width: none;
  font-size: clamp(4rem, 8vw, 100px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  white-space: nowrap;
  padding-bottom: 0.08em;
}

.coming-soon-copy p {
  max-width: 54rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
  text-align: center;
}

.coming-soon-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(0.35rem, 1.2vw, 0.8rem);
}

@media (max-width: 680px) {
  .coming-soon-copy h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
    white-space: normal;
  }

  .coming-soon-copy p {
    padding-inline: 0.4rem;
  }
}

/* Coming soon final fix: full viewport hero, line texture background, readable glow */
.coming-soon-hero,
body[data-theme="light"] .coming-soon-hero {
  min-height: calc(100svh - 82px);
  padding: calc(82px + clamp(3rem, 8vw, 6rem)) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(circle at 50% 20%, rgba(40, 247, 168, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(8, 123, 83, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 123, 83, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fffefa 0%, #f4f1e8 62%, #e9eee7 100%);
  background-size: auto, 54px 54px, 54px 54px, auto;
}

body[data-theme="dark"] .coming-soon-hero {
  background:
    radial-gradient(circle at 50% 20%, rgba(40, 247, 168, 0.11), transparent 24rem),
    linear-gradient(90deg, rgba(174, 212, 198, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #071512 0%, #020807 62%, #000302 100%);
  background-size: auto, 54px 54px, 54px 54px, auto;
}

.coming-soon-hero .coming-soon-shell {
  min-height: calc(100svh - 82px - clamp(7rem, 16vw, 12rem));
}

.coming-soon-card.coming-soon-state,
body[data-theme="light"] .coming-soon-card.coming-soon-state {
  min-height: 0;
}

.coming-soon-copy h1,
body[data-theme="light"] .coming-soon-copy h1 {
  font-size: clamp(4rem, 8vw, 100px);
  line-height: 1.12;
  letter-spacing: -0.052em;
  white-space: nowrap;
  padding-bottom: 0.08em;
  background:
    linear-gradient(105deg, #087b53 0%, #00a66d 34%, #21d890 58%, #0a7c55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 7px rgba(8, 123, 83, 0.16))
    drop-shadow(0 0 24px rgba(40, 247, 168, 0.12));
}

body[data-theme="dark"] .coming-soon-copy h1 {
  background:
    linear-gradient(105deg, #8fffc0 0%, #28f7a8 34%, #00b874 62%, #6aff9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 680px) {
  .coming-soon-hero,
  body[data-theme="light"] .coming-soon-hero {
    min-height: calc(100svh - 82px);
    padding-top: calc(82px + 2.5rem);
  }

  .coming-soon-copy h1,
  body[data-theme="light"] .coming-soon-copy h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
    white-space: normal;
  }
}

/* Home headline scale refinements */
body.home-page .hero h1 {
  font-size: clamp(2.2rem, 3.18vw, 3.18rem);
}

body.home-page .client-showcase-shell .client-marquee-heading h2 {
  font-size: clamp(2rem, 3.65vw, 3.65rem);
}

/* New Implementations hero: premium solution architecture visual */
.implementation-visual.solution-architecture-visual {
  min-height: clamp(520px, 45vw, 640px);
  padding: 0;
  transform-style: preserve-3d;
}

.implementation-visual.solution-architecture-visual::before {
  background:
    radial-gradient(circle, transparent 0 42%, rgba(40, 247, 168, 0.16) 42.4% 43.1%, transparent 43.8% 68%, rgba(124, 207, 213, 0.12) 68.5% 69.2%, transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(40, 247, 168, 0.08), transparent 58%);
  opacity: 0.72;
}

.implementation-visual.solution-architecture-visual::after {
  inset: 4% 1%;
  border-color: rgba(163, 255, 221, 0.12);
  background:
    linear-gradient(90deg, rgba(174, 212, 198, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(40, 247, 168, 0.09), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 52%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  transform: rotate(-2deg);
}

.solution-architecture {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  min-height: clamp(520px, 44vw, 620px);
  margin-inline: auto;
  perspective: 1100px;
}

.solution-architecture::before,
.solution-architecture::after {
  content: "O";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(18rem, 36vw, 34rem);
  font-weight: 900;
  line-height: 0.75;
  -webkit-text-stroke: 1.5px rgba(239, 255, 248, 0.06);
  text-stroke: 1.5px rgba(239, 255, 248, 0.06);
  opacity: 0.52;
  animation: architectureLetterBreath 9s ease-in-out infinite;
}

.solution-architecture::before {
  left: -17%;
  top: 8%;
}

.solution-architecture::after {
  content: "A";
  right: -16%;
  bottom: 2%;
  animation-delay: -3.5s;
}

.architecture-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.14));
}

.architecture-link {
  fill: none;
  stroke: url(#architectureLineGradient);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 18;
  opacity: 0.58;
  animation: architectureDataFlow 5.8s linear infinite;
  transition: opacity 220ms ease, stroke-width 220ms ease, filter 220ms ease;
}

.architecture-link:nth-child(2n) {
  animation-duration: 6.6s;
  animation-direction: reverse;
}

.architecture-center-card,
.architecture-module {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(163, 255, 221, 0.18);
  background:
    radial-gradient(circle at 32% 20%, rgba(239, 255, 248, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(12, 37, 32, 0.74), rgba(3, 15, 12, 0.68));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.architecture-center-card {
  left: 50%;
  top: 50%;
  width: clamp(170px, 18vw, 220px);
  min-height: 132px;
  padding: 1.2rem;
  border-radius: 28px;
  transform: translate(-50%, -50%);
  animation: architectureCenterFloat 7s ease-in-out infinite;
}

.architecture-center-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(40, 247, 168, 0.18), transparent 65%);
  opacity: 0.72;
  animation: architectureGlowBreath 5.5s ease-in-out infinite;
}

.architecture-center-icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.55rem;
  color: var(--brand);
  border: 1px solid rgba(40, 247, 168, 0.24);
  border-radius: 14px;
  background: rgba(40, 247, 168, 0.08);
  font-size: 1.35rem;
}

.architecture-center-card strong {
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.08;
}

.architecture-center-card small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.architecture-module {
  width: clamp(106px, 10vw, 136px);
  min-height: 88px;
  gap: 0.35rem;
  padding: 0.8rem 0.65rem;
  border-radius: 22px;
  transform: translate(-50%, -50%);
  animation: architectureModuleFloat 7.5s ease-in-out infinite;
  cursor: default;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.architecture-module span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--brand);
  border-radius: 12px;
  background: rgba(40, 247, 168, 0.075);
  font-size: 1.1rem;
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.16));
  transition: transform 220ms ease, filter 220ms ease;
}

.architecture-module strong {
  color: var(--text);
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  line-height: 1.08;
}

.module-crm { left: 50%; top: 11%; animation-delay: -0.5s; }
.module-portal { left: 80.5%; top: 24%; animation-delay: -1.4s; }
.module-automation { left: 85.5%; top: 50%; animation-delay: -2.1s; }
.module-reporting { left: 78%; top: 76%; animation-delay: -2.9s; }
.module-ai { left: 50%; top: 87%; animation-delay: -3.7s; }
.module-security { left: 21.5%; top: 76%; animation-delay: -4.5s; }
.module-integration { left: 14.5%; top: 50%; animation-delay: -5.2s; }
.module-dataverse { left: 21.8%; top: 24%; animation-delay: -6s; }

.architecture-module:hover,
.architecture-module:focus-visible {
  z-index: 3;
  border-color: rgba(40, 247, 168, 0.44);
  background:
    radial-gradient(circle at 32% 20%, rgba(239, 255, 248, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(16, 58, 47, 0.86), rgba(3, 18, 14, 0.78));
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(40, 247, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
  transform: translate(-50%, -54%) scale(1.045);
}

.architecture-module:hover span,
.architecture-module:focus-visible span {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(40, 247, 168, 0.34));
}

.solution-architecture:has(.architecture-module:hover) .architecture-link,
.solution-architecture:has(.architecture-module:focus-visible) .architecture-link {
  opacity: 0.34;
}

.solution-architecture:has(.module-crm:hover) .link-crm,
.solution-architecture:has(.module-portal:hover) .link-portal,
.solution-architecture:has(.module-automation:hover) .link-automation,
.solution-architecture:has(.module-reporting:hover) .link-reporting,
.solution-architecture:has(.module-ai:hover) .link-ai,
.solution-architecture:has(.module-security:hover) .link-security,
.solution-architecture:has(.module-integration:hover) .link-integration,
.solution-architecture:has(.module-dataverse:hover) .link-dataverse,
.solution-architecture:has(.module-crm:focus-visible) .link-crm,
.solution-architecture:has(.module-portal:focus-visible) .link-portal,
.solution-architecture:has(.module-automation:focus-visible) .link-automation,
.solution-architecture:has(.module-reporting:focus-visible) .link-reporting,
.solution-architecture:has(.module-ai:focus-visible) .link-ai,
.solution-architecture:has(.module-security:focus-visible) .link-security,
.solution-architecture:has(.module-integration:focus-visible) .link-integration,
.solution-architecture:has(.module-dataverse:focus-visible) .link-dataverse {
  opacity: 1;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 12px rgba(40, 247, 168, 0.42));
}

body[data-theme="light"] .implementation-visual.solution-architecture-visual::before {
  background:
    radial-gradient(circle, transparent 0 42%, rgba(8, 123, 83, 0.16) 42.4% 43.1%, transparent 43.8% 68%, rgba(23, 127, 140, 0.12) 68.5% 69.2%, transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(8, 123, 83, 0.08), transparent 58%);
}

body[data-theme="light"] .implementation-visual.solution-architecture-visual::after {
  border-color: rgba(8, 64, 48, 0.12);
  background:
    linear-gradient(90deg, rgba(8, 123, 83, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 123, 83, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(8, 123, 83, 0.09), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 252, 0.34), transparent 52%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

body[data-theme="light"] .solution-architecture::before,
body[data-theme="light"] .solution-architecture::after {
  -webkit-text-stroke-color: rgba(8, 64, 48, 0.07);
  text-stroke-color: rgba(8, 64, 48, 0.07);
}

body[data-theme="light"] .architecture-center-card,
body[data-theme="light"] .architecture-module {
  border-color: rgba(8, 64, 48, 0.14);
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 252, 0.74), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 252, 0.72), rgba(237, 244, 237, 0.62));
  box-shadow:
    0 22px 58px rgba(31, 55, 47, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-theme="light"] .architecture-module:hover,
body[data-theme="light"] .architecture-module:focus-visible {
  border-color: rgba(8, 123, 83, 0.34);
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 252, 0.86), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 252, 0.9), rgba(232, 243, 234, 0.8));
  box-shadow:
    0 26px 70px rgba(31, 55, 47, 0.15),
    0 0 34px rgba(40, 247, 168, 0.1);
}

@keyframes architectureDataFlow {
  to {
    stroke-dashoffset: -104;
  }
}

@keyframes architectureModuleFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes architectureCenterFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes architectureGlowBreath {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.04);
  }
}

@keyframes architectureLetterBreath {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.99);
  }
  50% {
    opacity: 0.58;
    transform: scale(1.012);
  }
}

@media (max-width: 760px) {
  .implementation-visual.solution-architecture-visual {
    min-height: 620px;
    overflow: visible;
  }

  .solution-architecture {
    min-height: 620px;
    transform: scale(0.86);
    transform-origin: center;
  }
}

/* New Implementations page: fixed dark hero + Fluent architecture refinement */
.implementation-page {
  background: #fffefa;
}

.implementation-page .implementation-hero {
  --bg: #020807;
  --bg-deep: #061611;
  --text: #effff8;
  --muted: #a9c1b8;
  --line: rgba(174, 212, 198, 0.16);
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0 clamp(6rem, 9vw, 8rem);
  color: var(--text);
  background:
    radial-gradient(circle at 72% 34%, rgba(40, 247, 168, 0.14), transparent 26rem),
    radial-gradient(circle at 18% 18%, rgba(124, 207, 213, 0.075), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 36%),
    linear-gradient(180deg, #081c17 0%, #020807 74%, #020807 100%);
  isolation: isolate;
}

.implementation-page .implementation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(174, 212, 198, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 55% 44%, rgba(40, 247, 168, 0.08), transparent 28rem);
  background-size: 48px 48px, 48px 48px, auto;
  opacity: 0.78;
}

.implementation-page .implementation-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(7rem, 14vw, 13rem);
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 254, 250, 0.7) 62%, #fffefa 100%);
}

body[data-theme="light"].implementation-page .implementation-hero,
body[data-theme="dark"].implementation-page .implementation-hero {
  color: #effff8;
  background:
    radial-gradient(circle at 72% 34%, rgba(40, 247, 168, 0.14), transparent 26rem),
    radial-gradient(circle at 18% 18%, rgba(124, 207, 213, 0.075), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 36%),
    linear-gradient(180deg, #081c17 0%, #020807 74%, #020807 100%);
}

body[data-theme="light"].implementation-page .implementation-hero::after,
body[data-theme="dark"].implementation-page .implementation-hero::after {
  right: 0;
  top: auto;
  bottom: -1px;
  width: auto;
  height: clamp(7rem, 14vw, 13rem);
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  opacity: 1;
  animation: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 254, 250, 0.7) 62%, #fffefa 100%);
}

body[data-theme="dark"].implementation-page .implementation-hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 254, 250, 0.7) 62%, #fffefa 100%);
}

.implementation-page .implementation-hero-shell {
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(2.4rem, 5vw, 6rem);
  align-items: center;
}

.implementation-page .implementation-hero-copy {
  min-width: 0;
  max-width: 45rem;
}

.implementation-page .implementation-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.65rem, 4.8vw, 5.05rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.implementation-page .implementation-hero .eyebrow {
  color: #28f7a8;
}

.implementation-page .implementation-hero .page-intro {
  color: rgba(226, 244, 237, 0.78);
}

.implementation-page .implementation-hero .solution-architecture-visual {
  justify-self: stretch;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  min-height: clamp(480px, 42vw, 600px);
}

.implementation-page .implementation-hero .solution-architecture-visual::before {
  background:
    radial-gradient(circle, transparent 0 44%, rgba(40, 247, 168, 0.11) 44.4% 44.9%, transparent 45.2% 64%, rgba(124, 207, 213, 0.09) 64.5% 65%, transparent 65.5%),
    radial-gradient(circle at 50% 50%, rgba(40, 247, 168, 0.075), transparent 54%);
  opacity: 0.58;
}

.implementation-page .implementation-hero .solution-architecture-visual::after {
  inset: 7% 3%;
  border-radius: 42px;
  border-color: rgba(163, 255, 221, 0.08);
  background:
    linear-gradient(90deg, rgba(174, 212, 198, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(40, 247, 168, 0.075), transparent 18rem);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: none;
}

.implementation-page .implementation-hero .solution-architecture {
  width: min(100%, 640px);
  min-height: clamp(480px, 40vw, 590px);
}

.implementation-page .implementation-hero .solution-architecture::before,
.implementation-page .implementation-hero .solution-architecture::after {
  -webkit-text-stroke-color: rgba(239, 255, 248, 0.055);
  text-stroke-color: rgba(239, 255, 248, 0.055);
  opacity: 0.42;
}

.implementation-page .implementation-hero .architecture-center-card {
  width: clamp(150px, 14vw, 190px);
  min-height: 112px;
  border-radius: 26px;
  border-color: rgba(163, 255, 221, 0.18);
  background:
    radial-gradient(circle at 28% 18%, rgba(239, 255, 248, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(10, 43, 35, 0.7), rgba(3, 14, 12, 0.58));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.22),
    0 0 34px rgba(40, 247, 168, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.implementation-page .implementation-hero .architecture-module {
  width: clamp(92px, 8.8vw, 116px);
  min-height: 76px;
  border-radius: 18px;
  border-color: rgba(163, 255, 221, 0.14);
  background:
    radial-gradient(circle at 30% 16%, rgba(239, 255, 248, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(13, 45, 38, 0.58), rgba(4, 18, 15, 0.48));
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  animation-name: architectureModuleFloatTiny;
}

.implementation-page .implementation-hero .architecture-module span {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 10px;
  background: rgba(40, 247, 168, 0.07);
}

.implementation-page .implementation-hero .architecture-module strong {
  font-size: clamp(0.72rem, 0.82vw, 0.84rem);
}

.implementation-page .implementation-hero .architecture-link {
  stroke-width: 1.15;
  stroke-dasharray: 5 18;
  opacity: 0.5;
}

.implementation-page .implementation-hero .architecture-module:hover,
.implementation-page .implementation-hero .architecture-module:focus-visible {
  border-color: rgba(40, 247, 168, 0.4);
  background:
    radial-gradient(circle at 30% 16%, rgba(239, 255, 248, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(17, 66, 53, 0.72), rgba(4, 20, 16, 0.6));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(40, 247, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -53%) scale(1.035);
}

.implementation-page .implementation-section {
  --bg: #fffefa;
  --bg-soft: #f3f6ef;
  --text: #132c25;
  --muted: #536a62;
  --line: rgba(24, 67, 54, 0.14);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(24, 67, 54, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 67, 54, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(40, 247, 168, 0.08), transparent 24rem),
    #fffefa;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.implementation-page .implementation-section-heading p,
.implementation-page .implementation-card p,
.implementation-page .implementation-step p,
.implementation-page .outcome-points p {
  color: var(--muted);
}

.implementation-page .implementation-card,
.implementation-page .implementation-step,
.implementation-page .outcome-shell {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.15);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 252, 0.82), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.94), rgba(237, 244, 237, 0.82));
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.09);
}

.implementation-page .implementation-flow,
.implementation-page .implementation-step + .implementation-step,
.implementation-page .outcome-points p {
  border-color: rgba(24, 67, 54, 0.14);
}

/* New Implementations content review refinements */
.implementation-page .implementation-section-heading,
.implementation-page .implementation-approach-heading {
  max-width: none;
  width: 100%;
  text-align: left;
}

.implementation-page .implementation-section-heading h2,
.implementation-page .implementation-approach-heading h2 {
  max-width: none;
  font-size: clamp(2rem, 2.95vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.implementation-page .implementation-section-heading p:last-child,
.implementation-page .implementation-approach-heading p:last-child {
  max-width: none;
}

.implementation-page .implementation-benefits {
  align-items: stretch;
}

.implementation-page .implementation-card {
  text-align: center;
}

.implementation-page .implementation-card .implementation-card-icon,
.implementation-page .implementation-step .step-icon,
.implementation-page .implementation-expect-item .expect-icon {
  display: grid;
  place-items: center;
  color: var(--brand);
  letter-spacing: 0;
  text-transform: none;
}

.implementation-page .implementation-card .implementation-card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.15rem;
  border: 1px solid rgba(8, 123, 83, 0.16);
  border-radius: 16px;
  background: rgba(8, 123, 83, 0.06);
  font-size: 1.35rem;
  line-height: 1;
}

.implementation-page .implementation-card .implementation-card-icon i,
.implementation-page .implementation-step .step-icon i,
.implementation-page .implementation-expect-item .expect-icon i {
  line-height: 1;
}

.implementation-page .implementation-step .step-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0 0.8rem;
  border: 1px solid rgba(8, 123, 83, 0.14);
  border-radius: 14px;
  background: rgba(8, 123, 83, 0.055);
  font-size: 1.1rem;
}

.implementation-expect-section {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.implementation-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.implementation-expect-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: clamp(1.15rem, 2vw, 1.45rem);
  border: 1px solid rgba(24, 67, 54, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 252, 0.82), transparent 10rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.94), rgba(237, 244, 237, 0.78));
  box-shadow: 0 16px 42px rgba(31, 55, 47, 0.08);
}

.implementation-page .implementation-expect-item .expect-icon {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(8, 123, 83, 0.15);
  border-radius: 15px;
  background: rgba(8, 123, 83, 0.06);
  font-size: 1.15rem;
}

.implementation-expect-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.implementation-page .implementation-outcome {
  padding-block: clamp(3.4rem, 7vw, 6rem);
}

.implementation-page .outcome-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(calc(100% - 2rem), var(--shell));
  padding: clamp(2rem, 4.5vw, 3.4rem);
  border-radius: 34px;
}

.implementation-page .outcome-copy {
  max-width: 760px;
}

.implementation-page .outcome-copy h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.implementation-page .outcome-copy p {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.implementation-page .outcome-points {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: max-content;
}

.implementation-page .outcome-points .button {
  min-width: 154px;
  justify-content: center;
}

body[data-theme="dark"].implementation-page .implementation-section {
  --bg: #fffefa;
  --bg-soft: #f3f6ef;
  --text: #132c25;
  --muted: #536a62;
  --line: rgba(24, 67, 54, 0.14);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(24, 67, 54, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 67, 54, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(40, 247, 168, 0.08), transparent 24rem),
    #fffefa;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

body[data-theme="dark"].implementation-page .implementation-card,
body[data-theme="dark"].implementation-page .implementation-step,
body[data-theme="dark"].implementation-page .implementation-expect-item,
body[data-theme="dark"].implementation-page .outcome-shell {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.15);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 252, 0.82), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.94), rgba(237, 244, 237, 0.82));
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.09);
}

body[data-theme="dark"].implementation-page .implementation-card .implementation-card-icon,
body[data-theme="dark"].implementation-page .implementation-step .step-icon,
body[data-theme="dark"].implementation-page .implementation-expect-item .expect-icon {
  color: var(--brand);
  border-color: rgba(8, 123, 83, 0.16);
  background: rgba(8, 123, 83, 0.06);
  box-shadow: none;
}

body[data-theme="dark"].implementation-page .implementation-flow,
body[data-theme="dark"].implementation-page .implementation-step + .implementation-step,
body[data-theme="dark"].implementation-page .outcome-points p {
  border-color: rgba(24, 67, 54, 0.14);
}

body[data-theme="dark"].implementation-page .implementation-section-heading p,
body[data-theme="dark"].implementation-page .implementation-card p,
body[data-theme="dark"].implementation-page .implementation-step p,
body[data-theme="dark"].implementation-page .implementation-expect-item p,
body[data-theme="dark"].implementation-page .outcome-copy p {
  color: var(--muted);
}

.motion-ready .implementation-section-heading.reveal,
.motion-ready .implementation-card.reveal,
.motion-ready .implementation-step.reveal,
.motion-ready .implementation-expect-item.reveal,
.motion-ready .outcome-shell.reveal {
  transition-duration: 640ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .implementation-card.reveal:nth-child(1),
.motion-ready .implementation-step.reveal:nth-child(1),
.motion-ready .implementation-expect-item.reveal:nth-child(1) { transition-delay: 80ms; }

.motion-ready .implementation-card.reveal:nth-child(2),
.motion-ready .implementation-step.reveal:nth-child(2),
.motion-ready .implementation-expect-item.reveal:nth-child(2) { transition-delay: 170ms; }

.motion-ready .implementation-card.reveal:nth-child(3),
.motion-ready .implementation-step.reveal:nth-child(3),
.motion-ready .implementation-expect-item.reveal:nth-child(3) { transition-delay: 260ms; }

.motion-ready .implementation-card.reveal:nth-child(4),
.motion-ready .implementation-step.reveal:nth-child(4),
.motion-ready .implementation-expect-item.reveal:nth-child(4) { transition-delay: 350ms; }

.motion-ready .implementation-card.reveal:nth-child(5) { transition-delay: 440ms; }

@media (max-width: 980px) {
  .implementation-expect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .implementation-page .outcome-shell {
    grid-template-columns: 1fr;
  }

  .implementation-page .outcome-points {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .implementation-expect-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes architectureModuleFloatTiny {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -3px;
  }
}

@media (max-width: 980px) {
  .implementation-page .implementation-hero-shell {
    grid-template-columns: 1fr;
  }

  .implementation-page .implementation-hero-copy {
    max-width: 54rem;
  }

  .implementation-page .implementation-hero .solution-architecture-visual {
    justify-self: center;
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .implementation-page .implementation-hero {
    min-height: auto;
    padding-top: clamp(3.8rem, 12vw, 5rem);
  }

  .implementation-page .implementation-hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .implementation-page .implementation-hero .solution-architecture-visual {
    min-height: 520px;
  }

  .implementation-page .implementation-hero .solution-architecture {
    transform: scale(0.78);
  }
}

/* Site theme rhythm: fixed dark heroes, light content below */
body:not(.home-page) .page-hero {
  --bg: #020807;
  --bg-deep: #0a0f0d;
  --text: #effff8;
  --muted: #adc4bb;
  --line: rgba(163, 255, 221, 0.16);
  position: relative;
  isolation: isolate;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(174, 212, 198, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(40, 247, 168, 0.14), transparent 28rem),
    radial-gradient(circle at 18% 24%, rgba(124, 207, 213, 0.075), transparent 22rem),
    linear-gradient(180deg, #0a1d18 0%, #020807 76%, #020807 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

body:not(.home-page) .page-hero::before {
  background:
    radial-gradient(circle at 72% 18%, rgba(40, 247, 168, 0.12), transparent 22rem),
    radial-gradient(circle at 18% 68%, rgba(124, 207, 213, 0.07), transparent 20rem);
}

body:not(.home-page) .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: auto;
  bottom: -1px;
  width: auto;
  height: clamp(6rem, 12vw, 12rem);
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  opacity: 1;
  animation: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 254, 250, 0.7) 62%, #fffefa 100%);
}

body:not(.home-page) .page-hero h1,
body:not(.home-page) .page-hero h2 {
  color: var(--text);
}

body:not(.home-page) .page-hero .eyebrow {
  color: #28f7a8;
}

body:not(.home-page) .page-hero .page-intro {
  color: rgba(226, 244, 237, 0.8);
}

body[data-theme="dark"]:not(.home-page) main > section:not(.page-hero) {
  --bg: #fffefa;
  --bg-soft: #f3f6ef;
  --surface: rgba(255, 255, 252, 0.82);
  --surface-strong: rgba(255, 255, 252, 0.94);
  --text: #132c25;
  --muted: #536a62;
  --line: rgba(24, 67, 54, 0.14);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(24, 67, 54, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 67, 54, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(40, 247, 168, 0.08), transparent 24rem),
    #fffefa;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

body[data-theme="dark"]:not(.home-page) main > section:not(.page-hero) :is(.content-card, .story-card, .insight-card, .panel-card, .stat-card, .feature-band, .qa-item, .capability-card, .platform-card, .business-value-grid article, .industry-tab-list, .industry-tab-panels, .industry-panel, .trusted-logo, .industry-overview-card, .industry-process-card, .industry-help-step, .outcome-shell) {
  color: var(--text);
  border-color: rgba(24, 67, 54, 0.15);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 252, 0.82), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.94), rgba(237, 244, 237, 0.82));
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.09);
}

body[data-theme="dark"]:not(.home-page) main > section:not(.page-hero) :is(p, li, dd, small) {
  color: var(--muted);
}

body[data-theme="dark"]:not(.home-page) main > section:not(.page-hero) :is(h2, h3, h4, strong, dt) {
  color: var(--text);
}

body[data-theme="dark"]:not(.home-page) main > section:not(.page-hero) :is(i, .eyebrow) {
  color: var(--brand);
}

/* Industries page rebuild */
.industries-page {
  --industry-text: #132c25;
  --industry-muted: #536a62;
  --industry-line: rgba(24, 67, 54, 0.14);
  background: #fffefa;
}

.industries-hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(6rem, 10vw, 8rem);
}

.industries-hero-shell {
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  align-items: center;
}

.industries-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.industries-hero-copy h2 {
  max-width: 22ch;
  margin: 1rem 0;
  color: var(--text);
  font-size: clamp(1.4rem, 2.1vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.industries-network {
  position: relative;
  min-height: clamp(460px, 42vw, 620px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(163, 255, 221, 0.08);
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(174, 212, 198, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(174, 212, 198, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(40, 247, 168, 0.08), transparent 18rem);
  background-size: 42px 42px, 42px 42px, auto;
  overflow: hidden;
}

.industries-network::before,
.industries-network::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(163, 255, 221, 0.12);
  border-radius: 44% 56% 50% 50%;
  animation: industryNetworkBreath 9s ease-in-out infinite;
}

.industries-network::after {
  inset: 20%;
  animation-delay: -4s;
}

.industries-network-core,
.industry-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(163, 255, 221, 0.16);
  background:
    radial-gradient(circle at 28% 18%, rgba(239, 255, 248, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(10, 43, 35, 0.7), rgba(3, 14, 12, 0.56));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), 0 0 34px rgba(40, 247, 168, 0.08);
  backdrop-filter: blur(16px);
}

.industries-network-core {
  width: clamp(170px, 15vw, 220px);
  min-height: 130px;
  padding: 1.2rem;
  border-radius: 28px;
  color: #effff8;
  animation: industryCoreFloat 6s ease-in-out infinite;
}

.industries-network-core i {
  color: #28f7a8;
  font-size: 2rem;
}

.industries-network-core strong {
  margin-top: 0.7rem;
  color: #effff8;
  line-height: 1.05;
}

.industry-node {
  width: clamp(118px, 10vw, 148px);
  min-height: 82px;
  padding: 0.9rem;
  border-radius: 20px;
  color: #effff8;
  animation: architectureModuleFloatTiny 5s ease-in-out infinite;
}

.industry-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 170px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(40, 247, 168, 0.45), transparent);
  opacity: 0.54;
}

.industry-node i {
  color: #28f7a8;
  font-size: 1.35rem;
}

.industry-node strong {
  margin-top: 0.45rem;
  color: #effff8;
  font-size: 0.78rem;
  line-height: 1.1;
}

.node-healthcare { left: 50%; top: 8%; transform: translateX(-50%); }
.node-nfp { right: 8%; top: 28%; }
.node-financial { right: 16%; bottom: 12%; }
.node-education { left: 16%; bottom: 12%; }
.node-agriculture { left: 8%; top: 28%; }

.node-healthcare::before { transform: rotate(90deg); }
.node-nfp::before { transform: rotate(154deg); }
.node-financial::before { transform: rotate(-150deg); }
.node-education::before { transform: rotate(-28deg); }
.node-agriculture::before { transform: rotate(26deg); }

.industry-page-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.2rem, 8vw, 7rem) 0;
  color: var(--industry-text);
  background:
    linear-gradient(90deg, rgba(24, 67, 54, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 67, 54, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(40, 247, 168, 0.08), transparent 24rem),
    #fffefa;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.industry-page-heading {
  max-width: 920px;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.industry-page-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.industry-page-heading p:last-child {
  max-width: 70ch;
  margin: 1rem 0 0;
  color: var(--industry-muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.industry-overview-grid,
.industry-process-grid,
.industry-help-grid {
  display: grid;
  gap: 1rem;
}

.industry-overview-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.industry-overview-card,
.industry-process-card,
.industry-help-step {
  border: 1px solid rgba(24, 67, 54, 0.15);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 252, 0.82), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.94), rgba(237, 244, 237, 0.82));
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.09);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.industry-overview-card {
  min-height: 260px;
  padding: 1.35rem;
  border-radius: 24px;
}

.industry-overview-card:hover,
.industry-process-card:hover,
.industry-help-step:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 123, 83, 0.28);
  box-shadow: 0 24px 56px rgba(31, 55, 47, 0.12), 0 0 28px rgba(40, 247, 168, 0.1);
}

.industry-overview-card > span,
.industry-process-card i,
.industry-help-step i {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(8, 123, 83, 0.16);
  border-radius: 16px;
  background: rgba(8, 123, 83, 0.06);
  color: var(--brand);
  font-size: 1.25rem;
}

.industry-overview-card h3,
.industry-help-step h3 {
  margin: 0 0 0.65rem;
  color: var(--industry-text);
  line-height: 1.05;
}

.industry-overview-card p {
  color: var(--industry-muted);
}

.industry-overview-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.industry-overview-card em {
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(8, 123, 83, 0.14);
  border-radius: 999px;
  color: var(--brand-strong);
  background: rgba(8, 123, 83, 0.055);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
}

.industries-detail-tabs .industry-panel {
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.9fr);
  min-height: 420px;
}

.industry-process-list {
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid rgba(24, 67, 54, 0.12);
  border-radius: 22px;
  background: rgba(8, 123, 83, 0.045);
}

.industry-process-list strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.industry-process-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-process-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--industry-text);
  font-weight: 780;
}

.industry-process-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
}

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

.industry-process-card {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  padding: 1.25rem;
  border-radius: 22px;
  text-align: center;
}

.industry-process-card i {
  margin-bottom: 0.85rem;
}

.industry-process-card span {
  color: var(--industry-text);
  font-weight: 900;
}

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

.industry-help-step {
  position: relative;
  min-height: 230px;
  padding: 1.35rem;
  border-radius: 24px;
}

.industry-help-step > span {
  color: var(--brand);
  font-weight: 950;
  letter-spacing: 0.1em;
}

.industry-help-step i {
  margin: 1.3rem 0 1rem;
}

.industry-page-cta {
  padding-top: clamp(3.4rem, 7vw, 6rem);
}

.industries-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(calc(100% - 2rem), var(--shell));
  padding: clamp(2rem, 4.5vw, 3.4rem);
  border-radius: 34px;
}

.industries-cta .outcome-copy {
  max-width: 780px;
}

.industries-cta .outcome-copy h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.industries-cta .outcome-copy p {
  max-width: 66ch;
  margin: 0;
  color: var(--industry-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

@keyframes industryNetworkBreath {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.985) rotate(0deg);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.015) rotate(2deg);
  }
}

@keyframes industryCoreFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), 0 0 30px rgba(40, 247, 168, 0.08);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24), 0 0 42px rgba(40, 247, 168, 0.14);
  }
}

@media (max-width: 1100px) {
  .industries-hero-shell,
  .industries-detail-tabs .industry-panel {
    grid-template-columns: 1fr;
  }

  .industries-network {
    min-height: 500px;
  }

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

  .industry-process-grid,
  .industry-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .industries-hero {
    min-height: auto;
  }

  .industries-network {
    min-height: 460px;
    transform: scale(0.86);
    transform-origin: center;
  }

  .industry-overview-grid,
  .industry-process-grid,
  .industry-help-grid,
  .industries-cta,
  .industry-process-list ul {
    grid-template-columns: 1fr;
  }

  .industry-overview-card,
  .industry-help-step {
    min-height: auto;
  }
}

/* Migration to Cloud D365 review refinements */
.migration-page {
  background: var(--bg);
  color: var(--text);
}

.migration-page .migration-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(720px, 86vh, 940px);
  padding: clamp(7rem, 9vw, 10rem) 0 clamp(5rem, 7vw, 7.5rem);
  background:
    radial-gradient(circle at 72% 30%, rgba(40, 247, 168, 0.18), transparent 32rem),
    radial-gradient(circle at 22% 12%, rgba(40, 247, 168, 0.12), transparent 26rem),
    linear-gradient(135deg, rgba(10, 15, 13, 0.98), rgba(2, 8, 7, 1) 58%, rgba(0, 0, 0, 1));
  color: #f4fff8;
}

.migration-page .migration-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 88%);
}

.migration-page .migration-hero::after {
  content: "OA";
  position: absolute;
  right: -0.08em;
  bottom: -0.22em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(40, 247, 168, 0.09);
  text-stroke: 1px rgba(40, 247, 168, 0.09);
  font-size: clamp(20rem, 38vw, 44rem);
  font-weight: 900;
  letter-spacing: -0.14em;
  line-height: 0.8;
  animation: migrationAmbientBreath 9s ease-in-out infinite;
}

.migration-page .migration-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 6rem);
}

.migration-page .migration-hero-copy h1 {
  max-width: 10ch;
  color: #f5fff8;
  font-size: clamp(4.5rem, 8vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-shadow: 0 0 42px rgba(40, 247, 168, 0.18);
}

.migration-page .migration-hero-copy .page-intro {
  max-width: 42rem;
  color: rgba(233, 248, 240, 0.76);
}

.migration-cloud-visual {
  position: relative;
  min-height: clamp(440px, 42vw, 640px);
  border: 1px solid rgba(162, 255, 219, 0.18);
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 52% 48%, rgba(40, 247, 168, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 32px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.migration-cloud-visual::before,
.migration-cloud-visual::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(40, 247, 168, 0.12);
  border-radius: 42% 58% 56% 44%;
  animation: migrationAmbientBreath 8s ease-in-out infinite;
}

.migration-cloud-visual::after {
  inset: 22%;
  animation-delay: -3s;
  transform: rotate(14deg);
}

.migration-cloud-card,
.migration-transfer-card,
.migration-value-chip {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(197, 255, 231, 0.18);
  background: rgba(7, 20, 17, 0.72);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.migration-cloud-card {
  display: grid;
  place-items: center;
  width: min(34%, 230px);
  min-height: 172px;
  padding: 1.6rem;
  border-radius: 1.6rem;
  text-align: center;
  animation: migrationCardFloat 7s ease-in-out infinite;
}

.migration-legacy-card {
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
}

.migration-online-card {
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  animation-delay: -2.2s;
}

.migration-cloud-icon {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 0.7rem;
  border-radius: 1.35rem;
  color: var(--accent);
  font-size: 2rem;
  background: rgba(40, 247, 168, 0.11);
  box-shadow: 0 0 34px rgba(40, 247, 168, 0.16);
}

.migration-cloud-card strong {
  color: #f4fff8;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.05;
}

.migration-cloud-card small,
.migration-transfer-steps,
.migration-transfer-label {
  color: rgba(229, 247, 239, 0.68);
}

.migration-transfer-card {
  top: 50%;
  left: 50%;
  width: min(54%, 420px);
  padding: 1.15rem 1rem 1rem;
  border-radius: 1.4rem;
  transform: translate(-50%, -50%);
}

.migration-transfer-label {
  display: block;
  margin-bottom: 0.4rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.migration-transfer-card svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.migration-transfer-card path {
  fill: none;
  stroke: url(#cloudMigrationFlow);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  animation: migrationFlowDash 5.8s linear infinite;
  filter: drop-shadow(0 0 9px rgba(40, 247, 168, 0.36));
}

.migration-transfer-card circle {
  fill: rgba(40, 247, 168, 0.92);
  filter: drop-shadow(0 0 11px rgba(40, 247, 168, 0.62));
}

.migration-transfer-steps {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 800;
}

.migration-transfer-steps span {
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  background: rgba(255, 255, 255, 0.06);
}

.migration-value-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  color: rgba(239, 255, 247, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.migration-value-chip i {
  color: var(--accent);
}

.migration-chip-one {
  left: 12%;
  top: 12%;
}

.migration-chip-two {
  right: 12%;
  top: 14%;
}

.migration-chip-three {
  right: 22%;
  bottom: 10%;
}

.migration-page .section {
  position: relative;
  --bg: #f8f6ee;
  --surface: #fffef8;
  --text: #102c24;
  --muted: #536b62;
  --line: rgba(7, 49, 39, 0.1);
  --accent: #28f7a8;
  --accent-strong: #087b53;
  background:
    radial-gradient(circle at 72% 10%, rgba(40, 247, 168, 0.1), transparent 26rem),
    #f8f6ee;
  color: #102c24;
}

.migration-section-heading {
  max-width: 100%;
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
  text-align: left;
}

.migration-section-heading .eyebrow {
  margin-bottom: 0.8rem;
}

.migration-section-heading h2 {
  max-width: 16ch;
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 5.5vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.migration-section-heading p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.75;
}

.migration-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.migration-benefit-card,
.migration-approach-card,
.migration-expect-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(7, 49, 39, 0.1);
  border-radius: 1.25rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 252, 245, 0.56)),
    var(--surface);
  box-shadow: 0 18px 48px rgba(7, 49, 39, 0.08);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.migration-benefit-card::before,
.migration-approach-card::before,
.migration-expect-card::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -35%;
  width: 70%;
  height: 70%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(40, 247, 168, 0.18), transparent 66%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.migration-benefit-card {
  display: grid;
  grid-template-rows: 4.4rem 3.35rem auto;
  align-content: start;
  align-items: start;
  justify-items: center;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  text-align: center;
}

.migration-benefit-card i,
.migration-expect-card i {
  display: inline-grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  color: var(--accent-strong);
  font-size: 1.45rem;
  background: rgba(0, 137, 91, 0.1);
}

.migration-benefit-card h3,
.migration-approach-card h3,
.migration-expect-card h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  line-height: 1.08;
}

.migration-benefit-card h3 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
  margin: 0;
  padding-bottom: 0.65rem;
}

.migration-benefit-card i {
  align-self: start;
  margin-bottom: 0;
}

.migration-benefit-card p,
.migration-approach-card p,
.migration-expect-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.migration-benefit-card p {
  align-self: start;
  padding-top: 0;
}

.migration-benefit-card:hover,
.migration-approach-card:hover,
.migration-expect-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 137, 91, 0.24);
  box-shadow: 0 26px 66px rgba(0, 137, 91, 0.14);
}

.migration-benefit-card:hover::before,
.migration-approach-card:hover::before,
.migration-expect-card:hover::before {
  opacity: 1;
}

.migration-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.migration-approach-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
}

.migration-approach-card span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 1.15rem;
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.migration-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.migration-expect-card {
  padding: clamp(1.25rem, 2vw, 1.7rem);
}

.migration-cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: min(100%, 1320px);
  border: 1px solid rgba(162, 255, 219, 0.22);
  border-radius: 2rem;
  padding: clamp(2rem, 4.5vw, 4rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 247, 168, 0.18), transparent 22rem),
    linear-gradient(135deg, #062119, #03110d 70%);
  color: #f4fff8;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.migration-cta-shell h2 {
  max-width: 16ch;
  margin: 0;
  color: #f4fff8;
  font-size: clamp(2.3rem, 4.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.migration-cta-actions {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.migration-cta-actions p {
  max-width: 42ch;
  margin: 0;
  color: rgba(235, 251, 243, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

@keyframes migrationFlowDash {
  to {
    stroke-dashoffset: -96;
  }
}

@keyframes migrationAmbientBreath {
  0%, 100% {
    opacity: 0.52;
    transform: scale(0.985) rotate(0deg);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.015) rotate(2deg);
  }
}

@keyframes migrationCardFloat {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -8px;
  }
}

@media (max-width: 1180px) {
  .migration-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .migration-page .migration-hero-shell,
  .migration-cta-shell {
    grid-template-columns: 1fr;
  }

  .migration-page .migration-hero-copy h1 {
    max-width: 12ch;
  }

  .migration-cloud-visual {
    min-height: 520px;
  }

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

  .migration-cta-actions {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1.5rem 0 0;
  }
}

@media (max-width: 720px) {
  .migration-page .migration-hero {
    min-height: auto;
  }

  .migration-cloud-visual {
    min-height: 580px;
  }

  .migration-cloud-card {
    width: 70%;
    min-height: 142px;
  }

  .migration-legacy-card,
  .migration-online-card {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .migration-legacy-card {
    top: 7%;
  }

  .migration-online-card {
    top: auto;
    bottom: 7%;
  }

  .migration-transfer-card {
    width: 86%;
  }

  .migration-value-chip {
    display: none;
  }

  .migration-benefit-grid,
  .migration-approach-grid,
  .migration-expect-grid {
    grid-template-columns: 1fr;
  }

  .migration-section-heading h2,
  .migration-cta-shell h2 {
    max-width: none;
  }
}

/* Global heading rhythm: wide, stable, natural line breaks */
:is(.page-hero h1, .page-hero h2, .section-heading h2, .implementation-section-heading h2, .implementation-approach-heading h2, .migration-section-heading h2, .industry-page-heading h2, .capability-section-heading h2, .oa-section-heading h2, .outcome-copy h2) {
  text-wrap: normal;
}

body:not(.home-page) .page-hero h1 {
  max-width: min(14ch, 100%);
  /* font-size: clamp(3.6rem, 7vw, 7.8rem); */
}

body:not(.home-page) .page-hero h2 {
  max-width: min(24ch, 100%);
}

@media (min-width: 900px) {
  :is(.industry-page-heading h2, .migration-section-heading h2, .implementation-section-heading h2, .implementation-approach-heading h2, .section-heading h2) {
    max-width: min(24ch, 100%);
    font-size: clamp(2.8rem, 4.6vw, 5.3rem);
  }
}

/* Industries page - map/network, bento, workflow panel */
.industries-page {
  --industry-text: #102c24;
  --industry-muted: #526a61;
  --industry-line: rgba(16, 44, 36, 0.13);
  --industry-card: rgba(255, 254, 248, 0.88);
  background: #fffefa;
}

.industries-page .industries-hero {
  position: relative;
  min-height: clamp(760px, 92svh, 980px);
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(3.5rem, 7vw, 6.2rem)) 0 clamp(5.5rem, 8vw, 7.2rem);
  background:
    radial-gradient(circle at 74% 34%, rgba(40, 247, 168, 0.18), transparent 30rem),
    radial-gradient(circle at 18% 12%, rgba(40, 247, 168, 0.11), transparent 28rem),
    linear-gradient(135deg, #0a0f0d 0%, #020807 72%, #000 100%);
}

.industries-page .industries-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
}

.industries-page .industries-hero-shell {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
}

.industries-page .industries-hero-copy h1 {
  max-width: 10ch;
  color: #f4fff8;
  font-size: clamp(4.3rem, 8vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.industries-page .industries-hero-copy h2 {
  max-width: 28ch;
  color: rgba(239, 255, 248, 0.92);
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
  line-height: 1.08;
}

.industries-page .industries-hero-copy .page-intro {
  max-width: 48rem;
  color: rgba(231, 247, 239, 0.72);
}

.industries-page .industries-network {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 45vw, 690px);
  overflow: hidden;
  border: 1px solid rgba(162, 255, 219, 0.14);
  border-radius: 3rem;
  background:
    radial-gradient(circle at 52% 44%, rgba(40, 247, 168, 0.14), transparent 16rem),
    radial-gradient(circle at 22% 70%, rgba(77, 182, 255, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 32px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
}

.industry-network-lines {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  overflow: visible;
}

.industry-network-lines path {
  fill: none;
  stroke: rgba(40, 247, 168, 0.24);
  stroke-width: 1.2;
  stroke-dasharray: 7 12;
  animation: industryLineSweep 8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(40, 247, 168, 0.14));
}

.industries-signal-dots {
  position: absolute;
  left: 8%;
  top: 12%;
  width: 150px;
  height: 120px;
  opacity: 0.28;
  background-image: radial-gradient(circle, rgba(40, 247, 168, 0.7) 1.3px, transparent 1.7px);
  background-size: 16px 16px;
}

.industries-page .industries-network-core,
.industries-page .industry-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(163, 255, 221, 0.2);
  background:
    radial-gradient(circle at 28% 18%, rgba(239, 255, 248, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(10, 43, 35, 0.74), rgba(3, 14, 12, 0.58));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), 0 0 34px rgba(40, 247, 168, 0.1);
  backdrop-filter: blur(16px);
}

.industries-page .industries-network-core {
  width: clamp(190px, 16vw, 250px);
  min-height: 150px;
  padding: 1.35rem;
  border-radius: 36% 64% 48% 52% / 50% 42% 58% 50%;
  color: #effff8;
  animation: industryCoreFloat 6s ease-in-out infinite;
}

.industries-page .industries-network-core i {
  color: #28f7a8;
  font-size: 2.2rem;
}

.industries-page .industries-network-core strong {
  margin-top: 0.65rem;
  color: #effff8;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.05;
}

.industries-page .industries-network-core small {
  margin-top: 0.35rem;
  color: rgba(239, 255, 248, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.industries-page .industry-node {
  min-width: 128px;
  min-height: 78px;
  padding: 0.85rem 1rem;
  color: #effff8;
  animation: architectureModuleFloatTiny 5.5s ease-in-out infinite;
}

.industries-page .industry-node i {
  color: #28f7a8;
  font-size: 1.35rem;
}

.industries-page .industry-node strong {
  margin-top: 0.4rem;
  color: #effff8;
  font-size: 0.78rem;
  line-height: 1.1;
}

.industries-page .industry-node::before {
  content: none;
}

.industries-page .node-healthcare {
  top: 7%;
  left: 16%;
  min-width: 146px;
  border-radius: 999px;
}

.industries-page .node-nfp {
  top: 15%;
  right: 8%;
  width: 126px;
  aspect-ratio: 1;
  min-height: 126px;
  border-radius: 50%;
}

.industries-page .node-financial {
  right: 7%;
  bottom: 12%;
  min-width: 178px;
  border-radius: 999px;
  animation-delay: -1.5s;
}

.industries-page .node-education {
  left: 10%;
  bottom: 11%;
  width: 136px;
  aspect-ratio: 1;
  min-height: 136px;
  border-radius: 38% 62% 56% 44%;
  animation-delay: -2.4s;
}

.industries-page .node-agriculture {
  left: 5%;
  top: 45%;
  min-width: 150px;
  border-radius: 22px 999px 999px 22px;
  animation-delay: -3s;
}

.industries-page .industry-page-section {
  --text: #102c24;
  --muted: #526a61;
  --surface: #fffefa;
  padding: clamp(4.4rem, 8vw, 7rem) 0;
  color: var(--industry-text);
  background:
    linear-gradient(90deg, rgba(24, 67, 54, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 67, 54, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(40, 247, 168, 0.08), transparent 24rem),
    #fffefa;
  background-size: 54px 54px, 54px 54px, auto, auto;
}

body[data-theme="dark"] .industries-page .industry-page-section {
  background:
    linear-gradient(90deg, rgba(24, 67, 54, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 67, 54, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(40, 247, 168, 0.08), transparent 24rem),
    #fffefa;
  color: var(--industry-text);
}

body[data-theme="dark"] .industries-page .industry-page-section :is(h2, h3, h4, strong, span, li) {
  color: inherit;
}

body[data-theme="dark"] .industries-page .industry-page-section :is(p, small) {
  color: var(--industry-muted);
}

.industries-page .industry-page-heading {
  max-width: 100%;
  margin-bottom: clamp(1.9rem, 4vw, 3.2rem);
}

.industries-page .industry-page-heading h2 {
  max-width: min(24ch, 100%);
  margin: 0;
  font-size: clamp(2.65rem, 4.2vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.industries-page .industry-page-heading p:last-child {
  max-width: 76ch;
  margin: 1.05rem 0 0;
  color: var(--industry-muted);
  font-size: clamp(1rem, 1.22vw, 1.14rem);
  line-height: 1.72;
}

.industry-overview-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.industry-overview-heading {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.industry-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(138px, auto);
  gap: 1rem;
}

.industry-bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 44, 36, 0.12);
  border-radius: 1.6rem;
  padding: clamp(1.2rem, 2vw, 1.65rem);
  background:
    radial-gradient(circle at 85% 12%, rgba(40, 247, 168, 0.13), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.96), rgba(237, 244, 237, 0.78));
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.09);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.industry-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 123, 83, 0.26);
  box-shadow: 0 24px 60px rgba(31, 55, 47, 0.14), 0 0 30px rgba(40, 247, 168, 0.1);
}

.industry-bento-card span {
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(8, 123, 83, 0.15);
  border-radius: 1rem;
  color: var(--brand-strong);
  background: rgba(8, 123, 83, 0.07);
  font-size: 1.35rem;
}

.industry-bento-card h3 {
  margin: 0 0 0.65rem;
  color: var(--industry-text);
  font-size: clamp(1.28rem, 1.8vw, 1.75rem);
  line-height: 1.02;
}

.industry-bento-card p {
  margin: 0;
  color: var(--industry-muted);
  line-height: 1.58;
}

.industry-bento-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.industry-bento-card em {
  padding: 0.36rem 0.56rem;
  border: 1px solid rgba(8, 123, 83, 0.14);
  border-radius: 999px;
  color: var(--brand-strong);
  background: rgba(8, 123, 83, 0.055);
  font-size: 0.73rem;
  font-style: normal;
  font-weight: 850;
}

.bento-feature {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 330px;
}

.bento-feature span {
  width: 4.1rem;
  height: 4.1rem;
  font-size: 1.7rem;
}

.bento-medium {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-small {
  grid-column: span 3;
}

.industry-process-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.industry-process-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-content: center;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  border: 1px solid rgba(16, 44, 36, 0.12);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.13), transparent 16rem),
    rgba(255, 254, 248, 0.78);
  box-shadow: 0 22px 60px rgba(31, 55, 47, 0.08);
}

.industry-process-matrix span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.2rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(8, 123, 83, 0.14);
  border-radius: 999px;
  color: var(--industry-text);
  background: rgba(255, 255, 252, 0.76);
  font-weight: 850;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.industry-process-matrix span:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 123, 83, 0.3);
  box-shadow: 0 14px 34px rgba(31, 55, 47, 0.12), 0 0 18px rgba(40, 247, 168, 0.1);
}

.industry-process-matrix i {
  color: var(--brand-strong);
}

.industries-page .industries-detail-tabs {
  display: grid;
  grid-template-columns: minmax(230px, 0.25fr) minmax(0, 0.75fr);
  gap: 1rem;
}

.industries-page .industry-tab-list {
  align-self: stretch;
  border-radius: 1.6rem;
  background: rgba(255, 254, 248, 0.74);
}

.industries-page .industry-tab {
  border-radius: 1rem;
}

.industries-page .industry-tab-panels {
  min-height: 100%;
  border-radius: 1.8rem;
}

.industries-page .industries-detail-tabs .industry-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.75fr) minmax(240px, 0.78fr);
  gap: 1rem;
  min-height: 440px;
  padding: clamp(1.35rem, 2.7vw, 2.4rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(40, 247, 168, 0.1), transparent 17rem),
    rgba(255, 254, 248, 0.88);
}

.industry-panel-summary h3 {
  margin: 0 0 1rem;
  color: var(--industry-text);
  font-size: clamp(1.8rem, 2.8vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.industry-panel-summary p:last-child {
  color: var(--industry-muted);
  line-height: 1.7;
}

.industry-workflow-column {
  padding: 1.25rem;
  border: 1px solid rgba(16, 44, 36, 0.1);
  border-radius: 1.3rem;
  background: rgba(8, 123, 83, 0.045);
}

.industry-capability-column {
  background: rgba(40, 247, 168, 0.06);
}

.industry-workflow-column strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-strong);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.industry-workflow-column ul {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-workflow-column li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--industry-text);
  font-weight: 760;
  line-height: 1.35;
}

.industry-workflow-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(40, 247, 168, 0.42);
}

.industry-help-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 1.5rem;
}

.industry-help-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 4.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.18), rgba(40, 247, 168, 0.32), rgba(8, 123, 83, 0.18), transparent);
}

.industries-page .industry-help-step {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 0;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.industries-page .industry-help-step:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.industries-page .industry-help-step > span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(8, 123, 83, 0.22);
  border-radius: 50%;
  color: var(--brand-strong);
  background: #fffefa;
  font-weight: 950;
  letter-spacing: 0;
  z-index: 1;
}

.industries-page .industry-help-step i {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 0 1rem;
  border-radius: 1rem;
  color: var(--brand-strong);
  background: rgba(8, 123, 83, 0.07);
  font-size: 1.32rem;
  transition: transform 220ms ease, filter 220ms ease;
}

.industries-page .industry-help-step:hover i {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(40, 247, 168, 0.24));
}

.industries-page .industry-help-step h3 {
  max-width: 15ch;
  margin: 0;
  color: var(--industry-text);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.12;
}

@keyframes industryLineSweep {
  to {
    stroke-dashoffset: -96;
  }
}

@media (max-width: 1100px) {
  .industries-page .industries-hero-shell,
  .industry-overview-layout,
  .industry-process-layout,
  .industries-page .industries-detail-tabs {
    grid-template-columns: 1fr;
  }

  .industry-overview-heading {
    position: static;
  }

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

  .bento-feature,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
    grid-row: auto;
    min-height: 230px;
  }

  .industries-page .industries-detail-tabs .industry-panel {
    grid-template-columns: 1fr;
  }

  .industry-help-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .industry-help-timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  body:not(.home-page) .page-hero h1 {
    max-width: none;
    font-size: clamp(3.05rem, 16vw, 5.8rem);
  }

  .industries-page .industries-hero {
    min-height: auto;
  }

  .industries-page .industries-network {
    min-height: 560px;
    border-radius: 2rem;
  }

  .industries-page .industry-node {
    transform: scale(0.9);
  }

  .industries-page .node-healthcare {
    left: 7%;
    top: 9%;
  }

  .industries-page .node-nfp {
    right: 4%;
    top: 16%;
  }

  .industries-page .node-financial {
    right: 4%;
    bottom: 12%;
  }

  .industries-page .node-education {
    left: 6%;
    bottom: 10%;
  }

  .industries-page .node-agriculture {
    left: 4%;
    top: 45%;
  }

  .industry-bento-grid,
  .industry-help-timeline,
  .industries-cta {
    grid-template-columns: 1fr;
  }

  .industry-process-matrix {
    align-items: stretch;
  }

  .industry-process-matrix span {
    width: 100%;
  }

  .industries-page .industry-page-heading h2 {
    max-width: none;
    font-size: clamp(2.25rem, 11vw, 3.8rem);
  }
}

body[data-theme="dark"] .industries-page main > section:not(.page-hero) {
  background:
    linear-gradient(90deg, rgba(24, 67, 54, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 67, 54, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(40, 247, 168, 0.08), transparent 24rem),
    #fffefa;
  color: var(--industry-text);
}

body[data-theme="dark"] .industries-page main > section:not(.page-hero) :is(.industry-bento-card, .industry-process-matrix, .industry-tab-list, .industry-tab-panels, .industry-panel, .industry-workflow-column, .industry-help-step, .outcome-shell) {
  border-color: rgba(16, 44, 36, 0.12);
  background:
    radial-gradient(circle at 85% 12%, rgba(40, 247, 168, 0.1), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.96), rgba(237, 244, 237, 0.78));
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.09);
}

body[data-theme="dark"] .industries-page main > section:not(.page-hero) :is(.industry-page-heading h2, .industry-bento-card h3, .industry-panel-summary h3, .industry-help-step h3, .industry-process-matrix span, .industry-workflow-column li, .industry-workflow-column strong) {
  color: var(--industry-text);
}

body[data-theme="dark"] .industries-page main > section:not(.page-hero) :is(.industry-page-heading p:last-child, .industry-bento-card p, .industry-panel-summary p:last-child) {
  color: var(--industry-muted);
}

body[data-theme="dark"] .industries-page main > section:not(.page-hero) :is(.industry-bento-card i, .industry-process-matrix i, .industry-tab i, .industry-help-step i, .eyebrow) {
  color: var(--brand-strong);
}

/* Remaining service page visual consistency pass */
.support-page .support-section-heading {
  max-width: 100%;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.support-page .support-section-heading h2 {
  max-width: min(24ch, 100%);
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 4.8vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.support-page .support-section-heading p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.support-benefit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid rgba(8, 123, 83, 0.14);
}

.support-benefit-row article {
  position: relative;
  min-height: 260px;
  padding: clamp(1.4rem, 2.3vw, 2.1rem);
  border-right: 1px solid rgba(8, 123, 83, 0.12);
  background: linear-gradient(180deg, rgba(40, 247, 168, 0.055), transparent 56%);
  transition: background 240ms ease, transform 240ms ease;
}

.support-benefit-row article:last-child {
  border-right: 0;
}

.support-benefit-row article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(40, 247, 168, 0.42), transparent);
  opacity: 0;
  transition: opacity 240ms ease;
}

.support-benefit-row article:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(40, 247, 168, 0.11), rgba(255, 255, 255, 0.2) 68%);
}

.support-benefit-row article:hover::before {
  opacity: 1;
}

.support-benefit-row i {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(8, 123, 83, 0.18);
  border-radius: 50%;
  color: var(--brand-strong);
  background: rgba(8, 123, 83, 0.055);
  font-size: 1.2rem;
}

.support-benefit-row h3 {
  margin: 0 0 0.8rem;
  color: var(--text);
  line-height: 1.08;
}

.support-benefit-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.support-workflow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding-top: 1.4rem;
}

.support-workflow-line::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.18), rgba(40, 247, 168, 0.42), rgba(8, 123, 83, 0.18), transparent);
}

.support-workflow-line article {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 0 1rem;
  text-align: center;
}

.support-workflow-line article > span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(8, 123, 83, 0.24);
  border-radius: 999px;
  color: var(--brand-strong);
  background: #fffefa;
  font-size: 0.84rem;
  font-weight: 950;
  z-index: 1;
}

.support-workflow-line i {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  color: var(--brand-strong);
  border-radius: 1rem;
  background: rgba(8, 123, 83, 0.07);
  transition: transform 220ms ease, filter 220ms ease;
}

.support-workflow-line article:hover i {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 0 14px rgba(40, 247, 168, 0.28));
}

.support-workflow-line h3 {
  max-width: 13ch;
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.12;
}

.support-workflow-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.capability-hero-shell {
  grid-template-columns: minmax(0, 0.48fr) minmax(360px, 0.52fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.capability-hero-visual {
  position: relative;
  min-height: clamp(390px, 36vw, 560px);
  border: 1px solid rgba(162, 255, 219, 0.16);
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 50% 44%, rgba(40, 247, 168, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 30px 84px rgba(0,0,0,0.28);
  overflow: hidden;
}

.capability-hero-visual::before,
.capability-hero-visual::after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(40, 247, 168, 0.14);
  border-radius: 50%;
  animation: industryNetworkBreath 8s ease-in-out infinite;
}

.capability-hero-visual::after {
  inset: 27%;
  animation-delay: -3s;
}

.capability-orbit-core,
.capability-hero-visual > span {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(163, 255, 221, 0.18);
  background: rgba(7, 20, 17, 0.72);
  color: #effff8;
  box-shadow: 0 18px 48px rgba(0,0,0,0.24), 0 0 26px rgba(40,247,168,0.08);
  backdrop-filter: blur(16px);
}

.capability-orbit-core {
  left: 50%;
  top: 50%;
  width: 180px;
  min-height: 132px;
  padding: 1rem;
  border-radius: 1.7rem;
  transform: translate(-50%, -50%);
}

.capability-orbit-core i {
  color: #28f7a8;
  font-size: 2rem;
}

.capability-hero-visual > span {
  width: 132px;
  min-height: 96px;
  padding: 0.9rem;
  border-radius: 1.3rem;
  font-weight: 850;
  animation: architectureModuleFloatTiny 6s ease-in-out infinite;
}

.capability-hero-visual > span img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 0.45rem;
}

.capability-hero-visual > span:nth-of-type(1) {
  left: 10%;
  top: 16%;
}

.capability-hero-visual > span:nth-of-type(2) {
  right: 10%;
  top: 18%;
  animation-delay: -1.2s;
}

.capability-hero-visual > span:nth-of-type(3) {
  left: 13%;
  bottom: 15%;
  animation-delay: -2.1s;
}

.capability-hero-visual > span:nth-of-type(4) {
  right: 12%;
  bottom: 13%;
  animation-delay: -3s;
}

.capability-section-heading,
.capability-section-heading.wide,
.oa-section-heading {
  max-width: 100%;
}

.capability-section-heading h2,
.capability-section-heading.wide h2,
.oa-section-heading h2 {
  max-width: min(26ch, 100%);
}

.capability-card-grid {
  grid-template-columns: 1fr;
}

.capability-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  border-radius: 0;
  border-width: 0 0 1px;
  box-shadow: none;
  background: transparent;
}

.capability-card:hover {
  transform: translateX(4px);
  box-shadow: none;
}

.platform-card-grid {
  align-items: stretch;
}

.platform-card {
  border-radius: 1.4rem;
}

.oa-about-hero-copy .page-intro,
.oa-about-hero-copy > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.24vw, 1.16rem);
  line-height: 1.72;
  color: rgba(231, 247, 239, 0.76);
}

.oa-check-list li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  align-items: start;
  gap: 0.6rem;
  padding-left: 0;
}

.oa-check-list li::before {
  position: static;
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.12rem;
}

.oa-section-heading {
  width: 100%;
}

.oa-expect-section .oa-section-heading h2,
.oa-experience-section .oa-section-heading h2 {
  max-width: min(24ch, 100%);
}

@media (max-width: 1120px) {
  .support-benefit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-benefit-row article:nth-child(2) {
    border-right: 0;
  }

  .support-workflow-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .support-workflow-line::before {
    display: none;
  }

  .capability-hero-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .support-benefit-row,
  .support-workflow-line {
    grid-template-columns: 1fr;
  }

  .support-benefit-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 123, 83, 0.12);
  }

  .support-benefit-row article:last-child {
    border-bottom: 0;
  }

  .capability-hero-visual {
    min-height: 520px;
  }

  .capability-hero-visual > span {
    width: 118px;
  }

  .capability-card {
    grid-template-columns: 1fr;
  }
}

/* Contact page refinement: lighter form-first layout */
.contact-page-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 42vw, 520px);
  padding: calc(var(--header-height) + clamp(2.4rem, 5vw, 4.5rem)) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  color: #effff8;
  border-bottom-right-radius: clamp(1.8rem, 4vw, 3.8rem);
  border-bottom-left-radius: clamp(1.8rem, 4vw, 3.8rem);
  background:
    radial-gradient(circle at 84% 18%, rgba(40, 247, 168, 0.12), transparent 22rem),
    radial-gradient(circle at 14% 84%, rgba(124, 207, 213, 0.08), transparent 18rem),
    linear-gradient(120deg, rgba(239, 255, 248, 0.035) 0 24%, transparent 24.2%),
    linear-gradient(135deg, #07110f 0%, #0d241f 56%, #07110f 100%);
  box-shadow: 0 24px 64px rgba(31, 55, 47, 0.22);
}

.contact-page-hero::before {
  content: "Contact";
  position: absolute;
  left: 8%;
  top: 36%;
  color: transparent;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(4rem, 11vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(239, 255, 248, 0.05);
  text-stroke: 1px rgba(239, 255, 248, 0.05);
  pointer-events: none;
}

.contact-page-hero::after,
body[data-theme="light"] .contact-page-hero::after {
  content: none !important;
  display: none !important;
}

.contact-page-heading {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  text-align: center;
}

.contact-page-heading .eyebrow {
  color: #28f7a8;
}

.contact-page-heading h1,
body[data-theme="light"] .contact-page-heading h1 {
  max-width: 100%;
  color: #effff8;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.95;
  white-space: normal;
  overflow-wrap: normal;
}

.contact-page-heading .page-intro,
body[data-theme="light"] .contact-page-heading .page-intro {
  max-width: 68ch;
  color: rgba(239, 255, 248, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 780;
}

.contact-direct--hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.45rem, 3vw, 2.6rem);
  margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
}

.contact-direct--hero .contact-method {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.68rem;
  row-gap: 0.12rem;
  align-items: center;
  min-width: 0;
  padding: 0;
  color: #effff8;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-direct--hero .contact-method i {
  grid-row: span 2;
  color: #effff8;
  font-size: 1.05rem;
  line-height: 1;
}

.contact-direct--hero .contact-method span {
  color: rgba(239, 255, 248, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-direct--hero .contact-method strong {
  color: #effff8;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 850;
  line-height: 1.1;
}

.contact-direct--hero .contact-method:hover,
.contact-direct--hero .contact-method:focus-visible {
  color: #28f7a8;
  background: transparent;
  box-shadow: none;
}

.contact-direct--hero .contact-method:hover i,
.contact-direct--hero .contact-method:focus-visible i,
.contact-direct--hero .contact-method:hover strong,
.contact-direct--hero .contact-method:focus-visible strong {
  color: #28f7a8;
}

body[data-theme="light"] .contact-direct--hero .contact-method {
  min-height: auto;
  padding: 0;
  color: #effff8;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-theme="light"] .contact-direct--hero .contact-method i,
body[data-theme="light"] .contact-direct--hero .contact-method strong {
  color: #effff8;
}

body[data-theme="light"] .contact-direct--hero .contact-method:hover,
body[data-theme="light"] .contact-direct--hero .contact-method:focus-visible {
  color: #28f7a8;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body[data-theme="light"] .contact-direct--hero .contact-method:hover i,
body[data-theme="light"] .contact-direct--hero .contact-method:focus-visible i,
body[data-theme="light"] .contact-direct--hero .contact-method:hover strong,
body[data-theme="light"] .contact-direct--hero .contact-method:focus-visible strong {
  color: #28f7a8;
}

.contact-section,
body[data-theme="light"] .contact-section {
  position: relative;
  margin-top: clamp(-3.6rem, -5vw, -2rem);
  padding: 0 0 clamp(5rem, 9vw, 8rem);
  background:
    linear-gradient(rgba(8, 123, 83, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 123, 83, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(8, 123, 83, 0.08), transparent 26rem),
    linear-gradient(180deg, #f7f5ed 0%, #f5f1e8 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.contact-form-shell--focused,
body[data-theme="light"] .contact-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  gap: clamp(1.4rem, 3vw, 2.3rem);
}

.contact-form--focused,
body[data-theme="light"] .contact-form {
  width: min(920px, 100%);
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(1.5rem, 3.6vw, 3rem);
  border: 1px solid rgba(24, 67, 54, 0.1);
  border-radius: clamp(1.4rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.055), transparent 18rem),
    rgba(255, 255, 252, 0.96);
  box-shadow: 0 28px 88px rgba(31, 55, 47, 0.16);
  backdrop-filter: blur(18px);
  margin-top: clamp(3rem, 5vw, 5rem);
}

.contact-form-heading {
  max-width: 720px;
  margin-bottom: 0.35rem;
}

.contact-form-heading h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.contact-form-heading p {
  margin: 0;
  color: #52645e;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}

.contact-form--focused label {
  gap: 0.5rem;
}

.contact-form--focused input,
.contact-form--focused textarea,
body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea {
  border-color: rgba(24, 67, 54, 0.1);
  background: #f3efea;
}

.contact-form--focused input:hover,
.contact-form--focused textarea:hover,
body[data-theme="light"] .contact-form input:hover,
body[data-theme="light"] .contact-form textarea:hover {
  background: #f7f4ef;
}

.contact-form--focused input:focus,
.contact-form--focused textarea:focus {
  border-color: rgba(8, 123, 83, 0.5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(40, 247, 168, 0.16);
}

.contact-form--focused button[type="submit"] {
  justify-self: start;
  min-width: 190px;
  min-height: 54px;
  box-shadow: 0 16px 36px rgba(8, 123, 83, 0.22);
}

.contact-form--focused button[type="submit"]:hover,
.contact-form--focused button[type="submit"]:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(8, 123, 83, 0.28), 0 0 28px rgba(40, 247, 168, 0.18);
}

.contact-direct--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  width: min(920px, 100%);
  margin-top: 0;
}

.contact-direct--inline .contact-method {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.1rem;
  align-items: center;
  min-height: auto;
  padding: 0.15rem 0.55rem;
  color: #132c25;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.contact-direct--inline .contact-method i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #087b53;
  background: rgba(8, 123, 83, 0.09);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-direct--inline .contact-method span {
  color: #60736c;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct--inline .contact-method strong {
  color: #132c25;
  font-size: 0.98rem;
  font-weight: 850;
}

.contact-direct--inline .contact-method:hover,
.contact-direct--inline .contact-method:focus-visible {
  color: #087b53;
  outline: none;
}

.contact-direct--inline .contact-method:hover i,
.contact-direct--inline .contact-method:focus-visible i {
  color: #06221b;
  background: rgba(40, 247, 168, 0.74);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .contact-page-hero,
  body[data-theme="light"] .contact-page-hero {
    min-height: clamp(320px, 58vw, 460px);
    padding-top: calc(var(--header-height) + 2.2rem);
  }

  .contact-page-heading h1,
  body[data-theme="light"] .contact-page-heading h1 {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .contact-form--focused {
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .contact-page-heading {
    justify-items: start;
    text-align: left;
  }

  .contact-page-heading h1,
  body[data-theme="light"] .contact-page-heading h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .contact-page-hero::before {
    left: 4%;
    top: 48%;
    font-size: 5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form--focused button[type="submit"] {
    justify-self: stretch;
    width: 100%;
  }

  .contact-direct--inline {
    justify-content: flex-start;
  }

  .contact-direct--inline .contact-method {
    width: 100%;
  }
}

/* Services landing page polish */
.services-hero {
  min-height: calc(100svh - var(--header-height));
  padding: calc(var(--header-height) + clamp(2.6rem, 5.5vw, 4.8rem)) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}

.services-hero-shell {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.6rem);
  align-items: center;
}

.services-hero-copy {
  max-width: 560px;
}

body .services-hero .services-hero-copy h1,
body .services-hero .services-hero-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 3.45vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.services-hero-copy .page-intro {
  max-width: 45ch;
  margin-top: 1rem;
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.58;
}

.service-button-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.15rem);
  align-items: stretch;
}

.service-button {
  grid-column: span 4;
  grid-template-columns: minmax(3.2rem, auto) minmax(0, 1fr) auto;
  grid-template-areas:
    "number number arrow"
    "icon title title";
  align-content: space-between;
  gap: 1.05rem;
  min-height: clamp(148px, 15vw, 190px);
  padding: clamp(1rem, 1.8vw, 1.35rem);
  color: #effff8;
  border: 1px solid rgba(174, 212, 198, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(239, 255, 248, 0.075), rgba(239, 255, 248, 0.015)),
    radial-gradient(circle at 88% 8%, rgba(40, 247, 168, 0.13), transparent 12rem),
    rgba(7, 23, 20, 0.82);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.service-button:nth-child(n),
.service-button:nth-child(5),
.service-button:nth-child(6) {
  grid-column: span 4;
}

.service-button:nth-child(7) {
  grid-column: 5 / span 4;
  min-height: clamp(148px, 13vw, 176px);
}

.service-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(40, 247, 168, 0.13) 50%, transparent 58%),
    radial-gradient(circle at var(--cursor-x, 76%) var(--cursor-y, 20%), rgba(40, 247, 168, 0.16), transparent 12rem);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 240ms ease, transform 240ms ease;
}

.service-button::after {
  grid-area: arrow;
  position: static;
  justify-self: end;
  align-self: start;
  width: 0.72rem;
  height: 0.72rem;
  color: currentColor;
  border-width: 2px;
  opacity: 0.45;
}

.service-button > span:last-child {
  display: contents;
}

.service-button small {
  grid-area: number;
  justify-self: start;
  width: max-content;
  margin: 0;
  padding: 0.42rem 0.66rem;
  color: #a3ffdd;
  border: 1px solid rgba(163, 255, 221, 0.18);
  border-radius: 999px;
  background: rgba(40, 247, 168, 0.055);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.service-button-icon {
  grid-area: icon;
  align-self: end;
  width: clamp(2.8rem, 4vw, 3.5rem);
  height: clamp(2.8rem, 4vw, 3.5rem);
  border: 1px solid rgba(163, 255, 221, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 10%, rgba(40, 247, 168, 0.15), transparent 4rem),
    rgba(239, 255, 248, 0.045);
}

.service-button-icon i {
  color: #28f7a8;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.service-button strong {
  grid-area: title;
  align-self: end;
  max-width: none;
  padding-right: 0;
  color: #effff8;
  font-size: clamp(1.08rem, 1.32vw, 1.32rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.service-button:nth-child(3n + 1) .service-button-icon {
  border-radius: 999px;
}

.service-button:nth-child(3n + 2) {
  background:
    linear-gradient(145deg, rgba(239, 255, 248, 0.085), rgba(239, 255, 248, 0.018)),
    radial-gradient(circle at 12% 100%, rgba(40, 247, 168, 0.12), transparent 12rem),
    rgba(7, 23, 20, 0.82);
}

.service-button:nth-child(3n) .service-button-icon {
  transform: rotate(-4deg);
}

.service-button:hover,
.service-button:focus-visible {
  color: #effff8;
  border-color: rgba(163, 255, 221, 0.45);
  background:
    linear-gradient(135deg, rgba(239, 255, 248, 0.105), rgba(239, 255, 248, 0.026)),
    radial-gradient(circle at 88% 8%, rgba(40, 247, 168, 0.22), transparent 13rem),
    rgba(9, 31, 27, 0.92);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34), 0 0 34px rgba(40, 247, 168, 0.12);
  transform: translateY(-6px);
}

.service-button:hover::before,
.service-button:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.service-button:hover::after,
.service-button:focus-visible::after {
  opacity: 0.95;
  transform: translate(4px, -4px) rotate(45deg);
}

.service-button:hover .service-button-icon,
.service-button:focus-visible .service-button-icon {
  color: #28f7a8;
  filter: drop-shadow(0 0 18px rgba(40, 247, 168, 0.34));
  transform: translateY(-4px) scale(1.07);
}

.service-button:hover strong,
.service-button:focus-visible strong {
  color: #ffffff;
}

.service-button:active {
  transform: translateY(-2px) scale(0.99);
}

body[data-theme="light"] .service-button {
  color: #102b23;
  border-color: rgba(24, 67, 54, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.9), rgba(245, 250, 246, 0.72)),
    radial-gradient(circle at 88% 8%, rgba(8, 123, 83, 0.11), transparent 12rem);
  box-shadow: 0 18px 46px rgba(31, 55, 47, 0.1);
}

body[data-theme="light"] .service-button small {
  color: #087b53;
  border-color: rgba(8, 123, 83, 0.16);
  background: rgba(8, 123, 83, 0.07);
}

body[data-theme="light"] .service-button-icon {
  border-color: rgba(8, 123, 83, 0.14);
  background:
    radial-gradient(circle at 50% 10%, rgba(40, 247, 168, 0.12), transparent 4rem),
    rgba(8, 123, 83, 0.045);
}

body[data-theme="light"] .service-button-icon i {
  color: #087b53;
}

body[data-theme="light"] .service-button strong {
  color: #102b23;
}

body[data-theme="light"] .service-button:hover,
body[data-theme="light"] .service-button:focus-visible {
  color: #102b23;
  border-color: rgba(8, 123, 83, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.98), rgba(235, 246, 239, 0.92)),
    radial-gradient(circle at 88% 8%, rgba(8, 123, 83, 0.18), transparent 13rem);
  box-shadow: 0 26px 60px rgba(31, 55, 47, 0.16), 0 0 0 1px rgba(8, 123, 83, 0.08);
}

body[data-theme="light"] .service-button:hover strong,
body[data-theme="light"] .service-button:focus-visible strong {
  color: #061d18;
}

@media (max-width: 1180px) {
  .services-hero-shell {
    grid-template-columns: 1fr;
  }

  .services-hero-copy {
    max-width: 720px;
  }

  .services-hero-copy h1,
  .services-hero-copy h2 {
    max-width: none;
  }

  .services-hero-copy .page-intro {
    max-width: 62ch;
  }
}

@media (max-width: 920px) {
  .service-button,
  .service-button:nth-child(n),
  .service-button:nth-child(5),
  .service-button:nth-child(6),
  .service-button:nth-child(7) {
    grid-column: span 6;
  }

  .service-button:nth-child(7) {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding-top: calc(var(--header-height) + 2rem);
    overflow-x: clip;
  }

  .services-hero .shell,
  .services-hero-shell,
  .service-button-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .services-hero-copy h1,
  .services-hero-copy h2 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .services-hero-copy .page-intro {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .service-button-grid {
    grid-template-columns: 1fr;
  }

  .service-button,
  .service-button:nth-child(n),
  .service-button:nth-child(7) {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
    min-height: 132px;
    padding: 1rem;
  }

  .service-button strong {
    font-size: 1.05rem;
    overflow-wrap: break-word;
  }
}

/* Services landing page: large dark service buttons across both themes */
.services-hero .service-button-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(1rem, 1.45vw, 1.35rem);
  align-items: stretch;
}

.services-hero .service-button,
body[data-theme="light"] .services-hero .service-button {
  grid-column: span 2;
  grid-template-columns: 1fr;
  grid-template-areas:
    "icon"
    "title";
  align-items: center;
  align-content: center;
  justify-items: center;
  gap: 0.85rem;
  min-height: clamp(124px, 10vw, 148px);
  padding: clamp(1.1rem, 1.45vw, 1.45rem);
  text-align: center;
  color: rgba(239, 255, 248, 0.84);
  border-color: rgba(163, 255, 221, 0.16);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(239, 255, 248, 0.052), rgba(239, 255, 248, 0.012)),
    radial-gradient(circle at 50% 110%, rgba(40, 247, 168, 0.105), transparent 10rem),
    rgba(7, 23, 20, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 34px rgba(0, 0, 0, 0.2);
}

.services-hero .service-button:nth-child(2n),
body[data-theme="light"] .services-hero .service-button:nth-child(2n) {
  background:
    linear-gradient(145deg, rgba(239, 255, 248, 0.058), rgba(239, 255, 248, 0.014)),
    radial-gradient(circle at 50% 110%, rgba(40, 247, 168, 0.11), transparent 10rem),
    rgba(7, 23, 20, 0.76);
}

.services-hero .service-button:nth-child(7),
body[data-theme="light"] .services-hero .service-button:nth-child(7) {
  grid-column: 6 / span 2;
  min-height: clamp(124px, 10vw, 148px);
}

.services-hero .service-button:nth-child(5),
body[data-theme="light"] .services-hero .service-button:nth-child(5) {
  grid-column: 2 / span 2;
}

.services-hero .service-button:nth-child(6),
body[data-theme="light"] .services-hero .service-button:nth-child(6) {
  grid-column: 4 / span 2;
}

.services-hero .service-button::after,
body[data-theme="light"] .services-hero .service-button::after {
  content: none;
}

.services-hero .service-button > span:last-child {
  display: block;
  min-width: 0;
}

.services-hero .service-button-icon,
body[data-theme="light"] .services-hero .service-button-icon {
  width: clamp(2.75rem, 3.25vw, 3.25rem);
  height: clamp(2.75rem, 3.25vw, 3.25rem);
  flex: 0 0 auto;
  align-self: center;
  border-color: rgba(163, 255, 221, 0.13);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 10%, rgba(40, 247, 168, 0.18), transparent 4rem),
    rgba(40, 247, 168, 0.052);
  box-shadow: 0 0 20px rgba(40, 247, 168, 0.065);
  transform: none;
}

.services-hero .service-button-icon i,
body[data-theme="light"] .services-hero .service-button-icon i {
  color: #28f7a8;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
}

.services-hero .service-button strong,
body[data-theme="light"] .services-hero .service-button strong {
  display: block;
  max-width: 18ch;
  color: rgba(239, 255, 248, 0.84);
  font-size: clamp(0.98rem, 1.08vw, 1.16rem);
  line-height: 1.12;
  letter-spacing: -0.026em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

.services-hero .service-button:hover,
.services-hero .service-button:focus-visible,
body[data-theme="light"] .services-hero .service-button:hover,
body[data-theme="light"] .services-hero .service-button:focus-visible {
  color: #effff8;
  border-color: rgba(163, 255, 221, 0.46);
  background:
    linear-gradient(135deg, rgba(239, 255, 248, 0.08), rgba(239, 255, 248, 0.02)),
    radial-gradient(circle at 50% 110%, rgba(40, 247, 168, 0.18), transparent 11rem),
    rgba(8, 31, 26, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 46px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(40, 247, 168, 0.1);
  transform: translateY(-4px);
}

.services-hero .service-button:hover strong,
.services-hero .service-button:focus-visible strong,
body[data-theme="light"] .services-hero .service-button:hover strong,
body[data-theme="light"] .services-hero .service-button:focus-visible strong {
  color: #ffffff;
}

@media (max-width: 920px) {
  .services-hero .service-button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-hero .service-button,
  .services-hero .service-button:nth-child(5),
  .services-hero .service-button:nth-child(6),
  .services-hero .service-button:nth-child(7),
  body[data-theme="light"] .services-hero .service-button,
  body[data-theme="light"] .services-hero .service-button:nth-child(5),
  body[data-theme="light"] .services-hero .service-button:nth-child(6),
  body[data-theme="light"] .services-hero .service-button:nth-child(7) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .services-hero .service-button-grid {
    grid-template-columns: 1fr;
  }

  .services-hero .service-button,
  body[data-theme="light"] .services-hero .service-button {
    min-height: 118px;
  }
}

/* Contact page delivery QA: remove hero hard-line artifacts and keep the form state honest */
.contact-page-hero,
body:not(.home-page) .contact-page-hero,
body[data-theme="light"] .contact-page-hero {
  overflow: hidden;
}

.contact-page-heading,
.contact-page-heading .eyebrow,
.contact-page-heading h1,
.contact-page-heading .page-intro,
body[data-theme="light"] .contact-page-heading,
body[data-theme="light"] .contact-page-heading .eyebrow,
body[data-theme="light"] .contact-page-heading h1,
body[data-theme="light"] .contact-page-heading .page-intro {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.contact-page-heading .page-intro,
body[data-theme="light"] .contact-page-heading .page-intro {
  position: relative;
  z-index: 2;
}

.contact-page-heading .page-intro::before,
.contact-page-heading .page-intro::after,
body[data-theme="light"] .contact-page-heading .page-intro::before,
body[data-theme="light"] .contact-page-heading .page-intro::after {
  content: none !important;
  display: none !important;
}

.contact-page-hero::after,
body:not(.home-page) .contact-page-hero::after,
body[data-theme="light"] .contact-page-hero::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.contact-page-hero::before,
body:not(.home-page) .contact-page-hero::before,
body[data-theme="light"] .contact-page-hero::before {
  content: "Contact" !important;
  position: absolute;
  left: 8%;
  top: 36%;
  width: auto !important;
  height: auto !important;
  color: transparent !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(4rem, 11vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(239, 255, 248, 0.055);
  text-stroke: 1px rgba(239, 255, 248, 0.055);
  pointer-events: none;
}

@media (max-width: 640px) {
  .contact-page-hero::before,
  body:not(.home-page) .contact-page-hero::before,
  body[data-theme="light"] .contact-page-hero::before {
    left: 4%;
    top: 48%;
    font-size: 5rem;
  }
}

/* Migration to Cloud D365 final review override — keep this after global rules */
.migration-page .migration-hero {
  min-height: clamp(650px, 82vh, 850px);
  padding: calc(var(--header-height) + clamp(3rem, 5vw, 5rem)) 0 clamp(4.25rem, 6vw, 6rem);
}

.migration-page .migration-hero-shell {
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  gap: clamp(2.4rem, 4.8vw, 5.2rem);
}

.migration-page .migration-hero-copy h1,
body:not(.home-page) .migration-page .migration-hero-copy h1 {
  max-width: min(560px, 100%) !important;
  font-size: clamp(2.85rem, 3.9vw, 4.45rem) !important;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.migration-page .migration-hero-copy .page-intro {
  max-width: 38rem;
}

.migration-cloud-visual {
  min-height: clamp(390px, 36vw, 560px);
  border-radius: clamp(1.6rem, 2.6vw, 2.25rem);
  background:
    radial-gradient(circle at 50% 48%, rgba(40, 247, 168, 0.13), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
}

.migration-cloud-card {
  z-index: 3;
  width: min(30%, 210px);
  min-height: 156px;
  padding: clamp(1.05rem, 1.8vw, 1.45rem);
  border-radius: 1.35rem;
}

.migration-legacy-card {
  top: 48%;
  left: 6%;
}

.migration-online-card {
  top: 48%;
  right: 6%;
}

.migration-cloud-icon {
  width: 4.1rem;
  height: 4.1rem;
  margin-bottom: 0.65rem;
  border-radius: 1.1rem;
  font-size: 1.7rem;
}

.migration-cloud-card strong {
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
}

.migration-transfer-card {
  z-index: 1;
  width: min(40%, 340px);
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.migration-transfer-label,
.migration-transfer-steps {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.migration-transfer-card svg {
  min-height: 84px;
}

.migration-transfer-card path {
  stroke-width: 2.35;
  stroke-dasharray: 8 12;
  filter: drop-shadow(0 0 7px rgba(40, 247, 168, 0.34));
}

.migration-value-chip {
  padding: 0.58rem 0.76rem;
  font-size: 0.75rem;
  background: rgba(6, 30, 24, 0.5);
}

.migration-chip-one {
  left: 13%;
  top: 10%;
}

.migration-chip-two {
  right: 13%;
  top: 11%;
}

.migration-chip-three {
  right: 25%;
  bottom: 10%;
}

.migration-section-heading {
  width: 100%;
  max-width: none;
}

.migration-section-heading h2 {
  max-width: min(30ch, 100%) !important;
  font-size: clamp(2.15rem, 3.65vw, 4.45rem) !important;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.migration-section-heading p {
  max-width: min(88ch, 100%);
}

.migration-approach-card {
  min-height: 226px;
  padding: clamp(1.3rem, 2vw, 1.75rem);
  border-color: rgba(7, 49, 39, 0.085);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(241, 252, 247, 0.42)),
    rgba(255, 254, 248, 0.78);
  box-shadow: 0 12px 34px rgba(7, 49, 39, 0.055);
}

.migration-approach-card span {
  color: #28d996;
}

.migration-approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 137, 91, 0.105);
}

.migration-expect-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  column-gap: 1rem;
  padding: clamp(1.15rem, 1.8vw, 1.55rem);
  border-color: rgba(7, 49, 39, 0.085);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(241, 252, 247, 0.38)),
    rgba(255, 254, 248, 0.78);
  box-shadow: 0 12px 34px rgba(7, 49, 39, 0.052);
}

.migration-expect-card i {
  width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  border-radius: 0.95rem;
  font-size: 1.2rem;
  background:
    radial-gradient(circle at 35% 30%, rgba(40, 247, 168, 0.28), transparent 58%),
    rgba(0, 137, 91, 0.075);
}

.migration-expect-card h3,
.migration-expect-card p {
  grid-column: 2;
}

.migration-expect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 137, 91, 0.105);
}

.motion-ready .migration-section-heading.reveal,
.motion-ready .migration-benefit-card.reveal,
.motion-ready .migration-approach-card.reveal,
.motion-ready .migration-expect-card.reveal,
.motion-ready .migration-cta-shell.reveal {
  transform: translateY(18px);
  transition-duration: 620ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .migration-section-heading.reveal.is-visible,
.motion-ready .migration-benefit-card.reveal.is-visible,
.motion-ready .migration-approach-card.reveal.is-visible,
.motion-ready .migration-expect-card.reveal.is-visible,
.motion-ready .migration-cta-shell.reveal.is-visible {
  transform: translateY(0);
}

.motion-ready .migration-benefit-card.reveal:nth-child(1),
.motion-ready .migration-approach-card.reveal:nth-child(1),
.motion-ready .migration-expect-card.reveal:nth-child(1) { transition-delay: 80ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(2),
.motion-ready .migration-approach-card.reveal:nth-child(2),
.motion-ready .migration-expect-card.reveal:nth-child(2) { transition-delay: 170ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(3),
.motion-ready .migration-approach-card.reveal:nth-child(3),
.motion-ready .migration-expect-card.reveal:nth-child(3) { transition-delay: 260ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(4),
.motion-ready .migration-approach-card.reveal:nth-child(4),
.motion-ready .migration-expect-card.reveal:nth-child(4) { transition-delay: 350ms; }

.motion-ready .migration-benefit-card.reveal:nth-child(5),
.motion-ready .migration-approach-card.reveal:nth-child(5) { transition-delay: 440ms; }

.motion-ready .migration-approach-card.reveal:nth-child(6) { transition-delay: 530ms; }

@media (max-width: 1180px) {
  .migration-page .migration-hero-shell {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .migration-transfer-card {
    width: min(38%, 300px);
  }
}

@media (max-width: 980px) {
  .migration-page {
    overflow-x: hidden;
  }

  .migration-page .migration-hero {
    min-height: auto;
    overflow-x: hidden;
  }

  .migration-page .shell,
  .migration-page .migration-hero-shell,
  .migration-page .migration-hero-copy,
  .migration-cloud-visual {
    width: 100%;
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .migration-page .migration-hero-shell {
    grid-template-columns: 1fr;
  }

  .migration-page .migration-hero-copy h1,
  body:not(.home-page) .migration-page .migration-hero-copy h1 {
    max-width: min(620px, 100%) !important;
    font-size: clamp(2.75rem, 7.2vw, 4.4rem) !important;
  }

  .migration-cloud-visual {
    min-height: 470px;
    margin-inline: auto;
  }

  .migration-page .migration-hero-copy .page-intro,
  .migration-section-heading p {
    width: 100%;
    max-width: 100%;
  }

  .migration-section-heading h2 {
    max-width: 100% !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
  }
}

@media (max-width: 720px) {
  .migration-page {
    overflow-x: hidden;
  }

  .migration-page .shell,
  .migration-page .migration-hero-shell,
  .migration-page .migration-hero-copy,
  .migration-cloud-visual,
  .migration-benefit-grid,
  .migration-approach-grid,
  .migration-expect-grid {
    width: 100%;
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .migration-page .migration-hero {
    padding-top: calc(var(--header-height) + 2.4rem);
    overflow-x: hidden;
  }

  .migration-page .migration-hero-copy h1,
  body:not(.home-page) .migration-page .migration-hero-copy h1 {
    width: 100%;
    max-width: 100% !important;
    font-size: clamp(2.3rem, 10vw, 3rem) !important;
    line-height: 1.04;
    overflow-wrap: normal;
  }

  .migration-cloud-visual {
    min-height: 560px;
    margin-inline: auto;
  }

  .migration-cloud-card {
    width: min(76%, 320px);
    min-height: 132px;
  }

  .migration-legacy-card {
    top: 6%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .migration-online-card {
    bottom: 6%;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .migration-transfer-card {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: min(82%, 330px);
  }

  .migration-expect-card {
    grid-template-columns: 1fr;
  }

  .migration-expect-card h3,
  .migration-expect-card p {
    grid-column: auto;
  }

  .migration-expect-card i {
    margin-bottom: 0.85rem;
  }
}

/* Managed Support desktop polish — scoped to support.html */
.support-page .support-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + clamp(3rem, 5vw, 5rem)) 0 clamp(4.5rem, 7vw, 6.5rem);
  color: #effff8;
  background:
    radial-gradient(circle at 72% 32%, rgba(40, 247, 168, 0.16), transparent 27rem),
    radial-gradient(circle at 18% 78%, rgba(40, 247, 168, 0.08), transparent 25rem),
    linear-gradient(180deg, #07110f 0%, #020807 100%);
  overflow: hidden;
}

body[data-theme="light"] .support-page .support-hero {
  color: #effff8;
  background:
    radial-gradient(circle at 72% 32%, rgba(40, 247, 168, 0.16), transparent 27rem),
    radial-gradient(circle at 18% 78%, rgba(40, 247, 168, 0.08), transparent 25rem),
    linear-gradient(180deg, #07110f 0%, #020807 100%);
}

.support-page .support-hero::before {
  background:
    linear-gradient(rgba(174, 212, 198, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 212, 198, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 74% 44%, rgba(40, 247, 168, 0.09), transparent 20rem);
  background-size: 70px 70px, 70px 70px, auto;
  opacity: 1;
}

.support-page .support-hero::after {
  content: "SUPPORT";
  position: absolute;
  right: -0.05em;
  bottom: -0.16em;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 255, 248, 0.045);
  font-size: clamp(8rem, 17vw, 22rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.support-page .support-hero-shell {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.44fr) minmax(560px, 0.56fr);
  gap: clamp(3rem, 5vw, 6rem);
  align-items: center;
}

.support-page .support-hero-copy h1,
body:not(.home-page) .support-page .support-hero-copy h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  color: #effff8;
  font-size: clamp(3.4rem, 5vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.support-page .support-hero-copy .eyebrow {
  color: #28f7a8;
}

.support-page .support-hero-copy .page-intro {
  max-width: 39rem;
  color: rgba(231, 247, 239, 0.74);
}

.support-page .support-visual {
  min-height: clamp(560px, 42vw, 680px);
  place-items: center;
}

.support-page .support-workflow {
  width: min(100%, 680px);
  min-height: clamp(540px, 41vw, 660px);
  border: 1px solid rgba(162, 255, 219, 0.14);
  border-radius: clamp(2rem, 3vw, 3rem);
  background:
    radial-gradient(circle at 50% 48%, rgba(40, 247, 168, 0.11), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 32px 86px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.support-page .support-workflow::before,
.support-page .support-workflow::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(40, 247, 168, 0.16);
  border-radius: 50%;
  opacity: 0.78;
  animation: supportOrbitBreath 7s ease-in-out infinite;
}

.support-page .support-workflow::after {
  inset: 24%;
  border-style: dashed;
  opacity: 0.5;
  animation-delay: -2.5s;
}

.support-page .support-orbit {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, transparent 0 8%, rgba(40, 247, 168, 0.46) 9% 12%, transparent 13% 27%, rgba(124, 207, 213, 0.28) 28% 31%, transparent 32% 100%);
  filter: drop-shadow(0 0 16px rgba(40, 247, 168, 0.18));
  mask: radial-gradient(circle, transparent 61%, #000 62% 63.5%, transparent 64.5%);
  animation: supportOrbitSpin 18s linear infinite;
}

.support-page .support-center {
  width: clamp(180px, 18vw, 220px);
  min-height: 148px;
  padding: 1.4rem;
  border: 1px solid rgba(162, 255, 219, 0.22);
  border-radius: 1.7rem;
  background: rgba(6, 24, 20, 0.72);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28), 0 0 34px rgba(40, 247, 168, 0.12);
  backdrop-filter: blur(18px);
  animation: supportCenterBreath 5s ease-in-out infinite;
}

.support-page .support-center-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.15rem;
  color: #04110d;
  background:
    radial-gradient(circle at 30% 24%, rgba(239, 255, 248, 0.95), rgba(40, 247, 168, 0.78));
  border: 1px solid rgba(162, 255, 219, 0.36);
  font-size: 1.75rem;
}

.support-page .support-center strong {
  color: #effff8;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.08;
}

.support-page .support-center small {
  color: rgba(231, 247, 239, 0.68);
}

.support-page .support-step-card {
  width: 146px;
  min-width: 0;
  max-width: none;
  gap: 0.55rem;
  padding: 0.95rem 0.8rem;
  border: 1px solid rgba(162, 255, 219, 0.16);
  border-radius: 1.2rem;
  background: rgba(5, 19, 16, 0.52);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transform: none;
  animation: supportNodeFloat 6s ease-in-out infinite;
}

.support-page .support-step-card:hover {
  transform: translateY(-7px) scale(1.03);
  border-color: rgba(40, 247, 168, 0.42);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28), 0 0 24px rgba(40, 247, 168, 0.12);
}

.support-page .support-node-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(162, 255, 219, 0.2);
  border-radius: 0.9rem;
  color: #28f7a8;
  background: rgba(40, 247, 168, 0.08);
  font-size: 1.06rem;
  transition: transform 220ms ease, filter 220ms ease;
}

.support-page .support-step-card:hover .support-node-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(40, 247, 168, 0.42));
}

.support-page .support-step-card .step-info strong {
  color: #effff8;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.support-page .support-step-card .step-info small {
  color: rgba(231, 247, 239, 0.62);
  font-size: 0.68rem;
}

.support-page .support-step-1 { top: 7%; left: calc(50% - 73px); transform: none; }
.support-page .support-step-2 { top: 21%; right: 7%; }
.support-page .support-step-3 { right: 7%; bottom: 22%; }
.support-page .support-step-4 { bottom: 7%; left: calc(50% - 73px); transform: none; }
.support-page .support-step-5 { left: 7%; bottom: 22%; }
.support-page .support-step-6 { top: 21%; left: 7%; }

.support-page .support-step-2,
.support-page .support-step-5 { animation-delay: -1.4s; }
.support-page .support-step-3,
.support-page .support-step-6 { animation-delay: -2.7s; }
.support-page .support-step-4 { animation-delay: -3.5s; }

.support-page .support-status {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(162, 255, 219, 0.15);
  border-radius: 999px;
  color: rgba(231, 247, 239, 0.72);
  background: rgba(5, 19, 16, 0.48);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-page .support-status span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #28f7a8;
  box-shadow: 0 0 12px rgba(40, 247, 168, 0.62);
}

.support-page .support-status-open { left: 9%; top: 47%; }
.support-page .support-status-done { right: 9%; top: 47%; }

.support-page .support-benefits-section,
.support-page .support-process-section {
  background:
    radial-gradient(circle at 72% 22%, rgba(40, 247, 168, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(255, 254, 248, 0.98), rgba(245, 250, 245, 0.92));
}

.support-page .support-section-heading {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(2rem, 3.2vw, 3rem);
}

.support-page .support-section-heading h2 {
  max-width: 100%;
  font-size: clamp(2.35rem, 3.05vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.support-page .support-section-heading p {
  max-width: min(86ch, 100%);
}

.support-page .support-benefit-row {
  border-block: 1px solid rgba(8, 123, 83, 0.13);
  background: rgba(255, 255, 255, 0.24);
}

.support-page .support-benefit-row article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 300px;
  padding: clamp(1.6rem, 2.2vw, 2.25rem) clamp(1rem, 1.6vw, 1.5rem);
  text-align: center;
  background: transparent;
}

.support-page .support-benefit-row i {
  width: 5.4rem;
  height: 5.4rem;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(8, 83, 61, 0.22);
  border-radius: 1.55rem;
  color: #087b53;
  background:
    radial-gradient(circle at 35% 25%, rgba(40, 247, 168, 0.22), transparent 62%),
    rgba(8, 123, 83, 0.04);
  font-size: 2.45rem;
  filter: drop-shadow(0 0 14px rgba(8, 123, 83, 0.12));
}

.support-page .support-benefit-row h3 {
  max-width: 18ch;
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  line-height: 1.18;
}

.support-page .support-benefit-row p {
  max-width: 26ch;
  font-size: 0.94rem;
  line-height: 1.7;
}

.support-page .support-benefit-row article:hover i {
  transform: translateY(-4px) scale(1.04);
  color: #009767;
}

.support-page .support-workflow-line {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding-top: 0.75rem;
}

.support-page .support-workflow-line::before {
  display: none;
}

.support-page .support-workflow-line article {
  position: relative;
  padding: 0 clamp(0.55rem, 1vw, 1rem);
}

.support-page .support-workflow-line article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 3.25rem);
  right: calc(-50% + 3.25rem);
  top: 3.2rem;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(0, 91, 177, 0.38) 30%, transparent 0);
  background-size: 10px 2px;
  opacity: 0.72;
}

.support-page .support-workflow-line i {
  order: 1;
  width: 6.15rem;
  height: 6.15rem;
  margin: 0 0 0.9rem;
  border: 1px solid rgba(8, 83, 61, 0.16);
  border-radius: 50%;
  color: #087b53;
  background: #fffefa;
  box-shadow: 0 12px 34px rgba(7, 49, 39, 0.06);
  font-size: 2rem;
}

.support-page .support-workflow-line article > span {
  order: 2;
  width: 1.95rem;
  height: 1.95rem;
  margin: -0.35rem 0 0.75rem;
  border-color: rgba(8, 123, 83, 0.18);
  color: #effff8;
  background: #087b53;
  box-shadow: 0 8px 18px rgba(8, 123, 83, 0.16);
}

.support-page .support-workflow-line h3 {
  order: 3;
  max-width: 100%;
  font-size: clamp(0.98rem, 1.04vw, 1.1rem);
  line-height: 1.12;
}

.support-page .support-workflow-line p {
  order: 4;
  max-width: 20ch;
  font-size: 0.84rem;
}

.support-page .support-workflow-line article:hover i {
  transform: translateY(-5px) scale(1.04);
  color: #009767;
  box-shadow: 0 18px 46px rgba(8, 123, 83, 0.12), 0 0 26px rgba(40, 247, 168, 0.12);
}

.motion-ready .support-page .support-hero-copy,
.motion-ready .support-page .support-visual {
  animation: supportHeroIntro 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ready .support-page .support-visual {
  animation-delay: 120ms;
}

.motion-ready .support-page :is(.support-section-heading, .support-benefit-row article, .support-workflow-line article, .cta-shell).reveal {
  transform: translateY(18px);
  transition-duration: 620ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .support-page :is(.support-section-heading, .support-benefit-row article, .support-workflow-line article, .cta-shell).reveal.is-visible {
  transform: translateY(0);
}

.motion-ready .support-page .support-benefit-row article.reveal:nth-child(1),
.motion-ready .support-page .support-workflow-line article.reveal:nth-child(1) { transition-delay: 80ms; }
.motion-ready .support-page .support-benefit-row article.reveal:nth-child(2),
.motion-ready .support-page .support-workflow-line article.reveal:nth-child(2) { transition-delay: 170ms; }
.motion-ready .support-page .support-benefit-row article.reveal:nth-child(3),
.motion-ready .support-page .support-workflow-line article.reveal:nth-child(3) { transition-delay: 260ms; }
.motion-ready .support-page .support-benefit-row article.reveal:nth-child(4),
.motion-ready .support-page .support-workflow-line article.reveal:nth-child(4) { transition-delay: 350ms; }
.motion-ready .support-page .support-workflow-line article.reveal:nth-child(5) { transition-delay: 440ms; }
.motion-ready .support-page .support-workflow-line article.reveal:nth-child(6) { transition-delay: 530ms; }

@keyframes supportHeroIntro {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes supportOrbitBreath {
  0%, 100% {
    opacity: 0.46;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.015);
  }
}

@keyframes supportOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes supportCenterBreath {
  0%, 100% {
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28), 0 0 24px rgba(40, 247, 168, 0.1);
  }
  50% {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 42px rgba(40, 247, 168, 0.18);
  }
}

@keyframes supportNodeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@media (max-width: 1180px) {
  .support-page .support-hero-shell {
    grid-template-columns: minmax(0, 0.43fr) minmax(500px, 0.57fr);
    gap: clamp(2rem, 4vw, 4rem);
  }

  .support-page .support-workflow-line i {
    width: 5.3rem;
    height: 5.3rem;
  }

  .support-page .support-workflow-line article:not(:last-child)::after {
    left: calc(50% + 2.9rem);
    right: calc(-50% + 2.9rem);
    top: 2.8rem;
  }
}

@media (max-width: 980px) {
  .support-page .support-hero-shell {
    grid-template-columns: 1fr;
  }

  .support-page .support-benefit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-page .support-workflow-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem 0;
  }

  .support-page .support-workflow-line article::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .support-page .support-benefit-row,
  .support-page .support-workflow-line {
    grid-template-columns: 1fr;
  }
}

/* Service pages — shared desktop vertical rhythm
   New Implementations is the spacing reference; this keeps the other service
   detail pages from feeling compressed without changing their content layout. */
:root {
  --service-section-space-y: clamp(4.8rem, 7vw, 7rem);
  --service-section-heading-gap: clamp(2.2rem, 3.8vw, 3.4rem);
  --service-cta-space-y: clamp(4.25rem, 6vw, 6.25rem);
}

@media (min-width: 981px) {
  :is(
    .support-page > .section,
    .migration-page > .section,
    .integration-hero ~ .section,
    .improvement-hero ~ .section
  ) {
    padding-top: var(--service-section-space-y);
    padding-bottom: var(--service-section-space-y);
  }

  :is(
    .support-page > .cta-section,
    .migration-page > .migration-cta-section,
    .integration-hero ~ .compact-cta-section,
    .improvement-hero ~ .cta-section
  ) {
    padding-top: var(--service-cta-space-y);
    padding-bottom: var(--service-cta-space-y);
  }

  :is(
    .support-page .support-section-heading,
    .migration-page .migration-section-heading,
    .integration-hero ~ .section .service-section-heading,
    .improvement-hero ~ .section .section-heading
  ) {
    margin-bottom: var(--service-section-heading-gap);
  }
}

/* Enhancement & Optimisation — scoped desktop refresh */
.improvement-page {
  background:
    linear-gradient(rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 75% 12%, rgba(40, 247, 168, 0.12), transparent 30rem),
    linear-gradient(180deg, #fffef8 0%, #edf5ee 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
  color: #08231b;
}

.improvement-page .improvement-hero {
  min-height: 100svh;
  padding: calc(var(--header-height, 82px) + clamp(3.5rem, 5.4vw, 5.8rem)) 0 clamp(5rem, 7vw, 7rem);
  color: #effff8;
  background:
    linear-gradient(rgba(174, 212, 198, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 212, 198, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 42%, rgba(40, 247, 168, 0.18), transparent 27rem),
    radial-gradient(circle at 18% 12%, rgba(124, 207, 213, 0.08), transparent 26rem),
    linear-gradient(180deg, #071512 0%, #020807 100%);
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
}

.improvement-page .improvement-hero::before {
  background:
    radial-gradient(circle at 67% 44%, rgba(40, 247, 168, 0.16), transparent 25rem),
    linear-gradient(125deg, transparent 0 42%, rgba(239, 255, 248, 0.035) 48%, transparent 56%);
}

.improvement-page .improvement-hero::after {
  content: "OA";
  position: absolute;
  right: -5vw;
  bottom: 1vh;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 255, 248, 0.055);
  font-size: clamp(14rem, 24vw, 28rem);
  font-weight: 950;
  letter-spacing: -0.13em;
  line-height: 0.8;
  pointer-events: none;
  animation: improvementOABreath 9s ease-in-out infinite;
}

.improvement-page .improvement-hero-shell {
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(3rem, 5vw, 6rem);
}

.improvement-page .improvement-hero-copy {
  max-width: 620px;
}

.improvement-page .improvement-hero-copy h1 {
  max-width: 15ch;
  color: #effff8;
  font-size: clamp(3.1rem, 4.6vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.improvement-page .improvement-hero-copy .hero-title-line {
  display: block;
  white-space: nowrap;
}

.improvement-page .improvement-hero-copy .page-intro {
  max-width: 42rem;
  color: rgba(231, 247, 239, 0.78);
}

.improvement-page .optimisation-visual {
  min-height: clamp(540px, 43vw, 700px);
  place-items: center;
}

.improvement-page .optimisation-cycle {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.improvement-page .optimisation-cycle::before,
.improvement-page .optimisation-cycle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.improvement-page .optimisation-cycle::before {
  inset: 7%;
  background:
    conic-gradient(from 35deg, rgba(40, 247, 168, 0.03), rgba(40, 247, 168, 0.28), rgba(124, 207, 213, 0.08), rgba(40, 247, 168, 0.03));
  mask: radial-gradient(circle, transparent 53%, #000 54% 58%, transparent 59%);
  animation: optimisationSpin 18s linear infinite;
}

.improvement-page .optimisation-cycle::after {
  inset: 18%;
  border: 1px solid rgba(162, 255, 219, 0.12);
  box-shadow: 0 0 54px rgba(40, 247, 168, 0.1);
  animation: optimisationBreath 6.5s ease-in-out infinite;
}

.improvement-page .optimisation-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.improvement-page .optimisation-ring-one {
  inset: 4%;
  border: 1px solid rgba(162, 255, 219, 0.14);
}

.improvement-page .optimisation-ring-two {
  inset: 26%;
  border: 1px dashed rgba(124, 207, 213, 0.12);
  animation: optimisationSpin 26s linear infinite reverse;
}

.improvement-page .optimisation-flow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent 0 14%, rgba(40, 247, 168, 0.55) 18%, transparent 23% 44%, rgba(124, 207, 213, 0.34) 49%, transparent 54% 78%, rgba(40, 247, 168, 0.5) 83%, transparent 88% 100%);
  mask: radial-gradient(circle, transparent 61%, #000 62% 64%, transparent 65%);
  filter: drop-shadow(0 0 18px rgba(40, 247, 168, 0.22));
  animation: optimisationSpin 14s linear infinite;
}

.improvement-page .optimisation-core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(190px, 18vw, 240px);
  aspect-ratio: 1;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(162, 255, 219, 0.18);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 45% 20%, rgba(40, 247, 168, 0.18), transparent 62%),
    rgba(5, 19, 16, 0.68);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.32),
    0 0 52px rgba(40, 247, 168, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  animation: optimisationCoreGlow 5.5s ease-in-out infinite;
}

.improvement-page .optimisation-core span {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.85rem;
  border-radius: 1.2rem;
  color: #03110d;
  background: linear-gradient(135deg, #b9ffe4, #28f7a8);
  font-size: 1.75rem;
}

.improvement-page .optimisation-core strong {
  display: block;
  color: #effff8;
  font-size: clamp(1.28rem, 1.65vw, 1.65rem);
  line-height: 1.05;
}

.improvement-page .optimisation-core small {
  margin-top: 0.55rem;
  color: rgba(231, 247, 239, 0.64);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.improvement-page .optimisation-node {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 132px;
  padding: 0.74rem 0.9rem;
  border: 1px solid rgba(162, 255, 219, 0.15);
  border-radius: 999px;
  color: rgba(231, 247, 239, 0.86);
  background: rgba(5, 19, 16, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  animation: optimisationFloat 6s ease-in-out infinite;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.improvement-page .optimisation-node i {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.8rem;
  color: #28f7a8;
  background: rgba(40, 247, 168, 0.08);
}

.improvement-page .optimisation-node span {
  font-size: 0.88rem;
  font-weight: 900;
}

.improvement-page .optimisation-node:hover {
  transform: translateY(-5px) scale(1.04);
  color: #effff8;
  border-color: rgba(40, 247, 168, 0.38);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28), 0 0 30px rgba(40, 247, 168, 0.15);
}

.improvement-page .optimisation-listen { top: 6%; left: 50%; transform: translateX(-50%); }
.improvement-page .optimisation-analyse { top: 27%; right: 3%; animation-delay: -1.1s; }
.improvement-page .optimisation-improve { right: 10%; bottom: 17%; animation-delay: -2.2s; }
.improvement-page .optimisation-deliver { left: 10%; bottom: 17%; animation-delay: -3.3s; }
.improvement-page .optimisation-measure { top: 27%; left: 3%; animation-delay: -4.4s; }

.improvement-page > .section {
  color: #08231b;
  background:
    linear-gradient(rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 12%, rgba(40, 247, 168, 0.08), transparent 28rem),
    linear-gradient(180deg, #fffef8 0%, #edf5ee 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.improvement-page > .section-alt {
  background:
    linear-gradient(rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 26% 20%, rgba(40, 247, 168, 0.07), transparent 28rem),
    linear-gradient(180deg, #f8fbf5 0%, #eef5ee 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.improvement-page .split-shell {
  grid-template-columns: 1fr;
  /* gap: var(--service-section-heading-gap, clamp(2.2rem, 3.8vw, 3.4rem)); */
}

.improvement-page .improvement-section-heading,
.improvement-page .section-heading {
  max-width: min(980px, 100%);
  margin-bottom: var(--service-section-heading-gap, clamp(2.2rem, 3.8vw, 3.4rem));
}

.improvement-page .improvement-section-heading h2,
.improvement-page .section-heading h2 {
  max-width: 100%;
  color: #08231b;
  font-size: clamp(2.45rem, 3.25vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

/* .improvement-page .improvement-section-heading p,
.improvement-page .section-heading p {
  max-width: min(82ch, 100%);
  color: #47665d;
  font-size: 1.05rem;
} */

.improvement-page .improvement-matters-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid rgba(8, 123, 83, 0.13);
}

.improvement-page .improvement-matters-grid .panel-card {
  display: grid;
  grid-template-rows: auto minmax(2.75rem, auto) 1fr;
  justify-items: center;
  align-content: start;
  min-height: 285px;
  padding: clamp(1.6rem, 2vw, 2.15rem) clamp(0.85rem, 1.2vw, 1.25rem);
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.improvement-page .improvement-matters-grid .panel-card + .panel-card {
  border-left: 1px solid rgba(8, 123, 83, 0.13);
}

.improvement-page .improvement-matters-grid .panel-card span {
  display: grid;
  place-items: center;
  width: 4.85rem;
  height: 4.85rem;
  margin: 0 0 1.05rem;
  border: 1px solid rgba(8, 123, 83, 0.18);
  border-radius: 1.45rem;
  color: #087b53;
  background: rgba(8, 123, 83, 0.045);
  font-size: 2rem;
  transition: transform 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.improvement-page .improvement-matters-grid .panel-card h3 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 18ch;
  margin: 0 0 0.62rem;
  color: #08231b;
  font-size: clamp(1.02rem, 1.1vw, 1.16rem);
  line-height: 1.16;
}

.improvement-page .improvement-matters-grid .panel-card p {
  align-self: start;
  max-width: 25ch;
  color: #47665d;
  font-size: 0.92rem;
  line-height: 1.58;
}

.improvement-page .improvement-matters-grid .panel-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 46px rgba(8, 83, 61, 0.08);
}

.improvement-page .improvement-matters-grid .panel-card:hover span {
  color: #009767;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 28px rgba(40, 247, 168, 0.13);
}

.improvement-page .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.4vw, 1.35rem);
}

.improvement-page .feature-band {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 190px;
  border-color: rgba(8, 83, 61, 0.1);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.08), transparent 11rem),
    rgba(255, 255, 252, 0.62);
  box-shadow: 0 18px 45px rgba(31, 55, 47, 0.08);
}

.improvement-page .feature-band h3 {
  align-self: start;
  color: #08231b;
  font-size: clamp(1.05rem, 1.1vw, 1.2rem);
  line-height: 1.2;
}

.improvement-page .improvement-approach-section {
  background:
    linear-gradient(rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 70% 24%, rgba(40, 247, 168, 0.075), transparent 28rem),
    #f7fbf5;
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.improvement-page .approach-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.4rem);
  margin-top: 0;
}

.improvement-page .approach-item {
  display: grid;
  grid-template-rows: auto minmax(4.25rem, auto) 1fr;
  align-content: start;
  min-height: 250px;
  border-color: rgba(8, 83, 61, 0.1);
  border-radius: 1.35rem;
  background: rgba(255, 255, 252, 0.62);
  box-shadow: 0 18px 45px rgba(31, 55, 47, 0.08);
}

.improvement-page .approach-step {
  background: rgba(8, 123, 83, 0.06);
  border-color: rgba(8, 123, 83, 0.2);
  color: #087b53;
}

.improvement-page .approach-item h3 {
  display: flex;
  align-items: flex-start;
  color: #08231b;
}

.improvement-page .approach-item p {
  align-self: start;
  color: #47665d;
}

.improvement-page .approach-item:hover {
  border-color: rgba(0, 184, 116, 0.28);
  background: rgba(255, 255, 252, 0.84);
  box-shadow: 0 24px 58px rgba(31, 55, 47, 0.12), 0 0 28px rgba(40, 247, 168, 0.1);
}

.improvement-page .cta-section {
  padding-block: clamp(3.2rem, 5vw, 5rem);
  background:
    linear-gradient(180deg, #f7fbf5 0%, #eef5ee 100%);
}

.improvement-page .cta-shell {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  overflow: hidden;
  padding: clamp(2.6rem, 4vw, 3.6rem) clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(162, 255, 219, 0.15);
  border-radius: clamp(1.55rem, 2.2vw, 2.2rem);
  color: #effff8;
  text-align: center;
  background:
    linear-gradient(rgba(174, 212, 198, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 212, 198, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0.18), transparent 22rem),
    linear-gradient(135deg, #07110f 0%, #020807 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
  box-shadow: 0 28px 72px rgba(2, 8, 7, 0.22);
}

.improvement-page .cta-shell > div {
  max-width: min(1120px, 100%);
}

.improvement-page .cta-shell h2 {
  max-width: 100%;
  margin: 0;
  color: #effff8;
  font-size: clamp(2.2rem, 3vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.improvement-page .cta-actions {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}

.improvement-page .cta-actions p {
  max-width: 100%;
  margin: 0;
  color: rgba(231, 247, 239, 0.78);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
}

.improvement-page .cta-actions .button {
  min-width: 150px;
  justify-content: center;
}

.motion-ready .improvement-page :is(.improvement-section-heading, .section-heading, .panel-card, .feature-band, .approach-item, .cta-shell).reveal {
  transform: translateY(18px);
  transition-duration: 640ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .improvement-page :is(.improvement-section-heading, .section-heading, .panel-card, .feature-band, .approach-item, .cta-shell).reveal.is-visible {
  transform: translateY(0);
}

.motion-ready .improvement-page .improvement-hero-copy,
.motion-ready .improvement-page .optimisation-visual {
  animation: improvementHeroIntro 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ready .improvement-page .optimisation-visual {
  animation-delay: 120ms;
}

.motion-ready .improvement-page :is(.panel-card, .feature-band, .approach-item).reveal:nth-child(1) { transition-delay: 80ms; }
.motion-ready .improvement-page :is(.panel-card, .feature-band, .approach-item).reveal:nth-child(2) { transition-delay: 170ms; }
.motion-ready .improvement-page :is(.panel-card, .feature-band, .approach-item).reveal:nth-child(3) { transition-delay: 260ms; }
.motion-ready .improvement-page :is(.panel-card, .feature-band, .approach-item).reveal:nth-child(4) { transition-delay: 350ms; }
.motion-ready .improvement-page :is(.panel-card, .feature-band).reveal:nth-child(5) { transition-delay: 440ms; }
.motion-ready .improvement-page .feature-band.reveal:nth-child(6) { transition-delay: 530ms; }
.motion-ready .improvement-page .feature-band.reveal:nth-child(7) { transition-delay: 620ms; }
.motion-ready .improvement-page .feature-band.reveal:nth-child(8) { transition-delay: 710ms; }

@keyframes improvementHeroIntro {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes optimisationSpin {
  to { transform: rotate(360deg); }
}

@keyframes optimisationBreath {
  0%, 100% {
    opacity: 0.46;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.015);
  }
}

@keyframes optimisationCoreGlow {
  0%, 100% {
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32), 0 0 38px rgba(40, 247, 168, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow: 0 30px 78px rgba(0, 0, 0, 0.34), 0 0 58px rgba(40, 247, 168, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

@keyframes optimisationFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@keyframes improvementOABreath {
  0%, 100% {
    opacity: 0.8;
    transform: scale(0.985);
  }
  50% {
    opacity: 1;
    transform: scale(1.015);
  }
}

/* Shared non-home CTA system
   Reuse `.site-cta` on page-level CTA shells so future CTA visual changes
   happen here instead of being restyled page by page. */
.cta-section:has(.site-cta),
.implementation-cta:has(.site-cta),
.migration-cta-section:has(.site-cta),
.industry-page-cta:has(.site-cta),
.compact-cta-section:has(.site-cta) {
  padding-block: clamp(3.4rem, 5vw, 5.25rem);
  background:
    linear-gradient(rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 22, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(40, 247, 168, 0.08), transparent 28rem),
    linear-gradient(180deg, #f8fbf5 0%, #eef5ee 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.site-cta,
.cta-shell.site-cta,
.migration-cta-shell.site-cta,
.compact-cta-shell.site-cta,
.industries-cta.site-cta,
.implementation-cta .outcome-shell.site-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: start;
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
  width: min(100%, 1320px);
  overflow: hidden;
  padding: clamp(2.15rem, 3.6vw, 3.45rem) clamp(2rem, 4.5vw, 3.8rem);
  border: 1px solid rgba(162, 255, 219, 0.2);
  border-radius: clamp(1.35rem, 2vw, 1.9rem);
  color: #effff8;
  text-align: left;
  background:
    radial-gradient(circle at 78% 16%, rgba(40, 247, 168, 0.22), transparent 24rem),
    radial-gradient(circle at 18% 14%, rgba(124, 207, 213, 0.08), transparent 20rem),
    linear-gradient(135deg, rgba(13, 86, 64, 0.96) 0%, rgba(4, 31, 24, 0.98) 54%, rgba(2, 14, 11, 0.99) 100%);
  box-shadow:
    0 26px 72px rgba(3, 30, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(239, 255, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 255, 248, 0.035) 1px, transparent 1px),
    linear-gradient(125deg, transparent 0 38%, rgba(239, 255, 248, 0.045) 45%, transparent 54%);
  background-size: 48px 48px, 48px 48px, auto;
  opacity: 0.74;
}

.site-cta::after {
  content: "";
  position: absolute;
  right: -9rem;
  top: -11rem;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(40, 247, 168, 0.17), transparent 66%);
  filter: blur(2px);
}

.site-cta > *,
.site-cta .outcome-copy > *,
.site-cta .outcome-points > *,
.site-cta .cta-actions > *,
.site-cta .migration-cta-actions > * {
  position: relative;
  z-index: 1;
}

.site-cta > div,
.site-cta .outcome-copy,
.site-cta .outcome-points,
.site-cta .cta-actions,
.site-cta .migration-cta-actions {
  display: contents;
  max-width: none;
  padding: 0;
  border: 0;
}

.site-cta > i {
  display: none;
}

.site-cta .eyebrow,
.site-cta p.eyebrow {
  margin: 0 0 clamp(0.35rem, 0.75vw, 0.65rem);
  color: rgba(239, 255, 248, 0.86);
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-cta h2,
.cta-shell.site-cta h2,
.migration-cta-shell.site-cta h2,
.compact-cta-shell.site-cta h2,
.industries-cta.site-cta h2,
.implementation-cta .site-cta h2 {
  max-width: min(1180px, 100%);
  margin: 0;
  color: #effff8;
  font-size: clamp(2.25rem, 3.45vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: normal;
}

.site-cta p:not(.eyebrow),
.cta-shell.site-cta p:not(.eyebrow),
.migration-cta-shell.site-cta p:not(.eyebrow),
.compact-cta-shell.site-cta p:not(.eyebrow),
.industries-cta.site-cta p:not(.eyebrow),
.implementation-cta .site-cta p:not(.eyebrow) {
  max-width: min(1080px, 100%);
  margin: 0;
  color: rgba(239, 255, 248, 0.84);
  font-size: clamp(1rem, 1.18vw, 1.22rem);
  line-height: 1.55;
}

.site-cta .button,
.site-cta .button.button-primary {
  justify-self: start;
  margin-top: clamp(0.35rem, 0.8vw, 0.75rem);
  min-height: 3.35rem;
  padding-inline: clamp(1.2rem, 2vw, 1.7rem);
  border-color: rgba(40, 247, 168, 0.26);
  background: #078b5e;
  color: #effff8;
  box-shadow: 0 16px 38px rgba(0, 92, 61, 0.28);
}

.site-cta .button:hover,
.site-cta .button:focus-visible {
  transform: translateY(-2px);
  background: #08a86f;
  box-shadow: 0 20px 48px rgba(0, 122, 82, 0.34), 0 0 26px rgba(40, 247, 168, 0.16);
}

.site-cta .button:active {
  transform: translateY(0) scale(0.985);
}

body[data-theme="light"] .site-cta,
body[data-theme="light"] .cta-shell.site-cta,
body[data-theme="light"] .migration-cta-shell.site-cta,
body[data-theme="light"] .compact-cta-shell.site-cta,
body[data-theme="light"] .industries-cta.site-cta,
body[data-theme="light"] .implementation-cta .outcome-shell.site-cta {
  color: #effff8;
  border-color: rgba(162, 255, 219, 0.2);
  background:
    radial-gradient(circle at 78% 16%, rgba(40, 247, 168, 0.22), transparent 24rem),
    radial-gradient(circle at 18% 14%, rgba(124, 207, 213, 0.08), transparent 20rem),
    linear-gradient(135deg, rgba(13, 86, 64, 0.96) 0%, rgba(4, 31, 24, 0.98) 54%, rgba(2, 14, 11, 0.99) 100%);
  box-shadow:
    0 26px 72px rgba(3, 30, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .site-cta,
  .cta-shell.site-cta,
  .migration-cta-shell.site-cta,
  .compact-cta-shell.site-cta,
  .industries-cta.site-cta,
  .implementation-cta .outcome-shell.site-cta {
    padding: clamp(1.8rem, 6vw, 2.6rem);
  }

  .site-cta h2,
  .cta-shell.site-cta h2,
  .migration-cta-shell.site-cta h2,
  .compact-cta-shell.site-cta h2,
  .industries-cta.site-cta h2,
  .implementation-cta .site-cta h2 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }
}

/* Inner page hero rhythm + Integrations page refresh */
body:not(.home-page) main > .page-hero:not(.contact-page-hero) {
  min-height: calc(100svh - var(--header-height, 82px));
  display: grid;
  align-items: center;
}

@media (min-width: 981px) {
  body:not(.home-page) main > .page-hero:not(.contact-page-hero) + .section:not(.contact-section),
  body:not(.home-page) main > .section:not(.contact-section):not(.cta-section) + .section:not(.contact-section) {
    padding-top: var(--service-section-space-y, clamp(4.75rem, 7vw, 7.25rem));
    padding-bottom: var(--service-section-space-y, clamp(4.75rem, 7vw, 7.25rem));
  }
}

.integrations-page .integration-hero {
  min-height: calc(100svh - var(--header-height, 82px));
  overflow: hidden;
  padding: calc(var(--header-height, 82px) + clamp(2rem, 3vw, 3.3rem)) 0 clamp(4.5rem, 6vw, 6.8rem);
  color: #effff8;
  background:
    linear-gradient(rgba(239, 255, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 255, 248, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 31%, rgba(40, 247, 168, 0.18), transparent 27rem),
    radial-gradient(circle at 24% 14%, rgba(124, 207, 213, 0.1), transparent 25rem),
    linear-gradient(135deg, #050d0b 0%, #071a15 48%, #02100d 100%);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
}

.integrations-page .integration-hero::before {
  content: "OA";
  position: absolute;
  inset: auto -7vw 2vh auto;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 255, 248, 0.055);
  font-size: clamp(16rem, 27vw, 33rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 0.8;
  pointer-events: none;
  animation: subtleOABreath 8s ease-in-out infinite;
}

.integrations-page .integration-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.integrations-page .integration-hero-copy {
  max-width: 620px;
}

.integrations-page .integration-hero-copy h1 {
  color: #effff8;
  font-size: clamp(4.2rem, 7vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.integrations-page .integration-hero-copy h2 {
  max-width: 620px;
  margin: clamp(1rem, 1.6vw, 1.35rem) 0 clamp(0.9rem, 1.4vw, 1.2rem);
  color: rgba(239, 255, 248, 0.94);
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.integrations-page .integration-hero-copy .page-intro {
  max-width: 610px;
  color: rgba(222, 241, 234, 0.78);
}

.integrations-page .integration-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 42vw, 690px);
}

.integrations-page .integration-visual::before,
.integrations-page .integration-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.integrations-page .integration-visual::before {
  inset: 10% 7%;
  border: 1px solid rgba(162, 255, 219, 0.09);
  box-shadow: inset 0 0 70px rgba(40, 247, 168, 0.035), 0 0 90px rgba(40, 247, 168, 0.045);
  animation: integrationOrbBreath 8s ease-in-out infinite;
}

.integrations-page .integration-visual::after {
  width: min(78%, 520px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(40, 247, 168, 0.13), transparent 64%);
  filter: blur(8px);
  opacity: 0.74;
  z-index: -1;
}

.integrations-page .integration-flow-lines {
  position: absolute;
  inset: 4% 0 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.integrations-page .integration-flow-lines path {
  fill: none;
  stroke: url("#integrationFlowGradient");
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-dasharray: 7 16;
  opacity: 0.78;
  filter: drop-shadow(0 0 7px rgba(40, 247, 168, 0.23));
  animation: integrationDataFlow 4.8s linear infinite;
}

.integrations-page .integration-flow-lines path:nth-child(2n) {
  animation-duration: 5.8s;
  animation-direction: reverse;
}

.integrations-page .integration-hub,
.integrations-page .integration-system-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(162, 255, 219, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0.12), transparent 9rem),
    rgba(9, 31, 25, 0.68);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.integrations-page .integration-hub {
  z-index: 3;
  width: clamp(168px, 14vw, 210px);
  min-height: clamp(150px, 12vw, 182px);
  gap: 0.35rem;
  padding: 1.35rem;
  border-radius: 34px;
  color: #effff8;
  animation: integrationHubBreath 5.8s ease-in-out infinite;
}

.integrations-page .integration-hub i {
  color: #28f7a8;
  font-size: clamp(2.6rem, 3.6vw, 3.7rem);
  filter: drop-shadow(0 0 16px rgba(40, 247, 168, 0.36));
}

.integrations-page .integration-hub strong {
  font-size: clamp(1.05rem, 1.28vw, 1.24rem);
  line-height: 1.06;
}

.integrations-page .integration-hub small {
  color: rgba(222, 241, 234, 0.62);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.integrations-page .integration-system-node {
  z-index: 2;
  min-width: 128px;
  min-height: 92px;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: 999px;
  color: rgba(239, 255, 248, 0.9);
  animation: integrationNodeFloat 6.5s ease-in-out infinite;
}

.integrations-page .integration-system-node i {
  color: #28f7a8;
  font-size: 1.6rem;
}

.integrations-page .integration-system-node span {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.integrations-page .integration-system-node:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: rgba(40, 247, 168, 0.48);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.28), 0 0 34px rgba(40, 247, 168, 0.13);
}

.integrations-page .node-crm { top: 2%; left: 50%; translate: -50% 0; }
.integrations-page .node-finance { top: 13%; right: 8%; animation-delay: -0.8s; }
.integrations-page .node-portal { top: 42%; right: 1%; animation-delay: -1.6s; }
.integrations-page .node-powerbi { right: 8%; bottom: 13%; animation-delay: -2.2s; }
.integrations-page .node-azure { left: 50%; bottom: 2%; translate: -50% 0; animation-delay: -3s; }
.integrations-page .node-automation { left: 8%; bottom: 13%; animation-delay: -1.1s; }
.integrations-page .node-data { top: 42%; left: 1%; animation-delay: -2.7s; }

.integrations-page .service-section-heading.wide-left {
  max-width: min(1120px, 100%);
  margin-inline: 0 auto;
  text-align: left;
}

.integrations-page .service-section-heading.wide-left h2 {
  max-width: min(1080px, 100%);
  font-size: clamp(2.45rem, 4.1vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-wrap: normal;
}

.integrations-page .service-section-heading.wide-left p {
  max-width: min(1060px, 100%);
  font-size: clamp(1.03rem, 1.18vw, 1.2rem);
}

.integrations-page .integration-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(6, 28, 22, 0.1);
  border-bottom: 1px solid rgba(6, 28, 22, 0.1);
}

.integrations-page .integration-benefit-grid article {
  position: relative;
  min-height: 250px;
  padding: clamp(1.6rem, 2.3vw, 2.35rem);
  border: 0;
  border-right: 1px solid rgba(6, 28, 22, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.integrations-page .integration-benefit-grid article:last-child {
  border-right: 0;
}

.integrations-page .integration-benefit-grid article:hover {
  transform: translateY(-5px);
  background: radial-gradient(circle at 50% 0%, rgba(8, 123, 83, 0.08), transparent 12rem);
  box-shadow: 0 20px 45px rgba(19, 43, 34, 0.08);
}

.integrations-page .integration-benefit-grid i {
  display: grid;
  place-items: center;
  width: 4.4rem;
  aspect-ratio: 1;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  color: #087b53;
  font-size: 2.15rem;
  background: rgba(8, 123, 83, 0.075);
}

.integrations-page .integration-benefit-grid h3 {
  max-width: 14rem;
  margin: 0 auto;
  font-size: clamp(1.12rem, 1.3vw, 1.35rem);
  line-height: 1.15;
}

.integrations-page .integration-benefit-grid p {
  max-width: 17rem;
  margin: 0 auto;
}

.integrations-page .integration-systems-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.integrations-page .integration-system-grid {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.integrations-page .integration-system-grid::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  z-index: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(40, 247, 168, 0.08), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

.integrations-page .integration-system-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  padding: clamp(1.9rem, 3vw, 2.8rem);
  border: 1px solid rgba(6, 28, 22, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.9), rgba(244, 251, 246, 0.68)),
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.08), transparent 14rem);
  box-shadow: 0 18px 52px rgba(38, 55, 47, 0.08);
}

.integrations-page .integration-system-card h3 {
  margin-top: 0.55rem;
  font-size: clamp(1.3rem, 1.55vw, 1.7rem);
}

.integrations-page .integration-ms-window,
.integrations-page .integration-card-icon {
  display: grid;
  place-items: center;
  width: 3.7rem;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  border-radius: 18px;
  background: rgba(8, 123, 83, 0.07);
}

.integrations-page .integration-card-icon {
  color: #087b53;
  font-size: 1.7rem;
}

.integrations-page .integration-system-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.integrations-page .integration-system-card li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(39, 68, 58, 0.9);
  font-size: 0.98rem;
  line-height: 1.45;
}

.integrations-page .integration-system-card li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 0.08rem;
  color: #087b53;
  font-family: "Font Awesome 6 Free";
  font-size: 0.85rem;
  font-weight: 900;
}

.integrations-page .integration-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2.2rem, 3vw, 3rem);
}

.integrations-page .integration-steps article {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.8rem;
  min-height: 270px;
  padding: 0 clamp(1rem, 1.8vw, 1.6rem);
  border: 0;
  border-right: 1px solid rgba(6, 28, 22, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.integrations-page .integration-steps article:last-child {
  border-right: 0;
}

.integrations-page .integration-steps article::after {
  content: "";
  position: absolute;
  left: calc(50% + 2.7rem);
  right: calc(-50% + 2.7rem);
  top: 2.7rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(8, 123, 83, 0.24) 0 8px, transparent 8px 17px);
  pointer-events: none;
}

.integrations-page .integration-steps article:last-child::after {
  display: none;
}

.integrations-page .integration-steps i {
  display: grid;
  place-items: center;
  width: 5.4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(8, 123, 83, 0.18);
  border-radius: 50%;
  color: #087b53;
  font-size: 2rem;
  background: rgba(255, 255, 252, 0.62);
  box-shadow: 0 16px 40px rgba(20, 55, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.integrations-page .integration-steps article:hover i {
  transform: translateY(-5px) scale(1.04);
  color: #08a86f;
  box-shadow: 0 22px 54px rgba(8, 123, 83, 0.14), 0 0 28px rgba(40, 247, 168, 0.12);
}

.integrations-page .integration-steps h3 {
  max-width: 13rem;
  margin: 0 auto;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  line-height: 1.18;
}

.integrations-page .integration-steps p {
  max-width: 14rem;
  margin: 0 auto;
  font-size: 0.95rem;
}

body[data-theme="light"] .integrations-page .integration-hero {
  color: #effff8;
  background:
    linear-gradient(rgba(239, 255, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 255, 248, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 31%, rgba(40, 247, 168, 0.18), transparent 27rem),
    radial-gradient(circle at 24% 14%, rgba(124, 207, 213, 0.1), transparent 25rem),
    linear-gradient(135deg, #050d0b 0%, #071a15 48%, #02100d 100%);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
}

body[data-theme="dark"] .integrations-page .integration-system-card,
body[data-theme="dark"] .integrations-page .integration-benefit-grid article:hover,
body[data-theme="dark"] .integrations-page .integration-steps i {
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.09), transparent 14rem),
    rgba(9, 31, 25, 0.64);
  border-color: rgba(162, 255, 219, 0.16);
}

body[data-theme="dark"] .integrations-page .integration-system-card li {
  color: rgba(222, 241, 234, 0.78);
}

body[data-theme="dark"] .integrations-page .integration-benefit-grid,
body[data-theme="dark"] .integrations-page .integration-benefit-grid article,
body[data-theme="dark"] .integrations-page .integration-steps article {
  border-color: rgba(162, 255, 219, 0.14);
}

@keyframes integrationDataFlow {
  to { stroke-dashoffset: -92; }
}

@keyframes integrationHubBreath {
  0%, 100% {
    transform: scale(0.99);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24), 0 0 24px rgba(40, 247, 168, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  50% {
    transform: scale(1.01);
    box-shadow: 0 30px 76px rgba(0, 0, 0, 0.28), 0 0 44px rgba(40, 247, 168, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

@keyframes integrationNodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes integrationOrbBreath {
  0%, 100% { opacity: 0.72; transform: scale(0.985); }
  50% { opacity: 1; transform: scale(1.015); }
}

/* Integrations final quality pass */
.integrations-page {
  --integration-shell: min(1320px, calc(100vw - clamp(3rem, 7vw, 7rem)));
  --integration-card-border: rgba(8, 45, 34, 0.11);
  --integration-soft-shadow: 0 18px 46px rgba(23, 48, 39, 0.075);
}

.integrations-page .integration-hero-shell,
.integrations-page > .section > .shell {
  width: var(--integration-shell);
  max-width: none;
}

.integrations-page .integration-hero {
  padding-top: calc(var(--header-height, 82px) + clamp(1.8rem, 3vw, 3.1rem));
  padding-bottom: clamp(3.5rem, 5vw, 5.75rem);
}

.integrations-page .integration-hero::before {
  inset: auto -1.5vw 7vh auto;
  font-size: clamp(14rem, 23vw, 28rem);
  letter-spacing: -0.08em;
  -webkit-text-stroke-color: rgba(162, 255, 219, 0.055);
  opacity: 0.9;
}

.integrations-page .integration-hero-shell {
  grid-template-columns: minmax(0, 0.43fr) minmax(600px, 0.57fr);
  gap: clamp(4rem, 6.5vw, 7.5rem);
}

.integrations-page .integration-visual {
  min-height: clamp(560px, 43vw, 720px);
  transform: translateX(1.2vw);
}

.integrations-page .integration-visual::before {
  inset: 8% 5%;
  border-color: rgba(162, 255, 219, 0.12);
}

.integrations-page .integration-flow-lines {
  inset: 1% 0 0;
}

.integrations-page .integration-flow-lines path {
  stroke-width: 1.55;
  stroke-dasharray: 8 14;
  opacity: 0.9;
}

.integrations-page .integration-hub {
  width: clamp(176px, 14vw, 218px);
  min-height: clamp(156px, 12vw, 190px);
  border-radius: 36px;
}

.integrations-page .integration-hub-ms {
  width: clamp(3.1rem, 4vw, 4.2rem);
  height: clamp(3.1rem, 4vw, 4.2rem);
  margin-bottom: 0.35rem;
  transform: none;
  filter: drop-shadow(0 0 18px rgba(40, 247, 168, 0.18));
}

.integrations-page .integration-system-node {
  min-width: 132px;
  min-height: 94px;
  border-color: rgba(162, 255, 219, 0.2);
}

.integrations-page .node-crm { top: 1%; left: 50%; translate: -50% 0; }
.integrations-page .node-finance { top: 12%; right: 7%; }
.integrations-page .node-portal { top: 42%; right: 0; }
.integrations-page .node-powerbi { right: 7%; bottom: 12%; }
.integrations-page .node-azure { left: 50%; bottom: 1%; translate: -50% 0; }
.integrations-page .node-automation { left: 7%; bottom: 12%; }
.integrations-page .node-data { top: 42%; left: 0; }
.integrations-page .node-m365 { top: 12%; left: 7%; animation-delay: -3.5s; }

.integrations-page .integration-benefits-section,
.integrations-page .integration-systems-section,
.integrations-page .integration-approach-section {
  position: relative;
  overflow: hidden;
}

.integrations-page .integration-benefits-section {
  padding-top: clamp(5.8rem, 7vw, 8rem);
  padding-bottom: clamp(5.4rem, 6.5vw, 7.5rem);
}

.integrations-page .integration-benefits-section::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 58%;
  width: 42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 247, 168, 0.09), transparent 67%);
  filter: blur(8px);
  pointer-events: none;
}

.integrations-page .service-section-heading.wide-left {
  margin-bottom: clamp(2.45rem, 4vw, 3.9rem);
}

.integrations-page .integration-benefit-grid {
  position: relative;
  z-index: 1;
  border-color: rgba(8, 45, 34, 0.12);
  background:
    linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.035), transparent),
    rgba(255, 255, 252, 0.18);
}

.integrations-page .integration-benefit-grid article {
  min-height: 278px;
  padding-top: clamp(2rem, 2.8vw, 2.85rem);
  padding-bottom: clamp(2rem, 2.8vw, 2.85rem);
}

.integrations-page .integration-benefit-grid i {
  margin-inline: auto;
  margin-bottom: 1rem;
  width: 4.75rem;
  font-size: 2.25rem;
  border: 1px solid rgba(8, 123, 83, 0.11);
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.integrations-page .integration-benefit-grid article:hover i {
  transform: translateY(-4px) scale(1.04);
  color: #08a86f;
  box-shadow: 0 16px 36px rgba(8, 123, 83, 0.13), 0 0 22px rgba(40, 247, 168, 0.13);
}

.integrations-page .integration-benefit-grid h3 {
  max-width: 15rem;
}

.integrations-page .integration-systems-section {
  padding-top: clamp(5.8rem, 7vw, 8rem);
  padding-bottom: clamp(5.8rem, 7vw, 8rem);
  background:
    radial-gradient(circle at 8% 30%, rgba(8, 123, 83, 0.045), transparent 25rem),
    linear-gradient(180deg, rgba(240, 247, 241, 0.28), rgba(255, 255, 252, 0));
}

.integrations-page .integration-system-grid {
  gap: clamp(1.45rem, 2.25vw, 2.15rem);
}

.integrations-page .integration-system-card {
  min-height: 520px;
  padding: clamp(2.2rem, 3.2vw, 3rem);
  border-color: var(--integration-card-border);
  border-radius: 30px;
  box-shadow: var(--integration-soft-shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.integrations-page .integration-system-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 123, 83, 0.2);
  box-shadow: 0 26px 64px rgba(23, 48, 39, 0.11), 0 0 30px rgba(40, 247, 168, 0.08);
}

.integrations-page .integration-ms-window,
.integrations-page .integration-card-icon {
  width: 4.25rem;
  border-radius: 20px;
}

.integrations-page .integration-ms-window {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: repeat(2, 1fr) !important;
  gap: 3px !important;
  width: 42px !important;
  height: 42px !important;
}

.integrations-page .integration-ms-window > span {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}

.integrations-page .integration-system-card h3 {
  max-width: 18rem;
  margin-bottom: 0.75rem;
}

.integrations-page .integration-system-card p {
  max-width: 38rem;
}

.integrations-page .integration-system-card ul {
  gap: 0.78rem 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(8, 45, 34, 0.08);
}

.integrations-page .integration-system-card li {
  padding-left: 1.65rem;
}

.integrations-page .integration-approach-section {
  padding-top: clamp(5.6rem, 7vw, 7.8rem);
  padding-bottom: clamp(5.8rem, 7vw, 8rem);
}

.integrations-page .integration-approach-section::before {
  content: "";
  position: absolute;
  inset: 37% 6% auto 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.12), transparent);
  pointer-events: none;
}

.integrations-page .integration-steps {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.7rem, 4vw, 4rem);
}

.integrations-page .integration-steps article {
  min-height: 300px;
  padding-inline: clamp(1.15rem, 1.8vw, 1.75rem);
}

.integrations-page .integration-steps article::after {
  top: 2.95rem;
  height: 3px;
  background:
    linear-gradient(90deg, rgba(8, 123, 83, 0.16), rgba(40, 247, 168, 0.38), rgba(8, 123, 83, 0.16));
  mask-image: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 18px);
}

.integrations-page .integration-steps i {
  width: 5.85rem;
  font-size: 2.12rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0.12), transparent 4rem),
    rgba(255, 255, 252, 0.78);
}

.integrations-page .integration-steps h3 {
  max-width: 14.5rem;
}

.integrations-page .compact-cta-section {
  padding-top: clamp(1.5rem, 3vw, 2.6rem);
}

body[data-theme="dark"] .integrations-page .integration-systems-section {
  background:
    radial-gradient(circle at 8% 30%, rgba(40, 247, 168, 0.055), transparent 25rem),
    linear-gradient(180deg, rgba(2, 16, 13, 0.7), rgba(2, 8, 7, 0));
}

body[data-theme="dark"] .integrations-page .integration-benefit-grid {
  background:
    linear-gradient(90deg, transparent, rgba(40, 247, 168, 0.035), transparent),
    rgba(9, 31, 25, 0.18);
}

/* About page quality pass */
.about-page {
  --about-shell: min(1320px, calc(100vw - clamp(3rem, 7vw, 7rem)));
  --about-card-border: rgba(8, 45, 34, 0.11);
  --about-card-shadow: 0 18px 46px rgba(23, 48, 39, 0.075);
}

.about-page .oa-about-hero,
body[data-theme="light"] .about-page .oa-about-hero {
  min-height: calc(100svh - var(--header-height, 82px));
  display: grid;
  align-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-height, 82px) + clamp(2rem, 3vw, 3.25rem));
  padding-bottom: clamp(3.8rem, 5.5vw, 6.25rem);
  color: #effff8;
  background:
    linear-gradient(rgba(239, 255, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 255, 248, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(40, 247, 168, 0.17), transparent 29rem),
    radial-gradient(circle at 18% 78%, rgba(23, 127, 140, 0.12), transparent 24rem),
    linear-gradient(135deg, #050d0b 0%, #071a15 50%, #02100d 100%);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
}

.about-page .oa-about-hero::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(40, 247, 168, 0.13), transparent 22rem),
    radial-gradient(circle at 18% 78%, rgba(23, 127, 140, 0.1), transparent 24rem);
}

.about-page .oa-about-hero::after {
  content: "OA";
  position: absolute;
  right: -2vw;
  bottom: 4vh;
  color: transparent;
  -webkit-text-stroke: 1px rgba(162, 255, 219, 0.055);
  font-size: clamp(14rem, 24vw, 29rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.82;
  pointer-events: none;
  animation: subtleOABreath 8s ease-in-out infinite;
}

.about-page .oa-about-hero-shell,
.about-page > .section > .shell {
  width: var(--about-shell);
  max-width: none;
}

.about-page .oa-about-hero-shell {
  grid-template-columns: minmax(0, 0.54fr) minmax(420px, 0.46fr);
  gap: clamp(4.5rem, 8vw, 8.5rem);
  align-items: center;
}

.about-page .oa-about-hero-copy {
  max-width: 760px;
  gap: clamp(1rem, 1.6vw, 1.45rem);
}

.about-page .oa-about-hero-copy h1 {
  max-width: 17ch;
  color: #effff8;
  font-size: clamp(3.4rem, 4.75vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.068em;
}

.about-page .oa-about-hero-copy .eyebrow {
  color: #28f7a8;
}

.about-page .oa-about-hero-copy .page-intro,
.about-page .oa-about-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(222, 241, 234, 0.79);
  font-size: clamp(1.04rem, 1.18vw, 1.17rem);
  line-height: 1.72;
}

.about-page .oa-about-visual {
  min-height: clamp(500px, 39vw, 650px);
  border-color: rgba(162, 255, 219, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 12%, rgba(40, 247, 168, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(16, 53, 42, 0.76), rgba(4, 20, 16, 0.74));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-page .oa-about-visual::before {
  inset: 1.25rem;
  border-color: rgba(162, 255, 219, 0.13);
  border-radius: 26px;
}

.about-page .oa-screen-card {
  left: 10%;
  right: 9%;
  top: 14%;
  padding: clamp(1.1rem, 2vw, 1.55rem);
  border-color: rgba(162, 255, 219, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(40, 247, 168, 0.14), transparent 12rem),
    rgba(1, 14, 12, 0.82);
}

.about-page .oa-screen-card strong {
  color: rgba(239, 255, 248, 0.95);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.about-page .oa-dashboard-grid span,
.about-page .oa-chart-row span {
  background: rgba(239, 255, 248, 0.09);
}

.about-page .oa-people-row {
  bottom: 13%;
}

.about-page .oa-about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.35rem);
  width: 100%;
  max-width: 560px;
  margin: 0;
  justify-self: end;
}

.about-page .oa-about-facts article {
  min-height: 136px;
  padding: clamp(1.15rem, 1.8vw, 1.55rem);
  border-color: rgba(162, 255, 219, 0.16);
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 247, 168, 0.09), transparent 8rem),
    rgba(9, 31, 25, 0.66);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
}

.about-page .oa-about-facts article strong {
  color: rgba(239, 255, 248, 0.94);
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.18;
}

.about-page .oa-mini-icon,
.about-page .oa-card-icon {
  width: 3.45rem;
  height: 3.45rem;
  color: #087b53;
  background: rgba(8, 123, 83, 0.09);
  font-size: 1.25rem;
}

.about-page .oa-about-facts .oa-mini-icon {
  color: #28f7a8;
  background: rgba(40, 247, 168, 0.12);
}

.about-page > .section {
  padding-block: clamp(5.5rem, 7vw, 8rem);
}

.about-page .oa-two-column {
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  gap: clamp(3rem, 5.5vw, 6rem);
  align-items: start;
}

.about-page .oa-two-column h2,
.about-page .oa-section-heading h2 {
  max-width: min(1120px, 100%);
  font-size: clamp(2.65rem, 4.15vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-wrap: normal;
}

.about-page .oa-two-column p,
.about-page .oa-section-heading p {
  max-width: min(980px, 100%);
  color: rgba(39, 68, 58, 0.86);
  font-size: clamp(1.02rem, 1.16vw, 1.16rem);
  line-height: 1.72;
}

.about-page .oa-section-heading {
  max-width: min(1180px, 100%);
  margin-bottom: clamp(2.2rem, 3.8vw, 3.5rem);
}

.about-page .oa-check-panel,
.about-page .oa-info-card {
  border-color: var(--about-card-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.07), transparent 13rem),
    rgba(255, 255, 252, 0.78);
  box-shadow: var(--about-card-shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-page .oa-check-panel {
  padding: clamp(1.55rem, 2.4vw, 2.35rem);
}

.about-page .oa-check-panel h3 {
  margin-top: 0;
  margin-bottom: clamp(1.1rem, 1.7vw, 1.5rem);
}

.about-page .oa-check-list {
  gap: 0.85rem;
}

.about-page .oa-check-list.two-col {
  gap: 0.85rem clamp(1.2rem, 2vw, 2rem);
}

.about-page .oa-check-list li {
  grid-template-columns: 1.45rem minmax(0, 1fr);
  gap: 0.72rem;
  color: rgba(39, 68, 58, 0.9);
  line-height: 1.45;
}

.about-page .oa-check-list li::before {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.08rem;
  border-color: rgba(8, 123, 83, 0.72);
  color: #087b53;
  background: rgba(40, 247, 168, 0.08);
}

.about-page .oa-info-card {
  min-height: 245px;
  gap: 0.95rem;
  padding: clamp(1.45rem, 2.3vw, 2.15rem);
}

.about-page .oa-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 123, 83, 0.22);
  box-shadow: 0 26px 64px rgba(23, 48, 39, 0.11), 0 0 30px rgba(40, 247, 168, 0.08);
}

.about-page .oa-info-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.45vw, 1.48rem);
  line-height: 1.18;
}

.about-page .oa-info-card p {
  margin: 0;
  color: rgba(39, 68, 58, 0.82);
  line-height: 1.62;
}

.about-page .oa-callout {
  max-width: 640px;
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  padding: clamp(1.05rem, 1.6vw, 1.35rem);
  color: #0d2c24;
  background: rgba(40, 247, 168, 0.08);
}

.about-page .oa-lifecycle {
  margin-bottom: clamp(1.5rem, 2.4vw, 2.2rem);
  border-radius: 28px;
  box-shadow: var(--about-card-shadow);
}

.about-page .oa-lifecycle span {
  min-height: 104px;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 247, 168, 0.055), transparent 9rem),
    rgba(255, 255, 252, 0.86);
}

.about-page .oa-experience-section .oa-card-grid.two .oa-info-card {
  min-height: 285px;
}

.about-page .oa-bottom-cta.site-cta {
  width: var(--about-shell);
  max-width: none;
}

.about-page .oa-bottom-cta.site-cta h2 {
  max-width: 980px;
}

body[data-theme="dark"] .about-page > section:not(.page-hero) {
  background: var(--bg);
}

body[data-theme="dark"] .about-page .oa-two-column p,
body[data-theme="dark"] .about-page .oa-section-heading p,
body[data-theme="dark"] .about-page .oa-info-card p,
body[data-theme="dark"] .about-page .oa-check-list li {
  color: rgba(222, 241, 234, 0.76);
}

body[data-theme="dark"] .about-page .oa-check-panel,
body[data-theme="dark"] .about-page .oa-info-card,
body[data-theme="dark"] .about-page .oa-lifecycle span {
  border-color: rgba(162, 255, 219, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.08), transparent 13rem),
    rgba(9, 31, 25, 0.62);
}

body[data-theme="dark"] .about-page .oa-callout {
  color: rgba(239, 255, 248, 0.92);
}

body[data-theme="light"] .about-page .oa-about-visual {
  border-color: rgba(162, 255, 219, 0.18);
  background:
    radial-gradient(circle at 50% 12%, rgba(40, 247, 168, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(16, 53, 42, 0.76), rgba(4, 20, 16, 0.74));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .about-page .oa-about-facts article {
  border-color: rgba(162, 255, 219, 0.16);
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 247, 168, 0.09), transparent 8rem),
    rgba(9, 31, 25, 0.78);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

body[data-theme="light"] .about-page .oa-about-facts article strong {
  color: rgba(239, 255, 248, 0.96);
}

@media (max-width: 1080px) {
  .about-page .oa-about-hero-shell {
    grid-template-columns: 1fr;
    gap: clamp(2.4rem, 6vw, 4rem);
  }

  .about-page .oa-about-hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(3.05rem, 8vw, 4.5rem);
  }

  .about-page .oa-about-facts {
    max-width: 720px;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .about-page .oa-about-facts {
    grid-template-columns: 1fr;
  }
}

/* Industries page refinement pass: keep the concept, improve structure and rhythm */
.industries-page .industries-hero {
  min-height: 100svh;
  padding-top: calc(var(--header-height, 82px) + clamp(2.6rem, 4vw, 4.25rem));
  padding-bottom: clamp(4.25rem, 6vw, 6.5rem);
}

.industries-page .industries-hero-shell {
  grid-template-columns: minmax(0, 0.42fr) minmax(560px, 0.58fr);
  gap: clamp(3.4rem, 6vw, 6.8rem);
  align-items: center;
}

.industries-page .industries-hero-copy {
  max-width: 640px;
}

.industries-page .industries-hero-copy h1 {
  max-width: none;
  font-size: clamp(4.4rem, 7.4vw, 8rem);
}

.industries-page .industries-hero-copy h2 {
  max-width: 31ch;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
}

.industries-page .industries-network {
  min-height: clamp(560px, 43vw, 710px);
}

.industries-page .industry-page-section {
  padding-block: clamp(5.25rem, 7vw, 7.75rem);
}

.industries-page .industry-page-heading {
  max-width: min(1180px, 100%);
  margin-inline: 0 auto;
  margin-bottom: clamp(2.25rem, 4vw, 3.6rem);
  text-align: left;
}

.industries-page .industry-page-heading h2 {
  max-width: min(1120px, 100%);
  font-size: clamp(2.75rem, 4vw, 4.55rem);
  line-height: 1.02;
  text-wrap: normal;
}

.industries-page .industry-page-heading p:last-child {
  max-width: min(1040px, 100%);
}

.industries-page .industry-overview-layout {
  display: block;
}

.industries-page .industry-overview-heading {
  position: static;
}

.industries-page .industry-bento-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(190px, 1fr));
  grid-auto-rows: auto;
  gap: clamp(0.9rem, 1.4vw, 1.25rem);
  align-items: stretch;
}

.industries-page .industry-bento-card,
.industries-page .bento-feature,
.industries-page .bento-medium,
.industries-page .bento-small {
  grid-column: auto;
  grid-row: auto;
  min-height: 300px;
}

.industries-page .industry-bento-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2vw, 1.9rem);
  border-color: rgba(16, 44, 36, 0.1);
  border-radius: 1.45rem;
  box-shadow: 0 14px 42px rgba(31, 55, 47, 0.075);
}

.industries-page .bento-feature {
  min-height: 330px;
  padding: clamp(1.65rem, 2.5vw, 2.35rem);
  background:
    radial-gradient(circle at 84% 12%, rgba(40, 247, 168, 0.18), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.98), rgba(231, 242, 234, 0.9));
}

.industries-page .industry-bento-card span {
  margin-bottom: clamp(1rem, 1.5vw, 1.35rem);
}

.industries-page .industry-bento-card p {
  margin-bottom: 0;
}

.industries-page .industry-bento-card div {
  display: none;
}

.industries-page .bento-feature::after {
  content: "Primary sector focus";
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(8, 123, 83, 0.14);
  border-radius: 999px;
  color: #087b53;
  background: rgba(8, 123, 83, 0.055);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industries-page .industry-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(560px, 0.58fr);
  gap: clamp(3rem, 5.5vw, 6.5rem);
  align-items: center;
}

.industries-page .industry-process-matrix {
  position: relative;
  min-height: clamp(360px, 30vw, 460px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 0.82rem;
  padding: clamp(2rem, 3.4vw, 3rem);
  overflow: hidden;
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 50% 48%, rgba(40, 247, 168, 0.18), transparent 12rem),
    radial-gradient(circle at 100% 8%, rgba(124, 207, 213, 0.12), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.92), rgba(237, 244, 237, 0.78));
}

.industries-page .industry-process-matrix::before {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(8, 123, 83, 0.11);
  border-radius: 42% 58% 52% 48%;
  pointer-events: none;
  animation: industryNetworkBreath 9s ease-in-out infinite;
}

.industries-page .industry-process-matrix::after {
  content: "D365 CE + Power Platform";
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 15rem;
  min-height: 5.2rem;
  padding: 1rem;
  border: 1px solid rgba(8, 123, 83, 0.14);
  border-radius: 1.3rem;
  color: #087b53;
  background: rgba(255, 254, 248, 0.82);
  box-shadow: 0 20px 54px rgba(31, 55, 47, 0.1);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.industries-page .industry-process-matrix span {
  position: relative;
  z-index: 1;
  min-height: 3.7rem;
  background: rgba(255, 255, 252, 0.78);
  backdrop-filter: blur(12px);
}

.industries-page .industry-process-matrix span:nth-child(odd) {
  margin-right: clamp(1.8rem, 4vw, 4.2rem);
}

.industries-page .industry-process-matrix span:nth-child(even) {
  margin-left: clamp(1.8rem, 4vw, 4.2rem);
}

.industries-page .industries-detail-tabs {
  gap: clamp(1.1rem, 1.8vw, 1.6rem);
}

.industries-page .industry-tab-list {
  padding: 0.65rem;
  border: 1px solid rgba(16, 44, 36, 0.1);
}

.industries-page .industry-tab {
  min-height: 4.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  color: rgba(16, 44, 36, 0.78);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.industries-page .industry-tab:hover,
.industries-page .industry-tab:focus-visible {
  color: #087b53;
  background: rgba(8, 123, 83, 0.055);
  transform: translateX(3px);
}

.industries-page .industry-tab.is-active {
  border-color: rgba(8, 123, 83, 0.2);
  color: #087b53;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.15), transparent 9rem),
    rgba(8, 123, 83, 0.075);
  box-shadow: 0 12px 28px rgba(31, 55, 47, 0.08);
}

.industries-page .industry-tab-panels {
  border: 1px solid rgba(16, 44, 36, 0.1);
  background: rgba(255, 254, 248, 0.66);
  box-shadow: 0 18px 50px rgba(31, 55, 47, 0.07);
}

.industries-page .industries-detail-tabs .industry-panel {
  min-height: 475px;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  padding: clamp(1.8rem, 3vw, 2.8rem);
}

.industries-page .industry-workflow-column {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.industries-page .industry-help-timeline {
  padding-top: 0.75rem;
}

.industries-page .industry-help-timeline::before {
  top: 2.55rem;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.13), rgba(40, 247, 168, 0.34), rgba(8, 123, 83, 0.13), transparent);
  box-shadow: 0 0 18px rgba(40, 247, 168, 0.12);
}

.industries-page .industry-help-step {
  padding-inline: clamp(1rem, 2vw, 1.6rem);
}

.industries-page .industry-help-step i {
  position: relative;
  z-index: 1;
  width: 5rem;
  height: 5rem;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(8, 123, 83, 0.16);
  border-radius: 50%;
  background: rgba(255, 254, 248, 0.9);
  box-shadow: 0 16px 42px rgba(31, 55, 47, 0.08);
  font-size: 1.65rem;
}

.industries-page .industry-help-step h3 {
  max-width: 18ch;
  font-size: clamp(1.08rem, 1.25vw, 1.24rem);
}

body[data-theme="dark"] .industries-page main > section:not(.page-hero) :is(.industry-bento-card, .industry-process-matrix, .industry-tab-list, .industry-tab-panels, .industry-panel, .industry-workflow-column, .industry-help-step, .outcome-shell) {
  border-color: rgba(16, 44, 36, 0.1);
}

@media (min-width: 1280px) {
  .industries-page .industry-tabs-section {
    padding-top: clamp(5.5rem, 7vw, 8rem);
  }
}

@media (max-width: 1180px) {
  .industries-page .industries-hero-shell,
  .industries-page .industry-process-layout {
    grid-template-columns: 1fr;
  }

  .industries-page .industry-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industries-page .industry-bento-card,
  .industries-page .bento-feature {
    min-height: 240px;
  }

  .industries-page .industry-process-matrix span:nth-child(odd),
  .industries-page .industry-process-matrix span:nth-child(even) {
    margin-inline: 0;
  }
}

/* Industries latest review refinement: desktop spacing, type scale and balance */
@media (min-width: 1181px) {
  .industries-page .industries-hero-shell {
    grid-template-columns: minmax(420px, 500px) minmax(0, 680px);
    justify-content: space-between;
    width: min(calc(100% - clamp(4rem, 7vw, 7rem)), 1320px);
    gap: clamp(7rem, 10vw, 12rem);
  }

  .industries-page .industries-hero-copy {
    max-width: 500px;
    min-width: 0;
  }

  .industries-page .industries-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(4.4rem, 6vw, 6.5rem);
  }

  .industries-page .industries-network {
    justify-self: end;
    width: min(100%, 680px);
    max-width: 680px;
  }

  .industries-page .industry-process-layout {
    grid-template-columns: minmax(0, 0.36fr) minmax(660px, 0.64fr);
    gap: clamp(5rem, 7.8vw, 9rem);
  }

  .industries-page .industries-detail-tabs {
    grid-template-columns: minmax(240px, 0.22fr) minmax(0, 0.78fr);
    gap: clamp(1.8rem, 3.2vw, 3rem);
  }

  .industries-page .industries-detail-tabs .industry-panel {
    grid-template-columns: minmax(320px, 0.46fr) repeat(2, minmax(230px, 0.27fr));
    gap: clamp(1.4rem, 2.4vw, 2.5rem);
  }
}

.industries-page .industry-page-heading h2 {
  max-width: min(1280px, 100%);
  font-size: clamp(2.35rem, 3.15vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.industries-page .industry-page-heading p:last-child {
  max-width: min(1120px, 100%);
}

.industries-page .bento-feature::after {
  content: none;
  display: none;
}

.industries-page .industry-process-layout .industry-page-heading h2 {
  max-width: min(640px, 100%);
  font-size: clamp(2.2rem, 2.75vw, 3.35rem);
}

.industries-page .industry-process-layout .industry-page-heading p:last-child {
  max-width: 46ch;
}

.industries-page .industry-process-matrix {
  min-height: clamp(420px, 31vw, 510px);
  padding: clamp(2.4rem, 3.8vw, 3.5rem);
}

.industries-page .industry-process-matrix span {
  min-height: 4.2rem;
}

.industries-page .industry-tabs-section .industry-page-heading h2 {
  font-size: clamp(2.25rem, 3vw, 3.65rem);
}

.industries-page .industry-tabs-section .industry-page-heading {
  margin-bottom: clamp(2.4rem, 3.8vw, 3.4rem);
}

.industries-page .industries-detail-tabs .industry-panel {
  min-height: 520px;
  padding: clamp(2rem, 3.1vw, 3rem);
}

.industries-page .industries-detail-tabs .industry-panel h3 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 2.55vw, 2.85rem);
}

.industries-page .industry-workflow-column {
  padding: clamp(1.35rem, 2.1vw, 1.95rem);
}

.industries-page .industry-tab-list {
  gap: 0.8rem;
}

.industries-page .industry-tab {
  min-height: 4.35rem;
}

/* Industries page: equal overview cards, richer workflow graphic, safer detail panel width */
.industries-page .industry-bento-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 1.35vw, 1.35rem);
}

.industries-page .industry-bento-card,
.industries-page .bento-feature,
.industries-page .bento-medium,
.industries-page .bento-small {
  min-height: clamp(260px, 20vw, 300px);
  padding: clamp(1.35rem, 1.85vw, 1.75rem);
  background:
    radial-gradient(circle at 84% 12%, rgba(40, 247, 168, 0.13), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 252, 0.96), rgba(235, 244, 237, 0.84));
}

.industries-page .industry-bento-card h3 {
  font-size: clamp(1.28rem, 1.45vw, 1.58rem);
}

.industries-page .industry-bento-card span,
.industries-page .bento-feature span {
  width: 3.35rem;
  height: 3.35rem;
  font-size: 1.35rem;
}

.industries-page .industry-process-matrix {
  box-sizing: border-box;
  max-width: 100%;
  isolation: isolate;
  border-color: rgba(8, 123, 83, 0.17);
  background:
    radial-gradient(circle at 50% 48%, rgba(40, 247, 168, 0.22), transparent 11.5rem),
    radial-gradient(circle at 14% 18%, rgba(8, 123, 83, 0.16), transparent 15rem),
    radial-gradient(circle at 104% 8%, rgba(124, 207, 213, 0.14), transparent 14rem),
    linear-gradient(145deg, rgba(246, 251, 244, 0.88), rgba(222, 237, 225, 0.74));
  box-shadow:
    0 26px 70px rgba(31, 55, 47, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.industries-page .industry-process-matrix::before {
  inset: 10%;
  border-color: rgba(8, 123, 83, 0.16);
  box-shadow:
    0 0 0 1px rgba(40, 247, 168, 0.055),
    0 0 42px rgba(40, 247, 168, 0.08);
}

.industries-page .industry-process-matrix::after {
  background:
    radial-gradient(circle at 20% 0%, rgba(40, 247, 168, 0.16), transparent 7rem),
    linear-gradient(135deg, rgba(8, 123, 83, 0.98), rgba(5, 35, 29, 0.96));
  color: #effff8;
  border-color: rgba(163, 255, 221, 0.26);
  box-shadow:
    0 24px 62px rgba(8, 38, 31, 0.24),
    0 0 32px rgba(40, 247, 168, 0.14);
}

.industries-page .industry-process-matrix span {
  border-color: rgba(8, 123, 83, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.82), rgba(239, 250, 243, 0.66));
  box-shadow: 0 12px 32px rgba(31, 55, 47, 0.07);
}

.industries-page .industry-tabs,
.industries-page .industries-detail-tabs,
.industries-page .industry-tab-panels,
.industries-page .industries-detail-tabs .industry-panel {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.industries-page .industry-tab-panels {
  overflow: visible;
}

.industries-page .industries-detail-tabs .industry-panel {
  overflow: visible;
}

.industries-page .industry-capability-column {
  margin-right: 0;
}

@media (min-width: 1181px) {
  .industries-page .industries-detail-tabs .industry-panel {
    grid-template-columns: minmax(300px, 0.46fr) minmax(205px, 0.27fr) minmax(205px, 0.27fr);
    gap: clamp(1.15rem, 1.7vw, 1.85rem);
    padding: clamp(2rem, 2.6vw, 2.75rem) clamp(2.4rem, 3.4vw, 3.5rem) clamp(2rem, 2.6vw, 2.75rem) clamp(2rem, 2.8vw, 3rem);
  }

  .industries-page .industry-workflow-column {
    padding: clamp(1.25rem, 1.75vw, 1.7rem);
  }
}

@media (max-width: 1180px) {
  .industries-page .industry-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .industries-page .industries-hero-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: clamp(2rem, 8vw, 3rem);
    width: min(calc(100vw - 2rem), var(--shell));
    overflow: hidden;
  }

  .industries-page .industries-hero-copy {
    width: min(100%, calc(100vw - 2rem)) !important;
    max-width: calc(100vw - 2rem) !important;
    min-width: 0;
  }

  .industries-page .industries-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 2.75rem) !important;
    line-height: 0.96;
  }

  .industries-page .industries-hero-copy h2 {
    max-width: 100%;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .industries-page .industries-hero-copy .page-intro {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    overflow-wrap: normal;
  }

  .industries-page .industries-network {
    justify-self: center;
    width: min(100%, calc(100vw - 2rem)) !important;
    max-width: calc(100vw - 2rem);
    min-width: 0 !important;
    min-height: 380px;
    border-radius: 1.4rem;
    transform: none !important;
  }
}

/* D365 Capabilities polish pass */
.capabilities-page {
  --cap-width: min(1320px, calc(100vw - clamp(3rem, 7vw, 7rem)));
}

.capabilities-page .capability-hero {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: calc(var(--header-height) + clamp(2.8rem, 4.6vw, 4.8rem)) 0 clamp(3.8rem, 6vw, 6rem);
  color: #effff8;
  background:
    radial-gradient(circle at 74% 44%, rgba(40, 247, 168, 0.16), transparent 26rem),
    radial-gradient(circle at 18% 82%, rgba(124, 207, 213, 0.07), transparent 24rem),
    linear-gradient(rgba(40, 247, 168, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 247, 168, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #07110f 0%, #0b211c 48%, #020807 100%);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

.capabilities-page .capability-hero-shell {
  width: var(--cap-width);
  max-width: var(--cap-width);
  grid-template-columns: minmax(0, 0.43fr) minmax(560px, 0.57fr);
  gap: clamp(3.5rem, 6vw, 7rem);
  align-items: center;
  margin-inline: auto;
}

.capabilities-page .capability-hero h1 {
  max-width: none;
  color: #effff8;
  font-size: clamp(4.35rem, 6.2vw, 7.1rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.capabilities-page .capability-hero .page-intro {
  max-width: 50ch;
  color: rgba(239, 255, 248, 0.78);
}

.capabilities-page .capability-hero-visual {
  width: min(100%, 720px);
  min-height: clamp(520px, 42vw, 690px);
  justify-self: end;
  border-color: rgba(163, 255, 221, 0.18);
  border-radius: 2.8rem;
  background:
    radial-gradient(circle at 50% 48%, rgba(40, 247, 168, 0.18), transparent 18rem),
    radial-gradient(circle at 12% 12%, rgba(124, 207, 213, 0.1), transparent 13rem),
    linear-gradient(135deg, rgba(239, 255, 248, 0.09), rgba(239, 255, 248, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 34px 90px rgba(0, 0, 0, 0.32),
    0 0 70px rgba(40, 247, 168, 0.07);
}

.capabilities-page .capability-orbit-core {
  width: 205px;
  min-height: 150px;
}

.capabilities-page .capability-hero-visual > span {
  width: 150px;
  min-height: 108px;
}

.capabilities-page .capability-hero-visual > span img {
  width: 40px;
  height: 40px;
}

.capabilities-page > .section {
  padding-block: clamp(5.4rem, 7vw, 8rem);
}

.capabilities-page .shell {
  width: var(--cap-width);
  max-width: var(--cap-width);
}

.capabilities-page .capability-section-heading,
.capabilities-page .capability-section-heading.wide,
.capabilities-page .capability-copy-block {
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.capabilities-page .capability-section-heading h2,
.capabilities-page .capability-section-heading.wide h2,
.capabilities-page .capability-copy-block h2 {
  max-width: min(1240px, 100%);
  font-size: clamp(2.35rem, 3.35vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: normal;
}

.capabilities-page .capability-section-heading p,
.capabilities-page .capability-section-heading.wide p,
.capabilities-page .capability-copy-block p {
  max-width: min(1120px, 100%);
}

.capabilities-page .capability-copy-block p:last-child {
  max-width: min(1120px, 100%);
}

.capabilities-page .capability-split {
  width: var(--cap-width);
  max-width: var(--cap-width);
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 4vw, 3.6rem);
  align-items: start;
}

.capabilities-page .ecosystem-map {
  width: 100%;
  max-width: 1180px;
  justify-self: center;
  gap: clamp(1.4rem, 2vw, 2rem);
  padding: clamp(2rem, 3vw, 3.2rem);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 50% 48%, rgba(40, 247, 168, 0.09), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface);
}

.capabilities-page .ecosystem-row {
  gap: clamp(0.85rem, 1.3vw, 1.2rem);
}

.capabilities-page .product-chip {
  min-height: 122px;
  padding: 1.1rem 0.9rem;
  border-radius: 1.25rem;
}

.capabilities-page .platform-layer {
  padding: clamp(1.2rem, 2vw, 1.7rem);
}

.capabilities-page .dataverse-layer {
  min-height: 94px;
}

.capabilities-page .capability-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 1.7vw, 1.55rem);
  margin-top: clamp(0.4rem, 1vw, 0.9rem);
}

.capabilities-page .capability-card {
  grid-template-columns: 3.55rem minmax(0, 1fr);
  gap: 1.15rem;
  min-height: 265px;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  border-width: 1px;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.055), transparent 12rem),
    var(--surface);
  box-shadow: 0 18px 52px rgba(31, 55, 47, 0.09);
}

.capabilities-page .capability-card h3 {
  font-size: clamp(1.35rem, 1.55vw, 1.65rem);
  line-height: 1.08;
}

.capabilities-page .capability-card p {
  margin-top: 0.7rem;
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.62;
}

.capabilities-page .platform-card-grid {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 1.4vw, 1.35rem);
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border: 1px solid rgba(8, 123, 83, 0.12);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 28% 8%, rgba(40, 247, 168, 0.09), transparent 18rem),
    radial-gradient(circle at 82% 88%, rgba(124, 207, 213, 0.08), transparent 16rem),
    rgba(255, 255, 252, 0.52);
}

.capabilities-page .platform-card-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.16), rgba(40, 247, 168, 0.34), rgba(8, 123, 83, 0.16), transparent);
  box-shadow: 0 0 18px rgba(40, 247, 168, 0.12);
  pointer-events: none;
}

.capabilities-page .platform-card {
  position: relative;
  z-index: 1;
  min-height: 235px;
  padding: clamp(1.2rem, 1.7vw, 1.55rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.06), transparent 10rem),
    rgba(255, 255, 252, 0.82);
  box-shadow: 0 18px 46px rgba(31, 55, 47, 0.08);
}

.capabilities-page .platform-card h3 {
  font-size: clamp(1.16rem, 1.28vw, 1.34rem);
}

.capabilities-page .platform-card p {
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.62;
}

.capabilities-page .trusted-logo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 1.55vw, 1.45rem);
  align-items: stretch;
}

.capabilities-page .trusted-logo {
  min-height: 136px;
  padding: clamp(1.1rem, 1.7vw, 1.5rem);
  border-radius: 1.35rem;
}

.capabilities-page .trusted-logo img {
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 64px;
  object-fit: contain;
}

.capabilities-page .trusted-logo-wide img {
  max-width: 92%;
  max-height: 66px;
}

.capabilities-page .trusted-logo img[src*="horticom"] {
  max-width: 74%;
  max-height: 74px;
}

.capabilities-page .trusted-logo img[src*="slsnz"] {
  max-width: 94%;
  max-height: 70px;
}

.capabilities-page .trusted-logo img[src*="medispace"] {
  max-width: 90%;
  max-height: 58px;
}

.capabilities-page .trusted-logo img[src*="venture-taranaki"] {
  max-width: 76%;
  max-height: 70px;
  filter: brightness(0);
}

.capabilities-page .trusted-logo:hover img[src*="venture-taranaki"],
.capabilities-page .trusted-logo:focus-within img[src*="venture-taranaki"] {
  filter: brightness(0);
}

.capabilities-page .trusted-logo img[src*="open-country"] {
  max-width: 90%;
  max-height: 62px;
}

.capabilities-page .trusted-logo img[src*="psa"] {
  max-width: 74%;
  max-height: 68px;
}

.capabilities-page .trusted-logo img[src*="link-30yr"] {
  max-width: 94%;
  max-height: 58px;
}

.capabilities-page .trusted-logo img[src*="Crediflex"] {
  max-width: 86%;
  max-height: 54px;
}

.capabilities-page .trusted-logo img[src*="Long%20Burroughs"] {
  max-width: 88%;
  max-height: 46px;
}

.capabilities-page .trusted-logo img[src*="mm-southern"] {
  max-width: 86%;
  max-height: 60px;
}

.capabilities-page .trusted-logo img[src*="enerpro"] {
  max-width: 92%;
  max-height: 66px;
}

.capabilities-page .business-value-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(2.5rem, 4.5vw, 5.25rem);
  align-items: start;
}

.capabilities-page .business-value-layout .capability-section-heading {
  display: contents;
  margin-bottom: 0;
}

.capabilities-page .business-value-layout .capability-section-heading .eyebrow,
.capabilities-page .business-value-layout .capability-section-heading h2 {
  grid-column: 1 / -1;
  max-width: 100%;
}

.capabilities-page .business-value-layout .capability-section-heading h2 {
  font-size: clamp(2.35rem, 3.05vw, 3.75rem);
  line-height: 1.02;
}

.capabilities-page .business-value-layout .capability-section-heading p:not(.eyebrow) {
  grid-column: 1 / 2;
  max-width: 38ch;
}

.capabilities-page .business-value-grid {
  grid-column: 2 / 3;
  grid-row: 3 / span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.35rem);
}

.capabilities-page .business-value-grid article {
  min-height: 210px;
  padding: clamp(1.25rem, 1.9vw, 1.65rem);
  border-radius: 1.45rem;
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.08);
}

.capabilities-page .business-value-grid i {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.15rem;
}

.capabilities-page .site-cta {
  width: var(--cap-width);
  max-width: var(--cap-width);
}

.capabilities-page .site-cta h2 {
  max-width: 980px;
}

body[data-theme="light"] .capabilities-page .capability-hero {
  color: #effff8;
}

body[data-theme="light"] .capabilities-page .capability-hero h1,
body[data-theme="light"] .capabilities-page .capability-hero .eyebrow {
  color: #effff8;
}

body[data-theme="light"] .capabilities-page .capability-hero .page-intro {
  color: rgba(239, 255, 248, 0.78);
}

body[data-theme="light"] .capabilities-page .platform-card-grid {
  border-color: rgba(8, 123, 83, 0.12);
  background:
    radial-gradient(circle at 28% 8%, rgba(40, 247, 168, 0.09), transparent 18rem),
    radial-gradient(circle at 82% 88%, rgba(124, 207, 213, 0.08), transparent 16rem),
    rgba(255, 255, 252, 0.52);
}

body[data-theme="dark"] .capabilities-page main > section:not(.page-hero),
body[data-theme="dark"] .capabilities-page > section:not(.page-hero) {
  color: #102b23;
}

body[data-theme="dark"] .capabilities-page .capability-card,
body[data-theme="dark"] .capabilities-page .platform-card,
body[data-theme="dark"] .capabilities-page .ecosystem-map,
body[data-theme="dark"] .capabilities-page .trusted-logo,
body[data-theme="dark"] .capabilities-page .business-value-grid article {
  color: #102b23;
  border-color: rgba(24, 67, 54, 0.12);
  background-color: rgba(255, 255, 252, 0.82);
}

/* D365 Capabilities: restore preferred ecosystem and business value compositions */
@media (min-width: 981px) {
  .capabilities-page .capability-ecosystem-section .capability-split {
    display: grid;
    grid-template-columns: minmax(360px, 0.42fr) minmax(640px, 0.58fr);
    gap: clamp(4.5rem, 7vw, 8rem);
    align-items: center;
  }

  .capabilities-page .capability-ecosystem-section .capability-copy-block {
    margin-bottom: 0;
  }

  .capabilities-page .capability-ecosystem-section .capability-copy-block h2 {
    max-width: 660px;
    font-size: clamp(3.15rem, 4.2vw, 5.15rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
  }

  .capabilities-page .capability-ecosystem-section .capability-copy-block p:last-child {
    max-width: 560px;
    font-size: clamp(1.05rem, 1.18vw, 1.22rem);
    line-height: 1.62;
  }

  .capabilities-page .capability-ecosystem-section .ecosystem-map {
    width: 100%;
    max-width: 900px;
    justify-self: end;
    gap: clamp(1.1rem, 1.6vw, 1.55rem);
    padding: clamp(1.55rem, 2.35vw, 2.35rem);
    border-radius: 1.35rem;
    box-shadow:
      0 24px 70px rgba(31, 55, 47, 0.11),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .capabilities-page .capability-ecosystem-section .ecosystem-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.75rem, 1vw, 1rem);
  }

  .capabilities-page .capability-ecosystem-section .product-chip {
    min-height: 112px;
    padding: 1rem 0.75rem 0.9rem;
    border-radius: 0.95rem;
    font-size: 0.93rem;
    line-height: 1.18;
  }

  .capabilities-page .capability-ecosystem-section .product-chip .product-icon {
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 0.45rem;
  }

  .capabilities-page .capability-ecosystem-section .platform-layer {
    padding: clamp(1rem, 1.55vw, 1.35rem);
    border-radius: 1rem;
  }

  .capabilities-page .capability-ecosystem-section .dataverse-layer {
    min-height: 76px;
    border-radius: 0.85rem;
    font-size: 1.12rem;
  }

  .capabilities-page .capability-benefits-section .business-value-layout {
    display: block;
  }

  .capabilities-page .business-value-layout .capability-section-heading {
    display: block;
    margin-bottom: clamp(1.8rem, 2.6vw, 2.6rem);
  }

  .capabilities-page .business-value-layout .capability-section-heading .eyebrow,
  .capabilities-page .business-value-layout .capability-section-heading h2,
  .capabilities-page .business-value-layout .capability-section-heading p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .capabilities-page .business-value-layout .capability-section-heading h2 {
    max-width: 1060px;
    font-size: clamp(3.15rem, 4.4vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.065em;
  }

  .capabilities-page .business-value-layout .capability-section-heading p:not(.eyebrow) {
    max-width: 1180px;
    font-size: clamp(1.05rem, 1.18vw, 1.22rem);
    line-height: 1.6;
  }

  .capabilities-page .business-value-grid {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.15rem, 1.7vw, 1.55rem);
  }

  .capabilities-page .business-value-grid article {
    min-height: 226px;
    padding: clamp(1.35rem, 2vw, 1.85rem);
    border-radius: 1.15rem;
  }
}

/* D365 Capabilities responsive refinement */
.capabilities-page,
.capabilities-page * {
  box-sizing: border-box;
}

.capabilities-page {
  overflow-x: clip;
}

.capabilities-page :is(.capability-card, .platform-card, .trusted-logo, .business-value-grid article, .ecosystem-map, .product-chip, .dataverse-layer) {
  min-width: 0;
}

.capabilities-page :is(h1, h2, h3, p, strong, span, a) {
  overflow-wrap: break-word;
}

@media (max-width: 1120px) {
  .capabilities-page {
    --cap-width: min(100% - clamp(2rem, 5vw, 4rem), 980px);
  }

  .capabilities-page .capability-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + clamp(2rem, 5vw, 3.5rem));
  }

  .capabilities-page .capability-hero-shell,
  .capabilities-page .capability-ecosystem-section .capability-split {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 4.8vw, 3.25rem);
  }

  .capabilities-page .capability-hero-shell {
    align-items: start;
  }

  .capabilities-page .capability-hero h1 {
    max-width: 12ch;
    font-size: clamp(3.35rem, 8vw, 5.4rem);
  }

  .capabilities-page .capability-hero .page-intro {
    max-width: 64ch;
  }

  .capabilities-page .capability-hero-visual {
    justify-self: stretch;
    width: 100%;
    max-width: 760px;
    min-height: clamp(430px, 54vw, 560px);
    margin-inline: auto;
  }

  .capabilities-page .capability-ecosystem-section .capability-copy-block h2,
  .capabilities-page .business-value-layout .capability-section-heading h2,
  .capabilities-page .capability-section-heading h2,
  .capabilities-page .capability-section-heading.wide h2,
  .capabilities-page .capability-copy-block h2 {
    max-width: 18ch;
    font-size: clamp(2.45rem, 6vw, 3.6rem);
    letter-spacing: -0.045em;
  }

  .capabilities-page .capability-ecosystem-section .capability-copy-block p:last-child,
  .capabilities-page .business-value-layout .capability-section-heading p:not(.eyebrow),
  .capabilities-page .capability-section-heading p,
  .capabilities-page .capability-section-heading.wide p,
  .capabilities-page .capability-copy-block p {
    max-width: 68ch;
  }

  .capabilities-page .capability-ecosystem-section .ecosystem-map {
    justify-self: stretch;
    max-width: 100%;
  }

  .capabilities-page .capability-ecosystem-section .ecosystem-row,
  .capabilities-page .ecosystem-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities-page .capability-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities-page .platform-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .capabilities-page .trusted-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .capabilities-page .capability-benefits-section .business-value-layout,
  .capabilities-page .business-value-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.8rem, 4vw, 2.6rem);
  }

  .capabilities-page .business-value-layout .capability-section-heading {
    display: block;
    margin-bottom: 0;
  }

  .capabilities-page .business-value-grid {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities-page .site-cta {
    width: var(--cap-width);
    max-width: var(--cap-width);
  }
}

@media (max-width: 900px) {
  .capabilities-page {
    --cap-width: min(100% - clamp(2rem, 6vw, 3rem), 760px);
  }

  .capabilities-page > .section {
    padding-block: clamp(4rem, 8vw, 5.5rem);
  }

  .capabilities-page .capability-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.95rem, 8.8vw, 4.5rem);
    letter-spacing: -0.052em;
  }

  .capabilities-page .capability-hero-visual {
    min-height: clamp(360px, 62vw, 470px);
    border-radius: 2rem;
  }

  .capabilities-page .capability-orbit-core {
    width: clamp(150px, 26vw, 190px);
    min-height: clamp(118px, 19vw, 142px);
  }

  .capabilities-page .capability-hero-visual > span {
    width: clamp(112px, 20vw, 140px);
    min-height: clamp(86px, 15vw, 104px);
  }

  .capabilities-page .capability-section-heading,
  .capabilities-page .capability-section-heading.wide,
  .capabilities-page .capability-copy-block {
    margin-bottom: clamp(1.5rem, 4vw, 2.15rem);
  }

  .capabilities-page .capability-ecosystem-section .capability-copy-block h2,
  .capabilities-page .business-value-layout .capability-section-heading h2,
  .capabilities-page .capability-section-heading h2,
  .capabilities-page .capability-section-heading.wide h2,
  .capabilities-page .capability-copy-block h2,
  .capabilities-page .site-cta h2 {
    max-width: 18ch;
    font-size: clamp(2.05rem, 6.4vw, 3.05rem);
    line-height: 1.04;
  }

  .capabilities-page .ecosystem-map {
    padding: clamp(1.2rem, 4vw, 1.8rem);
    border-radius: 1.4rem;
  }

  .capabilities-page .capability-ecosystem-section .product-chip,
  .capabilities-page .product-chip {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    min-height: 78px;
    padding: 0.85rem;
    text-align: left;
  }

  .capabilities-page .capability-ecosystem-section .product-chip .product-icon,
  .capabilities-page .product-chip .product-icon {
    width: 2.55rem;
    height: 2.55rem;
    margin: 0;
  }

  .capabilities-page .platform-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: clamp(1rem, 3.5vw, 1.4rem);
  }

  .capabilities-page .platform-card-grid::before {
    display: none;
  }

  .capabilities-page .trusted-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities-page .trusted-logo {
    min-height: 118px;
  }
}

@media (max-width: 760px) {
  .capabilities-page {
    --cap-width: min(100% - 2rem, 620px);
  }

  .capabilities-page .shell,
  .capabilities-page .capability-hero-shell,
  .capabilities-page .capability-split,
  .capabilities-page .site-cta {
    width: var(--cap-width);
    max-width: var(--cap-width);
    margin-inline: auto;
  }

  .capabilities-page .capability-hero {
    padding-bottom: clamp(3rem, 8vw, 4.25rem);
  }

  .capabilities-page .capability-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 10vw, 3.35rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
  }

  body:not(.home-page) .capabilities-page .capability-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 10vw, 3.35rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
  }

  .capabilities-page .capability-hero .page-intro,
  .capabilities-page .capability-section-heading p,
  .capabilities-page .capability-section-heading.wide p,
  .capabilities-page .capability-copy-block p,
  .capabilities-page .capability-card p,
  .capabilities-page .platform-card p,
  .capabilities-page .business-value-grid p {
    max-width: 100%;
  }

  .capabilities-page .capability-hero-visual {
    min-height: 340px;
    border-radius: 1.5rem;
  }

  .capabilities-page .capability-orbit-core {
    width: 136px;
    min-height: 108px;
    font-size: 0.88rem;
  }

  .capabilities-page .capability-orbit-core i {
    font-size: 1.55rem;
  }

  .capabilities-page .capability-hero-visual > span {
    width: 104px;
    min-height: 82px;
    padding: 0.75rem 0.55rem;
    font-size: 0.76rem;
  }

  .capabilities-page .capability-hero-visual > span img {
    width: 32px;
    height: 32px;
  }

  .capabilities-page .capability-card-grid,
  .capabilities-page .platform-card-grid,
  .capabilities-page .business-value-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities-page .capability-card {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    min-height: auto;
    padding: clamp(1rem, 4.8vw, 1.35rem);
  }

  .capabilities-page .platform-card {
    min-height: auto;
    padding: clamp(1rem, 4.8vw, 1.35rem);
  }

  .capabilities-page .business-value-grid article {
    min-height: auto;
  }

  .capabilities-page .dataverse-layer {
    justify-content: flex-start;
    min-height: 76px;
    padding: 0.85rem;
    text-align: left;
  }

  .capabilities-page .site-cta {
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(1.4rem, 6vw, 2rem);
  }

  .capabilities-page .site-cta .cta-actions {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .capabilities-page {
    --cap-width: calc(100% - 2rem);
  }

  .capabilities-page > .section {
    padding-block: clamp(3.4rem, 10vw, 4.35rem);
  }

  .capabilities-page .capability-hero {
    padding-top: calc(var(--header-height) + 1.6rem);
  }

  .capabilities-page .capability-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 7.8vw, 2.15rem);
    letter-spacing: 0;
  }

  body:not(.home-page) .capabilities-page .capability-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 7.8vw, 2.15rem);
    letter-spacing: 0;
  }

  .capabilities-page .capability-hero .page-intro {
    font-size: clamp(0.98rem, 4.4vw, 1.08rem);
    line-height: 1.58;
  }

  .capabilities-page .capability-ecosystem-section .capability-copy-block h2,
  .capabilities-page .business-value-layout .capability-section-heading h2,
  .capabilities-page .capability-section-heading h2,
  .capabilities-page .capability-section-heading.wide h2,
  .capabilities-page .capability-copy-block h2,
  .capabilities-page .site-cta h2 {
    max-width: 100%;
    font-size: clamp(1.78rem, 9vw, 2.35rem);
    letter-spacing: -0.032em;
  }

  .capabilities-page .capability-hero-visual {
    min-height: 300px;
  }

  .capabilities-page .capability-orbit-core {
    width: 108px;
    min-height: 90px;
    padding: 0.75rem;
    border-radius: 1.15rem;
  }

  .capabilities-page .capability-hero-visual > span {
    width: 76px;
    min-height: 66px;
    padding: 0.58rem 0.45rem;
    border-radius: 0.85rem;
    font-size: 0.64rem;
  }

  .capabilities-page .capability-hero-visual > span img {
    width: 24px;
    height: 24px;
    margin-bottom: 0.28rem;
  }

  .capabilities-page .capability-hero-visual > span:nth-of-type(1) {
    left: 10%;
    top: 14%;
  }

  .capabilities-page .capability-hero-visual > span:nth-of-type(2) {
    right: 10%;
    top: 14%;
  }

  .capabilities-page .capability-hero-visual > span:nth-of-type(3) {
    left: 10%;
    bottom: 14%;
  }

  .capabilities-page .capability-hero-visual > span:nth-of-type(4) {
    right: 10%;
    bottom: 14%;
  }

  .capabilities-page .capability-ecosystem-section .ecosystem-row,
  .capabilities-page .ecosystem-row,
  .capabilities-page .trusted-logo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities-page .capability-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities-page .capability-card > .product-icon {
    margin-bottom: 0.15rem;
  }

  .capabilities-page .capability-tags span {
    max-width: 100%;
  }

  .capabilities-page .trusted-logo {
    min-height: 104px;
    padding: 1rem;
  }

  .capabilities-page .trusted-logo img,
  .capabilities-page .trusted-logo-wide img {
    max-width: 88%;
    max-height: 58px;
  }
}

/* OAsys Sentinel product page refinement */
.sentinel-page {
  --sentinel-width: min(1320px, calc(100vw - clamp(3rem, 7vw, 7rem)));
}

.sentinel-page .sentinel-hero {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: calc(var(--header-height) + clamp(2.8rem, 4.8vw, 5rem)) 0 clamp(4rem, 6vw, 6rem);
  color: #effff8;
  background:
    radial-gradient(circle at 78% 36%, rgba(40, 247, 168, 0.16), transparent 27rem),
    radial-gradient(circle at 20% 78%, rgba(124, 207, 213, 0.075), transparent 24rem),
    linear-gradient(rgba(40, 247, 168, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 247, 168, 0.028) 1px, transparent 1px),
    linear-gradient(135deg, #07110f 0%, #0b211c 48%, #020807 100%);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

.sentinel-page .sentinel-hero::before {
  background:
    radial-gradient(circle at 80% 24%, rgba(40, 247, 168, 0.16), transparent 23rem),
    radial-gradient(circle at 20% 82%, rgba(23, 127, 140, 0.1), transparent 24rem);
}

.sentinel-page .sentinel-hero-shell,
.sentinel-page > .section > .shell {
  width: var(--sentinel-width);
  max-width: var(--sentinel-width);
}

.sentinel-page .sentinel-hero-shell {
  grid-template-columns: minmax(0, 0.45fr) minmax(580px, 0.55fr);
  gap: clamp(3.5rem, 6vw, 7rem);
  align-items: center;
}

.sentinel-page .sentinel-hero-copy h1 {
  max-width: none;
  color: #effff8;
  font-size: clamp(4.5rem, 6.6vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.sentinel-page .sentinel-hero-copy p:not(.eyebrow),
.sentinel-page .sentinel-hero-copy .page-intro {
  max-width: 52ch;
  color: rgba(239, 255, 248, 0.78);
}

.sentinel-page .sentinel-hero-copy .page-intro {
  color: rgba(239, 255, 248, 0.92);
  font-size: clamp(1.25rem, 1.65vw, 1.65rem);
}

.sentinel-page .sentinel-console {
  width: min(100%, 720px);
  min-height: clamp(540px, 42vw, 700px);
  justify-self: end;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(118px, auto);
  gap: clamp(0.9rem, 1.3vw, 1.15rem);
  padding: clamp(1.3rem, 2.2vw, 1.9rem);
  border-color: rgba(163, 255, 221, 0.18);
  border-radius: 2.6rem;
  background:
    radial-gradient(circle at 50% 32%, rgba(40, 247, 168, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(239, 255, 248, 0.08), rgba(239, 255, 248, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 34px 90px rgba(0,0,0,0.32),
    0 0 70px rgba(40, 247, 168, 0.07);
}

.sentinel-page .sentinel-console::after {
  content: "LIVE MONITORING";
  position: absolute;
  left: clamp(1.6rem, 2.5vw, 2.1rem);
  top: clamp(1.4rem, 2.3vw, 1.9rem);
  z-index: 1;
  color: rgba(40, 247, 168, 0.86);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.sentinel-page .sentinel-status-card {
  min-height: 132px;
  padding: clamp(1rem, 1.4vw, 1.25rem);
  border-color: rgba(163, 255, 221, 0.14);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.09), transparent 8rem),
    rgba(4, 22, 18, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.sentinel-page .sentinel-status-card.healthy {
  grid-column: span 3;
  margin-top: 1.8rem;
}

.sentinel-page .sentinel-status-card.alerts {
  grid-column: span 3;
  margin-top: 1.8rem;
}

.sentinel-page .sentinel-status-card.monitors {
  grid-column: span 2;
}

.sentinel-page .sentinel-status-card.recent {
  grid-column: span 4;
}

.sentinel-page .sentinel-status-card strong {
  color: rgba(239, 255, 248, 0.92);
  font-size: 0.95rem;
}

.sentinel-page .sentinel-status-card b {
  color: #28f7a8;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 0.96;
}

.sentinel-page .sentinel-status-card em,
.sentinel-page .sentinel-status-card small,
.sentinel-page .sentinel-status-card li {
  color: rgba(239, 255, 248, 0.68);
}

.sentinel-page .sentinel-status-card.healthy span {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #28f7a8;
  box-shadow: 0 0 22px rgba(40, 247, 168, 0.54);
}

.sentinel-page .sentinel-sparkline {
  position: relative;
  overflow: hidden;
  height: 62px;
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, transparent 0 15%, rgba(40, 247, 168, 0.6) 16% 18%, transparent 19% 34%, rgba(40, 247, 168, 0.78) 35% 38%, transparent 39% 52%, rgba(124, 207, 213, 0.72) 53% 56%, transparent 57% 100%),
    rgba(239, 255, 248, 0.045);
}

.sentinel-page .sentinel-sparkline::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(40, 247, 168, 0.18), transparent);
  animation: sentinelScan 3.8s ease-in-out infinite;
}

.sentinel-page .sentinel-console-icons {
  grid-column: 1 / -1;
  gap: clamp(0.75rem, 1.1vw, 1rem);
}

.sentinel-page .sentinel-console-icons span {
  grid-template-columns: auto minmax(0, auto);
  gap: 0.55rem;
  min-height: 78px;
  border-color: rgba(163, 255, 221, 0.13);
  background: rgba(40, 247, 168, 0.075);
  color: rgba(239, 255, 248, 0.9);
}

.sentinel-page .sentinel-console-icons i {
  color: #28f7a8;
}

.sentinel-page > .section {
  padding-block: clamp(5.4rem, 7vw, 8rem);
}

.sentinel-page .oa-section-heading {
  width: 100%;
  max-width: min(1120px, 100%);
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.sentinel-page .oa-section-heading h2 {
  max-width: min(1120px, 100%);
  font-size: clamp(2.65rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: normal;
}

.sentinel-page .oa-section-heading p {
  max-width: min(980px, 100%);
}

.sentinel-page .oa-card-grid {
  gap: clamp(1rem, 1.5vw, 1.35rem);
}

.sentinel-page .oa-card-grid.five .oa-info-card {
  min-height: 260px;
}

.sentinel-page .oa-card-grid.two .oa-info-card {
  min-height: 430px;
}

.sentinel-page .oa-card-grid.three .oa-info-card {
  min-height: 245px;
}

.sentinel-page .oa-info-card {
  border-radius: 1.45rem;
  padding: clamp(1.25rem, 1.9vw, 1.7rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.055), transparent 10rem),
    rgba(255, 255, 252, 0.84);
  box-shadow: 0 18px 48px rgba(31, 55, 47, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.sentinel-page .oa-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 123, 83, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.085), transparent 10rem),
    rgba(255, 255, 252, 0.94);
  box-shadow: 0 24px 60px rgba(31, 55, 47, 0.12);
}

.sentinel-page .oa-card-icon {
  width: 3.4rem;
  height: 3.4rem;
  font-size: 1.25rem;
}

.sentinel-page .oa-info-card h3 {
  font-size: clamp(1.15rem, 1.28vw, 1.35rem);
  line-height: 1.1;
}

.sentinel-page .oa-info-card p,
.sentinel-page .oa-info-card li {
  line-height: 1.6;
}

.sentinel-page .sentinel-note {
  max-width: 980px;
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
}

.sentinel-page .sentinel-benefits-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(3rem, 5vw, 4.8rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(8, 123, 83, 0.13);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 84% 14%, rgba(40, 247, 168, 0.08), transparent 18rem),
    rgba(255, 255, 252, 0.62);
  box-shadow: 0 22px 60px rgba(31, 55, 47, 0.07);
}

.sentinel-page .sentinel-benefits-panel h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.sentinel-page .sentinel-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.4vw, 1.25rem);
}

.sentinel-page .sentinel-benefit-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(8, 123, 83, 0.1);
  border-radius: 1.2rem;
  background: rgba(255, 255, 252, 0.7);
}

.sentinel-page .sentinel-benefit-grid i {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: #087b53;
  border-radius: 50%;
  background: rgba(40, 247, 168, 0.12);
}

.sentinel-page .sentinel-benefit-grid strong,
.sentinel-page .sentinel-benefit-grid span {
  display: block;
}

.sentinel-page .sentinel-benefit-grid strong {
  margin-bottom: 0.25rem;
  color: #102b23;
  line-height: 1.15;
}

.sentinel-page .sentinel-benefit-grid span {
  color: #52645e;
  font-size: 0.92rem;
  line-height: 1.48;
}

.sentinel-page .sentinel-action-shell {
  display: grid;
  gap: clamp(2.4rem, 4vw, 3.5rem);
}

.sentinel-page .sentinel-action-shell .oa-section-heading {
  margin-bottom: 0;
}

.sentinel-page .sentinel-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.4rem);
  margin: 0;
}

.sentinel-page .sentinel-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 2.55rem;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(8, 123, 83, 0.14), rgba(40, 247, 168, 0.36), rgba(8, 123, 83, 0.14), transparent);
  box-shadow: 0 0 18px rgba(40, 247, 168, 0.1);
}

.sentinel-page .sentinel-flow span {
  position: relative;
  z-index: 1;
  align-content: start;
  min-height: 180px;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  color: #102b23;
}

.sentinel-page .sentinel-flow i {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  color: #087b53;
  border: 1px solid rgba(8, 123, 83, 0.16);
  border-radius: 50%;
  background: rgba(255, 254, 248, 0.9);
  box-shadow: 0 16px 42px rgba(31, 55, 47, 0.08);
  font-size: 1.45rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.sentinel-page .sentinel-flow span:hover i {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 50px rgba(31, 55, 47, 0.12), 0 0 28px rgba(40, 247, 168, 0.16);
}

.sentinel-page .sentinel-flow strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #102b23;
  font-size: clamp(1.1rem, 1.25vw, 1.28rem);
  line-height: 1.1;
}

.sentinel-page .sentinel-flow small {
  display: block;
  max-width: 22ch;
  margin-inline: auto;
  color: #52645e;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sentinel-page .sentinel-fit-section {
  padding-top: clamp(3.8rem, 5.5vw, 6rem);
  padding-bottom: clamp(2.2rem, 3.5vw, 3.2rem);
}

.sentinel-page .cta-section {
  padding-top: clamp(2.6rem, 4vw, 4rem);
}

.sentinel-page .site-cta {
  width: var(--sentinel-width);
  max-width: var(--sentinel-width);
}

.sentinel-page .site-cta h2 {
  max-width: 980px;
}

body[data-theme="light"] .sentinel-page .sentinel-hero,
body[data-theme="dark"] .sentinel-page .sentinel-hero {
  color: #effff8;
}

body[data-theme="light"] .sentinel-page .sentinel-hero h1,
body[data-theme="light"] .sentinel-page .sentinel-hero .eyebrow,
body[data-theme="dark"] .sentinel-page .sentinel-hero h1,
body[data-theme="dark"] .sentinel-page .sentinel-hero .eyebrow {
  color: #effff8;
}

body[data-theme="light"] .sentinel-page .sentinel-console {
  border-color: rgba(163, 255, 221, 0.18);
  background:
    radial-gradient(circle at 50% 32%, rgba(40, 247, 168, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(239, 255, 248, 0.08), rgba(239, 255, 248, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 34px 90px rgba(0,0,0,0.32),
    0 0 70px rgba(40, 247, 168, 0.07);
}

body[data-theme="light"] .sentinel-page .sentinel-status-card {
  border-color: rgba(163, 255, 221, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 247, 168, 0.09), transparent 8rem),
    rgba(4, 22, 18, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

body[data-theme="light"] .sentinel-page .sentinel-status-card strong,
body[data-theme="light"] .sentinel-page .sentinel-console-icons span {
  color: rgba(239, 255, 248, 0.92);
}

body[data-theme="light"] .sentinel-page .sentinel-status-card em,
body[data-theme="light"] .sentinel-page .sentinel-status-card small,
body[data-theme="light"] .sentinel-page .sentinel-status-card li {
  color: rgba(239, 255, 248, 0.68);
}

body[data-theme="light"] .sentinel-page .sentinel-status-card b,
body[data-theme="light"] .sentinel-page .sentinel-console-icons i {
  color: #28f7a8;
}

body[data-theme="light"] .sentinel-page .sentinel-console-icons span {
  border-color: rgba(163, 255, 221, 0.13);
  background: rgba(40, 247, 168, 0.075);
}

body[data-theme="dark"] .sentinel-page > section:not(.page-hero) {
  color: #102b23;
}

body[data-theme="dark"] .sentinel-page .oa-info-card,
body[data-theme="dark"] .sentinel-page .sentinel-benefits-panel,
body[data-theme="dark"] .sentinel-page .sentinel-benefit-grid article {
  color: #102b23;
  border-color: rgba(24, 67, 54, 0.12);
}

@keyframes sentinelScan {
  0% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: 1; }
  72% { opacity: 1; }
  100% { transform: translateX(260%); opacity: 0; }
}

/* Site-wide responsive hardening pass */
@media (max-width: 1180px) {
  .sentinel-page .sentinel-hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  .sentinel-page .sentinel-console {
    justify-self: stretch;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .integrations-page .integration-hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.75rem);
  }

  .integrations-page .integration-visual {
    justify-self: center;
    width: min(100%, 760px);
    transform: none;
  }

  .support-page .support-visual {
    overflow: hidden;
  }
}

@media (max-width: 980px) {
  .about-page .oa-check-panel,
  .about-page .oa-info-card,
  .about-page .oa-lifecycle,
  .improvement-page :is(.panel-card, .feature-band, .approach-item),
  .integrations-page :is(.integration-system-card, .integration-benefit-grid article, .integration-steps article),
  .sentinel-page :is(.oa-info-card, .sentinel-benefits-panel, .sentinel-benefit-grid article),
  .support-page :is(.support-visual, .support-workflow) {
    max-width: 100%;
    min-width: 0;
  }

  .about-page .oa-check-panel {
    width: 100%;
  }

  .improvement-page .improvement-matters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    border-block: 0;
  }

  .improvement-page .improvement-matters-grid .panel-card,
  .improvement-page .improvement-matters-grid .panel-card + .panel-card {
    border: 1px solid rgba(8, 123, 83, 0.1);
    border-radius: 1.25rem;
  }

  .improvement-page .feature-grid,
  .improvement-page .approach-grid,
  .sentinel-page .sentinel-benefit-grid,
  .sentinel-page .sentinel-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integrations-page .integration-benefit-grid,
  .integrations-page .integration-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    border: 0;
  }

  .integrations-page .integration-benefit-grid article,
  .integrations-page .integration-steps article {
    min-height: auto;
    border: 1px solid rgba(8, 45, 34, 0.11);
    border-radius: 1.25rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
  }

  .integrations-page .integration-steps article::after,
  .sentinel-page .sentinel-flow::before {
    display: none;
  }

  .sentinel-page .sentinel-benefits-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .sentinel-page .sentinel-benefits-panel h3 {
    max-width: 100%;
  }

  .support-page .support-visual {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  body:not(.home-page) main,
  body:not(.home-page) .page-hero,
  body:not(.home-page) main > section {
    overflow-x: clip;
  }

  body:not(.home-page) .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 3rem);
    letter-spacing: -0.035em;
    line-height: 1;
  }

  body:not(.home-page) :is(.section-heading h2, .service-section-heading h2, .oa-section-heading h2, .industry-page-heading h2, .capability-section-heading h2, .implementation-section-heading h2, .migration-section-heading h2, .improvement-section-heading h2, .outcome-copy h2, .cta-shell h2, .site-cta h2) {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.8vw, 2.55rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .shell,
  body:not(.home-page) main > section > .shell,
  body:not(.home-page) .page-hero-shell,
  .cta-shell,
  .site-cta {
    width: min(100% - 2rem, var(--shell));
    max-width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
  }

  .about-page {
    --about-shell: min(100% - 2rem, 620px);
  }

  .about-page .oa-two-column {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.8rem, 7vw, 2.6rem);
  }

  .about-page .oa-check-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: clamp(1rem, 5vw, 1.35rem);
    transform: none;
  }

  .about-page .oa-check-list,
  .about-page .oa-check-list.two-col {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-page .oa-check-list li {
    grid-template-columns: 1.35rem minmax(0, 1fr);
    min-width: 0;
  }

  .improvement-page .improvement-matters-grid,
  .improvement-page .feature-grid,
  .improvement-page .approach-grid,
  .integrations-page .integration-benefit-grid,
  .integrations-page .integration-system-grid,
  .integrations-page .integration-steps,
  .sentinel-page .sentinel-benefit-grid,
  .sentinel-page .sentinel-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .improvement-page .optimisation-cycle {
    overflow: hidden;
  }

  .improvement-page .optimisation-flow {
    inset: 17%;
  }

  .improvement-page .optimisation-node {
    min-width: 0;
    max-width: min(42%, 140px);
    padding: 0.58rem 0.65rem;
    gap: 0.45rem;
    white-space: normal;
  }

  .improvement-page .optimisation-node i {
    width: 1.85rem;
    height: 1.85rem;
  }

  .integrations-page {
    --integration-shell: min(100% - 2rem, 620px);
  }

  .integrations-page .integration-visual {
    width: 100%;
    min-height: 420px;
    overflow: hidden;
  }

  .integrations-page .integration-flow-lines {
    display: none;
  }

  .integrations-page .integration-hub {
    width: 138px;
    min-height: 124px;
    padding: 0.9rem;
    border-radius: 1.25rem;
  }

  .integrations-page .integration-hub strong,
  .integrations-page .integration-hub small {
    font-size: 0.78rem;
  }

  .integrations-page .integration-system-node {
    min-width: 86px;
    min-height: 68px;
    padding: 0.65rem;
    gap: 0.3rem;
    animation: none;
  }

  .integrations-page .integration-system-node i {
    font-size: 1.15rem;
  }

  .integrations-page .integration-system-node span {
    font-size: 0.72rem;
  }

  .integrations-page .node-crm { top: 4%; left: 50%; right: auto; translate: -50% 0; }
  .integrations-page .node-finance { top: 15%; right: 6%; }
  .integrations-page .node-portal { top: 42%; right: 3%; }
  .integrations-page .node-powerbi { right: 6%; bottom: 15%; }
  .integrations-page .node-azure { left: 50%; bottom: 4%; right: auto; translate: -50% 0; }
  .integrations-page .node-automation { left: 6%; bottom: 15%; }
  .integrations-page .node-data { top: 42%; left: 3%; }
  .integrations-page .node-m365 { top: 15%; left: 6%; }

  body:not(.home-page) .capabilities-page .capability-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 10vw, 3.35rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
  }

  .sentinel-page {
    --sentinel-width: min(100% - 2rem, 620px);
  }

  .sentinel-page .sentinel-hero {
    min-height: auto;
  }

  .sentinel-page .sentinel-hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
    letter-spacing: -0.035em;
  }

  .sentinel-page .sentinel-console {
    width: 100%;
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 0.8rem;
    padding: clamp(1rem, 4.8vw, 1.25rem);
    border-radius: 1.4rem;
  }

  .sentinel-page .sentinel-status-card,
  .sentinel-page .sentinel-status-card.healthy,
  .sentinel-page .sentinel-status-card.alerts,
  .sentinel-page .sentinel-status-card.monitors,
  .sentinel-page .sentinel-status-card.recent,
  .sentinel-page .sentinel-console-icons {
    grid-column: auto;
    margin-top: 0;
  }

  .sentinel-page .sentinel-console-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sentinel-page .sentinel-console-icons span {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .support-page .support-visual {
    min-height: 380px;
  }

  .support-page .support-workflow {
    width: 100%;
    min-height: 360px;
    border-radius: 1.4rem;
  }

  .support-page .support-orbit {
    inset: 17%;
  }
}

@media (max-width: 430px) {
  .ai-chat-launcher {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .back-to-top {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(4.95rem, calc(env(safe-area-inset-bottom) + 4.95rem));
    width: 44px;
    height: 44px;
  }

  .sentinel-page .sentinel-console-icons {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-page .support-orbit {
    inset: 21%;
  }
}

@media (max-width: 520px) {
  body:not(.home-page) .capabilities-page .capability-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 7.8vw, 2.15rem);
    letter-spacing: 0;
  }
}
/* Feedback refinements — July 2026 */
@media (min-width: 901px) {
  .client-showcase-shell .client-logo-stack {
    width: min(100%, 420px);
    justify-self: center;
  }

  .client-showcase-shell .client-logo-stack .client-marquee-track {
    width: 100%;
  }

  .footer-copy p { white-space: nowrap; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .client-showcase-shell .client-logo-stack {
    width: min(100%, 420px);
    justify-self: center;
  }

  .client-showcase-shell .client-logo-stack .client-marquee-track {
    width: 100%;
  }
}

body:not(.home-page) .page-hero .page-intro:first-of-type {
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  line-height: 1.35;
  font-weight: 650;
}

/* Shared service hero supporting sentence, based on the Integrations hero h2. */
body:not(.home-page) .page-hero .service-hero-supporting {
  width: auto;
  max-width: 620px;
  min-width: 0;
  margin: clamp(1rem, 1.6vw, 1.35rem) 0 clamp(0.9rem, 1.4vw, 1.2rem);
  color: rgba(239, 255, 248, 0.94);
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

body:not(.home-page) .page-hero h1:has(+ .service-hero-supporting) {
  margin-bottom: 0;
}

.coming-soon-copy:has(.service-hero-supporting) {
  gap: 0;
}

.coming-soon-copy .service-hero-supporting + p {
  margin-top: 1.2rem;
}

/* Shared Service section introduction, matching the Integrations reference. */
:root {
  --section-intro-font-size: clamp(1.03rem, 1.18vw, 1.2rem);
  --section-intro-line-height: 1.6;
  --card-body-font-size: clamp(0.9rem, 0.25vw + 0.84rem, 0.95rem);
  --card-body-line-height: 1.55;
}

body:not(.home-page) main :is(
  .implementation-section-heading,
  .implementation-approach-heading,
  .improvement-section-heading,
  .section-heading,
  .migration-section-heading,
  .support-section-heading
) > p.service-section-intro {
  width: auto;
  max-width: min(1060px, 100%);
  min-width: 0;
  margin: 1rem 0 0;
  color: var(--text);
  font-size: var(--section-intro-font-size);
  font-weight: 400;
  line-height: var(--section-intro-line-height);
  overflow-wrap: anywhere;
}

body:not(.home-page) main h2:has(+ .service-section-intro) {
  margin-bottom: 0;
}

body:not(.home-page) main h2 + .service-section-intro {
  margin-top: 1rem;
}

/* Shared section introductions and card bodies use a clear three-level hierarchy. */
.industries-page .industry-page-heading > p:not(.eyebrow) {
  max-width: min(1060px, 100%);
  margin: 1rem 0 0;
  color: var(--text);
  font-size: var(--section-intro-font-size);
  font-weight: 400;
  line-height: var(--section-intro-line-height);
  overflow-wrap: anywhere;
}

body[data-theme] .industries-page main .industry-page-heading > p:not(.eyebrow) {
  color: var(--text);
}

/* Large desktop: anchors and accordion triggers share the same nav colour. */
@media (min-width: 1241px) {
  body[data-theme="light"] .site-header .nav-list > li > :is(a, .nav-accordion-trigger) {
    color: inherit;
  }
}

body:not(.home-page) main :is(
  .industry-bento-card,
  .industry-panel-summary,
  .implementation-card,
  .implementation-step,
  .implementation-expect-item,
  .panel-card,
  .approach-item,
  .migration-benefit-card,
  .migration-approach-card,
  .migration-expect-card,
  .support-benefit-row article,
  .support-workflow-line article
) > p:not(.eyebrow) {
  font-size: var(--card-body-font-size);
  font-weight: 400;
  line-height: var(--card-body-line-height);
  overflow-wrap: anywhere;
}

.implementation-page .implementation-approach-heading p + p,
.improvement-page .section-heading p + p { margin-top: .8rem; }
.implementation-page .implementation-flow {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.implementation-page .implementation-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 230px;
  padding-block: clamp(2rem, 3vw, 3rem);
}
.improvement-page .improvement-reasons-section { padding-bottom: clamp(2.5rem, 5vw, 5rem); }

.integrations-page .integration-system-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.8rem, 1.3vw, 1.1rem);
  align-items: center;
  width: 100%;
  margin-bottom: 0.75rem;
}

.integrations-page .integration-system-card-header :is(.integration-ms-window, .integration-card-icon) {
  flex: none;
  margin: 0;
}

.integrations-page .integration-system-card-header h3 {
  min-width: 0;
  max-width: none;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 1101px) {
  .integrations-page .integration-system-card-header h3 {
    white-space: nowrap;
  }
}

.industries-page .industry-tab-list article > i,
.industries-page .industry-overview-card > i { display: block; margin-inline: auto; }

.industries-page .industry-bento-card > span {
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.industries-page .industry-other-support {
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  padding-top: clamp(1.4rem, 2.4vw, 2rem);
  border-top: 1px solid rgba(8, 123, 83, 0.13);
}

.industries-page .industry-other-support h3 {
  margin: 0;
  color: #132c25;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.15;
}

.industries-page .industry-other-support > p {
  max-width: 72ch;
  margin: 0.65rem 0 0;
  color: #536a62;
  line-height: 1.6;
}

.industries-page .industry-support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.55rem, 1vw, 0.8rem);
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.industries-page .industry-support-tags li {
  max-width: 100%;
  padding: 0.48rem 0.78rem;
  color: #17483a;
  border: 1px solid rgba(8, 123, 83, 0.2);
  border-radius: 999px;
  background: rgba(232, 245, 237, 0.82);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.industries-page .industry-support-tags li:hover {
  border-color: rgba(8, 123, 83, 0.42);
  background: rgba(211, 238, 222, 0.92);
  transform: translateY(-1px);
}

.case-studies-more {
  grid-column: 1 / -1;
  margin: clamp(1.1rem, 2vw, 1.8rem) 0 0;
  color: #536a62;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-align: center;
}

.capabilities-page .capability-hero .eyebrow { color: var(--accent, #087b53); }
.capabilities-page .capability-hero h1 { font-size: clamp(3.9rem, 8vw, 7.5rem); overflow-wrap: normal; word-break: normal; }
.capabilities-page .capability-card { grid-template-columns: auto 1fr; align-items: start; }
.capabilities-page .capability-card .product-icon { grid-row: 1; }
.capabilities-page .capability-card > div { grid-column: 2; }

.capabilities-page .business-value-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.75rem, 1.2vw, 1rem);
  align-items: center;
  width: 100%;
  margin-bottom: 0.35rem;
}

.capabilities-page .business-value-card-header i {
  flex: none;
  margin: 0;
}

.capabilities-page .business-value-card-header h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
}

.about-page .oa-two-column { align-items: start; }
.about-page .oa-two-column > :last-child { margin-top: 1rem; }
.about-page .oa-card-grid.two { max-width: 1120px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-page .oa-info-card { min-height: 19rem; }
.about-page .oa-experience-section .oa-card-grid.two { max-width: 1040px; }
.about-page .oa-about-hero-copy .eyebrow { color: var(--accent, #087b53); }

/* About page section rhythm aligned with the Industries heading system */
.about-page > .section :is(.oa-two-column > div:first-child, .oa-section-heading) > .eyebrow {
  margin: 0 0 0.9rem;
  color: #087b53;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-page > .section :is(.oa-two-column > div:first-child, .oa-section-heading) > h2 {
  max-width: min(1120px, 100%);
  margin: 0;
  font-size: clamp(2.75rem, 4vw, 4.55rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-wrap: normal;
}

.about-page > .section :is(.oa-two-column > div:first-child, .oa-section-heading) > p:not(.eyebrow) {
  max-width: min(76ch, 100%);
  margin: 1.05rem 0 0;
  color: #536a62;
  font-size: clamp(1rem, 1.22vw, 1.14rem);
  font-weight: 400;
  line-height: 1.72;
}

.about-page .oa-section-heading {
  margin-bottom: clamp(2.25rem, 4vw, 3.6rem);
}

.about-page :is(.oa-about-achieve, .oa-focused-section) .oa-check-panel {
  margin-top: 2.35rem;
}

.about-page .oa-experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.52fr);
  gap: clamp(3rem, 5.5vw, 6rem);
  align-items: start;
}

.about-page .oa-experience-layout .oa-section-heading {
  margin-bottom: 0;
}

.about-page .oa-experience-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 1.6vw, 1.35rem);
  width: min(100%, 650px);
  padding-top: 2.35rem;
  justify-self: end;
}

.about-page .oa-experience-section .oa-experience-cards .oa-info-card {
  min-height: 0;
  height: auto;
}

.case-studies-hero-visual { min-height: 20rem; border-radius: 2rem; overflow: hidden; }
.case-studies-hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }

.sentinel-page .sentinel-hero-copy {
  gap: 1rem;
}

.sentinel-page .sentinel-hero-copy h1 {
  max-width: none;
  font-size: clamp(4.4rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
}

.sentinel-page .sentinel-hero-copy .page-intro {
  max-width: 31ch;
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.sentinel-page .sentinel-hero-copy > p:not(.eyebrow):not(.page-intro) {
  max-width: 48rem;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.65;
}

.button:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.search-results {
  width: 100%;
  max-height: min(62vh, 680px);
  margin-top: 1.25rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #132c25;
  border: 1px solid rgba(8, 83, 59, 0.24);
  border-radius: 1.5rem;
  background: #e8efea;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(239, 255, 248, 0.08);
}

body[data-theme="light"] .search-results {
  border-color: rgba(8, 83, 59, 0.24);
  background: #e8efea;
  box-shadow: 0 22px 58px rgba(31, 55, 47, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.search-results-summary {
  display: flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.85rem;
  color: #102c24;
  font-size: 1.02rem;
  font-weight: 800;
}

.search-results-message {
  margin: 0;
  color: #3f5c52;
  font-weight: 550;
}

.search-results-list {
  display: grid;
  gap: 0.75rem;
}

.search-result-card {
  min-width: 0;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  border: 1px solid rgba(8, 123, 83, 0.2);
  border-radius: 1.1rem;
  background: #fffefa;
  box-shadow: 0 9px 24px rgba(31, 55, 47, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body[data-theme="light"] .search-result-card {
  border-color: rgba(8, 123, 83, 0.2);
  background: #fffefa;
}

.search-result-card:hover,
.search-result-card:focus-within {
  border-color: rgba(8, 123, 83, 0.48);
  box-shadow: 0 14px 34px rgba(31, 55, 47, 0.15), 0 0 0 2px rgba(8, 123, 83, 0.08);
  transform: translateY(-1px);
}

.search-result-title {
  display: inline-block;
  padding: 0;
  border: 0;
  color: #0d3026;
  font-family: Aptos Display, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.search-result-title:hover,
.search-result-title:focus-visible {
  color: #075f42;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.search-result-title:focus-visible {
  outline: 3px solid rgba(8, 123, 83, 0.3);
  outline-offset: 0.25rem;
  border-radius: 0.2rem;
}

.search-result-url {
  display: block;
  margin-top: 0.35rem;
  color: #48695d;
  font-size: 0.82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.search-result-snippet {
  max-width: 82ch;
  margin: 0.65rem 0 0;
  color: #29483e;
  font-size: 0.98rem;
  line-height: 1.55;
}

.search-results mark {
  padding: 0 0.12em;
  color: #073d2d;
  background: #bfe8d2;
  border-radius: 0.18em;
  font-weight: 800;
}
.industries-page .trusted-logo-grid { margin-top: 2rem; }

@media (max-width: 900px) {
  .footer-copy p { white-space: normal; }
  .about-page .oa-card-grid.two { grid-template-columns: 1fr; }
  .about-page .oa-info-card { min-height: 0; }
  .case-studies-hero-visual { min-height: 14rem; }

  .about-page .oa-experience-layout {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 720px) {
  .client-showcase-shell .client-logo-stack {
    width: min(88%, 360px);
    justify-self: center;
  }

  .client-showcase-shell .client-logo-stack .client-marquee-track {
    width: 100%;
  }

  .about-page :is(.oa-about-achieve, .oa-focused-section) .oa-check-panel {
    margin-top: 0;
  }

  .about-page .oa-experience-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.8rem, 7vw, 2.6rem);
  }

  .about-page .oa-experience-cards {
    width: 100%;
    padding-top: 0;
    justify-self: stretch;
  }
}

@media (max-width: 680px) {
  .sentinel-page .sentinel-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 2.75rem);
    line-height: 0.96;
  }

  .sentinel-page .sentinel-hero-copy .page-intro {
    max-width: 100%;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }
}

/* Collapsed navigation: one viewport-bound, scrollable panel */
@media (max-width: 1240px) {
  body.nav-open {
    position: fixed;
    top: var(--nav-scroll-offset, 0);
    right: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.nav-open .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 110;
    width: 100%;
    height: calc(100dvh - 74px);
    max-height: calc(100dvh - 74px);
    margin: 0;
    padding: 0.75rem 1rem max(1.5rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-top: 1px solid rgba(174, 212, 198, 0.14);
    border-radius: 0;
    background: rgba(2, 12, 10, 0.985);
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }

  body[data-theme="light"] .site-nav {
    background: rgba(2, 12, 10, 0.985);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-list {
    width: 100%;
    gap: 0.2rem;
    align-items: stretch;
  }

  .site-nav .nav-list > li,
  .site-nav .nav-list > li > a,
  .site-nav .nav-list > li > .nav-accordion-trigger {
    width: 100%;
  }

  .site-nav .nav-list > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
  }

  .site-nav .nav-accordion-trigger {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.65rem;
    color: var(--text);
    border: 0;
    border-radius: 0.65rem;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }

  .site-nav .nav-accordion-trigger:hover,
  .site-nav .nav-accordion-trigger:focus-visible {
    color: var(--brand);
    background: rgba(40, 247, 168, 0.08);
    outline: 2px solid rgba(40, 247, 168, 0.55);
    outline-offset: -2px;
  }

  .mobile-nav-chevron {
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 220ms ease;
  }

  .nav-accordion-trigger[aria-expanded="true"] .mobile-nav-chevron {
    transform: translateY(2px) rotate(225deg);
  }

  .site-nav .services-dropdown,
  .site-nav .contact-popover {
    display: grid;
    position: static;
    inset: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: max-height 280ms ease, opacity 180ms ease, margin 280ms ease, padding 280ms ease;
  }

  .site-nav .services-dropdown.is-mobile-open,
  .site-nav .contact-popover.is-mobile-open {
    max-height: var(--mobile-panel-height, 0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .services-dropdown {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
    padding-inline: 0.65rem 0;
  }

  .site-nav .services-dropdown.is-mobile-open {
    margin: 0.15rem 0 0.35rem;
  }

  .site-nav .services-dropdown-heading {
    display: none;
  }

  .site-nav .services-dropdown-link {
    min-height: 42px;
    padding: 0.45rem 0.55rem;
    border: 0;
    border-radius: 0.65rem;
    background: transparent;
  }

  .site-nav .contact-popover {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0.35rem;
    padding-inline: 0.65rem 0;
  }

  .site-nav .contact-popover.is-mobile-open {
    margin: 0.15rem 0 0.35rem;
  }

  .site-nav .contact-popover > strong {
    display: none;
  }

  .site-nav .contact-method {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0.45rem 0.55rem;
    border-radius: 0.65rem;
    background: transparent;
  }

  .site-nav .contact-copy,
  .site-nav .contact-copy span {
    min-width: 0;
    max-width: 100%;
  }

  .site-nav .contact-copy span:last-child {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-nav .contact-socials {
    width: 100%;
    justify-content: flex-start;
    align-self: auto;
    margin: 0;
    padding: 0.2rem 0.55rem 0.35rem;
    border: 0;
  }

  .site-nav .nav-actions {
    width: 100%;
    padding-top: 0.4rem;
  }

  .site-nav .search-trigger {
    display: flex;
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
  }

  .site-nav .search-trigger .visually-hidden {
    position: static !important;
    order: -1;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }

  body.nav-open :is(.ai-chat-launcher, .ai-chat-panel, .back-to-top) {
    visibility: hidden;
    pointer-events: none;
  }
}

/* Enhancements & Optimisation: tablet and mobile hero stacking */
@media (max-width: 1080px) {
  .improvement-page .improvement-hero {
    min-height: auto;
    height: auto;
  }

  .improvement-page .improvement-hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
  }

  .improvement-page .improvement-hero-copy {
    width: 100%;
    max-width: 760px;
    min-width: 0;
  }

  .improvement-page .optimisation-visual {
    width: min(100%, 680px);
    margin-inline: auto;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  /* Phone navigation: fully reset desktop mega-menu geometry. */
  .site-nav {
    border-top: 0;
    box-shadow: none;
  }

  .site-nav .nav-list > li,
  .site-nav .nav-list > li > a,
  .site-nav .nav-list > li > .nav-accordion-trigger,
  .site-nav .services-dropdown,
  .site-nav .services-dropdown-link,
  .site-nav .contact-popover {
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  .site-nav .nav-list > li > a::before,
  .site-nav .nav-list > li > a::after,
  .site-nav .nav-list > li > .nav-accordion-trigger::before,
  .site-nav .nav-list > li > .nav-accordion-trigger::after {
    content: none;
    display: none;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .site-nav .services-nav-item,
  .site-nav .contact-nav {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .site-nav .services-dropdown,
  .site-nav .contact-popover {
    position: static;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .site-nav .services-dropdown::before,
  .site-nav .contact-popover::before,
  .site-nav .contact-nav::after {
    content: none;
    display: none;
  }

  .site-nav .services-dropdown.is-mobile-open,
  .site-nav .contact-popover.is-mobile-open {
    overflow: visible;
  }

  .site-nav .services-dropdown {
    place-self: stretch;
    gap: 0.15rem;
    margin-right: 0;
    margin-left: 0;
    padding-inline: 0.55rem;
  }

  /* The desktop hover selector is more specific; neutralise it on phones. */
  .site-nav .services-nav-item:hover > .services-dropdown,
  .site-nav .services-nav-item:focus-within > .services-dropdown {
    position: static;
    inset: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    transform: none;
    translate: none;
  }

  .site-nav .services-dropdown,
  .site-nav .services-dropdown *,
  .site-nav .services-dropdown a,
  .site-nav .services-dropdown > * {
    position: static;
    inset: auto;
    right: auto;
    left: auto;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    box-sizing: border-box;
    transform: none;
    translate: none;
  }

  .site-nav .services-dropdown *::before,
  .site-nav .services-dropdown *::after {
    position: static;
    inset: auto;
    right: auto;
    left: auto;
    margin-right: 0;
    margin-left: 0;
    transform: none;
    translate: none;
  }

  .site-nav .services-dropdown-link {
    position: static;
    right: auto;
    left: auto;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    gap: 0.55rem;
    padding: 0.45rem 0.5rem;
    box-sizing: border-box;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    transform: none;
  }

  .site-nav .services-dropdown-link > span:last-child,
  .site-nav .services-dropdown-link strong {
    position: static;
    display: block;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    transform: none;
  }

  .site-nav .services-dropdown-icon {
    position: static;
    width: 1.75rem;
    height: 1.75rem;
    margin: 0;
    transform: none;
  }

  .site-nav .contact-popover {
    align-items: stretch;
    justify-items: stretch;
    gap: 0.2rem;
    padding-inline: 0.55rem 0;
  }

  .site-nav .contact-method,
  .site-nav .contact-copy {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-nav .contact-method {
    padding: 0.45rem 0.5rem;
  }

  .site-nav .contact-copy span:last-child {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .site-nav .contact-socials {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.15rem 0.5rem 0.35rem;
  }

  /* Keep the mobile search controls compact and on one row. */
  .search-shell {
    width: min(100% - 2rem, var(--shell));
    padding-block: 0.8rem 1rem;
  }

  .search-label {
    margin-bottom: 0.5rem;
  }

  .search-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 0.6rem;
  }

  .search-row input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    font-size: 0.92rem;
  }

  .search-row #search-close {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
  }

  .improvement-page .improvement-hero {
    padding: calc(74px + clamp(2rem, 8vw, 3rem)) 0 clamp(3rem, 10vw, 4.25rem);
    overflow-x: clip;
  }

  .improvement-page .improvement-hero-shell {
    width: min(100% - 2rem, 620px);
    gap: clamp(1.75rem, 8vw, 2.75rem);
  }

  .improvement-page .improvement-hero-copy,
  .improvement-page .improvement-hero-copy h1,
  .improvement-page .improvement-hero-copy .page-intro {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .improvement-page .improvement-hero-copy .hero-title-line {
    white-space: normal;
  }

  .improvement-page .improvement-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
  }

  .improvement-page .improvement-hero-copy .page-intro {
    margin-top: 0.85rem;
    font-size: clamp(1rem, 4.4vw, 1.12rem);
    line-height: 1.6;
    overflow-wrap: normal;
    word-break: normal;
  }

  .improvement-page .optimisation-visual {
    position: relative;
    width: 100%;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .improvement-page .optimisation-cycle {
    width: min(100%, 430px);
    height: auto;
    min-height: 0;
    margin-inline: auto;
    aspect-ratio: 1;
  }

  .improvement-page :is(.split-shell, .feature-grid, .approach-grid) {
    min-width: 0;
  }

  .improvement-page :is(.improvement-section-heading, .section-heading) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
