/* ============================================================
   Platform capability template — shared by every /platform/<name>/
   page (workflow-builder, ui-customization, decisioning,
   fraud-analytics, case-management, integrations).

   Identity: "inside the console" — light-first and calm, a
   product-UI feel that reads as a sibling of the dark aurora
   product pages without cloning them. One dark moment (cap-band),
   everything else bright. Motion = data-reveal scroll-ins,
   count-up stats, hover lifts. No aurora, no clip-path effects.

   Scope: every rule starts with .p-capability (shared page root —
   deliberate: sibling /platform/ routes load this one stylesheet).
   Per-page accents hang off a .p-capability--<slug> modifier.
   ============================================================ */

.p-capability {
  background: var(--color-background);
  color: var(--color-foreground);
}

/* ---------- shared primitives ---------- */
.p-capability .cap-kicker {
  font-size: var(--fs-kicker);
  letter-spacing: var(--track-wide);
  color: var(--color-kicker-on-white);
}
.p-capability .cap-kicker--dark { color: rgba(255, 255, 255, 0.5); }

/* section title ramp — matches the platform page's normalized titles */
.p-capability .cap-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: 26px;
  line-height: 1.05;
  color: var(--color-black);
}
@media (min-width: 640px) { .p-capability .cap-title { font-size: 32px; } }
@media (min-width: 768px) { .p-capability .cap-title { font-size: 36px; } }

.p-capability .cap-intro {
  margin-top: 16px;
  max-width: 640px;
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  color: var(--color-grey-on-white);
}

/* shared section inner (hero has its own, taller variant) */
.p-capability .cap-inner {
  margin-inline: auto;
  width: 100%;
  max-width: var(--container-large);
  padding: var(--space-section-sm) var(--space-inline);
}
@media (min-width: 768px) { .p-capability .cap-inner { padding-block: var(--space-section); } }
@media (min-width: 1024px) { .p-capability .cap-inner { padding-inline: 24px; } }

/* ---------- 1 · hero (bright centered full-screen, bottom-up wash) ----------
   Sofia, 2026-07-28 (after same-evening tours through the module card,
   the pr-hero, the editorial rs-hero and the bright gradient card): NO
   card — a normal full-bleed bright hero at full viewport height, text
   CENTERED (explicit ask, per the centered-heroes-on-request rule), with
   a super subtle blue wash rising from the foot (tokens only — blue-100
   melting up into the page ground). Mirrors the co-hero structure, the
   site's centered full-screen family, in its bright register. */
/* Round 5 (Sofia, 2026-08-06): the hero goes DARK (the approved aurora
   ground) and LEFT-ALIGNED so the copy and the platform rail read as one
   composition — the centered layout clashed with the left menu. */
/* Round 6 (Sofia, 2026-08-06): the dark stage read wrong against the
   light sidebar — the WHOLE hero goes bright again: the console stage
   keeps the subtle blue foot wash on the page ground, the sidebar keeps
   its off-white panel, the hairline carries the division. */
.p-capability .cap-hero {
  position: relative;
  display: flex;
  align-items: center;
  /* the announcement strip reserves its seat OUTSIDE the hero (bright
     nav) — subtract it so the hero and its copy fit the fold instead of
     overflowing by the strip's height (Sofia, 2026-08-06) */
  min-height: calc(100svh - var(--hl-seat, 0px));
  text-align: left;
  /* plain white stage — the blue foot wash retired (Sofia, 2026-08-06) */
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-foreground);
}
/* ≥1280 the hero splits like a console: the rail is a full-height
   dashboard sidebar in column one, the content + visual ride column two
   (Sofia 2026-08-06: "not floaty — full viewport, divided") */
@media (min-width: 1280px) {
  .p-capability .cap-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
  }
}
.p-capability .cap-hero__inner {
  margin-inline: auto;
  width: 100%;
  max-width: var(--container-large);
  padding: 140px 20px 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 1280px) {
  .p-capability .cap-hero__inner {
    margin-inline: 0;
    max-width: none;
    justify-content: center;
    /* the platform stage inset: 48px from the divider = aligned to the
       header's "Solutions" at >=1440 (nav sits at 50vw - 400px, a
       measured constant; the sidebar ends 48px before it). Block
       padding SYMMETRIC so the flex centering is a true center — the
       old 140/120 pair sat the copy 10px low, and the rail centers on
       the same 120px band (Sofia, 2026-08-10) */
    padding: 120px 40px 120px 48px;
  }
}
/* the hero identity is the plain kicker — the glyph tile retired
   (Sofia 2026-08-06: subtitle only, no icon) */
.p-capability .cap-hero__kicker { margin: 0; }
.p-capability .cap-hero__title {
  margin-top: 24px;
  /* 24ch holds every capability title on two lines at the gate viewport */
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: 36px;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--color-black);
}
@media (min-width: 640px) { .p-capability .cap-hero__title { font-size: 48px; } }
@media (min-width: 1024px) { .p-capability .cap-hero__title { font-size: 56px; } }
.p-capability .cap-hero__sub {
  margin-top: 20px;
  /* 720px holds every capability sub on two lines at the gate viewport */
  max-width: 720px;
  font-size: var(--fs-xl);
  line-height: var(--leading-body);
  color: var(--color-grey-on-white);
}
.p-capability .cap-hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

/* the /platform/ hub keeps the console hero in its DARK register — the
   ONE dark hero of the family, so the parent page differentiates from
   its seven bright capabilities (Sofia 2026-08-06). The sidebar stays
   light: the division carries the console read. */
.p-capability .cap-hero--dark {
  background:
    radial-gradient(120% 95% at 12% 0%, color-mix(in oklab, var(--color-x3-blue-deep) 80%, transparent), transparent 62%),
    radial-gradient(110% 100% at 92% 100%, color-mix(in oklab, var(--color-x3-indigo) 65%, transparent), transparent 65%),
    color-mix(in oklab, var(--color-black) 86%, var(--color-x3-blue-deep));
  border-bottom: 0;
  color: var(--color-white);
}
.p-capability .cap-hero--dark .cap-hero__kicker { color: rgba(255, 255, 255, 0.55); }
.p-capability .cap-hero--dark .cap-hero__title { color: var(--color-white); }
.p-capability .cap-hero--dark .cap-hero__sub { color: var(--color-grey-on-black); }
/* …and the sidebar rides the dark register too (Sofia 2026-08-06:
   'menu nav dark mode as well, JUST in the Incode Platform') — a deeper
   ink panel than the stage base so the division still reads; the white
   brand tile pops on it, no hairline needed around the tile */
.p-capability .cap-hero--dark .cap-rail {
  background: color-mix(in oklab, var(--color-black) 93%, var(--color-x3-blue-deep));
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.p-capability .cap-hero--dark .cap-rail__tile { border-color: transparent; }
.p-capability .cap-hero--dark .cap-rail__brand { color: var(--color-white); }
.p-capability .cap-hero--dark .cap-rail__home:hover .cap-rail__brand { color: var(--color-blue-200); }
.p-capability .cap-hero--dark .cap-rail__item { color: rgba(255, 255, 255, 0.55); }
.p-capability .cap-hero--dark .cap-rail__item:hover {
  color: var(--color-white);
  background: color-mix(in srgb, var(--color-white) 8%, transparent);
}

/* the platform rail (Sofia 2026-08-06): halo + the seven capabilities on
   the hero's left edge, current one lit — every capability page opens as
   one part of the Incode platform. Desktop only; below 1280 the existing
   cap-siblings section keeps carrying the discovery. */
.p-capability .cap-rail {
  display: none;
  /* its own view-transition group (base.css contract): the sidebar holds
     still while the stage crossfades between capability pages */
  view-transition-name: cap-rail;
}
@media (min-width: 1280px) {
  .p-capability .cap-rail {
    /* the dashboard sidebar (Sofia, 2026-08-06: the floating plate is
       retired): full hero height, light console panel, hard division
       from the dark stage beside it. The left padding tracks the
       header's incode logo so the brand emblem stays aligned to it. */
    --rail-edge: max(24px, calc((100vw - var(--container-large)) / 2 + 24px));
    display: flex;
    flex-direction: column;
    /* edge + 248 puts the divider exactly 48px left of the header's
       "Solutions" item at >=1440 — the stage's fixed 48px inset (below)
       then lands the content precisely on Solutions (Sofia 2026-08-06);
       THE consistent container for every platform page */
    width: calc(var(--rail-edge) + 248px);
    /* SYMMETRIC 120px block padding + centered group: the brand and the
       capability list share the stage content's vertical center on
       every screen height (Sofia, 2026-08-10: "center vertically both
       the navigation items and the content... on ALL screens"); the
       120px still clears the sticky header on short viewports */
    justify-content: center;
    padding: 120px 28px 120px var(--rail-edge);
    background: var(--color-background);
    border-right: 1px solid var(--color-border-light);
  }
}
.p-capability .cap-rail__home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
/* the brand emblem: the header's rounded-square tile with the canonical
   black→blue gradient halo painting through the ds-icon mask */
.p-capability .cap-rail__tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light); /* reads on the off-white plate */
}
.p-capability .cap-rail__halo {
  width: 20px;
  height: 20px;
  background-color: transparent;
  background-image: linear-gradient(to top right, var(--color-black), var(--color-blue-500));
}
.p-capability .cap-rail__brand {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-black);
}
.p-capability .cap-rail__home:hover .cap-rail__brand { color: var(--color-blue); }
/* the list hangs from the SAME left edge as the brand tile and the
   header's incode logo (Sofia 2026-08-06: perfect alignment) — rows pad
   inward and pull back out with the negative margin, so icons sit flush
   on the edge while the active row's plate still has inner air */
.p-capability .cap-rail__list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-capability .cap-rail__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin-inline: -14px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  color: var(--color-grey-on-white);
  transition: color 0.2s ease, background-color 0.2s ease;
}
/* the icon column matches the brand tile's 40px footprint (ink centered
   via the mask override), so the brand label and every item label hang
   from ONE text column — and the column's left edge is the header logo's
   x (Sofia 2026-08-06: pixel perfect) */
.p-capability .cap-rail__icon {
  width: 40px;
  height: 16px;
  flex-shrink: 0;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}
.p-capability .cap-rail__item:hover {
  color: var(--color-black);
  background: color-mix(in srgb, var(--color-black) 4%, transparent);
}
/* the lit capability: the console's selected row — white plate on the
   off-white panel, hairline held inset so rows never shift */
.p-capability .cap-rail__item.is-active {
  color: var(--color-black);
  font-weight: 500;
  background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-border-light);
}

/* skeleton vocabulary */
.p-capability .cap-skel-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--color-grey-100);
}
.p-capability .cap-skel-bar--w40 { width: 40%; }
.p-capability .cap-skel-bar--w60 { width: 60%; }
.p-capability .cap-skel-bar--w75 { width: 75%; }
.p-capability .cap-skel-bar--w90 { width: 90%; }
.p-capability .cap-skel-block {
  display: block;
  height: 88px;
  border-radius: 10px;
  background: var(--color-grey-100);
}
.p-capability .cap-skel-block--tint {
  background: color-mix(in oklab, var(--color-blue-100) 80%, var(--color-grey-50));
}
/* default accent (each page retints it via its modifier) */
.p-capability .cap-skel-block--accent {
  background:
    radial-gradient(120% 130% at 18% 0%, color-mix(in oklab, var(--color-blue-200) 55%, transparent), transparent 70%),
    linear-gradient(135deg, var(--color-blue-500), var(--color-blue-500));
}

/* per-page accent tints — existing blue tokens only */
.p-capability--workflow-builder .cap-skel-block--accent {
  background: linear-gradient(135deg, var(--color-blue-500), var(--color-x3-indigo));
}
.p-capability--ui-customization .cap-skel-block--accent {
  background: linear-gradient(135deg, var(--color-blue-200), var(--color-blue-500));
}
.p-capability--decisioning .cap-skel-block--accent {
  background: linear-gradient(135deg, var(--color-blue-500), var(--color-x3-blue-deep));
}
.p-capability--fraud-analytics .cap-skel-block--accent {
  background: linear-gradient(135deg, var(--color-x3-blue-bright), var(--color-blue-500));
}
.p-capability--case-management .cap-skel-block--accent {
  background: linear-gradient(135deg, var(--color-blue-500), var(--color-blue-200));
}
.p-capability--integrations .cap-skel-block--accent {
  background: linear-gradient(135deg, var(--color-x3-blue-deep), var(--color-x3-blue-bright));
}

/* ---------- 2 · value points (3 tinted cards) ---------- */
.p-capability .cap-points { background: var(--color-background); }
.p-capability .cap-points__grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 768px) { .p-capability .cap-points__grid { grid-template-columns: repeat(3, 1fr); } }
/* four-point pages (e.g. decisioning): 2×2 — wide cards keep the long
   verbatim titles inside the two-line law */
@media (min-width: 768px) { .p-capability .cap-points__grid--4 { grid-template-columns: repeat(2, 1fr); } }
.p-capability .cap-point {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  background: color-mix(in oklab, var(--color-grey-100) 55%, var(--color-grey-50));
  padding: 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.p-capability .cap-point:hover {
  transform: translateY(-2px);
  background: var(--color-grey-50);
  border-color: color-mix(in oklab, var(--color-blue) 30%, transparent);
}
.p-capability .cap-point__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  background: var(--color-grey-50);
  color: var(--color-grey-500);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.p-capability .cap-point:hover .cap-point__icon {
  border-color: color-mix(in oklab, var(--color-blue) 30%, transparent);
  background: color-mix(in oklab, var(--color-blue) 8%, var(--color-grey-50));
  color: var(--color-blue);
}
.p-capability .cap-point__icon .ds-icon { width: 18px; height: 18px; }
.p-capability .cap-point__name {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tight);
  font-size: var(--fs-xl);
  line-height: 1.2;
  color: var(--color-black);
}
.p-capability .cap-point__line {
  font-size: var(--fs-sm);
  line-height: var(--leading-snug);
  color: var(--color-grey-on-white);
}

/* ---------- 3 · the walk (numbered alternating feature rows) ---------- */
.p-capability .cap-walk {
  border-top: 1px solid var(--color-border-light);
  background: var(--color-background);
}
.p-capability .cap-walk__rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 48px;
}
@media (min-width: 768px) { .p-capability .cap-walk__rows { gap: 72px; } }
.p-capability .cap-walk__row {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .p-capability .cap-walk__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
  /* alternate: even rows put the media tile on the left */
  .p-capability .cap-walk__row:nth-child(even) .cap-walk__copy { order: 2; }
  .p-capability .cap-walk__row:nth-child(even) .cap-tile { order: 1; }
}
.p-capability .cap-walk__num {
  font-size: var(--fs-xs);
  letter-spacing: var(--track-widest);
  color: var(--color-grey-300);
  font-variant-numeric: tabular-nums;
}
.p-capability .cap-walk__name {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: var(--fs-3xl);
  line-height: 1.15;
  color: var(--color-black);
}
@media (min-width: 768px) { .p-capability .cap-walk__name { font-size: 27px; } }
.p-capability .cap-walk__line {
  margin-top: 12px;
  max-width: 480px;
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  color: var(--color-grey-on-white);
}

/* the walk's media tile — the console vocabulary, smaller.
   Four arrangements (a·b·c·d) so alternating rows don't repeat. */
.p-capability .cap-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  background-color: var(--color-grey-50);
  background-image:
    linear-gradient(color-mix(in oklab, var(--color-grey-200) 20%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--color-grey-200) 20%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 1024px) { .p-capability .cap-tile { aspect-ratio: 16 / 11; padding: 36px; } }
.p-capability .cap-walk__row:hover .cap-tile {
  border-color: color-mix(in oklab, var(--color-blue) 25%, transparent);
}
.p-capability .cap-tile .cap-skel-block { height: 64px; }

/* b · card pair: two blocks side by side over the bars */
.p-capability .cap-tile--b { display: grid; grid-template-columns: 1fr 1fr; align-content: center; }
.p-capability .cap-tile--b .cap-skel-bar { grid-column: 1 / -1; }
.p-capability .cap-tile--b .cap-skel-block { height: 84px; }

/* c · queue: full-width rows, the accent reads as a status chip */
.p-capability .cap-tile--c .cap-skel-bar { height: 14px; width: 100%; }
.p-capability .cap-tile--c .cap-skel-bar--w60 { width: 82%; }
.p-capability .cap-tile--c .cap-skel-bar--w75 { width: 91%; }
.p-capability .cap-tile--c .cap-skel-block { height: 26px; width: 96px; border-radius: 999px; }

/* d · panel + rail: one tall block, narrow companions */
.p-capability .cap-tile--d { display: grid; grid-template-columns: 2fr 1fr; align-content: center; }
.p-capability .cap-tile--d .cap-skel-bar { grid-column: 1 / -1; }
.p-capability .cap-tile--d .cap-skel-block { height: 104px; }

/* ---------- 4 · the one dark moment (rich black band) ---------- */
.p-capability .cap-band {
  background:
    radial-gradient(60% 80% at 82% -14%, color-mix(in oklab, var(--color-x3-blue-deep) 22%, transparent), transparent 62%),
    radial-gradient(50% 70% at 8% 112%, color-mix(in oklab, var(--color-x3-indigo) 16%, transparent), transparent 64%),
    var(--color-black);
  color: var(--color-white);
}
.p-capability .cap-band__inner {
  margin-inline: auto;
  max-width: var(--container-large);
  padding: 72px 20px;
}
@media (min-width: 768px) { .p-capability .cap-band__inner { padding-block: var(--space-section); } }
@media (min-width: 1024px) { .p-capability .cap-band__inner { padding-inline: 24px; } }

/* stats trio */
.p-capability .cap-band__grid {
  display: grid;
  gap: 32px;
  margin-top: 44px;
}
@media (min-width: 768px) {
  .p-capability .cap-band__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
  .p-capability .cap-band__stat + .cap-band__stat {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 48px;
  }
}
.p-capability .cap-band__value {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: 44px;
  line-height: 1;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) { .p-capability .cap-band__value { font-size: 52px; } }
.p-capability .cap-band__cap {
  margin-top: 12px;
  max-width: 30ch;
  font-size: var(--fs-sm);
  line-height: var(--leading-snug);
  color: rgba(255, 255, 255, 0.6);
  text-wrap: balance;
}

/* quote variant */
.p-capability .cap-band__quote {
  margin: 28px auto 0;
  max-width: 860px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: var(--fs-3xl);
  line-height: 1.4;
  color: var(--color-white);
}
@media (min-width: 640px) { .p-capability .cap-band__quote { font-size: 28px; } }
.p-capability .cap-band__attr {
  margin-top: 24px;
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  color: rgba(255, 255, 255, 0.5);
}
.p-capability .cap-band--center { text-align: center; }
.p-capability .cap-band--center .cap-band__quote,
.p-capability .cap-band--center .cap-band__line { margin-inline: auto; }

/* single-line promise variant */
.p-capability .cap-band__line {
  margin: 24px auto 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: 30px;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--color-white);
}
@media (min-width: 768px) { .p-capability .cap-band__line { font-size: 40px; } }

/* ---------- 5 · siblings (chips to the rest of the platform) ---------- */
.p-capability .cap-siblings {
  border-top: 1px solid var(--color-border-light);
  background: var(--color-background);
}
.p-capability .cap-siblings__inner {
  margin-inline: auto;
  max-width: var(--container-large);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
  padding: 36px 20px;
}
@media (min-width: 1024px) { .p-capability .cap-siblings__inner { padding-inline: 24px; } }
.p-capability .cap-siblings__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-capability .cap-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid var(--color-border-light);
  border-radius: 999px;
  background: var(--color-grey-50);
  font-size: var(--fs-xs);
  line-height: 1;
  color: var(--color-grey-500);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.p-capability .cap-chip:hover {
  border-color: var(--color-grey-300);
  color: var(--color-black);
}
.p-capability .cap-chip .ds-icon { width: 13px; height: 13px; }
.p-capability .cap-chip--all {
  border-color: color-mix(in oklab, var(--color-blue) 35%, transparent);
  color: var(--color-blue);
}
.p-capability .cap-chip--all:hover {
  border-color: var(--color-blue);
  color: var(--color-blue-500);
}

/* ── the unified hero visual box (Sofia 2026-08-17) ──
   The ui-customization bento's frame + placement is THE canon for every
   /platform/ hero visual: 500×444 hairline box, radius 22, 16px padding,
   seated right with the 28px ease off the stage inset. Pages wrap their
   visual root in .cap-hero__vbox; the root keeps its own internal
   coordinate system (floats, zooms, bezels) untouched inside. */
.p-capability .cap-hero__vbox {
  width: 100%;
  max-width: 500px;
  min-height: 444px;
  border: 1px solid var(--color-border-light);
  border-radius: 22px;
  /* off-white ground (Sofia 2026-08-17) — the grey-50 component tint;
     the white mock cards inside lift off it */
  background: var(--color-grey-50);
  padding: 16px;
  display: grid;
  place-items: center;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .p-capability .cap-hero__vbox {
    justify-self: end;
    margin-inline: 0 28px;
  }
}
/* neutralize the roots' own grid placement — the box owns placement now */
.p-capability .cap-hero .cap-hero__vbox > * {
  justify-self: center;
  align-self: center;
  margin: 0;
}
