/* ============================================================
   Stratus Strata — Data Cleanser page styles
   Page-scoped blocks (pains grid, merge micro-animation stage,
   pricing strip). All values are tokens from tokens.css.
   Loaded only on the data-cleanser page (functions.php).
   ============================================================ */

/* ---------- Cost-of-duplicates pain grid ---------- */
.dc-pains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.dc-pain {
  background: var(--cloud-25);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  font-family: var(--font-body);
  transition: var(--transition-hover);
}
.dc-pain:hover {
  box-shadow: var(--shadow-raised);
  transform: translateY(-2px);
}
.dc-pain__chip {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dc-pain strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-heading);
  color: var(--text-display);
  margin-bottom: 6px;
}
.dc-pain p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Benefit list chips: product accent (outranks the .why-item .chip default) */
.why-item .chip.chip--dc {
  background: var(--dc-100);
  color: var(--dc-600);
}

/* ---------- Dedup merge micro-animation ---------- */
.dc-merge {
  font-family: var(--font-body);
  /* Spread-out duplicate cards must never widen the page on small screens. */
  overflow: hidden;
}
.dc-merge__stage {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dc-merge__card {
  position: absolute;
  width: min(390px, 94%);
  background: var(--surface-card);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  padding: 16px 18px;
}
.dc-merge__card--merged {
  box-shadow: var(--shadow-floating);
  border-color: var(--dc-300);
}
.dc-merge__cardhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.dc-merge__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--weight-bold);
  background: var(--cloud-100);
  color: var(--cloud-700);
}
.dc-merge__avatar--merged {
  background: var(--dc-100);
  color: var(--dc-700);
}
.dc-merge__name {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: 15px;
  color: var(--ink-900);
  margin-right: auto;
}
.dc-merge__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
}
.dc-merge__row code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  width: 64px;
  flex: none;
}
.dc-merge__row span:not(.keep) {
  font-weight: var(--weight-semibold);
  color: var(--ink-800);
}
.dc-merge__row .is-missing {
  color: var(--text-faint);
  font-weight: var(--weight-regular);
}
.dc-merge__row .keep {
  margin-left: auto;
}
.dc-merge__pulse {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--dc-300);
  opacity: 0;
  pointer-events: none;
}

/* Static composite (no JS / reduced motion / GSAP missing): duplicates
   peek out behind the merged record so the story still reads. */
.dc-merge:not(.dc-merge--armed) .dc-merge__card--a {
  transform: translate(-13%, -10%) rotate(-3deg) scale(0.94);
  opacity: 0.45;
}
.dc-merge:not(.dc-merge--armed) .dc-merge__card--b {
  transform: translate(13%, 10%) rotate(3deg) scale(0.94);
  opacity: 0.45;
}
.dc-merge:not(.dc-merge--armed) .dc-merge__card--merged {
  position: relative;
}

.dc-merge__caption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 18px auto 0;
  max-width: 360px;
  text-wrap: pretty;
}

/* ---------- Pricing strip ---------- */
.dc-pricing {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-raised);
  padding: 48px 56px;
  font-family: var(--font-body);
}
.dc-pricing__band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--dc-500);
}
.dc-pricing__amount {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.dc-pricing__value {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-5xl);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--text-display);
}
.dc-pricing__unit {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.dc-pricing__note {
  font-size: var(--text-md);
  line-height: var(--leading-body);
  color: var(--text-muted);
  margin: 14px 0 0;
  max-width: 480px;
  text-wrap: pretty;
}
.dc-pricing__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.dc-pricing__appexchange {
  display: flex;
  justify-content: center;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-hairline);
}

/* ---------- Hero app mock — real Data Cleanser UI ----------
   Miniature of the Lightning app's Home view. Values transcribed from the
   product design system (ui-snippets: dc-brand.css / dc-shell.css /
   dc-home.css, Ledger theme), scoped under .dc-appmock so nothing leaks
   into the marketing styles. Fonts follow the system's Classic path
   (Hanken Grotesk), which the site already loads. Decorative: spans only.
   The frame renders at its native 760px and data-cleanser.js scales it
   to the holder width (transform only). */
.dc-appmock {
  /* Product tokens (dc-brand.css, Ledger overrides applied) */
  --dcm-brand-50: #eff6fd;
  --dcm-brand-100: #d8eafb;
  --dcm-brand-300: #7fbcec;
  --dcm-brand-500: #2b81ce;
  --dcm-brand-600: #1a6fbe;
  --dcm-brand-700: #0f5aa0;
  --dcm-neutral-0: #ffffff;
  --dcm-neutral-100: #eceff3;
  --dcm-neutral-300: #c5ccd6;
  --dcm-neutral-400: #a6afbc;
  --dcm-neutral-500: #818a99;
  --dcm-fg-1: #1a2533;
  --dcm-fg-2: #5e6b7e;
  --dcm-fg-3: #818a99;
  --dcm-success-50: #ebf7ed;
  --dcm-success-500: #2e844a;
  --dcm-success-700: #1c5e33;
  --dcm-warning-500: #c05e00;
  --dcm-deactivate-500: #a08dce;
  --dcm-pastel-selected-bg: #e8f3fc;
  --dcm-pastel-selected-text: #2f6fa3;
  --dcm-shadow-xs: 0 1px 1px rgba(26, 37, 51, 0.05);
  --dcm-font: "Hanken Grotesk", "Salesforce Sans", -apple-system, system-ui, sans-serif;

  position: relative;
  overflow: hidden;
  background: var(--dcm-neutral-100); /* ledger --dc-bg-app */
  font-family: var(--dcm-font);
  color: var(--dcm-fg-1);
  /* No-JS fallback ratio; data-cleanser.js sets the real height. */
  aspect-ratio: 600 / 470;
}
.dc-appmock__frame {
  /* Absolute so the native width never widens the hero grid column; the holder
     keeps its own (parent-driven) width + aspect-ratio. The frame is authored
     at this native width and JS scales it to fill the holder — a smaller native
     width = the app UI reads larger inside the frame. */
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  transform-origin: top left;
  /* No-JS fallback scale for the typical 520px holder; JS recomputes. */
  transform: scale(0.867);
}

/* App nav (dc-shell.css .dc-nav / .dc-nav-tab) */
.dc-appmock .dcm-nav {
  height: 44px;
  background: var(--dcm-neutral-0);
  border-bottom: 1px solid var(--dcm-neutral-300);
  display: flex;
  align-items: stretch;
  padding: 0 12px;
  gap: 2px;
  box-shadow: var(--dcm-shadow-xs);
  position: relative;
  z-index: 2;
}
.dc-appmock .dcm-nav-tab {
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px var(--dcm-font);
  color: var(--dcm-fg-2);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
}
.dc-appmock .dcm-nav-tab svg {
  width: 16px;
  height: 16px;
  fill: var(--dcm-neutral-500);
}
.dc-appmock .dcm-nav-tab.is-active {
  color: var(--dcm-brand-600);
  font-weight: 600;
  border-bottom-color: var(--dcm-brand-500);
}
.dc-appmock .dcm-nav-tab.is-active svg {
  fill: var(--dcm-brand-600);
}

/* Page scaffold (dc-brand.css .dc-page / .dc-page-head) */
.dc-appmock .dcm-page {
  padding: 22px;
}
.dc-appmock .dcm-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 16px;
}
.dc-appmock .dcm-page-title {
  display: flex;
  gap: 14px;
  align-items: center;
}
.dc-appmock .dcm-page-title > svg {
  width: 24px;
  height: 24px;
  fill: #747474; /* SLDS utility default */
  flex: none;
}
.dc-appmock .dcm-eyebrow {
  display: block;
  font: 600 11px/1 var(--dcm-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dcm-fg-3);
}
.dc-appmock .dcm-h2 {
  display: block;
  font: 700 24px/1.3 var(--dcm-font);
  letter-spacing: -0.01em;
  color: var(--dcm-fg-1);
}

/* Buttons (dc-brand.css .dc-btn family) */
.dc-appmock .dcm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  font: 600 13px/1 var(--dcm-font);
  border-radius: 4px;
  white-space: nowrap;
}
.dc-appmock .dcm-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.dc-appmock .dcm-btn-brand {
  background: var(--dcm-brand-500);
  color: #fff;
}
.dc-appmock .dcm-btn-sm {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
}
.dc-appmock .dcm-btn-deactivate {
  background: var(--dcm-deactivate-500);
  color: #fff;
}
.dc-appmock .dcm-btn-disabled {
  background: var(--dcm-neutral-100);
  color: var(--dcm-neutral-400);
}

/* Cards (dc-brand.css .dc-card, Ledger: radius 6, flat shadow) */
.dc-appmock .dcm-card {
  background: var(--dcm-neutral-0);
  border: 1px solid var(--dcm-neutral-300);
  border-radius: 6px;
  box-shadow: var(--dcm-shadow-xs);
}

/* KPI stats (dc-brand.css .dc-stat) */
.dc-appmock .dcm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.dc-appmock .dcm-stat {
  padding: 16px;
}
.dc-appmock .dcm-stat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.dc-appmock .dcm-stat-head svg {
  width: 24px;
  height: 24px;
  fill: #747474;
  flex: none;
}
.dc-appmock .dcm-stat-value {
  font: 800 30px/1 var(--dcm-font);
  letter-spacing: -0.02em;
  color: var(--dcm-fg-1);
}
.dc-appmock .dcm-meta {
  font: 400 12px/1.4 var(--dcm-font);
  color: var(--dcm-fg-3);
  margin-top: 4px;
}

/* Scenario rows (dc-home.css .dc-home-scenario) */
.dc-appmock .dcm-scenarios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dc-appmock .dcm-scenario {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.dc-appmock .dcm-obj-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dc-appmock .dcm-obj-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
.dc-appmock .dcm-obj-lead {
  background: #1b96ff;
}
.dc-appmock .dcm-obj-contact {
  background: #9602c7;
}
.dc-appmock .dcm-obj-account {
  background: #5867e8;
}
.dc-appmock .dcm-scenario-id {
  flex: 1;
  min-width: 0;
}
.dc-appmock .dcm-scenario-name {
  display: block;
  font: 600 14px/1.3 var(--dcm-font);
  color: var(--dcm-fg-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dc-appmock .dcm-scenario-desc {
  display: block;
  font: 400 13px/1.5 var(--dcm-font);
  color: var(--dcm-fg-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dc-appmock .dcm-scenario-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.dc-appmock .dcm-obj-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--dcm-neutral-100);
  color: var(--dcm-fg-2);
  font: 600 12px/1 var(--dcm-font);
}

/* Badges (dc-brand.css .dc-badge + dcStatusBadge tones) */
.dc-appmock .dcm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  font: 600 12px/1 var(--dcm-font);
  border-radius: 999px;
}
.dc-appmock .dcm-badge .dcm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.dc-appmock .dcm-badge-groups {
  gap: 4px;
  background: var(--dcm-brand-50);
  color: var(--dcm-brand-700);
}
.dc-appmock .dcm-badge-groups svg {
  width: 14px;
  height: 14px;
  fill: var(--dcm-brand-600);
}
.dc-appmock .dcm-badge-success {
  background: var(--dcm-success-50);
  color: var(--dcm-success-700);
}
.dc-appmock .dcm-badge-success .dcm-dot {
  background: var(--dcm-success-500);
}
.dc-appmock .dcm-badge-neutral {
  background: var(--dcm-neutral-100);
  color: #455168;
}
.dc-appmock .dcm-badge-neutral .dcm-dot {
  background: var(--dcm-neutral-500);
}
.dc-appmock .dcm-badge-progress {
  background: var(--dcm-pastel-selected-bg);
  color: var(--dcm-pastel-selected-text);
}
.dc-appmock .dcm-badge-progress .dcm-dot {
  background: var(--dcm-brand-300);
  animation: dcm-badge-pulse 1.4s ease-in-out infinite;
}
@keyframes dcm-badge-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* Favourite star + row controls (dc-home.css .dc-btn-fav / .dc-fav-icon) */
.dc-appmock .dcm-scenario-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.dc-appmock .dcm-fav {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dc-appmock .dcm-fav svg {
  width: 16px;
  height: 16px;
  fill: var(--dcm-neutral-400);
}
.dc-appmock .dcm-fav.is-on svg {
  fill: #7dd3c0; /* --slds-g-color-palette-teal-90 */
}

@media (prefers-reduced-motion: reduce) {
  .dc-appmock .dcm-dot {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dc-pains {
    grid-template-columns: 1fr 1fr;
  }
  .dc-pricing {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .dc-pricing__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .dc-merge__stage {
    min-height: 300px;
  }
}
@media (max-width: 640px) {
  .dc-pains {
    grid-template-columns: 1fr;
  }
  .dc-pricing {
    padding: 36px 28px;
  }
  .dc-pricing__actions {
    flex-direction: column;
  }
  .dc-pricing__actions .sds-btn {
    width: 100%;
  }
}

/* ----------------------------------------------------------------------------
   Coming soon — roadmap feature cards ("On the roadmap" section).
   Reuses .sds-featurecard; the --soon modifier reads as forward-looking:
   a dashed teal border, no raised shadow, a corner "Coming soon" badge, and a
   slightly receded chip so roadmap items never compete with shipped ones.
   --------------------------------------------------------------------------- */
.sds-featurecard--soon {
  position: relative;
  border: 1.5px dashed var(--dc-300);
  box-shadow: none;
  background: var(--surface-raised);
}

.sds-featurecard--soon:hover {
  border-color: var(--dc-500);
  box-shadow: none;
  transform: none;
}

.sds-featurecard--soon .sds-featurecard__chip {
  opacity: 0.85;
}

.sds-featurecard__badge {
  position: absolute;
  top: 18px;
  right: 18px;
}

/* ----------------------------------------------------------------------------
   "Everything in one package" — banner + feature matrix.
   Replaces the capabilities card grid + roadmap grid with a single grouped
   checklist. Included rows carry a teal check; roadmap rows carry a muted,
   dashed "Coming soon" pill (same forward-looking language as --soon cards),
   folded in beside the capabilities they extend.
   --------------------------------------------------------------------------- */

/* One-package banner — bold dark panel carrying the headline stat line. */
.dc-pkg-banner {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  background: var(--ink-900);
  border-radius: var(--radius-2xl);
  padding: 40px 48px;
  color: var(--text-inverse);
  font-family: var(--font-body);
}
.dc-pkg-banner__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(20, 158, 146, 0.34), transparent 60%),
    radial-gradient(90% 120% at 0% 100%, rgba(20, 158, 146, 0.16), transparent 55%);
  pointer-events: none;
}
.dc-pkg-banner__stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
  align-items: flex-end;
}
.dc-pkg-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dc-pkg-stat__n {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-5xl);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--dc-300);
}
.dc-pkg-stat__l {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--text-inverse-muted);
}
.dc-pkg-banner__note {
  position: relative;
  margin: 24px 0 0;
  max-width: 640px;
  font-size: var(--text-md);
  line-height: var(--leading-body);
  color: var(--text-inverse);
  text-wrap: pretty;
}

/* Matrix card */
.dc-matrix {
  margin-top: 24px;
  background: var(--surface-card);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-raised);
  padding: 4px 32px 24px;
  font-family: var(--font-body);
}
.dc-matrix__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-end;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.dc-matrix__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
/* Legend swatches are icon-only — fixed square pills, no label inside. */
.dc-matrix__legend .dc-status {
  width: 26px;
  height: 26px;
  padding: 0;
  justify-content: center;
}

/* Group */
.dc-matrix__group + .dc-matrix__group {
  border-top: 1px solid var(--line-soft);
}
.dc-matrix__grouphead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 0 10px;
}
.dc-matrix__groupchip {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dc-matrix__grouptitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-heading);
  color: var(--text-display);
}
.dc-matrix__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dc-matrix__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}
.dc-matrix__row:first-child {
  border-top: 0;
}
.dc-matrix__feat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dc-matrix__name {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--text-display);
}
.dc-matrix__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  color: var(--text-muted);
  text-wrap: pretty;
}
.dc-matrix__row.is-soon .dc-matrix__name {
  color: var(--text-body);
}

/* Status pills */
.dc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 28px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dc-status svg {
  flex: none;
}
.dc-status--in {
  background: var(--dc-100);
  color: var(--dc-700);
}
.dc-status--soon {
  background: transparent;
  color: var(--dc-600);
  border: 1.5px dashed var(--dc-300);
}

/* Matrix responsive */
@media (max-width: 768px) {
  .dc-pkg-banner {
    padding: 32px 28px;
  }
  .dc-pkg-banner__stats {
    gap: 18px 36px;
  }
  .dc-pkg-stat__n {
    font-size: var(--text-4xl);
  }
  .dc-matrix {
    padding: 4px 20px 18px;
  }
  .dc-matrix__legend {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .dc-matrix__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============================================================
   Security section (/data-cleanser/security/)
   Semantic color: dc-teal = native/safe · danger = off-platform
   risk. Sky/ink carry depth. All values are tokens.
   ============================================================ */

/* ---------- Hero "org boundary" visual ---------- */
.dc-secboundary {
  position: relative;
  background: radial-gradient(120% 90% at 80% 0%, var(--dc-100) 0%, transparent 55%), var(--cloud-25);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-floating);
  padding: 22px;
}
/* The sealed org — solid dc boundary around the work that stays in. */
.dc-secboundary__org {
  position: relative;
  border: 1.5px solid var(--dc-300);
  border-radius: var(--radius-xl);
  background: var(--cloud-0);
  box-shadow: var(--shadow-raised);
  padding: 16px 16px 18px;
}
.dc-secboundary__orghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.dc-secboundary__orgbadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dc-700);
}
.dc-secboundary__sealed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dc-600);
  background: var(--dc-100);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.dc-secboundary__app {
  border: 1px dashed var(--dc-300);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--dc-100) 0%, transparent 60%), var(--cloud-25);
  padding: 16px;
}
.dc-secboundary__applabel {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}
.dc-secboundary__appchip {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: var(--shadow-ground);
}
.dc-secboundary__appname {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-display);
  line-height: 1.1;
}
.dc-secboundary__appmeta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dc-600);
  margin-top: 2px;
}
.dc-secboundary__stages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dc-secboundary__stage {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 0;
  justify-content: center;
  min-width: 84px;
  background: var(--cloud-0);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-ground);
  padding: 10px 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-body);
}
.dc-secboundary__stage svg {
  color: var(--dc-600);
  flex: none;
}
.dc-secboundary__flow {
  display: inline-flex;
  color: var(--dc-300);
  flex: none;
}
.dc-secboundary__note {
  margin: 14px 0 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-tight);
}
/* The blocked egress path to the faded external server. */
.dc-secboundary__egress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 0 4px;
}
.dc-secboundary__egressline {
  flex: 1 1 auto;
  height: 0;
  border-top: 2px dashed var(--cloud-300);
}
.dc-secboundary__egressblock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--danger-600);
  background: var(--danger-100);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}
.dc-secboundary__ext {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-faint);
  opacity: 0.7;
  flex: none;
}
.dc-secboundary__ext svg {
  color: var(--cloud-400);
}

/* ---------- Native vs third-party comparison ---------- */
.dc-seccompare {
  display: grid;
  grid-template-columns: minmax(150px, 1.15fr) 1fr 1fr;
  margin-top: 44px;
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
  background: var(--cloud-0);
}
.dc-seccompare__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-hairline);
}
.dc-seccompare__head--dim {
  background: var(--cloud-25);
}
.dc-seccompare__head--good {
  background: var(--dc-100);
}
.dc-seccompare__head--bad {
  background: var(--cloud-50);
}
.dc-seccompare__chip {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dc-seccompare__chip--bad {
  background: var(--cloud-200);
  color: var(--cloud-600);
}
.dc-seccompare__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-display);
  line-height: 1.1;
}
.dc-seccompare__kind {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  margin-top: 2px;
  color: var(--text-muted);
}
.dc-seccompare__head--good .dc-seccompare__kind {
  color: var(--dc-700);
}
.dc-seccompare__dim,
.dc-seccompare__cell {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
}
.dc-seccompare__dim {
  font-weight: 600;
  color: var(--text-display);
  background: var(--cloud-25);
  display: flex;
  align-items: center;
}
.dc-seccompare__cell {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-body);
}
.dc-seccompare__cell--good {
  background: color-mix(in oklab, var(--dc-100) 28%, var(--cloud-0));
}
.dc-seccompare__cell--bad {
  color: var(--text-muted);
}
.dc-seccompare > .dc-seccompare__dim:last-of-type,
.dc-seccompare__cell:nth-last-child(-n + 2) {
  /* keep final hairline crisp; handled by row borders above */
}
.dc-seccompare__mark {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
}
.dc-seccompare__mark--good {
  background: var(--dc-100);
  color: var(--dc-700);
}
.dc-seccompare__mark--bad {
  background: var(--danger-100);
  color: var(--danger-600);
  transform: rotate(0deg);
}
.dc-secfair {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 26px auto 0;
  max-width: 760px;
  padding: 16px 20px;
  background: var(--cloud-25);
  border: 1px solid var(--line-hairline);
  border-left: 3px solid var(--dc-500);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-body);
}
.dc-secfair svg {
  color: var(--dc-600);
  flex: none;
  margin-top: 3px;
}
.dc-secfair b {
  color: var(--text-display);
  font-weight: 600;
}

/* ---------- Benefit cards ---------- */
.dc-secgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.dc-seccard {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  padding: 24px;
  transition: var(--transition-hover);
}
.dc-seccard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-floating);
  border-color: var(--dc-300);
}
.dc-seccard__chip {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dc-seccard__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-heading);
  color: var(--text-display);
  margin: 0 0 8px;
  line-height: var(--leading-heading);
}
.dc-seccard__body {
  margin: 0 0 16px;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-body);
}
.dc-seccard__tag {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--dc-700);
  background: var(--dc-100);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  line-height: 1.3;
}

/* ---------- Certifications note ---------- */
.dc-secnote {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--cloud-25);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
}
.dc-secnote__chip {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--sky-50);
  color: var(--sky-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dc-secnote__text {
  margin: 0;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-body);
}
.dc-secnote__text b {
  color: var(--text-display);
  font-weight: 600;
}

/* ---------- Outcomes ("what this means for you") ---------- */
.dc-secoutcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}
.dc-secoutcome {
  display: flex;
  gap: 15px;
  background: var(--surface-card);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  padding: 22px 24px;
}
.dc-secoutcome__chip {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dc-secoutcome strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-heading);
  color: var(--text-display);
  margin-bottom: 5px;
  line-height: var(--leading-heading);
}
.dc-secoutcome p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-body);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .dc-secgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .dc-secgrid,
  .dc-secoutcomes {
    grid-template-columns: 1fr;
  }
  .dc-secboundary__stages {
    flex-direction: column;
    align-items: stretch;
  }
  .dc-secboundary__flow {
    transform: rotate(90deg);
    align-self: center;
  }
  /* Stack the comparison: dimension full-width, the two answers side by side. */
  .dc-seccompare {
    grid-template-columns: 1fr 1fr;
  }
  .dc-seccompare__head--dim {
    display: none;
  }
  .dc-seccompare__dim {
    grid-column: 1 / -1;
    background: var(--cloud-50);
    border-bottom: none;
    padding-bottom: 6px;
  }
}
@media (max-width: 480px) {
  .dc-seccompare {
    grid-template-columns: 1fr;
  }
  .dc-seccompare__head--bad,
  .dc-seccompare__cell--bad {
    border-top: 1px solid var(--line-soft);
  }
  .dc-secboundary__egress {
    flex-wrap: wrap;
  }
}

/* ---------- One-page flow: alternate capability surfaces for rhythm ---------- */
.dc-longanchor--alt > .section {
  background: var(--surface-card);
  border-block: 1px solid var(--line-hairline);
}

/* The Overview payoff (Benefits) flows straight into the first capability
   (Guided tour) on the one-page Data Cleanser layout. Benefits is a tall
   two-column row whose short merge illustration is vertically centered, so the
   default 104px + 104px section seam reads as a large empty band. Tighten just
   this seam (benefits -> first long-anchor) without disturbing the rest of the
   page rhythm. */
.section:has(+ .dc-longanchor) {
  padding-bottom: var(--space-9);
}
.section + .dc-longanchor > .section {
  padding-top: var(--space-9);
}
