/* ContentEngine-specific marketing styles.
   Shared Engine-family styles remain in marketing.css. */

.content-engine-site {
  --ce-ink: #111827;
  --ce-muted: #667085;
  --ce-line: rgba(17, 24, 39, .10);
  --ce-soft: #f7f8fa;
  --ce-pink: #e50063;
  --ce-pink-soft: #fff0f6;
}

/* Hero -------------------------------------------------------------------- */
.content-hero .hero-section__grid {
  grid-template-columns: minmax(0, .96fr) minmax(590px, 1.04fr);
}

.content-hero-visual {
  position: relative;
  min-height: 600px;
  isolation: isolate;
}

.content-hero-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.content-hero-lines path {
  fill: none;
  stroke: rgba(17, 24, 39, .22);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  animation: ceDash 2400ms linear infinite;
}

.content-hero-lines path:nth-child(n+3) { stroke: rgba(229, 0, 99, .31); }

@keyframes ceDash { to { stroke-dashoffset: -48; } }

.hero-consumers,
.hero-repositories,
.hero-content-engine {
  position: absolute;
  z-index: 2;
}

.hero-consumers {
  top: 82px;
  left: 0;
  display: grid;
  gap: 112px;
  width: 188px;
}

.ce-mini-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 11px;
  align-items: center;
  min-height: 90px;
  padding: 16px;
  border: 1px solid var(--ce-line);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 40px rgba(15,23,42,.07);
}

.ce-mini-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ce-pink-soft);
  color: var(--ce-pink);
  font-size: 20px;
  font-weight: 800;
}

.ce-mini-card strong { font-size: 13px; }
.ce-mini-card small { color: var(--ce-muted); font-size: 9px; }

.hero-content-engine {
  top: 185px;
  left: 44%;
  display: grid;
  place-items: center;
  width: 178px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(229,0,99,.26);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(229,0,99,.14), 0 20px 60px rgba(15,23,42,.08);
  transform: translateX(-50%);
}

.hero-content-engine__halo {
  position: absolute;
  z-index: -1;
  inset: -28px;
  border-radius: 42px;
  background: radial-gradient(circle, rgba(229,0,99,.10), transparent 68%);
  animation: cePulse 3200ms ease-in-out infinite;
}

@keyframes cePulse { 50% { transform: scale(1.08); opacity: .65; } }

.hero-content-engine img { width: 86px; height: 86px; object-fit: contain; }
.hero-content-engine small { margin-top: 4px; color: var(--ce-pink); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.hero-content-engine strong { font-size: 18px; }
.hero-content-engine > span:last-child { color: var(--ce-muted); font-size: 10px; }

.hero-repositories {
  top: 30px;
  right: 0;
  display: grid;
  gap: 12px;
  width: 205px;
}

.repo-chip {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 11px 13px;
  border: 1px solid var(--ce-line);
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 28px rgba(15,23,42,.055);
  opacity: 0;
  transform: translateX(14px);
  animation: ceRepoIn 650ms cubic-bezier(.22,1,.36,1) forwards;
}

.repo-chip:nth-child(1) { animation-delay: .45s; }
.repo-chip:nth-child(2) { animation-delay: .62s; }
.repo-chip:nth-child(3) { animation-delay: .79s; }
.repo-chip:nth-child(4) { animation-delay: .96s; }
.repo-chip:nth-child(5) { animation-delay: 1.13s; }
.repo-chip:nth-child(6) { animation-delay: 1.30s; }

@keyframes ceRepoIn { to { opacity: 1; transform: translateX(0); } }

.repo-chip > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f4f5f7;
  color: #475467;
  font-size: 9px;
  font-weight: 800;
}
.repo-chip--native > span,
.repo-chip--plugins > span { background: var(--ce-pink-soft); color: var(--ce-pink); }
.repo-chip strong { min-width: 0; font-size: 10px; line-height: 1.25; }

/* Problem ----------------------------------------------------------------- */
.ce-problem-section {
  padding: var(--marketing-section-pad) 0;
  background: #fbfcfd;
}

.ce-problem-grid {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(560px, 1.15fr);
  gap: clamp(64px, 8vw, 140px);
  align-items: center;
}

.ce-problem-copy { max-width: 680px; }
.ce-problem-copy > p:not(.marketing-eyebrow) { margin: 28px 0 0; color: #4b5563; font-size: 19px; }
.ce-problem-copy .ce-emphasis { padding-left: 20px; border-left: 3px solid var(--ce-pink); color: var(--ce-ink); font-weight: 600; }

.ce-sprawl {
  position: relative;
  min-height: 540px;
}

.ce-sprawl svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ce-sprawl svg path {
  fill: none;
  stroke: rgba(17,24,39,.18);
  stroke-width: 2.4;
  stroke-dasharray: 3 10;
  opacity: 0;
}
[data-reveal-section].is-visible .ce-sprawl svg path { animation: ceLineAppear 700ms ease forwards; }
[data-reveal-section].is-visible .ce-sprawl svg path:nth-child(1) { animation-delay: .15s; }
[data-reveal-section].is-visible .ce-sprawl svg path:nth-child(2) { animation-delay: .30s; }
[data-reveal-section].is-visible .ce-sprawl svg path:nth-child(3) { animation-delay: .45s; }
[data-reveal-section].is-visible .ce-sprawl svg path:nth-child(4) { animation-delay: .60s; }
[data-reveal-section].is-visible .ce-sprawl svg path:nth-child(5) { animation-delay: .75s; }
[data-reveal-section].is-visible .ce-sprawl svg path:nth-child(6) { animation-delay: .90s; }
[data-reveal-section].is-visible .ce-sprawl svg path:nth-child(7) { animation-delay: 1.05s; }
@keyframes ceLineAppear { to { opacity: 1; } }

.ce-sprawl__app,
.ce-sprawl__repo {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 150px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--ce-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15,23,42,.06);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.ce-sprawl__app { left: 0; }
.ce-sprawl__app--two { top: 205px; }
.ce-sprawl__app--three { top: 365px; }
.ce-sprawl__app:first-of-type { top: 45px; }
.ce-sprawl__repo { right: 0; color: #475467; }
.ce-sprawl__repo--one { top: 45px; }
.ce-sprawl__repo--two { top: 155px; }
.ce-sprawl__repo--three { top: 275px; }
.ce-sprawl__repo--four { top: 395px; }
.ce-sprawl__label {
  position: absolute;
  z-index: 3;
  right: 20%;
  bottom: 0;
  max-width: 290px;
  padding: 10px 14px;
  border: 1px solid var(--dr-pink-border);
  border-radius: 999px;
  background: var(--dr-pink-soft);
  color: var(--dr-pink);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

/* Federation stages -------------------------------------------------------- */
.ce-federation-section { padding: var(--marketing-section-pad) 0; background: #fff; }
.ce-section-heading { max-width: 930px; }
.ce-section-heading > p:not(.marketing-eyebrow) { max-width: 760px; margin: 28px 0 0; color: #4b5563; font-size: 20px; }
.ce-section-heading--center { margin-inline: auto; text-align: center; }
.ce-section-heading--center > p:not(.marketing-eyebrow) { margin-inline: auto; }

.ce-stage-explorer {
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--ce-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15,23,42,.07);
}
.ce-stage-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--ce-line);
  background: #fbfcfd;
}
.ce-stage-tabs button {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  border: 0;
  border-right: 1px solid var(--ce-line);
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.ce-stage-tabs button:last-child { border-right: 0; }
.ce-stage-tabs button span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eceef1; font-size: 10px; }
.ce-stage-tabs button.is-active { background: #fff; color: var(--ce-pink); box-shadow: inset 0 -3px 0 var(--ce-pink); }
.ce-stage-tabs button.is-active span { background: var(--ce-pink-soft); }

.ce-stage-panel {
  display: grid;
  grid-template-columns: minmax(360px,.78fr) minmax(520px,1.22fr);
  gap: 48px;
  align-items: center;
  min-height: 460px;
  padding: 48px;
}
.ce-stage-panel__copy { max-width: 560px; }
.ce-stage-kicker { display: inline-block; margin-bottom: 15px; color: var(--ce-pink); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ce-stage-panel__copy h3 { font-size: clamp(30px,3vw,44px); }
.ce-stage-panel__copy p { margin: 18px 0 0; color: #4b5563; font-size: 17px; }
.ce-stage-panel__copy small { display: block; margin-top: 24px; color: #667085; line-height: 1.65; }

.ce-stage-panel__visual {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 42px;
  align-items: center;
  min-height: 330px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(145deg,#f8f9fb,#fff);
  border: 1px solid var(--ce-line);
}
.ce-stage-engine {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--dr-pink-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(229,0,99,.1);
}
.ce-stage-engine img { width: 92px; height: 92px; }
.ce-stage-engine strong { font-size: 15px; }
.ce-stage-repo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ce-stage-repo-grid span { display: grid; place-items: center; min-height: 78px; padding: 12px; border: 1px solid var(--ce-line); border-radius: 15px; background: #fff; color: #475467; font-size: 10px; font-weight: 700; text-align: center; }
.ce-stage-repo-grid span:last-child { border-style: dashed; color: var(--ce-pink); }

/* Search UI --------------------------------------------------------------- */
.ce-search-section { padding: var(--marketing-section-pad) 0; background: #f7f8fa; }
.ce-search-grid { display: grid; grid-template-columns: minmax(340px,.70fr) minmax(680px,1.30fr); gap: clamp(54px,6vw,100px); align-items: center; }
.ce-search-copy > p:not(.marketing-eyebrow) { margin: 28px 0 0; color: #4b5563; font-size: 19px; }
.ce-feature-list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.ce-feature-list li { position: relative; padding-left: 25px; color: #344054; font-size: 14px; font-weight: 650; }
.ce-feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ce-pink); font-weight: 900; }

.ce-ui-demo {
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15,23,42,.11);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 700ms ease, transform 800ms cubic-bezier(.22,1,.36,1);
}
[data-reveal-section].is-visible .ce-ui-demo { opacity: 1; transform: translateY(0); }
.ce-ui-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--ce-line); background: #fbfcfd; }
.ce-ui-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.ce-ui-brand img { width: 30px; height: 30px; }
.ce-ui-action { padding: 7px 13px; border-radius: 9px; background: var(--ce-pink); color: #fff; font-size: 10px; font-weight: 800; }
.ce-search-box { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin: 20px 22px 10px; padding: 14px 16px; border: 1px solid rgba(17,24,39,.14); border-radius: 14px; box-shadow: 0 8px 24px rgba(15,23,42,.05); color: #344054; font-size: 12px; }
.ce-search-box > span:first-child { color: var(--ce-pink); font-size: 19px; }
.ce-search-box kbd { padding: 3px 7px; border: 1px solid var(--ce-line); border-radius: 6px; background: #f8f9fa; color: #98a2b3; font-size: 8px; }
.ce-filter-suggestions { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; padding: 0 22px 16px; }
.ce-filter-suggestions > span { color: #98a2b3; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ce-filter-suggestions button { padding: 6px 9px; border: 1px solid rgba(229,0,99,.18); border-radius: 999px; background: var(--ce-pink-soft); color: #a30049; cursor: pointer; font-size: 9px; font-weight: 700; }
.ce-filter-suggestions button.is-on { border-color: var(--ce-pink); background: var(--ce-pink); color: #fff; }
.ce-results-area { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(250px,.92fr); min-height: 430px; border-top: 1px solid var(--ce-line); }
.ce-results-list { padding: 14px; border-right: 1px solid var(--ce-line); }
.ce-results-top { display: flex; justify-content: space-between; align-items: center; padding: 5px 6px 11px; color: #98a2b3; font-size: 9px; }
.ce-results-top strong { color: #344054; font-size: 11px; }
.ce-result { display: grid; grid-template-columns: 40px minmax(0,1fr) 32px; gap: 10px; align-items: start; width: 100%; margin: 0 0 7px; padding: 12px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.ce-result:hover { background: #fafafa; }
.ce-result.is-selected { border-color: rgba(229,0,99,.18); background: #fff6fa; }
.ce-result__file { display: grid; place-items: center; width: 38px; height: 44px; border-radius: 8px; background: #f2f4f7; color: #667085; font-size: 8px; font-weight: 800; }
.ce-result__copy { display: grid; gap: 3px; min-width: 0; }
.ce-result__copy strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ce-result__copy small { color: #667085; font-size: 8px; }
.ce-result__copy em { overflow: hidden; color: #98a2b3; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.ce-repo-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #eef0f3; color: #667085; font-size: 7px; font-weight: 900; }
.ce-preview { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fbfcfd; }
.ce-preview__paper { position: relative; flex: 1; min-height: 260px; padding: 28px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(15,23,42,.07); }
.ce-preview__paper span { color: var(--ce-pink); font-size: 17px; font-weight: 900; }
.ce-preview__paper strong { display: block; margin-top: 26px; font-size: 12px; }
.ce-preview__paper div { height: 7px; margin-top: 12px; border-radius: 3px; background: #eef0f3; }
.ce-preview__paper div:nth-of-type(2) { width: 74%; }.ce-preview__paper div:nth-of-type(3) { width: 90%; }.ce-preview__paper div:nth-of-type(4) { width: 56%; }
.ce-preview__meta { display: grid; gap: 6px; }
.ce-preview__meta > span { font-size: 10px; font-weight: 800; line-height: 1.35; }
.ce-preview__meta small { color: #667085; font-size: 8px; line-height: 1.5; }
.ce-preview__meta button { justify-self: start; padding: 7px 10px; border: 1px solid var(--ce-line); border-radius: 8px; background: #fff; cursor: pointer; color: #344054; font-size: 9px; font-weight: 700; }

/* Store + policy ---------------------------------------------------------- */
.ce-store-section { padding: var(--marketing-section-pad) 0; background: #fff; }
.ce-policy-visual { display: grid; grid-template-columns: minmax(250px,.8fr) minmax(320px,1fr) minmax(320px,1fr); gap: 22px; align-items: stretch; margin-top: 58px; }
.ce-upload-card,.ce-policy-engine,.ce-targets { border: 1px solid var(--ce-line); border-radius: 24px; background: #fff; box-shadow: 0 20px 55px rgba(15,23,42,.055); }
.ce-upload-card { display: grid; place-items: center; align-content: center; min-height: 360px; padding: 34px; border-style: dashed; text-align: center; }
.ce-upload-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px; background: var(--ce-pink-soft); color: var(--ce-pink); font-size: 30px; }
.ce-upload-card strong { font-size: 18px; }.ce-upload-card small { max-width: 220px; margin-top: 8px; color: #667085; font-size: 10px; line-height: 1.6; }.ce-upload-card button { margin-top: 20px; padding: 9px 18px; border: 0; border-radius: 10px; background: var(--ce-pink); color: #fff; font-size: 10px; font-weight: 800; }
.ce-policy-engine { display: grid; place-items: center; align-content: center; padding: 30px; background: linear-gradient(145deg,#fff,#fff7fa); }
.ce-policy-engine img { width: 96px; height: 96px; }.ce-policy-engine > span { margin: 8px 0 18px; font-size: 15px; font-weight: 800; }.ce-policy-pills { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }.ce-policy-pills b { padding: 6px 9px; border: 1px solid var(--dr-pink-border); border-radius: 999px; background: #fff; color: #a30049; font-size: 8px; }
.ce-targets { display: grid; gap: 10px; padding: 18px; }.ce-targets div { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--ce-line); border-radius: 16px; background: #fbfcfd; }.ce-targets div span { color: #667085; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.ce-targets div strong { font-size: 12px; line-height: 1.45; }.ce-targets .is-selected { border-color: var(--dr-pink-border); background: var(--ce-pink-soft); box-shadow: 0 11px 30px rgba(229,0,99,.07); }.ce-targets .is-selected span { color: var(--ce-pink); }
.ce-store-note { max-width: 760px; margin: 30px auto 0; color: #667085; font-size: 14px; text-align: center; }

/* Rationalisation --------------------------------------------------------- */
.ce-rationalise-section { padding: var(--marketing-section-pad) 0; background: radial-gradient(circle at 75% 42%,rgba(229,0,99,.14),transparent 26%),linear-gradient(145deg,#111827,#0b1020 68%,#14131a); color: #fff; }
.ce-rationalise-grid { display: grid; grid-template-columns: minmax(360px,.78fr) minmax(650px,1.22fr); gap: clamp(60px,7vw,120px); align-items: center; }
.ce-rationalise-copy > p:not(.marketing-eyebrow) { margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 19px; }.ce-rationalise-points { display: grid; gap: 10px; margin-top: 30px; }.ce-rationalise-points span { position: relative; padding-left: 23px; color: rgba(255,255,255,.82); font-size: 13px; }.ce-rationalise-points span::before { content: '→'; position: absolute; left: 0; color: #ff83b8; }
.ce-migration-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: rgba(255,255,255,.07); box-shadow: 0 35px 90px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.ce-migration-head { display: grid; gap: 4px; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.10); }.ce-migration-head span { color: #ff83b8; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }.ce-migration-head strong { font-size: 17px; }
.ce-migration-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.08); }.ce-migration-metrics div { padding: 18px; background: rgba(11,16,32,.74); }.ce-migration-metrics small { display: block; color: rgba(255,255,255,.46); font-size: 8px; }.ce-migration-metrics strong { display: block; margin-top: 5px; font-size: 20px; }
.ce-migration-flow { display: flex; gap: 7px; align-items: center; overflow-x: auto; padding: 22px 24px; }.ce-migration-flow span { flex: 0 0 auto; padding: 7px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.46); font-size: 8px; font-weight: 800; }.ce-migration-flow .is-done { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.78); }.ce-migration-flow .is-active { border-color: rgba(255,131,184,.62); background: rgba(229,0,99,.20); color: #ff9ac5; }
.ce-migration-breakdown { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0 24px 24px; }.ce-migration-breakdown div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.10); border-radius: 13px; background: rgba(255,255,255,.04); }.ce-migration-breakdown span { color: rgba(255,255,255,.55); font-size: 9px; }.ce-migration-breakdown strong { font-size: 13px; }
.ce-migration-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 24px; border-top: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.12); }.ce-migration-foot span { color: #ffb2d1; font-size: 9px; font-weight: 700; }.ce-migration-foot button { padding: 8px 11px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; font-size: 9px; font-weight: 800; }

/* Content evolution ------------------------------------------------------- */
.ce-evolve-section { padding: var(--marketing-section-pad) 0; background: #fbfcfd; }
.ce-evolve-grid { display: grid; grid-template-columns: minmax(390px,.8fr) minmax(560px,1.2fr); gap: clamp(64px,8vw,140px); align-items: center; }.ce-evolve-grid > div:first-child > p:not(.marketing-eyebrow) { margin: 28px 0 0; color: #4b5563; font-size: 19px; }
.ce-evolve-flow { position: relative; display: flex; gap: 11px; align-items: center; justify-content: center; min-height: 270px; padding: 38px; border: 1px solid var(--ce-line); border-radius: 26px; background: #fff; box-shadow: 0 22px 60px rgba(15,23,42,.06); }.ce-evolve-flow span { padding: 16px 17px; border: 1px solid var(--ce-line); border-radius: 14px; background: #fbfcfd; font-size: 11px; font-weight: 800; opacity: .28; transform: translateY(8px); }.ce-evolve-flow i { color: #c5cad3; font-style: normal; opacity: .3; }.ce-evolve-caption { position: absolute; right: 28px; bottom: 24px; left: 28px; color: #667085; font-size: 10px; font-weight: 700; text-align: center; }
[data-reveal-section].is-visible .ce-evolve-flow span,[data-reveal-section].is-visible .ce-evolve-flow i { animation: ceEvolveIn 600ms cubic-bezier(.22,1,.36,1) forwards; }.ce-evolve-flow span:nth-child(1){animation-delay:.1s!important}.ce-evolve-flow i:nth-child(2){animation-delay:.25s!important}.ce-evolve-flow span:nth-child(3){animation-delay:.4s!important}.ce-evolve-flow i:nth-child(4){animation-delay:.55s!important}.ce-evolve-flow span:nth-child(5){animation-delay:.7s!important}.ce-evolve-flow i:nth-child(6){animation-delay:.85s!important}.ce-evolve-flow span:nth-child(7){animation-delay:1s!important}
@keyframes ceEvolveIn { to { opacity: 1; transform: translateY(0); } }

/* Ecosystem tweaks -------------------------------------------------------- */
.content-engine-site .ecosystem-node__icon { filter: none; }

/* Process ----------------------------------------------------------------- */
.ce-process-layout { display: grid; grid-template-columns: 1fr 330px; gap: 28px; margin-top: 62px; }
.ce-process-canvas { position: relative; min-height: 510px; overflow: hidden; border: 1px solid var(--ce-line); border-radius: 26px; background: linear-gradient(180deg,#fff,#fbfcfd); box-shadow: 0 20px 56px rgba(15,23,42,.055); }
.ce-process-lines { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.ce-process-lines path:not(.ce-routing-line) { fill: none; stroke: rgba(17,24,39,.25); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 11; }.ce-process-lines path.is-active { stroke: var(--ce-pink); animation: ceDash 1000ms linear infinite; }.ce-process-lines path.is-complete { stroke: rgba(229,0,99,.38); }
.ce-routing-line { fill: none; stroke: rgba(17,24,39,.12); stroke-width: 3; }
.ce-process-node { position: absolute; z-index: 3; top: 130px; display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 2px 11px; align-items: center; width: 150px; min-height: 105px; padding: 13px; border: 1px solid var(--ce-line); border-radius: 18px; background: #fff; color: var(--ce-ink); cursor: pointer; text-align: left; transition: transform 200ms ease,border-color 200ms ease,box-shadow 200ms ease,opacity 200ms ease; }.ce-process-node:hover { transform: translateY(-3px); border-color: var(--dr-pink-border); }.ce-process-node img,.ce-process-node .engine-icon-placeholder { grid-row: 1 / 4; width: 50px; height: 50px; object-fit: contain; }.ce-process-node small { color: var(--ce-pink); font-size: 8px; font-weight: 800; }.ce-process-node strong { font-size: 11px; }.ce-process-node > span:last-child { color: #667085; font-size: 8px; }.ce-process-node.is-highlight { border-color: var(--dr-pink-border); box-shadow: 0 12px 34px rgba(229,0,99,.08); }.ce-process-node.is-current { border-color: var(--ce-pink); box-shadow: 0 16px 42px rgba(229,0,99,.14); transform: translateY(-4px); }.ce-process-node.is-complete { opacity: .7; }
.ce-process-node[data-ce-node="email"] { left: 3%; }.ce-process-node[data-ce-node="content"] { left: 19%; }.ce-process-node[data-ce-node="capture"] { left: 35%; }.ce-process-node[data-ce-node="match"] { left: 51%; }.ce-process-node[data-ce-node="accounts"] { left: 67%; }.ce-process-node[data-ce-node="integration"] { left: 83%; transform: translateX(-100%); }.ce-process-node[data-ce-node="integration"].is-current { transform: translate(-100%,-4px); }
.ce-process-band { position: absolute; z-index: 3; right: 5%; bottom: 82px; left: 5%; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 10px 18px; border: 1px solid var(--ce-line); border-radius: 18px; background: #fff; color: #344054; }.ce-process-band img { width: 38px; height: 38px; }.ce-process-band strong { font-size: 11px; }.ce-process-band span { color: #667085; font-size: 9px; }
.ce-process-detail { display: flex; flex-direction: column; min-height: 510px; padding: 28px; border: 1px solid var(--ce-line); border-radius: 26px; background: #fff; box-shadow: 0 20px 56px rgba(15,23,42,.055); }.ce-process-detail > span { color: var(--ce-pink); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.ce-process-detail h3 { margin-top: 28px; }.ce-process-detail p { margin: 18px 0 0; color: #4b5563; font-size: 15px; }.ce-process-detail button { margin-top: auto; align-self: flex-start; padding: 9px 13px; border: 1px solid var(--ce-line); border-radius: 9px; background: #fff; color: #344054; cursor: pointer; font-size: 10px; font-weight: 800; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1180px) {
  .content-hero .hero-section__grid { grid-template-columns: 1fr; }
  .content-hero-visual { width: min(760px,100%); margin-inline: auto; }
  .ce-problem-grid,.ce-search-grid,.ce-rationalise-grid,.ce-evolve-grid { grid-template-columns: 1fr; }
  .ce-stage-panel { grid-template-columns: 1fr; }
  .ce-policy-visual { grid-template-columns: 1fr 1fr; }.ce-targets { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); }
  .ce-process-layout { grid-template-columns: 1fr; }.ce-process-detail { min-height: 260px; }
}

@media (max-width: 900px) {
  .ce-stage-tabs { grid-template-columns: 1fr; }.ce-stage-tabs button { justify-content: flex-start; padding-inline: 20px; border-right: 0; border-bottom: 1px solid var(--ce-line); }.ce-stage-tabs button:last-child { border-bottom: 0; }.ce-stage-tabs button.is-active { box-shadow: inset 3px 0 0 var(--ce-pink); }
  .ce-stage-panel { padding: 34px; }.ce-stage-panel__visual { grid-template-columns: 1fr; }.ce-stage-engine { min-height: 135px; }.ce-stage-engine img { width: 72px; height: 72px; }
  .ce-results-area { grid-template-columns: 1fr; }.ce-results-list { border-right: 0; border-bottom: 1px solid var(--ce-line); }.ce-preview { min-height: 380px; }
  .ce-policy-visual { grid-template-columns: 1fr; }.ce-targets { grid-column: auto; grid-template-columns: 1fr; }
  .ce-process-canvas { min-height: 760px; }.ce-process-lines { display: none; }.ce-process-node { position: relative; top: auto!important; left: auto!important; width: calc(50% - 22px); margin: 14px 10px; transform: none!important; display: inline-grid; vertical-align: top; }.ce-process-node.is-current { transform: translateY(-3px)!important; }.ce-process-band { position: relative; right: auto; bottom: auto; left: auto; margin: 18px; }.ce-process-detail { min-height: 280px; }
}

@media (max-width: 700px) {
  .content-hero-visual { min-height: 690px; transform: scale(.96); transform-origin: top center; }
  .hero-consumers { top: 30px; left: 0; gap: 20px; width: 46%; }.hero-content-engine { top: 240px; left: 50%; }.hero-repositories { top: 470px; right: auto; left: 0; grid-template-columns: repeat(2,1fr); width: 100%; }.content-hero-lines { display: none; }.repo-chip { min-height: 58px; }
  .ce-problem-grid { gap: 46px; }.ce-sprawl { min-height: 500px; transform: scale(.93); transform-origin: center top; }.ce-sprawl__app,.ce-sprawl__repo { width: 128px; }.ce-sprawl__label { right: 10%; }
  .ce-stage-explorer { margin-top: 42px; }.ce-stage-panel { padding: 25px; }.ce-stage-repo-grid { grid-template-columns: 1fr; }
  .ce-ui-demo { border-radius: 20px; }.ce-filter-suggestions { align-items: flex-start; }.ce-preview { min-height: 330px; }.ce-preview__paper { min-height: 210px; }
  .ce-migration-metrics { grid-template-columns: repeat(2,1fr); }.ce-migration-breakdown { grid-template-columns: 1fr; }.ce-migration-foot { align-items: flex-start; flex-direction: column; }
  .ce-evolve-flow { flex-wrap: wrap; min-height: 320px; }.ce-evolve-caption { position: static; flex-basis: 100%; margin-top: 12px; }
  .ce-process-canvas { min-height: 1040px; }.ce-process-node { width: calc(100% - 28px); margin: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .content-hero-lines path,.hero-content-engine__halo,.repo-chip,[data-reveal-section].is-visible .ce-evolve-flow span,[data-reveal-section].is-visible .ce-evolve-flow i { animation: none!important; }
  .repo-chip,.ce-ui-demo,.ce-evolve-flow span,.ce-evolve-flow i { opacity: 1!important; transform: none!important; }
}

/* Dynamic federation-stage details --------------------------------------- */
.ce-stage-repo-grid--metrics span { display: grid; gap: 3px; }
.ce-stage-repo-grid--metrics b { color: var(--ce-ink); font-size: 16px; }
.ce-adopt-demo { display: grid; gap: 18px; align-items: center; }
.ce-adopt-demo > div { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--ce-line); border-radius: 16px; background: #fff; }
.ce-adopt-demo small { color: #667085; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ce-adopt-demo strong { font-size: 15px; }
.ce-adopt-demo span { color: #667085; font-size: 9px; }
.ce-adopt-demo i { display: block; width: 2px; height: 28px; margin-inline: 32px; background: linear-gradient(var(--ce-pink), rgba(229,0,99,.15)); }

/* Revision 2: richer motion + AI/search expansion ------------------------- */
.ce-stage-panel__visual.is-refreshing > * {
  animation: ceStageRefresh 620ms cubic-bezier(.22,1,.36,1) both;
}
.ce-stage-panel__visual.is-refreshing > *:nth-child(2) { animation-delay: 80ms; }
@keyframes ceStageRefresh {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ce-stage-repo-grid span,
.ce-adopt-demo > div {
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.ce-stage-panel__visual.is-refreshing .ce-stage-repo-grid span:nth-child(1) { animation: ceCardPop 520ms 80ms both; }
.ce-stage-panel__visual.is-refreshing .ce-stage-repo-grid span:nth-child(2) { animation: ceCardPop 520ms 150ms both; }
.ce-stage-panel__visual.is-refreshing .ce-stage-repo-grid span:nth-child(3) { animation: ceCardPop 520ms 220ms both; }
.ce-stage-panel__visual.is-refreshing .ce-stage-repo-grid span:nth-child(4) { animation: ceCardPop 520ms 290ms both; }
.ce-stage-panel__visual.is-refreshing .ce-stage-repo-grid span:nth-child(5) { animation: ceCardPop 520ms 360ms both; }
.ce-stage-panel__visual.is-refreshing .ce-stage-repo-grid span:nth-child(6) { animation: ceCardPop 520ms 430ms both; }
@keyframes ceCardPop {
  from { opacity: .25; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.ce-search-box { transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease; }
.ce-ui-demo.is-searching .ce-search-box {
  border-color: rgba(229,0,99,.42);
  box-shadow: 0 10px 32px rgba(229,0,99,.10);
  transform: translateY(-1px);
}
.ce-ui-demo.is-searching .ce-search-box > span:first-child { animation: ceSearchPulse 900ms ease-in-out infinite; }
@keyframes ceSearchPulse { 50% { transform: scale(1.18); opacity: .55; } }
.ce-result { transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, opacity 220ms ease; }
.ce-result.is-selected { transform: translateX(3px); }
.ce-ui-demo.is-preview-refresh .ce-preview__paper { animation: cePreviewRefresh 460ms ease both; }
@keyframes cePreviewRefresh { 0% { opacity: .5; transform: scale(.985); } 100% { opacity: 1; transform: scale(1); } }

/* Full-text insight ------------------------------------------------------- */
.ce-insight-section {
  padding: var(--marketing-section-pad) 0;
  background: #fff;
}
.ce-insight-grid {
  display: grid;
  grid-template-columns: minmax(380px,.78fr) minmax(650px,1.22fr);
  gap: clamp(60px,7vw,120px);
  align-items: center;
}
.ce-insight-copy > p:not(.marketing-eyebrow) {
  margin: 28px 0 0;
  color: #4b5563;
  font-size: 19px;
}
.ce-insight-benefits { display: grid; gap: 11px; margin-top: 28px; }
.ce-insight-benefits span {
  position: relative;
  padding-left: 25px;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}
.ce-insight-benefits span::before { content: '↳'; position: absolute; left: 0; color: var(--ce-pink); font-weight: 900; }

.ce-index-demo {
  display: grid;
  grid-template-columns: 150px minmax(180px,.8fr) minmax(300px,1.2fr);
  gap: 18px;
  align-items: stretch;
  min-height: 390px;
  padding: 24px;
  border: 1px solid var(--ce-line);
  border-radius: 28px;
  background: linear-gradient(145deg,#fbfcfd,#fff);
  box-shadow: 0 28px 75px rgba(15,23,42,.08);
}
.ce-index-source,
.ce-index-result,
.ce-index-levels button {
  border: 1px solid var(--ce-line);
  border-radius: 18px;
  background: #fff;
}
.ce-index-source {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 15px;
  padding: 20px;
}
.ce-index-doc {
  position: relative;
  display: grid;
  align-content: start;
  width: 94px;
  height: 128px;
  padding: 17px 15px;
  border: 1px solid #dfe3e8;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.07);
}
.ce-index-doc::after {
  content: '';
  position: absolute;
  top: -7px;
  right: -7px;
  width: 25px;
  height: 25px;
  border: 2px solid var(--ce-pink);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(229,0,99,.16);
}
.ce-index-doc span { margin-bottom: 17px; color: var(--ce-pink); font-size: 11px; font-weight: 900; }
.ce-index-doc i { height: 5px; margin: 4px 0; border-radius: 3px; background: #eef0f3; }
.ce-index-doc i:nth-of-type(2) { width: 74%; }.ce-index-doc i:nth-of-type(4) { width: 82%; }.ce-index-doc i:nth-of-type(5) { width: 58%; }
.ce-index-source small { color: #667085; font-size: 9px; font-weight: 800; }

.ce-index-levels { display: grid; gap: 9px; }
.ce-index-levels button {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 1px 9px;
  align-items: center;
  min-height: 102px;
  padding: 15px;
  color: #344054;
  cursor: pointer;
  text-align: left;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.ce-index-levels button:hover { transform: translateY(-2px); border-color: rgba(229,0,99,.25); }
.ce-index-levels button > span { grid-row: 1 / 3; color: #98a2b3; font-size: 10px; font-weight: 900; }
.ce-index-levels button strong { font-size: 12px; }
.ce-index-levels button small { color: #98a2b3; font-size: 8px; }
.ce-index-levels button.is-active {
  border-color: var(--dr-pink-border);
  background: var(--ce-pink-soft);
  box-shadow: 0 12px 28px rgba(229,0,99,.07);
}
.ce-index-levels button.is-active > span,
.ce-index-levels button.is-active strong { color: var(--ce-pink); }

.ce-index-result {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.ce-index-result::before {
  content: '';
  position: absolute;
  inset: auto -80px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,0,99,.09), transparent 68%);
  pointer-events: none;
}
.ce-index-result__label { color: var(--ce-pink); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ce-index-result strong { margin-top: 14px; font-size: 25px; line-height: 1.1; }
.ce-index-result p { margin: 15px 0 0; color: #667085; font-size: 12px; line-height: 1.6; }
.ce-index-meter { height: 8px; margin-top: 28px; overflow: hidden; border-radius: 999px; background: #eef0f3; }
.ce-index-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f41463,#e50063); transition: width 760ms cubic-bezier(.22,1,.36,1); }
.ce-index-result small { margin-top: 10px; color: #98a2b3; font-size: 8px; font-weight: 700; }
.ce-index-demo.is-index-refresh .ce-index-doc::after { animation: ceIndexPing 850ms ease both; }
@keyframes ceIndexPing { 0% { transform: scale(.6); opacity: .2; } 55% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.ce-index-demo[data-index-active="summary"] .ce-index-doc i:nth-of-type(n+3) { opacity: .18; }
.ce-index-demo[data-index-active="metadata"] .ce-index-doc i { opacity: .14; }
.ce-index-demo[data-index-active="full"] .ce-index-doc i { opacity: 1; }

/* AI access --------------------------------------------------------------- */
.ce-ai-section {
  padding: var(--marketing-section-pad) 0;
  background: linear-gradient(180deg,#f7f8fa 0%,#fbfcfd 100%);
}
.ce-ai-grid {
  display: grid;
  grid-template-columns: minmax(650px,1.2fr) minmax(390px,.8fr);
  gap: clamp(60px,7vw,120px);
  align-items: center;
}
.ce-ai-copy > p:not(.marketing-eyebrow) { margin: 28px 0 0; color: #4b5563; font-size: 19px; }
.ce-ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.ce-ai-points div { padding: 17px; border: 1px solid var(--ce-line); border-radius: 16px; background: rgba(255,255,255,.72); }
.ce-ai-points strong { display: block; color: #202939; font-size: 11px; }
.ce-ai-points span { display: block; margin-top: 5px; color: #667085; font-size: 9px; line-height: 1.55; }

.ce-ai-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--ce-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 78px rgba(15,23,42,.08);
}
.ce-ai-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ce-ai-path { fill: none; stroke: rgba(17,24,39,.18); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 3 10; transition: stroke 300ms ease, opacity 300ms ease; }
.ce-ai-question,
.ce-ai-engine,
.ce-ai-sources,
.ce-ai-context { position: absolute; z-index: 2; }
.ce-ai-question {
  top: 46px;
  left: 34px;
  width: 245px;
  padding: 17px 18px;
  border: 1px solid var(--ce-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.ce-ai-question small { color: var(--ce-pink); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ce-ai-question strong { display: block; margin-top: 6px; font-size: 12px; line-height: 1.45; }
.ce-ai-engine {
  top: 160px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 168px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--dr-pink-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(229,0,99,.10);
  transform: translateX(-50%);
}
.ce-ai-engine img { width: 72px; height: 72px; object-fit: contain; }
.ce-ai-engine span { margin-top: 4px; font-size: 13px; font-weight: 900; }
.ce-ai-engine small { color: #667085; font-size: 8px; }
.ce-ai-sources {
  top: 54px;
  right: 28px;
  display: grid;
  gap: 8px;
  width: 160px;
}
.ce-ai-sources span {
  padding: 10px 12px;
  border: 1px solid var(--ce-line);
  border-radius: 12px;
  background: #fbfcfd;
  color: #475467;
  font-size: 9px;
  font-weight: 800;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease, opacity 220ms ease;
}
.ce-ai-context {
  right: 72px;
  bottom: 34px;
  left: 72px;
  padding: 18px 20px;
  border: 1px solid rgba(229,0,99,.18);
  border-radius: 18px;
  background: #fff7fa;
  box-shadow: 0 14px 34px rgba(229,0,99,.06);
}
.ce-ai-context small { color: #a30049; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.ce-ai-context strong { display: block; margin-top: 6px; font-size: 21px; }
.ce-ai-context strong b { color: #98a2b3; text-decoration: line-through; text-decoration-thickness: 2px; }
.ce-ai-context strong em { color: var(--ce-pink); font-style: normal; }
.ce-ai-context > span { display: block; margin-top: 5px; color: #667085; font-size: 9px; }

.ce-ai-visual[data-ai-step="1"] .ce-ai-path--request,
.ce-ai-visual[data-ai-step="2"] .ce-ai-path--request,
.ce-ai-visual[data-ai-step="3"] .ce-ai-path--request { stroke: var(--ce-pink); animation: ceDash 1000ms linear infinite; }
.ce-ai-visual[data-ai-step="2"] .ce-ai-path--sources,
.ce-ai-visual[data-ai-step="3"] .ce-ai-path--sources { stroke: rgba(229,0,99,.6); animation: ceDash 1200ms linear infinite; }
.ce-ai-visual[data-ai-step="2"] .ce-ai-sources span:nth-child(2),
.ce-ai-visual[data-ai-step="2"] .ce-ai-sources span:nth-child(4),
.ce-ai-visual[data-ai-step="3"] .ce-ai-sources span:nth-child(2),
.ce-ai-visual[data-ai-step="3"] .ce-ai-sources span:nth-child(4) { border-color: var(--dr-pink-border); background: var(--ce-pink-soft); transform: translateX(-4px); }
.ce-ai-visual[data-ai-step="3"] .ce-ai-path--context { stroke: var(--ce-pink); animation: ceDash 900ms linear infinite; }
.ce-ai-visual[data-ai-step="3"] .ce-ai-context { animation: ceContextPop 700ms cubic-bezier(.22,1,.36,1) both; }
@keyframes ceContextPop { from { opacity: .45; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* More motion for policy + rationalisation ------------------------------- */
.ce-policy-pills b { transition: background 250ms ease, color 250ms ease, transform 250ms ease, box-shadow 250ms ease; }
.ce-policy-pills b.is-policy-active {
  background: var(--ce-pink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(229,0,99,.16);
}
.ce-targets div { transition: border-color 300ms ease, background 300ms ease, box-shadow 300ms ease, transform 300ms ease; }
.ce-targets .is-selected { transform: translateX(4px); }
.ce-policy-visual[data-policy-step="0"] .ce-upload-icon,
.ce-policy-visual[data-policy-step="1"] .ce-upload-icon,
.ce-policy-visual[data-policy-step="2"] .ce-upload-icon { animation: ceUploadPulse 1300ms ease-in-out infinite; }
@keyframes ceUploadPulse { 50% { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(229,0,99,.11); } }

.ce-migration-flow span { transition: color 260ms ease, border-color 260ms ease, background 260ms ease, transform 260ms ease; }
.ce-migration-flow .is-active { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(229,0,99,.16); }
.ce-migration-breakdown div { transition: background 260ms ease, border-color 260ms ease; }
.ce-migration-card:hover .ce-migration-breakdown div { border-color: rgba(255,255,255,.16); }

/* Family process component: same visual/behaviour as the other Engine pages */
.ce-process-family .process-node--email { top: 31%; left: 1.5%; }
.ce-process-family .process-node--content { top: 31%; left: 18%; right: auto; }
.ce-process-family .process-node--capture { top: 31%; left: 34.5%; }
.ce-process-family .process-node--match { top: 31%; left: 51%; }
.ce-process-family .process-node--accounts { top: 31%; left: 67.5%; }
.ce-process-family .process-node--integration { top: 31%; right: 1.5%; }
.ce-process-family .process-band--routing { right: 3%; bottom: 18%; left: 3%; }
.ce-process-family .process-band--cardio { top: 2.5%; right: 4%; left: 55%; }
.ce-process-family .process-node--content { border-color: var(--dr-pink-border); box-shadow: 0 12px 34px rgba(229,0,99,.08); }
.ce-process-family .process-node--content::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 14%;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(229,0,99,.09), transparent 68%);
  pointer-events: none;
}
.ce-process-family .process-node--content .process-node__icon { width: 56px; height: 56px; }
.ce-process-family .process-detail__note { color: #475467; }

/* ContentEngine logo is supplied artwork; do not recolour or filter. */
.content-engine-site img[src$="content.png"],
.content-engine-site .brand-lockup__corporate { filter: none !important; }

@media (max-width: 1180px) {
  .ce-insight-grid,
  .ce-ai-grid { grid-template-columns: 1fr; }
  .ce-index-demo,
  .ce-ai-visual { width: min(900px,100%); margin-inline: auto; }
  .ce-ai-copy { order: -1; }
}

@media (max-width: 900px) {
  .ce-index-demo { grid-template-columns: 1fr 1fr; }
  .ce-index-source { min-height: 250px; }
  .ce-index-result { grid-column: 1 / -1; min-height: 220px; }
  .ce-ai-visual { min-height: 600px; }
  .ce-ai-question { left: 24px; width: 220px; }
  .ce-ai-sources { right: 20px; }
  .ce-ai-context { right: 34px; left: 34px; }
}

@media (max-width: 700px) {
  .ce-insight-benefits { margin-top: 22px; }
  .ce-index-demo { grid-template-columns: 1fr; padding: 16px; }
  .ce-index-source { min-height: 220px; }
  .ce-index-levels { grid-template-columns: 1fr; }
  .ce-index-result { grid-column: auto; min-height: 230px; }
  .ce-ai-points { grid-template-columns: 1fr; }
  .ce-ai-visual { min-height: 720px; }
  .ce-ai-question { top: 24px; right: 24px; left: 24px; width: auto; }
  .ce-ai-engine { top: 160px; }
  .ce-ai-sources { top: 340px; right: 24px; left: 24px; grid-template-columns: 1fr 1fr; width: auto; }
  .ce-ai-context { right: 24px; bottom: 24px; left: 24px; }
  .ce-ai-visual > svg { display: none; }
  .ce-process-family .process-node--content,
  .ce-process-family .process-node--integration { margin-left: 0; width: 100%; }
  .ce-process-family .process-node--content::before,
  .ce-process-family .process-node--integration::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ce-stage-panel__visual.is-refreshing > *,
  .ce-stage-panel__visual.is-refreshing .ce-stage-repo-grid span,
  .ce-ui-demo.is-searching .ce-search-box > span:first-child,
  .ce-index-demo.is-index-refresh .ce-index-doc::after,
  .ce-ai-path,
  .ce-ai-visual[data-ai-step="3"] .ce-ai-context,
  .ce-policy-visual .ce-upload-icon { animation: none !important; }
  .ce-targets .is-selected,
  .ce-ai-sources span { transform: none !important; }
}
