/* 2.4.6 — literal sweep: a literal whose value IS a token became it; the rest is a value this
   file paints by hand and is counted in the report. The names are global-2026.css's own aliases (2.4.2); a value only the system holds is written --pui-*. */
/* =========================================================================
   PAGE: i/RTB (irtb.html) — page-specific CSS.
   @imported by ../styles.css. All rules scoped under .page-irtb so the
   deconstruction can copy this file verbatim into the Blade @section('css').
   Built from mafo.css: same components, i/RTB content. Single brand accent
   is YELLOW (vs MAFO red); section sub-headings are neutral grey.
   ========================================================================= */

/* ---------- Anti-cascade overrides (defeat layout.min.css + bootstrap.min.css) ---------- */
/* 2.4.2 — guard: the page's anti-cascade resets (`button`, `a:link…`) outrank a one-class component (0,1,1 / 0,2,1 over
   0,1,0); they now skip any element carrying a pui- class (inside :where(), so their specificity is unchanged — D60) and the package paints its own. */
.page-irtb a:where(:not([class*="pui-"])):link,
.page-irtb a:where(:not([class*="pui-"])):visited,
.page-irtb a:where(:not([class*="pui-"])):hover,
.page-irtb a:where(:not([class*="pui-"])):focus,
.page-irtb a:where(:not([class*="pui-"])):active { color: inherit; text-decoration: none; }

.page-irtb button:where(:not([class*="pui-"])) {
  font-family: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

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

.page-irtb ul { list-style: none; padding: 0; margin: 0; }

.page-irtb .container {
  width: 1320px;
  max-width: 1320px;
  padding-left: var(--pui-space-12);
  padding-right: var(--pui-space-12);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}


/* A3 — the toggle is a .pui-navigation-panel__link; the page's button reset skips pui- classes, so its padding guard went */

/* ---------- Page shell / sticky footer ---------- */
.page-irtb {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* The absolutely-positioned .irtb-contact__gradient bleeds past the footer and
     would lengthen the page. Clip it at the page wrapper (which ends at the
     footer) instead of touching the shared footer. `clip` doesn't create a
     scroll container, so the fixed nav and any sticky descendants are unaffected. */
  overflow: clip;
}
.page-irtb .irtb-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 115px;       /* clears the fixed floating nav */
}

/* ===========================================================
   SECTION TITLE + SUBTITLE (shared across sections)
   =========================================================== */
/* Type comes from the shared `.headline-small` class. */
.page-irtb :where(.irtb-main) section > .pui-text--headline-small {
  margin: 0 0 var(--pui-space-32);
}
.page-irtb section > .pui-heading-pair--section { margin: 0 0 var(--pui-space-32); }   /* the space under the pair is the page's */

/* ===========================================================
   HERO — purple→yellow gradient card + partner strip
   =========================================================== */
.page-irtb .irtb-hero__card {
  background-image: linear-gradient(-36.36deg, rgba(235, 184, 252, 0.27) 19.8%, color-mix(in srgb, var(--pui-color-yellow-400) 27%, transparent) 80.8%);
  border-radius: var(--pui-radius-32);
  padding: var(--pui-space-48);
  display: flex;
  flex-direction: column;
  gap: var(--pui-space-64);
}
/* Grid so the sub can reflow full-width below at tablet/mobile (matches Figma)
   without breaking the desktop left-stack + right-image layout. */
.page-irtb .irtb-hero__top {
  display: grid;
  grid-template-columns: 552px 603px;
  justify-content: space-between;
  align-content: center;
  grid-template-areas:
    "logo    media"
    "title   media"
    "sub     media"
    "actions media";
}
.page-irtb .irtb-hero__logo { grid-area: logo; width: 265px; height: auto; margin-bottom: var(--pui-space-32); }
.page-irtb :where(.irtb-hero__top) > .pui-text--headline-small {
  grid-area: title;
  margin: 0 0 var(--pui-space-12);
  font-weight: var(--pui-font-weight-500);
  color: var(--pui-text-default);
}
.page-irtb :where(.irtb-hero__top) > .pui-text--body-large {
  grid-area: sub;
  margin: 0 0 var(--pui-space-32);
  color: var(--pui-text-muted);
}
.page-irtb .irtb-hero__actions { grid-area: actions; display: flex; gap: var(--pui-space-16); flex-wrap: wrap; }
/* A1 — the secondary's hover is action/secondary/bg-hover */
.page-irtb :where(.irtb-hero__top) > .pui-media-host { grid-area: media; align-self: center; width: 603px; }
.page-irtb :where(.irtb-hero__top) > .pui-media-host img,
.page-irtb .irtb-hero__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 603 / 339;
  object-fit: cover;
  border: 0;
  border-radius: var(--pui-radius-16);
  box-shadow: var(--pui-shadow-xxl-soft);
}
.page-irtb .irtb-hero__logos {
  background: var(--pui-color-neutral-0);
  border-radius: var(--pui-radius-8);
  padding: var(--pui-space-12) var(--pui-space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pui-space-16);
}
/* Cap to 27px so the logo strip is the SAME height as MAFO's (51px block:
   12px padding + 27px tallest logo); the taller partner marks (Sovrn,
   MobilityWare, Media.net) scale down to fit. */
.page-irtb .irtb-hero__logos img { width: auto; max-height: 27px; flex-shrink: 1; min-width: 0; }

/* ===========================================================
   CAPABILITY CHIPS — 5 coloured icon cards (3 per row)
   =========================================================== */
.page-irtb .irtb-chips {
  margin-top: var(--pui-space-48);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}
.page-irtb :where(.irtb-chips) > .pui-card {
  width: calc((100% - 56px) / 3);
  /* A2 — the chip is a Card with a header only: surface/card, radius 16, padding 20 — its height hugs the 64 box (104, plus the kit's 1 px transparent border); `width` is the grid's, the frost stays (stated) */
}

/* ===========================================================
   KEY FACTS — 4 coloured stat cards (shared .fact-card pattern)
   =========================================================== */
.page-irtb .irtb-facts { margin-top: var(--pui-layout-page-section-gap); }
.page-irtb .irtb-facts__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-irtb .pui-kpi-tile {
  width: 300px;
  height: 172px;
  /* A2 — the tile (radius 16, padding 20, the two blocks pushed apart) is .pui-kpi-tile — kpi-tile.css names the site's stat cards; the fixed height and width stay the site's grid (the kit hugs); the frost stays (stated) */
}
.page-irtb .irtb-facts__grid .pui-kpi-tile:nth-child(2) { width: 319px; }
/* A2 — the tint is the tile's tone (kpi/tone/{tone}/bg — the same 100 tints) */
.page-irtb .pui-kpi-tile__value {
  margin: 0;
  white-space: nowrap;
  /* A2 — the value (title/large: 36 SemiBold on a 1.2 line, text/default for the site's neutral/800 — stated) is .pui-kpi-tile__value */
}
/* A2 — the tag's tint and ink are tint/{tone} (the same 200-on-300 pairs; neutral's ink neutral/600 for the site's 400 — stated, R5) */
.page-irtb .pui-kpi-tile__label {
  margin: 0;
  /* A2 — the label (body/small on a 1.4 line) is .pui-kpi-tile__label; its 12 px inset goes — the tile's padding is the box (stated) */
}

/* ===========================================================
   WHAT IS i/RTB — intro + yellow "Core capabilities" card
   =========================================================== */
.page-irtb .irtb-what { margin-top: var(--pui-layout-page-section-gap); }
.page-irtb .irtb-what__card {
  background: var(--pui-color-light-blue-100);
  border-radius: var(--pui-radius-32);
  padding: var(--pui-space-48) var(--pui-space-32);
  display: flex;
  align-items: center;
  gap: var(--pui-space-32);
  box-shadow: var(--pui-elevation-card);
}
.page-irtb .irtb-what__intro { flex: 0 0 555px; max-width: 555px; padding: 0 51px; }
.page-irtb :where(.irtb-what__intro) > .pui-text--title-small {
  margin: 0 0 var(--pui-space-16);
  color: var(--pui-text-default);
}
.page-irtb :where(.irtb-what__intro) > .pui-text--body-medium {
  margin: 0;
  color: var(--pui-text-default);
}
/* Figma keeps the intro as two paragraphs split by one empty line (18 × 1.5 = 27). */
.page-irtb .irtb-what__intro > .pui-text--body-medium + .pui-text--body-medium { margin-top: 27px; }
.page-irtb .irtb-what__cap-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.page-irtb :where(.irtb-what__cap-col) > .pui-card {
  width: 612px;
  max-width: 100%;
  /* A2 — the white card (radius 16, padding 20, gap 12) is .pui-card--plain; `width` stays — the section's column */
}
/* ===========================================================
   ICON LIST — DS component "Icon_list_medium": 24px icon + title +
   description. Used by Core capabilities, the Identity/Agentic demand
   slides and the Supply Yield card.

   Generic, page-neutral class names + a self-contained block, so the
   next page copies this verbatim as `.page-<slug> .icon-list` — the
   forked-library pattern used by .arrow-btn / .btn / .ui-form.
   NOTE: MAFO's `.mafo-gda__item-*` is this same component under a
   page-prefixed name; it should migrate onto these classes.
   =========================================================== */
/* --slot = the white surface, for when the list sits on a coloured
   card (demand slides). Omit it when the parent is already white. */
/* Item styling: shared .icon-list component (global-2026.css) — no per-page item/icon/text rules. */
/* Desktop-only forced break inside a description, to steer an awkward wrap
   (e.g. a one-word last line). Below 1024 the column is narrower and re-wraps
   on its own, so the break is dropped. Same idea as MAFO's .mafo-gda__br. */
@media (max-width: 1023px) {
  .page-irtb .icon-list__br { display: none; }
}

/* ===========================================================
   INSIGHT — yellow-bar "Positioning" quote (Demand + Supply)
   =========================================================== */
.page-irtb .pui-insight-block {
  margin-top: var(--pui-space-32);
  max-width: 740px;
}

/* ===========================================================
   PRODUCT SHOWCASE — laptop drawn as CSS shapes (1:1 with the
   Figma layer stack) wrapping a cross-fading slide deck, with
   the yellow decoration blob bleeding out behind it
   =========================================================== */
/* Every part below is positioned in Figma pixels multiplied by --u, which is
   1/1296th of the section width. One container query drives the whole rig, so
   the laptop stays vector-sharp and correctly proportioned at any width
   instead of needing a redraw per breakpoint. */
.page-irtb .irtb-showcase {
  margin-top: var(--pui-layout-page-section-gap);
  container-type: inline-size;
}
.page-irtb .irtb-showcase__stage {
  --u: calc(100cqw / 1296);    /* 1 laptop design px */
  --bu: calc(100cqw / 770);    /* 1 browser-window design px */
  position: relative;
  height: calc(660.31 * var(--u));
}

/* Blob is absolute inside the stage, so it travels with the laptop instead of
   being pinned to the page. It is deliberately wider than the stage and starts
   above it — .page-irtb's overflow:clip keeps the overhang off the scrollbar. */
.page-irtb .irtb-showcase__blob {
  position: absolute;
  left: calc(-1.95 * var(--u));
  top: calc(-229.9 * var(--u));
  width: calc(1472.38 * var(--u));
  height: calc(1165.85 * var(--u));
  max-width: none;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.page-irtb .showcase-device {
  position: relative;
  z-index: 1;
  height: 100%;
}

/* --- lid + screen --- */
.page-irtb .laptop__lid {
  position: absolute;
  left: calc(142.56 * var(--u));
  top: 0;
  width: calc(1010.88 * var(--u));
  height: calc(605.88 * var(--u));
  background: #08080a;
  border: calc(1.296 * var(--u)) solid #33353a;
  border-radius: calc(31.104 * var(--u)) calc(31.104 * var(--u)) calc(5.184 * var(--u)) calc(5.184 * var(--u));
}
.page-irtb .showcase-screen {
  position: absolute;
  left: calc(155.52 * var(--u));
  top: calc(12.96 * var(--u));
  width: calc(984.96 * var(--u));
  height: calc(554.04 * var(--u));
  background: var(--pui-color-neutral-0);
  border-radius: calc(20.736 * var(--u)) calc(20.736 * var(--u)) 0 0;
  overflow: hidden;
  /* Keeps the slides' stacking to themselves — without it their z-index
     competes with the notch/chin/base and paints the screenshot over them. */
  isolation: isolate;
}

/* --- slide deck --- */
.page-irtb .showcase-slides { position: absolute; inset: 0; }
/* The screen cut-out is exactly 16:9 (984.96 x 554.04 = 760 x 427.5 Figma px),
   which is the slides' own aspect, so the slide fills it edge to edge and
   nothing is cropped. The earlier -5.19/+5.18 horizontal bleed existed only
   because the old product screenshots were 1980x1108 (1.787:1); with 1920x1080
   artboards that same bleed would shave the sidebar and the right-hand cards,
   whose content runs to the very edge of the design. */
.page-irtb .showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 900ms var(--pui-motion-easing);   /* D — the easing by name (CSS ease is the kit's standard curve); 900 ms is the slideshow's own cross-fade, three times the longest motion token — stated */
}
/* The outgoing slide holds full opacity underneath while the incoming one
   fades in over it. Fading both at once lets the white screen wash through
   the middle of the transition and ghosts the two dashboards together. */
.page-irtb .showcase-slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.page-irtb .showcase-slide.is-active { opacity: 1; z-index: 2; }

/* --- webcam notch, with its sensor + lens --- */
.page-irtb .laptop__notch {
  position: absolute;
  left: calc(593.57 * var(--u));
  top: calc(11.66 * var(--u));
  width: calc(108.86 * var(--u));
  height: calc(28.51 * var(--u));
  background: #08080a;
  border-radius: 0 0 calc(12.96 * var(--u)) calc(12.96 * var(--u));
}
.page-irtb .laptop__notch::before,
.page-irtb .laptop__notch::after {
  content: "";
  position: absolute;
  top: calc(13.8 * var(--u));
  transform: translateY(-50%);
  border-radius: 50%;
}
.page-irtb .laptop__notch::before {          /* ambient-light sensor */
  left: calc(35.7 * var(--u));
  width: calc(7.6 * var(--u));
  height: calc(7.6 * var(--u));
  background: #17291e;
}
.page-irtb .laptop__notch::after {           /* camera lens */
  left: calc(59 * var(--u));
  width: calc(12.6 * var(--u));
  height: calc(12.6 * var(--u));
  background: #050914;
  border: calc(1.3 * var(--u)) solid #1c2e4a;
}

/* --- chin, base deck, opener notch, deck highlight --- */
.page-irtb .laptop__chin {
  position: absolute;
  left: calc(147.75 * var(--u));
  top: calc(567 * var(--u));
  width: calc(1000.51 * var(--u));
  height: calc(33.7 * var(--u));
  background: #08080a;
}
/* Two-layer background paints the deck gradient inside the border box and the
   metal edge gradient in the border itself — border-image can't do this while
   keeping the radius. */
.page-irtb .laptop__base {
  position: absolute;
  left: calc(51.84 * var(--u));
  top: calc(603.29 * var(--u));
  width: calc(1192.32 * var(--u));
  height: calc(49.25 * var(--u));
  background:
    linear-gradient(180deg, #54555a 0%, #2b2c30 20%, #1e1f22 50%, #2c2d32 80%, #4f5055 100%) padding-box,
    linear-gradient(90deg, #8e9099 0%, #48494f 50%, #1b1c1e 100%) border-box;
  border: solid transparent;
  border-width: calc(1.296 * var(--u)) calc(1.296 * var(--u)) calc(2.592 * var(--u)) calc(1.944 * var(--u));
  border-radius: calc(5.184 * var(--u)) calc(5.184 * var(--u)) calc(25.92 * var(--u)) calc(25.92 * var(--u));
  box-shadow: 0 calc(20.736 * var(--u)) calc(41.472 * var(--u)) calc(-5.184 * var(--u)) color-mix(in srgb, var(--pui-color-neutral-1000) 36%, transparent);
}
.page-irtb .laptop__opener {
  position: absolute;
  left: calc(565.05 * var(--u));
  top: calc(603.29 * var(--u));
  width: calc(165.89 * var(--u));
  height: calc(16.85 * var(--u));
  background: #161719;
  border: solid #2f3135;
  border-width: 0 calc(1.296 * var(--u)) calc(1.296 * var(--u));
  border-radius: 0 0 calc(12.96 * var(--u)) calc(12.96 * var(--u));
}
/* Figma draws this as a separate LINE over the deck's top border. Both are
   hairlines, so if they get their own y-bands the rasteriser can land them on
   different device rows and the lit lip reads as two stacked lines with a step
   where the shorter one starts. Giving this exactly the deck's border-top band
   (same top, same height) makes them rasterise as one row at any zoom or DPR —
   it still paints over the opener notch, which Figma's z-order also does. */
.page-irtb .laptop__highlight {
  position: absolute;
  /* Figma insets this 10.37 from each deck edge, which leaves a visible step
     where it stops against the deck's rim. Run it the full flat width of the
     deck top instead — out to the tangent points where the 5.184 corner curve
     starts (51.84 + 5.184 ... 1244.16 - 5.184). Any further and its square end
     would poke out over the curve. */
  left: calc(57.024 * var(--u));
  top: calc(603.29 * var(--u));
  width: calc(1181.952 * var(--u));
  height: calc(1.296 * var(--u));
  background: linear-gradient(90deg, #8d8f98 0%, #808486 55%, #212224 100%);
}
.page-irtb .laptop__foot {
  position: absolute;
  top: calc(647.35 * var(--u));
  width: calc(82.94 * var(--u));
  height: calc(12.96 * var(--u));
  background: #111112;
  border-radius: calc(6.48 * var(--u));
}
.page-irtb .laptop__foot--l { left: calc(129.6 * var(--u)); }
.page-irtb .laptop__foot--r { left: calc(1083.46 * var(--u)); }

/* --- Browser window (tablet / mobile wrapper) ------------------------------
   Same shapes-only build as the laptop, in its own 770-wide design space via
   --bu. Figma's mobile slider is the tablet one scaled to 48.035% (height,
   radius, stroke and toolbar all land on that factor), so one component and
   one unit cover both breakpoints — nothing is re-drawn per screen. Hidden on
   desktop; the slide deck underneath is shared with the laptop. */
.page-irtb .browser__bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .page-irtb .showcase-slide { transition: none; }
}

/* ===========================================================
   i/RTB DEMAND — stacked-card slider (sticky stack + GSAP scale)
   =========================================================== */
.page-irtb .irtb-demand,
.page-irtb .irtb-supply { scroll-margin-top: 120px; }
.page-irtb .irtb-demand { margin-top: var(--pui-layout-page-section-gap); }
.page-irtb .demand-stack-outer { position: relative; margin-top: var(--pui-space-40); }
.page-irtb .demand-stack { position: relative; padding-bottom: var(--pui-space-40); }
.page-irtb :where(.demand-stack) > .pui-card {
  position: sticky;
  flex-direction: row;          /* the slide lays its two columns side by side (the Card stacks) */
  top: 110px;
  box-shadow: var(--pui-elevation-modal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: var(--pui-space-32);
  margin-bottom: var(--pui-space-24);
  transform-origin: top center;
  will-change: transform;
}
.page-irtb :where(.demand-stack) > .pui-card:nth-child(2) { top: 130px; }
.page-irtb :where(.demand-stack) > .pui-card:nth-child(3) { top: 150px; }
.page-irtb :where(.demand-stack) > .pui-card:nth-child(4) { top: 170px; }
.page-irtb :where(.demand-stack) > .pui-card:nth-child(5) { top: 190px; }
.page-irtb :where(.demand-stack) > .pui-card:last-child { margin-bottom: 0; }
.page-irtb .demand-card__text-col {
  width: 635px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-irtb .demand-card__text { width: 436px; max-width: 100%; }
.page-irtb .demand-card__media-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-irtb :where(.demand-card__text) > .pui-text--title-small {
  margin: 0 0 var(--pui-space-12);
  color: var(--pui-text-default);
}
.page-irtb :where(.demand-card__text) > .pui-text--body-medium {
  margin: 0;
  color: var(--pui-text-default);
}
.page-irtb :where(.demand-stack) .pui-card--soft {
  width: 426px;
  max-width: 100%;
}
/* Identity + Agentic slides hold title+description items, so their card fills
   the media column (597 on desktop) instead of the 426 default. Two classes
   out-specify the ≤1023 `.demand-card__media` width rule at every breakpoint. */
.page-irtb .demand-stack > :where([data-slide="3"]) .pui-card--soft, .page-irtb .demand-stack > :where([data-slide="4"]) .pui-card--soft { width: 100%; }
/* Items: shared .bullet-list component (global-2026.css) — no per-page li/img/span rules. */

/* ===========================================================
   SUPPLY CARDS — irtb-card (desktop/tablet 3+2 grid, mobile Swiper)
   =========================================================== */
.page-irtb .irtb-supply { margin-top: var(--pui-layout-page-section-gap); }
.page-irtb :where(.irtb-cardgrid) > .pui-card {
  width: calc((100% - 48px) / 3);
  /* A2 — the card's paint and column (surface/card, radius 16, padding 20, gap 12) are .pui-card — card.css quotes the site's card master (D45); `width` is the grid's, the frost stays the site's (stated) */
}
.page-irtb :where(.irtb-cardgrid, .swiper-slide) > .pui-card > .pui-card__slot {
  flex: 1 1 auto;
  /* A2 — the white slot (radius 8, padding 12, gap 12) is .pui-card__slot; `flex: 1 1 auto` stays — the slot fills the card in a row of equal heights */
}
/* Items: shared .bullet-list component (global-2026.css) — no per-page li/img/span rules. */

/* ===========================================================
   SUPPLY SLIDER — desktop/tablet = plain grid (Swiper destroyed),
   mobile = Swiper one-card slider with arrow nav (irtb.js)
   =========================================================== */
.page-irtb .irtb-supply__slider { margin-top: var(--pui-space-40); }
.page-irtb .irtb-slider__nav { display: none; }   /* arrows: mobile only */

/* ≥768: Swiper is destroyed, so the wrapper/slides are a plain grid */
@media (min-width: 768px) {
  .page-irtb .irtb-supply__swiper { overflow: visible; }
  /* Row and column gaps are both 24 — Figma's Supply grid puts row 2 at y=620
     under a 596-tall row 1. (Was 48 on the row axis, which read as a loose band
     between the two rows.) */
  .page-irtb .irtb-supply__swiper .swiper-wrapper {
    display: flex; flex-wrap: wrap; gap: var(--pui-space-24); height: auto; transform: none !important;
  }
  .page-irtb .irtb-supply__swiper .swiper-slide { width: calc((100% - 48px) / 3); height: auto; flex-shrink: 0; }
  .page-irtb .irtb-supply__swiper :where(.swiper-slide) > .pui-card { width: 100%; height: 100%; }
  /* Row 1 is a 50/50 pair — Yield + Transparency at 636 each on a 1296 body
     (Figma "Frame 622572": HORIZONTAL, gap 24, both children FILL). Row 2 then
     takes the remaining 3 cards at a third each. Flex `stretch` keeps the pair
     equal height and .irtb-card__slot fills, matching the Figma slots. */
  .page-irtb .irtb-supply__swiper .swiper-slide--half { width: calc((100% - 24px) / 2); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* `stretch` (set explicitly, not left to the default) is what makes cards on
     the same wrap line share the tallest one's height — the white .irtb-card__slot
     then fills, so their bottom edges line up. This was `flex-start`, which let
     each card hug its own content and left row-mates ragged. Stretch equalises
     per wrap line, so a shorter row is never inflated to match a taller one. */
  .page-irtb .irtb-supply__swiper .swiper-wrapper { gap: var(--pui-space-12); align-items: stretch; }
  .page-irtb .irtb-supply__swiper .swiper-slide { width: calc((100% - 12px) / 2); }
  /* Already 2-up here, so the pair needs no special width. */
  .page-irtb .irtb-supply__swiper .swiper-slide--half { width: calc((100% - 12px) / 2); }
}

/* The supply slider's arrows are the kit's Carousel arrow, the same component as the home reviews: rest, hover, focus and
   disabled are pepper-ui.css's (Swiper sets `disabled` on the button at an end, the kit's :disabled draws it) — 2026-10-16. */

/* ===========================================================
   WHY i/RTB — Traditional vs i/RTB platform
   =========================================================== */
.page-irtb .irtb-why { margin-top: var(--pui-layout-page-section-gap); }
/* stretch, not flex-start: the two comparison cards sit side by side, so they
   share the taller one's height (CR-14). They match naturally on desktop where
   both titles are one line, but "Traditional Programmatic Platforms" wraps at
   ≤1023 and left the pair ragged. */
.page-irtb .irtb-why__cols { display: flex; gap: var(--pui-space-64); align-items: stretch; }
.page-irtb :where(.irtb-why__cols) > .pui-card {
  flex: 1 1 0;
  min-width: 0;
  /* the lift is the kit's --raised finish (elevation/card) on the card itself — 2026-10-05 */
}
.page-irtb :where(.irtb-why__cols) > .pui-card:first-child .pui-card__icon   { background: var(--pui-color-neutral-400); }  /* i/RTB (MAFO was red) */
/* Row item styling: shared .status-list component (global-2026.css) — no per-page img/span rules. */
/* Mobile-only bullet line breaks (see mobile block) are suppressed on desktop/tablet. */
.page-irtb :where(.irtb-why__cols) .pui-card__slot br { display: none; }

/* ===========================================================
   CONTACT — multicolour gradient bleeds BEHIND a glass card
   =========================================================== */
.page-irtb .irtb-contact {
  position: relative;
  margin-top: var(--pui-layout-page-section-gap);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-irtb .irtb-contact__gradient {
  position: absolute;
  top: 79%;
  left: 62%;
  transform: translate(-50%, -50%);
  width: 2300px;
  max-width: none;
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.page-irtb .irtb-contact__card {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--pui-radius-32);
  padding: 66px 59px;
  background: color-mix(in srgb, var(--pui-color-neutral-0) 66%, transparent);
  backdrop-filter: blur(15.1px);
  -webkit-backdrop-filter: blur(15.1px);
  box-shadow: var(--pui-shadow-xxl-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pui-space-48);
  flex-wrap: wrap;
  overflow: hidden;
}
.page-irtb .irtb-contact__intro { flex: 1 1 460px; min-width: 300px; }
/* Type comes from the shared `.headline-small` class. */
.page-irtb :where(.irtb-contact__intro) > .pui-text--headline-small {
  margin: 0 0 10px;
}
.page-irtb :where(.irtb-contact__intro) > .pui-text--title-small {
  margin: 0;
  color: var(--pui-text-subtle);
}
/* "Email us: <address>" line — mirrors the echo-ai page's .cta-email
   (Poppins Medium 22 / neutral-600, 22px below the copy above it).
   Link colour + underline set explicitly: the .page-irtb `a` reset at the top of
   this file kills both, and layout.min.css adds
   `body a { text-decoration: none !important }` — hence the !important. */
.page-irtb :where(.irtb-contact__intro) > .pui-text--body-large {
  margin: 22px 0 0;
  color: var(--pui-text-muted);
}
.page-irtb :where(.irtb-contact__intro) > .pui-text--body-large a {
  color: inherit;
  text-decoration: underline !important;
  text-underline-position: from-font;
}
.page-irtb .irtb-contact__card > .form-card {
  flex: 0 0 444px;
  max-width: 100%;
  /* F — the card is the form's own (blocks/form-2026: .form-card.pui-card.pui-card--lined — the tint, the line, the radius and the inset are the component's); the page keeps its width in the row */
}
/* Form heading: shared `.ui-form__title` in global-2026.css (was a per-page fork). */

/* F — the form (.ui-form, the spam trap, the file control) is stated once, in global-2026.css § FORM; this page's copy went (2026-09-28). The form itself is blocks/form-2026; the paint is the kit's. */

/* ===========================================================
   TABLET (≤1023)
   =========================================================== */
@media (max-width: 1023px) {
  /* ---- Showcase: swap the laptop chassis for the browser window ----
     Only the wrapper changes here — the slide deck, its sizing and its
     cross-fade are the shared desktop ones, just scaled by --bu. */
  .page-irtb .irtb-showcase__stage { height: calc(459.86 * var(--bu)); }
  .page-irtb .irtb-showcase__blob {
    left: calc(-88.72 * var(--bu));
    top: calc(-161.98 * var(--bu));
    width: calc(981.03 * var(--bu));
    height: calc(776.83 * var(--bu));
  }
  .page-irtb .laptop__foot,
  .page-irtb .laptop__lid,
  .page-irtb .laptop__notch,
  .page-irtb .laptop__chin,
  .page-irtb .laptop__base,
  .page-irtb .laptop__opener,
  .page-irtb .laptop__highlight { display: none; }

  .page-irtb .showcase-device {
    display: flex;
    flex-direction: column;
    border-radius: calc(19.0123 * var(--bu));
    overflow: hidden;
    box-shadow: 0 calc(19.0123 * var(--bu)) calc(38.0247 * var(--bu)) calc(-7.1296 * var(--bu)) var(--pui-color-alpha-black-14);
  }
  /* Frame stroke as an overlay, not a border: Figma lays the 770x459.86 chrome
     over the stroked frame, so the stroke must not eat into the toolbar and
     screen heights (26.14 + 0.59 + 433.13 has to add up to 459.86 exactly). */
  .page-irtb .showcase-device::after {
    content: "";
    position: absolute;
    inset: 0;
    border: calc(1.1883 * var(--bu)) solid var(--pui-illustration-chrome-line);   /* D — the browser window's chrome (var(--pui-illustration-chrome-line), var(--pui-illustration-chrome-bar), var(--pui-illustration-chrome-well), var(--pui-illustration-chrome-text), the three lights) is a device illustration; no token holds it — stated, request 20 */
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
  }

  .page-irtb .browser__bar {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: calc(26.14 * var(--bu));
    padding: 0 calc(8.3179 * var(--bu));
    background: var(--pui-illustration-chrome-bar);
    border-bottom: calc(0.59 * var(--bu)) solid var(--pui-illustration-chrome-line);
  }
  .page-irtb .browser__lights {
    display: flex;
    align-items: center;
    flex: 0 0 calc(40.4 * var(--bu));
    gap: calc(4.7531 * var(--bu));
  }
  .page-irtb .browser__lights i {
    width: calc(7.7238 * var(--bu));
    height: calc(7.7238 * var(--bu));
    border-radius: 50%;
  }
  .page-irtb .browser__lights i:nth-child(1) { background: var(--pui-illustration-chrome-light-red); }
  .page-irtb .browser__lights i:nth-child(2) { background: var(--pui-illustration-chrome-light-amber); }
  .page-irtb .browser__lights i:nth-child(3) { background: var(--pui-illustration-chrome-light-green); }

  .page-irtb .browser__nav,
  .page-irtb .browser__tools {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: calc(3.5648 * var(--bu));
  }
  .page-irtb .browser__nav   { padding: 0 calc(5.9414 * var(--bu)) 0 calc(3.5648 * var(--bu)); }
  .page-irtb .browser__tools { padding-left: calc(5.9414 * var(--bu)); }
  .page-irtb .browser__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(13.07 * var(--bu));
    height: calc(13.07 * var(--bu));
  }
  .page-irtb .browser__btn .pui-icon { width: auto; height: auto; }
  .page-irtb .browser__nav .browser__btn:nth-child(1) .pui-icon,
  .page-irtb .browser__nav .browser__btn:nth-child(2) .pui-icon {
    width: calc(5.9414 * var(--bu));
    height: calc(8.3179 * var(--bu));
  }
  .page-irtb .browser__nav .browser__btn:nth-child(3) .pui-icon {
    width: calc(7.7238 * var(--bu));
    height: calc(7.7238 * var(--bu));
  }
  .page-irtb .browser__tools .browser__btn:nth-child(1) .pui-icon,
  .page-irtb .browser__tools .browser__btn:nth-child(2) .pui-icon {
    width: calc(8.3179 * var(--bu));
    height: calc(8.3179 * var(--bu));
  }
  .page-irtb .browser__tools .browser__btn:nth-child(3) .pui-icon {
    width: calc(8.3179 * var(--bu));
    height: calc(5.9414 * var(--bu));
  }

  .page-irtb .browser__url {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    height: calc(15.4475 * var(--bu));
    padding: 0 calc(5.9414 * var(--bu));
    gap: calc(4.7531 * var(--bu));
    background: var(--pui-illustration-chrome-well);
    border-radius: calc(7.7238 * var(--bu));
  }
  .page-irtb :where(.browser__url) > .pui-icon { flex: 0 0 auto; }
  .page-irtb :where(.browser__url) > .pui-icon:first-child {
    width: calc(5.9414 * var(--bu));
    height: calc(7.1296 * var(--bu));
  }
  .page-irtb :where(.browser__url) > .pui-icon:last-child {
    width: calc(7.1296 * var(--bu));
    height: calc(7.1296 * var(--bu));
  }
  /* Browser chrome, so it takes the platform UI face rather than the page's
     Poppins — Figma specifies Inter, which the site does not load. */
  .page-irtb .browser__url-text {
    flex: 1 1 auto;
    min-width: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: var(--pui-font-weight-400);
    font-size: calc(7.1296 * var(--bu));
    line-height: 1;
    text-align: center;
    color: var(--pui-illustration-chrome-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* The screen stops being a positioned cut-out and simply fills what the
     toolbar leaves; the slides keep their own rules. */
  /* 770 x 433.13 = the Figma window's 1296 x 729 content area, also exactly
     16:9 — so the shared slide rule (inset 0 / cover) fills it without a crop
     here too, and nothing needs re-sizing per breakpoint. */
  .page-irtb .showcase-screen {
    position: relative;   /* stays the slides' containing block, or they anchor
                             to the device and slide up under the toolbar */
    left: auto;
    top: auto;
    width: auto;
    height: calc(433.13 * var(--bu));
    flex: 0 0 auto;
    border-radius: 0;
  }

  .page-irtb .container { width: 100%; max-width: 100%; padding-left: var(--pui-space-32); padding-right: var(--pui-space-32); }
  .page-irtb .irtb-main { padding-top: 96px; }


  /* HERO — logo+H1+buttons left, image right, sub full-width below the row */
  .page-irtb .irtb-hero__card { padding: var(--pui-space-16); border-radius: var(--pui-radius-16); gap: var(--pui-space-24); }
  .page-irtb .irtb-hero__top {
    grid-template-columns: 1fr 308px;
    column-gap: var(--pui-space-12);
    grid-template-areas:
      "logo    media"
      "title   media"
      "actions media"
      "sub     sub";
  }
  .page-irtb .irtb-hero__logo { width: 200px; margin-bottom: var(--pui-space-24); }
  .page-irtb :where(.irtb-hero__top) > .pui-text--headline-small { margin-bottom: var(--pui-space-24); font-size: var(--pui-font-size-32); }
  .page-irtb .irtb-hero__actions { margin: 0; align-self: end; }
  .page-irtb :where(.irtb-hero__top) > .pui-text--body-large { margin: var(--pui-space-32) 0 0; }
  .page-irtb :where(.irtb-hero__top) > .pui-media-host { width: 308px; }
  .page-irtb :where(.irtb-hero__top) > .pui-media-host img { aspect-ratio: 308 / 173; }
  .page-irtb .irtb-hero__logos { justify-content: space-between; gap: var(--pui-space-8); }

  .page-irtb :where(.irtb-chips) > .pui-card { width: calc((100% - 28px) / 2); }

  /* KEY FACTS — 4 narrow cards in ONE row, num + chip stacked vertically */
  .page-irtb .irtb-facts__grid { flex-wrap: nowrap; gap: var(--pui-space-16); }
  .page-irtb .irtb-facts__grid .pui-kpi-tile,
  .page-irtb .irtb-facts__grid .pui-kpi-tile:nth-child(2) { min-width: 167px; height: 149px; }
/* A2 — the tablet inset goes with the desktop one */

  .page-irtb .irtb-what__cap-col { flex: 1 1 100%; }
  .page-irtb :where(.irtb-what__cap-col) > .pui-card { width: 100%; }
  .page-irtb .irtb-what__card { flex-direction: column; align-items: stretch; gap: var(--pui-space-32); padding: var(--pui-space-32); }
  .page-irtb .irtb-what__intro { flex: none; max-width: 100%; padding: 0; }

  /* DEMAND — stays side-by-side (text 261 + media 404), just narrower */
  .page-irtb .demand-card__text-col { width: 261px; }
  .page-irtb .demand-card__text { width: 100%; }
  .page-irtb :where(.demand-stack) .pui-card--soft { width: 404px; }

  .page-irtb :where(.irtb-cardgrid) > .pui-card { width: calc((100% - 24px) / 2); }

  .page-irtb .irtb-why__cols { gap: var(--pui-space-24); }

  .page-irtb .irtb-contact__gradient { top: 54%; left: 50%; width: 300%; height: 200%; }
  .page-irtb .irtb-contact__card { padding: var(--pui-space-20); gap: var(--pui-space-24); }
  .page-irtb .irtb-contact__intro { flex: 1 1 100%; }
  .page-irtb .irtb-contact__card > .form-card { flex: 1 1 100%; }
}

/* ===========================================================
   MOBILE (≤767)
   =========================================================== */
@media (max-width: 767px) {
  .page-irtb .container { padding-left: var(--pui-space-16); padding-right: var(--pui-space-16); }
  .page-irtb .irtb-main { padding-top: var(--pui-space-80); }

  /* Title→content inside a block — mobile step */
  .page-irtb :where(.irtb-main) section > .pui-text--headline-small { margin: 0 0 var(--pui-space-16); }
  .page-irtb section > .pui-heading-pair--section { margin-bottom: var(--pui-space-16); }

  /* Stacked pieces inside a block — 16 on mobile */
  .page-irtb .pui-insight-block,
  .page-irtb .demand-stack-outer,
  .page-irtb .irtb-supply__slider { margin-top: var(--pui-space-16); }

  /* HERO — single column: logo → H1 → buttons → image → sub, then logos */
  .page-irtb .irtb-hero__card { padding: var(--pui-space-16); gap: var(--pui-space-24); }
  .page-irtb .irtb-hero__top {
    grid-template-columns: 1fr;
    column-gap: 0;
    grid-template-areas: "logo" "title" "actions" "media" "sub";
  }
  .page-irtb :where(.irtb-hero__top) > .pui-text--headline-small { margin-bottom: var(--pui-space-24); }
  .page-irtb .irtb-hero__actions { align-self: stretch; margin: 0 0 var(--pui-space-32); gap: var(--pui-space-8); }
  .page-irtb .irtb-hero__actions .pui-button { flex: 1 1 0; }   /* 2.4.2 — the hero's buttons carry pui-button now (D61) */
  .page-irtb :where(.irtb-hero__top) > .pui-media-host { width: 100%; margin-bottom: var(--pui-space-32); }
  .page-irtb :where(.irtb-hero__top) > .pui-media-host img,
  .page-irtb .irtb-hero__video { aspect-ratio: 337 / 189; }
  .page-irtb :where(.irtb-hero__top) > .pui-text--body-large { margin: 0; }
  .page-irtb .irtb-hero__logos { flex-wrap: wrap; justify-content: space-between; gap: 18px 16px; }
  .page-irtb .irtb-hero__logos img { height: auto; max-height: 16px; width: auto; }

  .page-irtb .irtb-chips { gap: var(--pui-space-16); margin-top: var(--pui-space-40); }
  .page-irtb :where(.irtb-chips) > .pui-card { width: 100%; min-height: 0; }

  /* KEY FACTS — 2×2, 16px row gap */
  .page-irtb .irtb-facts__grid { flex-wrap: wrap; gap: 16px 13px; }
  .page-irtb .irtb-facts__grid .pui-kpi-tile,
  .page-irtb .irtb-facts__grid .pui-kpi-tile:nth-child(2) { width: calc((100% - 13px) / 2); min-width: 0; height: 149px; }

  .page-irtb .irtb-what__card { padding: var(--pui-space-16); }


  /* DEMAND — simple block of cards, NO sticky-stacking on mobile */
  .page-irtb .demand-stack { padding-bottom: 0; }
  .page-irtb :where(.demand-stack) > .pui-card {
    position: static; top: auto; transform: none; will-change: auto;
    padding: var(--pui-space-20); margin-bottom: var(--pui-space-16);
    flex-direction: column; align-items: stretch; gap: var(--pui-space-24);
  }
  .page-irtb .demand-card__text-col { width: 100%; justify-content: flex-start; }
  .page-irtb .demand-card__media-col { width: 100%; justify-content: flex-start; }
  .page-irtb :where(.demand-stack) .pui-card--soft { width: 100%; padding: var(--pui-space-16); }

  /* SUPPLY — Swiper one-card slider (init by irtb.js); show the arrow nav */
  .page-irtb .irtb-supply__swiper :where(.swiper-slide) > .pui-card { width: 100%; height: auto; }
  .page-irtb .irtb-slider__nav { display: flex; justify-content: flex-end; gap: var(--pui-space-16); margin-top: var(--pui-space-24); }

  /* WHY — horizontal scroll, i/RTB column FIRST (Figma mobile order).
     Pad the scroll viewport for the cards' shadow and cancel it with net-zero
     negative margins so the section spacing is unchanged. */
  .page-irtb .irtb-why__cols {
    flex-direction: row; flex-wrap: nowrap; gap: var(--pui-space-16);
    align-items: stretch;
    overflow-x: auto;
    padding: var(--pui-space-12) var(--pui-space-16) var(--pui-space-64);
    margin: -12px -16px -56px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .page-irtb :where(.irtb-why__cols) > .pui-card { flex: 0 0 283.36px; min-width: 283.36px; scroll-snap-align: start; }
  .page-irtb :where(.irtb-why__cols) > .pui-card:nth-child(2) { order: -1; }   /* i/RTB platform first */
  .page-irtb :where(.irtb-why__cols) .pui-card__slot { padding: 0; }
  /* Force matching 2-line bullets (via <br class="mob-br">) so the two cards'
     rows line up; equalise the head height (Traditional's title is 3 lines)
     so the first rows start at the same Y. Mobile only. */
  .page-irtb :where(.irtb-why__cols) .pui-card__slot br { display: inline; }
  .page-irtb :where(.irtb-why__cols) .pui-card__header { min-height: 70px; align-items: center; }

  .page-irtb .irtb-contact__gradient { top: 54%; left: 50%; width: 400%; }
  .page-irtb .irtb-contact__card { padding: var(--pui-space-16); gap: var(--pui-space-20); border-radius: 24px; }
  /* F — the card's inset on a phone is the form card's own (global-2026.css) */
}

/* C — the ink of every glyph the kit does not paint itself, bound by name (the file's colour → its token; 2026-09-25). Glyphs inside a
   kit slot (.pui-card__icon, .pui-badge, .pui-icon-button, .pui-input-group__icon, .pui-select__chevron, .pui-nav-link__caret, .pui-form-result__icon) take the kit's ink. */
.page-irtb .irtb-why__cols .pui-card__icon { color: var(--pui-text-on-accent); }   /* the dark glyph on the white filled-header box is Fedor's file; the kit paints accent/main (yellow on white) — request 27 */
.page-irtb .browser__btn .pui-icon, .page-irtb :where(.browser__url) > .pui-icon { color: var(--pui-illustration-chrome-text); }

/* STEP 12 (2026-09-28) — a design-system part carries the design system's classes only. This page reaches a part through the
   block that holds it (.page-irtb .irtb-chips > .pui-card), and states only what is the page's: a width in a row, a place in a grid. */
/* STEP 12 · TOKENS — the site's alias names became the design system's; a typed value that equals a token is the token */

/* 14 — a tablet keeps the desktop step here (the block never had a tablet line): space/128 by name, 768–1023 only */
@media (min-width: 768px) and (max-width: 1023px) {
  .page-irtb .irtb-showcase { margin-top: var(--pui-space-128); }
}
