/* NEXT product page - shell tokens + hero (740px). Body uses class "abm doceree-next-page" for shared ABM landing CSS. */
html,
body {
  margin: 0;
}
body.abm.doceree-next-page {
  overflow-x: hidden;
  color: #24253f;
  background: #ffffff;
  font-family: "Gilroy", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* RepTwin page tokens - headings + body copy */
  --heading-ink: #2f3147;
  --body: #5c5279;
  --p: #7e5fff;
  --ink2: #3d2f8a;
  --muted: #7f819d;
  --p-deep: #5c46d6;
  --p-mid: #9f85ff;
  --p-soft: #c9b8ff;
  --p-bg: #f3edff;
  --ink: #1c1d2e;
  --line: rgba(122, 95, 255, 0.14);
  --green: #12b76a;
  --green-bg: #e6f9f0;
  --pp-card-sh: 0 1px 2px rgba(28, 29, 46, 0.04), 0 2px 12px rgba(28, 29, 46, 0.045);
  --pp-card-sh-hover: 0 2px 8px rgba(122, 95, 255, 0.08), 0 1px 3px rgba(28, 29, 46, 0.04);
}
body.abm.doceree-next-page *,
body.abm.doceree-next-page *::before,
body.abm.doceree-next-page *::after {
  font-family: "Gilroy", system-ui, -apple-system, sans-serif !important;
}

/* Breadcrumb-only header (no main nav) */
.doceree-next-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  background: transparent;
  padding: 18px 24px 0;
  box-sizing: border-box;
}
.doceree-next-site-header .doceree-reptwin-context {
  max-width: 1360px;
  margin: 0 auto;
}
body.abm.doceree-next-page .doceree-next-site-header .doceree-reptwin-context-current {
  color: var(--ink2);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
}
.doceree-next-os-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p);
}

html.doceree-embed body.abm.doceree-next-page,
html.doceree-embed body {
  padding-bottom: 0 !important;
  overflow-x: hidden;
}
html.doceree-embed header.doceree-next-site-header {
  display: none !important;
}
html.doceree-embed body.abm.doceree-next-page footer.doceree-reptwin-marketing-footer {
  display: none !important;
}
html.doceree-embed .GlobalSearchDock-module__8fce4G__bottomDock,
html.doceree-embed #doceree-bottom-dock-root,
html.doceree-embed #global-dock-popup,
html.doceree-embed .GlobalSearchDock-module__8fce4G__dockPopup {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ─── NEXT hero - 740px, photo + ABM-aligned type ─── */
.doceree-next-page .next-hero-full {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: block;
  height: clamp(760px, calc(24vw + 500px), 1040px);
  min-height: 760px;
  max-height: 1040px;
  width: 100%;
  margin: 0;
  padding: 0 !important;
  background-color: #ede8ff !important;
  background-image: none !important;
  border-radius: 0 0 clamp(14px, 2.6vw, 22px) clamp(14px, 2.6vw, 22px);
  border: none;
  outline: none;
  box-shadow: none;
}
.doceree-next-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.doceree-next-hero-photo {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin-top: auto;
  border-radius: inherit;
  border: none;
  outline: none;
}
.doceree-next-hero-photo--mobile { display: none; }

/* mobile: use the dedicated portrait banner */
@media (max-width: 760px) {
  .doceree-next-page .next-hero-full,
  html.doceree-embed body.abm.doceree-next-page .next-hero-full {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 804 / 1436;
  }
  .doceree-next-hero-photo--desktop { display: none; }
  .doceree-next-hero-photo--mobile {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    margin-top: 0;
  }
}
.next-hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(32px + clamp(64px, 7.8vh, 88px) - 24px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(16px, 4vw, 24px);
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
html.doceree-embed body.abm.doceree-next-page .next-hero-inner {
  /* Clear the global fixed navbar + product-tabs stack (~152px) so the NEXT
     logo and headline don't render under them. */
  top: clamp(160px, 18vh, 192px);
  padding-left: 24px;
  padding-right: 24px;
}
.next-hero-logo {
  width: clamp(101px, 12.1vw, 154px);
  height: auto;
  display: block;
  margin: 0 auto 14px;
  object-fit: contain;
}
.next-hero-full h1 {
  margin: 10px 0 0;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  /* RepTwin `.hero-h1.reptwin-hero-title` - semibold, not extrabold */
  font-weight: 600;
  font-size: clamp(26px, 3.1vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1.16;
  text-align: center;
  text-wrap: balance;
  color: #2b2f4f;
}
.doceree-next-page .next-hero-full .abm-sub {
  font-weight: 400;
  line-height: 1.34;
  color: #6f7191;
}
.next-hero-full h1 .abm-hero-line {
  color: #2b2f4f;
}
.next-hero-full h1 .abm-hero-accent {
  background: linear-gradient(90deg, #7a5fff 0%, #8f6eff 45%, #5f7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

html.doceree-embed body.abm.doceree-next-page .next-hero-full {
  height: clamp(760px, calc(24vw + 500px), 1040px) !important;
  min-height: 760px !important;
  max-height: 1040px !important;
  width: 100%;
  margin: 0;
  padding: 0 !important;
  border-radius: 22px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Clinical intent band - no lavender fill; quote carries the accent */
.next-context-section {
  margin-top: 32px;
  background: transparent;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}
.next-context-inner {
  max-width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}
.next-context-headline {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--heading-ink);
  text-wrap: balance;
}
.next-context-headline-dark {
  color: var(--heading-ink);
}
.next-context-headline-accent {
  background: linear-gradient(90deg, #7a5fff 0%, #8f6eff 45%, #5f7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.next-context-body {
  margin: clamp(16px, 2.5vw, 22px) auto 0;
  max-width: 46em;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.75;
  color: var(--body);
}
/* Quote card - clean white panel with brand-gradient italic text */
.next-context-quote-wrap {
  position: relative;
  margin: clamp(32px, 5vw, 50px) auto 0;
  display: block;
  width: 100%;
  max-width: min(760px, 100%);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(46px, 5.6vw, 64px) clamp(20px, 4vw, 40px) 0;
  box-shadow: none;
  z-index: 0;
}
.next-context-quote-wrap::before {
  content: "\201C";
  position: absolute;
  top: clamp(6px, 1.6vw, 16px);
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 86px);
  line-height: 1;
  background: linear-gradient(120deg, #7a5fff 0%, #5f7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
}
.next-context-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(18px, 2.05vw, 24px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #7a5fff 0%, #8f6eff 45%, #5f7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}
@media (max-width: 560px) {
  .next-context-quote-wrap {
    padding: clamp(24px, 5vw, 30px) clamp(22px, 4.5vw, 30px);
  }
}

/* Five-up capability chips */
.doceree-next-page .abm-brand-desc {
  color: var(--body);
  font-weight: 500;
}
.doceree-next-page .abm-chip p {
  font-weight: 500;
  color: var(--body);
}
.doceree-next-page .abm-chips {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .doceree-next-page .abm-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .doceree-next-page .abm-chips {
    grid-template-columns: 1fr;
  }
  .next-hero-inner {
    top: calc(24px + clamp(54px, 11vw, 84px) - 24px);
  }
  html.doceree-embed body.abm.doceree-next-page .next-hero-inner {
    top: clamp(132px, 20vh, 152px);
  }
}

/* Feature rows - taller cards + spacing (NEXT deep-dive only; does not affect ABM page) */
.doceree-next-page .abm-feat-wrap {
  gap: clamp(22px, 3vw, 38px);
}
.doceree-next-page .abm-feat-row {
  min-height: clamp(300px, 32vw, 440px);
  padding-block: clamp(28px, 3.6vw, 46px);
  padding-inline: clamp(18px, 2.6vw, 36px) clamp(22px, 3.8vw, 52px);
  align-items: stretch;
}
.doceree-next-page .abm-feat-text > p:not(.next-feat-motto) {
  margin-bottom: clamp(18px, 2vw, 24px);
}
.doceree-next-page .abm-feat-points {
  gap: 12px;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.doceree-next-page .abm-feat-visual {
  min-height: clamp(232px, 27vw, 360px);
  padding: clamp(22px, 3.2vw, 38px);
}

/* POC-style PNG columns - gutters + sizing mirror poc-landing `.fphoto` / `.fcard-visual` */
.doceree-next-page .abm-feat-visual.next-feat-visual--poc {
  background: transparent !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
.doceree-next-page .abm-feat-row--rev .abm-feat-visual.next-feat-visual--poc {
  padding: clamp(10px, 1.6vw, 18px) 0 clamp(10px, 1.6vw, 18px) clamp(12px, 2vw, 20px) !important;
}
.doceree-next-page .abm-feat-row:not(.abm-feat-row--rev) .abm-feat-visual.next-feat-visual--poc {
  padding: clamp(10px, 1.6vw, 18px) clamp(12px, 2vw, 20px) clamp(10px, 1.6vw, 18px) 0 !important;
}
.doceree-next-page .next-feat-visualShell {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.doceree-next-page .next-feat-visual-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: clamp(12px, 1.8vw, 18px);
  object-fit: contain;
}
@media (max-width: 960px) {
  .doceree-next-page .abm-feat-row--rev .abm-feat-visual.next-feat-visual--poc,
  .doceree-next-page .abm-feat-row:not(.abm-feat-row--rev) .abm-feat-visual.next-feat-visual--poc {
    padding: clamp(12px, 3vw, 18px) !important;
  }
}

.doceree-next-page .abm-fp {
  gap: 10px;
  line-height: 1.45;
}

/* Feature row indices + eyebrow - POC `.ftag` rhythm (soft caps, medium weight) */
.doceree-next-page .next-feat-num {
  font-size: 11px;
  font-weight: 500;
  color: rgba(106, 63, 216, 0.45);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.doceree-next-page .next-feat-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-mid);
}
.doceree-next-page .next-feat-eyebrow-line {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--p);
  flex-shrink: 0;
}
/*
 * Deep-dive titles - POC `.ftitle` (medium weight + purple, not ultra-bold black).
 */
.doceree-next-page .abm-section--targeting-band .abm-feat-text h3 {
  margin: 0 0 clamp(10px, 1.5vw, 14px);
  font-size: clamp(21px, 2.35vw, 30px);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.18;
  color: #6a2fd4;
}
.doceree-next-page .next-feat-title--purple {
  margin: 0 0 clamp(10px, 1.5vw, 14px);
  font-size: clamp(21px, 2.35vw, 30px);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.18;
  color: #6a2fd4;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
}
.doceree-next-page .next-feat-arrow {
  color: #6a3fd8;
  font-weight: 500;
  margin: 0 3px;
}
/* Body copy - POC `.fdesc` */
.doceree-next-page .abm-section--targeting-band .abm-feat-text > p:not(.next-feat-motto) {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--body);
}
/* Bullet rows - POC `.fp-k` / `.fp-detail` mix */
.doceree-next-page .abm-section--targeting-band .abm-feat-text .abm-fp {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.52;
  color: var(--body);
}
/* All deep-dive “Learn more” pills - RepTwin showcase padding (overrides shared `.abm-feat-text .abm-showcase-cta` shrink) */
.doceree-next-page .abm-section--targeting-band .abm-feat-text .abm-showcase-cta {
  padding: 12px 22px 12px 24px !important;
  font-size: 14px !important;
  gap: 10px !important;
}
.doceree-next-page .abm-section--targeting-band .abm-feat-text .abm-fp strong {
  font-weight: 500;
  color: #3d3558;
}
.doceree-next-page .abm-section--targeting-band .abm-feat-text .abm-fp-ico {
  background: #f4effe;
  border-color: var(--line);
}
/*
 * “Solid” CTAs on cards 01-02 - use RepTwin showcase outline pill, not filled gradient.
 * Mirrors `body.doceree-reptwin-page .doceree-reptwin-showcase-cta`.
 */
.doceree-next-page .abm-feat-text .abm-showcase-cta.next-feat-cta--solid {
  padding: 12px 22px 12px 24px;
  font-size: 14px;
  gap: 10px;
  background: linear-gradient(96deg, rgba(122, 95, 255, 0.12), rgba(187, 118, 255, 0.08)) !important;
  border: 1.5px solid rgba(122, 95, 255, 0.38) !important;
  color: var(--p) !important;
  box-shadow: 0 4px 14px rgba(122, 95, 255, 0.1);
}
.doceree-next-page .abm-feat-text .abm-showcase-cta.next-feat-cta--solid:hover {
  background: #fff !important;
  border-color: var(--p) !important;
  color: var(--ink2) !important;
  box-shadow: 0 10px 26px rgba(122, 95, 255, 0.18);
  transform: translateX(3px);
}
.doceree-next-page .abm-feat-text .abm-showcase-cta.next-feat-cta--solid svg {
  stroke: currentColor !important;
  transition: transform 0.22s ease;
}
.doceree-next-page .abm-feat-text .abm-showcase-cta.next-feat-cta--solid:hover svg {
  transform: translateX(5px);
}
.doceree-next-page .next-feat-rt-float .next-feat-rt-sub {
  color: var(--p);
  font-weight: 600;
}

/* Card 02 - Clinical Intent (patent badge, vanity vs NEXT table, motto) */
.doceree-next-page .next-patent-float strong {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--p);
  line-height: 1;
}
.doceree-next-page .next-patent-float span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.doceree-next-page .next-feat-motto {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: clamp(8px, 1.2vw, 12px) 0 clamp(18px, 2.2vw, 24px);
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 600;
  font-style: italic;
  color: var(--p-deep);
  line-height: 1.5;
}
.doceree-next-page .next-feat-motto em {
  font-style: italic;
}
.doceree-next-page .next-cmp-table {
  width: 100%;
  max-width: 400px;
  margin-top: auto;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 2.4px solid #f4edff;
  box-shadow: 0 8px 22px rgba(122, 95, 255, 0.07);
}
.doceree-next-page .next-cmp-thead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.doceree-next-page .next-cmp-pill {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 8px;
  border-radius: 9px;
  line-height: 1.25;
}
.doceree-next-page .next-cmp-pill--muted {
  background: #e8e8ef;
  color: var(--ink2);
}
.doceree-next-page .next-cmp-pill--brand {
  background: var(--p);
  color: #fff;
  box-shadow: 0 4px 12px rgba(122, 95, 255, 0.25);
}
.doceree-next-page .next-cmp-tbody {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doceree-next-page .next-cmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.doceree-next-page .next-cmp-cell {
  font-size: 10px;
  font-weight: 600;
  padding: 11px 10px;
  border-radius: 9px;
  line-height: 1.35;
}
.doceree-next-page .next-cmp-cell--a {
  background: #efeff4;
  color: var(--ink2);
}
.doceree-next-page .next-cmp-cell--b {
  background: #eee8ff;
  color: var(--p-deep);
  font-weight: 700;
}

/* ─── Clinical Intent Triggers comparison table (replaces bullet list) ─── */
.doceree-next-page .next-trig-table {
  width: 100%;
  margin: clamp(8px, 1.2vw, 14px) 0 clamp(18px, 2.2vw, 24px);
  background: #fff;
  border: 1px solid rgba(122, 95, 255, 0.14);
  border-radius: 16px;
  padding: clamp(12px, 1.4vw, 16px);
  box-shadow: 0 8px 24px rgba(122, 95, 255, 0.07);
}
.doceree-next-page .next-trig-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 26px);
  margin-bottom: 6px;
  padding: 0 clamp(6px, 1vw, 12px);
}
.doceree-next-page .next-trig-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink2);
}
.doceree-next-page .next-trig-pill-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.62;
}
.doceree-next-page .next-trig-pill--brand {
  color: var(--p);
}
/* Body: no filled cells — columns split by a faded vertical hairline,
   rows split by faded horizontal hairlines. Lines never touch (each fades
   to transparent before reaching the edges / each other). */
.doceree-next-page .next-trig-body {
  position: relative;
  display: block;
}
.doceree-next-page .next-trig-body::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(122, 95, 255, 0.26) 16%,
    rgba(122, 95, 255, 0.26) 84%,
    transparent 100%
  );
}
.doceree-next-page .next-trig-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.doceree-next-page .next-trig-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: clamp(8px, 1.4vw, 16px);
  right: clamp(8px, 1.4vw, 16px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(122, 95, 255, 0.16) 12%,
    rgba(122, 95, 255, 0.16) 88%,
    transparent 100%
  );
}
.doceree-next-page .next-trig-cell {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  line-height: 1.4;
  padding: clamp(14px, 1.8vw, 18px) clamp(14px, 2vw, 24px);
}
.doceree-next-page .next-trig-cell--a {
  color: var(--ink2);
  font-weight: 500;
}
.doceree-next-page .next-trig-cell--b {
  color: var(--p-deep);
  font-weight: 600;
}
@media (max-width: 480px) {
  .doceree-next-page .next-trig-head,
  .doceree-next-page .next-trig-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .doceree-next-page .next-trig-body::before {
    display: none;
  }
  .doceree-next-page .next-trig-cell {
    padding: 8px clamp(10px, 3vw, 16px);
  }
  .doceree-next-page .next-trig-cell--a {
    padding-bottom: 2px;
  }
  .doceree-next-page .next-trig-cell--b {
    padding-top: 2px;
  }
}

.doceree-next-page .next-audience-feed {
  width: 100%;
  max-width: 380px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doceree-next-page .next-audience-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  border: 2.4px solid #f4edff;
  box-shadow: 0 6px 18px rgba(122, 95, 255, 0.07);
}
.doceree-next-page .next-audience-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3edff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--p);
}
.doceree-next-page .next-audience-row-text {
  flex: 1;
  min-width: 0;
}
.doceree-next-page .next-audience-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.doceree-next-page .next-audience-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}
.doceree-next-page .next-audience-pill {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.doceree-next-page .next-audience-pill--live {
  background: #e6f4ea;
  color: #15803d;
}
.doceree-next-page .next-audience-pill--weekly {
  background: #eee8ff;
  color: var(--p-deep);
}
.doceree-next-page .abm-feat-visual.next-feat-visual--stack {
  align-items: stretch;
  justify-content: space-between;
  flex-direction: column;
}
.doceree-next-page .next-scenario-stack {
  width: 100%;
  max-width: 340px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doceree-next-page .next-sc-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 2.4px solid #f4edff;
  box-shadow: 0 6px 18px rgba(122, 95, 255, 0.06);
}
.doceree-next-page .next-sc-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 6px;
}
.doceree-next-page .next-sc-msg {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink2);
}
.doceree-next-page .next-feat-mlr-badge .next-mlr-badge-txt {
  font-size: 11px;
  font-weight: 800;
  color: var(--p);
  letter-spacing: 0.02em;
}
.doceree-next-page .next-stack-grid.abm-pub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin-top: auto;
  padding: 16px 0 0;
  justify-items: stretch;
}
.doceree-next-page .next-stack-grid .abm-pub-card {
  min-width: 0;
}
.doceree-next-page .next-pub-emoji {
  display: block;
  font-size: 20px;
  line-height: 1;
  margin: 0 auto 6px;
}

/* “The Network Behind the Intelligence” - Impact-style stat band */
.doceree-next-page .next-network-sec {
  background: #f4f3fb;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  width: 100%;
  border-top: 1px solid rgba(122, 95, 255, 0.06);
  border-bottom: 1px solid rgba(122, 95, 255, 0.06);
}
.doceree-next-page .next-network-hd {
  text-align: center;
  max-width: 920px;
  margin: 0 auto clamp(40px, 5.5vw, 60px);
}
.doceree-next-page .next-network-tag {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-mid);
}
.doceree-next-page .next-network-hd h2 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--heading-ink);
}

/* Divider-separated column band — 1px gaps reveal the grid background as
   hairline dividers between every cell (vertical, and horizontal on wrap). */
.doceree-next-page .next-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: rgba(122, 95, 255, 0.16);
  border-radius: 16px;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
}
.doceree-next-page .next-mcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: #f4f3fb;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(20px, 2.6vw, 30px) clamp(10px, 1.4vw, 18px);
  transition: background-color 0.24s ease;
}
.doceree-next-page .next-mcard-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  color: #7c5de8;
  transition: color 0.24s ease, transform 0.24s ease;
}
.doceree-next-page .next-mcard-ico svg {
  width: 36px;
  height: 36px;
}
.doceree-next-page .next-mcard-val {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 550;
  letter-spacing: -0.03em;
  color: #2a1f72;
  line-height: 1.02;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  transition: color 0.24s ease, transform 0.24s ease;
}
.doceree-next-page .next-mcard-title {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.01em;
  color: #7169b8;
  transition: color 0.24s ease;
}
.doceree-next-page .next-mcard:hover {
  background: #ffffffc2;
}
.doceree-next-page .next-mcard:hover .next-mcard-ico {
  color: #6f51ea;
  transform: translateY(-1px) scale(1.04);
}
.doceree-next-page .next-mcard:hover .next-mcard-val {
  color: #271f88;
  transform: translateY(-1px);
}
.doceree-next-page .next-mcard:hover .next-mcard-title {
  color: #6153ad;
}
.doceree-next-page .next-mcard-desc {
  margin: 5px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .doceree-next-page .next-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .doceree-next-page .next-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ─── NEXT Metrics vs Traditional (comparison) ─── */
.doceree-next-page .next-mcompare-sec {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  background: #fff;
}
.doceree-next-page .next-mcompare-hd {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}
.doceree-next-page .next-mcompare-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-mid);
}
.doceree-next-page .next-mcompare-tag-line {
  width: clamp(36px, 8vw, 52px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(159, 133, 255, 0.85));
}
.doceree-next-page .next-mcompare-tag-line:last-of-type {
  background: linear-gradient(90deg, rgba(159, 133, 255, 0.85), transparent);
}
.doceree-next-page .next-mcompare-hd h2 {
  margin: 0;
  font-size: clamp(24px, 2.85vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--heading-ink);
}
.doceree-next-page .next-mcompare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  max-width: 940px;
  margin: 0 auto;
}
.doceree-next-page .next-mcompare-card {
  border-radius: 18px;
  border: 1.5px solid rgba(122, 95, 255, 0.12);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--pp-card-sh);
}
.doceree-next-page .next-mcompare-card-h {
  text-align: center;
  padding: 13px 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.doceree-next-page .next-mcompare-card--trad .next-mcompare-card-h {
  background: #ece8fb;
  color: var(--ink2);
}
.doceree-next-page .next-mcompare-card--next .next-mcompare-card-h {
  background: var(--p);
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.doceree-next-page .next-mcompare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doceree-next-page .next-mcompare-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-top: 1px solid #e8e8f0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--body);
}
.doceree-next-page .next-mcompare-card--next .next-mcompare-list li {
  color: var(--heading-ink);
}
.doceree-next-page .next-mcompare-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doceree-next-page .next-mcompare-ico--muted {
  border: 1.6px solid rgba(126, 95, 255, 0.38);
  color: var(--p-mid);
  background: #faf8ff;
}
.doceree-next-page .next-mcompare-ico--brand {
  border: 1.6px solid var(--p);
  color: var(--p);
  background: #f3edff;
}
@media (max-width: 720px) {
  .doceree-next-page .next-mcompare-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Everything else NEXT brings - accordion ─── */
.doceree-next-page .next-brings-sec {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #f3efff 42%, #e6e0ff 100%);
}
.doceree-next-page .next-brings-hd {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}
.doceree-next-page .next-brings-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-mid);
}
.doceree-next-page .next-brings-hd h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.9vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading-ink);
}
.doceree-next-page .next-brings-sub {
  margin: 0;
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--body);
}
.doceree-next-page .next-acc-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.doceree-next-page .next-acc-card {
  border-radius: 18px;
  background: #fff;
  border: 2px solid rgba(122, 95, 255, 0.12);
  box-shadow: 0 4px 18px rgba(122, 95, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.doceree-next-page .next-acc-card.is-open {
  border-color: rgba(122, 95, 255, 0.42);
  box-shadow: 0 10px 32px rgba(122, 95, 255, 0.12);
}
.doceree-next-page .next-acc-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: clamp(18px, 2.5vw, 22px) clamp(18px, 2.5vw, 24px);
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
  color: inherit;
  box-sizing: border-box;
}
.doceree-next-page .next-acc-trigger:focus-visible {
  outline: 2px solid var(--p);
  outline-offset: 2px;
}
.doceree-next-page .next-acc-ico-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ede6ff;
  color: var(--p);
}
.doceree-next-page .next-acc-card.is-open .next-acc-ico-wrap {
  background: var(--p);
  color: #fff;
}
.doceree-next-page .next-acc-title {
  flex: 1;
  min-width: 0;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading-ink);
}
.doceree-next-page .next-acc-card.is-open .next-acc-title {
  color: var(--p);
}
.doceree-next-page .next-acc-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ede6ff;
  color: var(--p-deep);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.doceree-next-page .next-acc-card.is-open .next-acc-toggle {
  background: var(--p);
  color: #fff;
}
.doceree-next-page .next-acc-card.is-open .next-acc-toggle svg {
  transform: rotate(90deg);
}
@media (prefers-reduced-motion: reduce) {
  .doceree-next-page .next-acc-toggle svg {
    transition: none;
  }
}
.doceree-next-page .next-acc-panel {
  display: none;
  padding: 0 clamp(18px, 2.5vw, 24px) clamp(20px, 2.8vw, 26px);
  padding-left: clamp(78px, 18vw, 92px);
}
.doceree-next-page .next-acc-card.is-open .next-acc-panel {
  display: block;
}
.doceree-next-page .next-acc-panel p {
  margin: 0;
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--body);
  max-width: 54em;
}
@media (max-width: 520px) {
  .doceree-next-page .next-acc-panel {
    padding-left: clamp(18px, 4vw, 24px);
  }
}

/* ─── Bottom CTA - light gradient that merges into the section above ─── */
.doceree-next-page .next-final-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e6e0ff 0%, #f3efff 45%, #ffffff 100%) !important;
  background-image: none !important;
  padding: clamp(76px, 11vw, 120px) clamp(22px, 5vw, 48px) !important;
}
.doceree-next-page .next-final-banner h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500 !important;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--heading-ink) !important;
  text-shadow: none;
}
.doceree-next-page .next-final-banner .abm-final-cta-sub {
  position: relative;
  z-index: 1;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  max-width: min(38em, 92%) !important;
  color: var(--body) !important;
  text-shadow: none;
}
.doceree-next-page .next-final-banner .abm-final-cta-btns {
  position: relative;
  z-index: 1;
}
.doceree-next-page .next-final-banner .abm-final-cta-btn--solid {
  background: var(--p) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(122, 95, 255, 0.32) !important;
}
.doceree-next-page .next-final-banner .abm-final-cta-btn--solid:hover {
  background: #6b4ed8 !important;
  box-shadow: 0 14px 32px rgba(122, 95, 255, 0.4) !important;
}
.doceree-next-page .next-final-banner .abm-final-cta-btn--ghost {
  border: 1.5px solid rgba(122, 95, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  color: var(--p-deep) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.doceree-next-page .next-final-banner .abm-final-cta-btn--ghost:hover {
  border-color: var(--p) !important;
  background: #fff !important;
}

/* ─── Hero - dual CTA row (primary + secondary) ─── */
.doceree-next-page .next-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.doceree-next-page .abm-cta-pill--ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(186, 164, 240, 0.85);
  box-shadow: 0 4px 14px rgba(126, 95, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.doceree-next-page .abm-cta-pill--ghost .abm-cta-icon {
  width: 28px;
  height: 28px;
  background: #9f7df4;
  color: #fff;
}

/* ─── Reusable brand-gradient highlight for section heading key words ─── */
.doceree-next-page .next-grad {
  background: linear-gradient(90deg, #7a5fff 0%, #8f6eff 45%, #5f7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ─── Shared section header (used by first-party + delivers) ─── */
.doceree-next-page .next-sechd {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(32px, 4.5vw, 48px);
}
.doceree-next-page .next-sechd-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-mid);
}
.doceree-next-page .next-sechd h2 {
  margin: 0;
  font-size: clamp(24px, 2.9vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading-ink);
}
.doceree-next-page .next-sechd p {
  margin: clamp(14px, 2vw, 18px) auto 0;
  max-width: 46em;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--body);
}
.doceree-next-page .next-sechd p.next-sechd-em {
  margin-top: 10px;
  font-weight: 600;
  color: var(--p-deep);
}

/* ─── "The shift" - eyebrow + 80% stat callout ─── */
.doceree-next-page .next-context-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-mid);
}
.doceree-next-page .next-statcallout {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 40px);
  text-align: left;
  max-width: 760px;
  margin: clamp(30px, 4.2vw, 46px) auto 0;
  padding: clamp(24px, 3.4vw, 36px) clamp(28px, 4vw, 44px);
  background:
    radial-gradient(135% 150% at 0% 0%, rgba(122, 95, 255, 0.1) 0%, rgba(122, 95, 255, 0) 54%),
    #ffffff;
  border: 1px solid rgba(122, 95, 255, 0.14);
  border-radius: clamp(20px, 2.4vw, 26px);
  box-shadow: 0 18px 46px rgba(122, 95, 255, 0.13);
}
.doceree-next-page .next-statcallout--center {
  justify-content: center;
}
.doceree-next-page .next-statcallout-num {
  flex-shrink: 0;
  font-size: clamp(42px, 6.4vw, 66px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--p);
}
.doceree-next-page .next-statcallout-text {
  padding-left: clamp(22px, 3.2vw, 38px);
  border-left: 1.5px solid rgba(122, 95, 255, 0.2);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--body);
}
.doceree-next-page .next-statcallout-src {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-mid);
}
@media (max-width: 540px) {
  .doceree-next-page .next-statcallout {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .doceree-next-page .next-statcallout-text {
    text-align: center;
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1.5px solid rgba(122, 95, 255, 0.2);
  }
}

/* ─── "From signal to outcome" - 6-step loop ─── */
.doceree-next-page .next-sig-sec {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: #fafafc;
  box-sizing: border-box;
  border-top: 1px solid rgba(122, 95, 255, 0.06);
  border-bottom: 1px solid rgba(122, 95, 255, 0.06);
}
.doceree-next-page .next-sig-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}
.doceree-next-page .next-sig-intro h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading-ink);
}
.doceree-next-page .next-sig-intro > p {
  margin: clamp(14px, 2vw, 18px) auto 0;
  max-width: 42em;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--body);
}
.doceree-next-page .next-loop-kicker {
  display: inline-block;
  margin: clamp(26px, 3.6vw, 40px) 0 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(96deg, rgba(122, 95, 255, 0.12), rgba(187, 118, 255, 0.08));
  border: 1.5px solid rgba(122, 95, 255, 0.38);
  box-shadow: 0 4px 14px rgba(122, 95, 255, 0.1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p);
}
.doceree-next-page .next-loop-title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--p);
}
.doceree-next-page .next-loop-sub {
  margin: 5px 0 0;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  color: var(--muted);
}
.doceree-next-page .next-loop-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 32px);
  max-width: 880px;
  margin: 0 auto;
}
.doceree-next-page .next-loop-card {
  --loop-gap: clamp(22px, 3vw, 32px);
  --loop-node: 46px;
  --loop-pad-y: clamp(16px, 2vw, 22px);
  --loop-pad-x: clamp(18px, 2.4vw, 28px);
  position: relative;
  display: grid;
  grid-template-columns: var(--loop-node) minmax(150px, 220px) 1fr;
  column-gap: clamp(16px, 2vw, 26px);
  align-items: start;
  background: #fff;
  border: 1px solid rgba(122, 95, 255, 0.12);
  border-radius: 16px;
  padding: var(--loop-pad-y) var(--loop-pad-x);
  box-shadow: var(--pp-card-sh);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.doceree-next-page .next-loop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(122, 95, 255, 0.1);
  border-color: rgba(122, 95, 255, 0.28);
}
/* vertical progress line connecting each node to the next (drops from the
   circle, through the gap between cards, into the next card's circle) */
.doceree-next-page .next-loop-card:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(var(--loop-pad-y) + var(--loop-node) / 2);
  left: calc(var(--loop-pad-x) + var(--loop-node) / 2);
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + var(--loop-gap));
  background: linear-gradient(180deg, rgba(122, 95, 255, 0.55) 0%, rgba(122, 95, 255, 0.28) 100%);
  z-index: 0;
}
/* glowing pulse that travels down the line, segment after segment */
.doceree-next-page .next-loop-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--loop-pad-x) + var(--loop-node) / 2);
  top: calc(var(--loop-pad-y) + var(--loop-node) / 2 - 28px);
  width: 4px;
  height: 56px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(155, 102, 255, 0) 0%, rgba(155, 102, 255, 0.95) 52%, #7b61ff 64%, rgba(123, 97, 255, 0) 100%);
  box-shadow: 0 0 12px rgba(123, 97, 255, 0.55);
  z-index: 0;
  pointer-events: none;
  animation: nextLoopFlow 3.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
.doceree-next-page .next-loop-card:nth-of-type(1)::after { animation-delay: 0s; }
.doceree-next-page .next-loop-card:nth-of-type(2)::after { animation-delay: 0.55s; }
.doceree-next-page .next-loop-card:nth-of-type(3)::after { animation-delay: 1.1s; }
.doceree-next-page .next-loop-card:nth-of-type(4)::after { animation-delay: 1.65s; }
.doceree-next-page .next-loop-card:nth-of-type(5)::after { animation-delay: 2.2s; }
@keyframes nextLoopFlow {
  0% { top: calc(var(--loop-pad-y) + var(--loop-node) / 2 - 28px); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(var(--loop-pad-y) + var(--loop-node) / 2 + 100% + var(--loop-gap) - 28px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .doceree-next-page .next-loop-card:not(:last-child)::after {
    animation: none;
    opacity: 0;
  }
}
.doceree-next-page .next-loop-num {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  width: var(--loop-node);
  height: var(--loop-node);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: #6a4bd4;
  background: #fff;
  border: 1.5px solid rgba(123, 97, 255, 0.5);
  box-shadow: 0 4px 14px rgba(123, 97, 255, 0.18), 0 0 0 6px rgba(123, 97, 255, 0.06);
  margin: 0;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.doceree-next-page .next-loop-card:hover .next-loop-num {
  transform: scale(1.06);
  background: linear-gradient(135deg, #8b74ff, #7b61ff 55%, #9b66ff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(123, 97, 255, 0.34), 0 0 0 6px rgba(123, 97, 255, 0.1);
}
.doceree-next-page .next-loop-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--heading-ink);
  transition: color 0.25s ease;
}
.doceree-next-page .next-loop-card:hover h3 {
  color: var(--p);
}
.doceree-next-page .next-loop-card p {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--body);
}
@media (max-width: 620px) {
  .doceree-next-page .next-loop-card {
    grid-template-columns: var(--loop-node) 1fr;
    column-gap: 16px;
  }
  .doceree-next-page .next-loop-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .doceree-next-page .next-loop-card p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 4px;
  }
}

/* ─── First-party + delivers section wrappers + chip grid modifiers ─── */
.doceree-next-page .next-fp-sec {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: #fff;
  box-sizing: border-box;
}
.doceree-next-page .next-deliver-sec {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, #ffffff 0%, #f3efff 45%, #e6e0ff 100%);
  box-sizing: border-box;
}
.doceree-next-page .abm-chips.next-chips-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
}
@media (max-width: 860px) {
  .doceree-next-page .abm-chips.next-chips-3 {
    grid-template-columns: 1fr;
  }
}

/* ─── "Meet HCPs where they are" - channels grid ─── */
.doceree-next-page .next-ch-sec {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: #fafafc;
  box-sizing: border-box;
  border-top: 1px solid rgba(122, 95, 255, 0.06);
  border-bottom: 1px solid rgba(122, 95, 255, 0.06);
}
.doceree-next-page .next-ch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  max-width: 1040px;
  margin: 0 auto;
}
.doceree-next-page .next-ch-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(122, 95, 255, 0.1);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 22px);
  box-shadow: var(--pp-card-sh);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.doceree-next-page .next-ch-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(122, 95, 255, 0.1);
  border-color: rgba(122, 95, 255, 0.26);
}
.doceree-next-page .next-ch-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3edff;
  color: var(--p);
  border: 1px solid var(--line);
}
.doceree-next-page .next-ch-ico svg {
  width: 22px;
  height: 22px;
}
.doceree-next-page .next-ch-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-ink);
}
.doceree-next-page .next-ch-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--body);
}
.doceree-next-page .next-ch-note {
  display: block;
  max-width: 760px;
  margin: clamp(26px, 3.6vw, 36px) auto 0;
  padding: 16px 22px;
  background: #f3edff;
  border: 1px dashed rgba(122, 95, 255, 0.34);
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--p-deep);
  text-align: center;
}
@media (max-width: 860px) {
  .doceree-next-page .next-ch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .doceree-next-page .next-ch-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Patented section - closing line under accordion ─── */
.doceree-next-page .next-acc-foot {
  text-align: center;
  max-width: 640px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--p-deep);
}

/* ─── Measurement - intro paragraph under header ─── */
.doceree-next-page .next-mcompare-intro {
  margin: clamp(14px, 2vw, 18px) auto 0;
  max-width: 46em;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--body);
}

/* ─── Unified eyebrow styling — every section eyebrow matches the
   "The problem with omnichannel today" reference: 11px, --p-mid, 14px gap.
   High-specificity selectors are required to beat the section paragraph
   rules (.next-sechd p, .next-sig-intro > p, .abm-feat-text > p). ─── */
.doceree-next-page .next-context-eyebrow,
.doceree-next-page .next-brings-eyebrow,
.doceree-next-page .next-network-tag,
.doceree-next-page .next-mcompare-tag,
.doceree-next-page .next-sechd p.next-sechd-eyebrow,
.doceree-next-page .abm-section--targeting-band .abm-feat-text p.next-feat-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-mid);
  margin-bottom: 14px;
}
/* The loop kicker is a pill tag sitting 18px above the "From signal to outcome" title. */
.doceree-next-page .next-sig-intro p.next-loop-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 18px;
}
/* Keep the subline tight under the "From signal to outcome" title. */
.doceree-next-page .next-sig-intro p.next-loop-sub {
  margin-top: 5px;
}
