/* =====================================================================================
   CASE STUDIES — the one shared design system for all 18 case-study pages.
   Markup: scripts/render_flow.mjs. Everything is scoped to .cs, so home / About never see it.

   Width model (three separate jobs):
     .cs-sec    full-bleed background only (no width limit)
     .cs-wrap   A. outer container: 1120 max, 48 / 32 / 20 gutters
     .cs-text   B. reading column: max 720, centred as a block, text left-aligned
     .cs-media  C. images, diagrams, comparisons, galleries: full 1120
     .cs-row    C. multi-column groups on the 1120 container (each item fills its column)
   ===================================================================================== */
.cs {
  --cs-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  /* type: page title 48/32 · section title 36/24 · body 18/16 · label & caption 12 */
  --fs-page: 48px;    --lh-page: 1.15;    --ls-page: -0.025em;
  --fs-section: 36px; --lh-section: 1.3;  --ls-section: -0.02em;
  --fs-body: 18px;    --lh-body: 1.65;
  --fs-small: 12px;   --lh-small: 1.5;    --ls-label: 0.08em;
  --fw-regular: 400;  --fw-strong: 600;
  /* spacing */
  --sp-label: 12px;      /* label -> title */
  --sp-caption: 8px;     /* image -> caption */
  --sp-paragraph: 24px;  /* paragraph -> paragraph */
  --sp-heading: 24px;    /* section title -> body */
  --sp-sub: 12px;        /* subheading -> its body */
  --sp-list: 12px;       /* intro sentence -> list */
  --sp-item: 12px;       /* list item -> list item */
  --sp-media: 24px;      /* body -> related image */
  --sp-group: 48px;      /* sub-groups inside a section */
  --sp-section: 96px;    /* between major sections (total visible gap) */
  /* width */
  --content-max: 1120px;
  --measure: 720px;
  --gutter: 48px;
  --radius-media: 8px;
  --cs-accent: rgb(37, 99, 235);   /* highlight colour (chosen option) */

  font-family: var(--cs-font);
  background: var(--page-bg, #fff);
  color: #111;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1023px) { .cs { --gutter: 32px; } }
@media (max-width: 767px) { .cs { --fs-page: 32px; --fs-section: 24px; --fs-body: 16px; --sp-section: 64px; --gutter: 20px; } }

.cs *, .cs *::before, .cs *::after { box-sizing: border-box; }

/* ---- sections: background full-bleed; half the section gap on each side = 96 / 64 total between sections */
.cs-sec { position: relative; isolation: isolate; background: var(--sec-bg, transparent); padding-block: calc(var(--sp-section) / 2); margin: 0; }
.cs > .cs-sec:first-child { padding-top: var(--sp-section); }
.cs > .cs-sec:last-child { padding-bottom: var(--sp-section); }
.cs-bgimg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; pointer-events: none; }

/* ---- A. outer container; its children are separated by one gap (sub-groups) */
.cs-wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; flex-direction: column; gap: var(--sp-group); }

/* ---- single-column groups: text lane + media lane */
.cs-stack { display: flex; flex-direction: column; gap: var(--sp-media); }
/* ---- B. reading column */
.cs-text { width: 100%; max-width: var(--measure); margin-inline: auto; text-align: left; }
/* ---- C. media lane */
.cs-media { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--sp-paragraph); }
.cs-media > .cs-caption { align-self: stretch; width: 100%; max-width: var(--measure); margin: calc(var(--sp-caption) - var(--sp-paragraph)) auto 0; text-align: left; }
.cs-media > :is(.cs-body, .cs-sub, .cs-list, .cs-label, .cs-h2) { align-self: stretch; width: 100%; max-width: var(--measure); margin-inline: auto; }

/* ---- C. multi-column groups (comparisons, image + text, 3-up cards) */
.cs-row { display: grid; grid-template-columns: var(--cols); column-gap: var(--sp-group); row-gap: var(--sp-group); align-items: start; }
.cs-col { min-width: 0; text-align: left; }
@media (max-width: 1023px) { .cs-row--3, .cs-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cs-row { grid-template-columns: minmax(0, 1fr); } }

/* ---- type: every role uses a token; the original Wix px sizes are not carried over */
/* zero-specificity reset, so the relationship spacing below always wins */
:where(.cs) :where(h1, h2, h3, p, ul, ol, li, figure, blockquote) { margin: 0; }
.cs :is(.cs-label, .cs-h1, .cs-h2, .cs-stat, .cs-sub, .cs-body, .cs-list, .cs-caption, .cs-actions) { overflow-wrap: break-word; }
.cs-label { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-regular); letter-spacing: var(--ls-label); text-transform: uppercase; }
.cs-h1 { font-size: var(--fs-page); line-height: var(--lh-page); font-weight: var(--fw-strong); letter-spacing: var(--ls-page); }
.cs-h2 { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-strong); letter-spacing: var(--ls-section); }
.cs-stat { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-strong); letter-spacing: var(--ls-section); }
.cs-sub { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-strong); letter-spacing: normal; }
.cs-body, .cs-actions { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-regular); letter-spacing: normal; }
.cs-caption { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-regular); letter-spacing: normal; }
.cs :is(b, strong) { font-weight: var(--fw-strong); }
.cs a:not(.cs-btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cs-center { text-align: center; }
/* section-top labels are centred over the section; long text, subheadings and lists stay left-aligned */
.cs-sec-label { text-align: center; }
/* the section title under a section label is centred with it; paragraphs stay left in the 720 column */
.cs-text > .cs-sec-label + :is(.cs-h1, .cs-h2) { text-align: center; text-wrap: balance; }
.cs-wrap > .cs-sec-label { width: 100%; grid-column: 1 / -1; }
/* label directly above multi-column content (e.g. PROJECT OVERVIEW): 32px instead of the 48px group gap */
.cs-wrap > .cs-sec-label:has(+ .cs-row) { margin-bottom: calc(32px - var(--sp-group)); }

/* ---- lists: real ul / ol, disc bullets outside, wrapped lines align with the text */
.cs-list { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-regular); letter-spacing: normal; text-align: left;
  list-style-position: outside; padding-inline-start: 1.25em; }
ul.cs-list { list-style-type: disc; }
ol.cs-list { list-style-type: decimal; }
.cs-list ul { list-style-type: circle; padding-inline-start: 1.25em; margin-top: var(--sp-item); }
.cs-list li + li { margin-top: var(--sp-item); }
.cs-list li > p { margin: 0; display: inline; }

/* ---- vertical rhythm inside a text column / grid column (margin-top only: nothing can collapse or double up) */
:is(.cs-text, .cs-col, .cs-card) > * + * { margin-top: var(--sp-paragraph); }
:is(.cs-text, .cs-col, .cs-card) > .cs-label + * { margin-top: var(--sp-label); }
:is(.cs-text, .cs-col, .cs-card) > :is(.cs-h1, .cs-h2) + * { margin-top: var(--sp-heading); }
:is(.cs-text, .cs-col, .cs-card) > .cs-sub + * { margin-top: var(--sp-sub); }
:is(.cs-text, .cs-col, .cs-card) > * + :is(.cs-h2, .cs-label) { margin-top: var(--sp-group); }
/* a subheading after a paragraph or list starts a new group: 48 (same as caption -> subheading) */
:is(.cs-text, .cs-col, .cs-card) > :is(.cs-body, .cs-list) + .cs-sub { margin-top: var(--sp-group); }
:is(.cs-text, .cs-col, .cs-card) > .cs-label + :is(.cs-h1, .cs-h2) { margin-top: var(--sp-label); }
:is(.cs-text, .cs-col, .cs-card) > :is(.cs-body, .cs-sub) + .cs-list { margin-top: var(--sp-list); }
:is(.cs-text, .cs-col, .cs-card) > .cs-stat + * { margin-top: var(--sp-caption); }
:is(.cs-text, .cs-col, .cs-card) > .cs-h2 + .cs-h2 { margin-top: var(--sp-label); }
.cs-col > * + :is(.cs-fig, .cs-gal), .cs-col > :is(.cs-fig, .cs-gal) + * { margin-top: var(--sp-media); }
.cs-col > :is(.cs-fig, .cs-gal) + .cs-caption { margin-top: var(--sp-caption); }
.cs-col > :is(.cs-fig, .cs-gal) + :is(.cs-sub, .cs-h2, .cs-label) { margin-top: var(--sp-group); }
/* in a one-column stack: media lane -> a text lane that opens with a (sub)heading = 48 in total */
.cs-media + .cs-text > :first-child:is(.cs-sub, .cs-h2, .cs-label) { margin-top: calc(var(--sp-group) - var(--sp-media)); }
.cs-col > .cs-fig + .cs-fig { margin-top: var(--sp-paragraph); }

/* ---- media: whole image, original ratio (width set, height auto), 8px radius on photos / screens */
.cs-fig { width: 100%; max-width: min(100%, var(--maxw, 100%)); }
.cs-col > .cs-fig { max-width: 100%; }
.cs-col > .cs-fig--graphic { max-width: min(100%, var(--maxw)); }
.cs-fig img { display: block; width: 100%; height: auto; border-radius: var(--radius-media); }
.cs-fig--graphic img { border-radius: 0; }
.cs-frame { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius-media); }
.cs-frame img { position: absolute; max-width: none; border-radius: 0; }
.cs-fig--graphic .cs-frame { border-radius: 0; }
.cs-video, .cs-embed { position: relative; overflow: hidden; border-radius: var(--radius-media); }
.cs-video video, .cs-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* embedded players: the ratio sits on the player, so a caption can follow it (8px below, same left edge) */
.cs-embed, .cs-video { overflow: visible; border-radius: 0; }
.cs-video video { position: static; height: auto; aspect-ratio: var(--ar, 16 / 9); object-fit: cover; border-radius: var(--radius-media); }
.cs-embed iframe { position: static; height: auto; aspect-ratio: var(--ar, 16 / 9); border-radius: var(--radius-media); }
.cs-svg { max-width: 100%; }
.cs-svg svg { width: 100%; height: 100%; display: block; }

/* ---- slideshow galleries (Wix galleries re-used from render_layout) */
.cs-gal { position: relative; width: 100%; max-width: min(100%, var(--maxw)); aspect-ratio: var(--ar); border-radius: var(--radius-media); overflow: hidden; }
.cs-gal > * { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
@media (max-width: 767px) { .cs-gal { aspect-ratio: var(--arm); } }

/* ---- cards keep the original panel colour (stat cards, quotes, personas) */
.cs-card { width: 100%; background: var(--card-bg); border-radius: var(--radius-media); padding: var(--sp-heading); text-align: left; }
.cs-card .cs-stack { gap: var(--sp-paragraph); }
.cs-card .cs-text { margin-inline: 0; }
.cs-card .cs-row { column-gap: var(--sp-paragraph); row-gap: var(--sp-paragraph); }
@media (max-width: 767px) { .cs-card { padding: 20px; } }

/* ---- buttons */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 24px;
  background: var(--btn-bg, #111); color: var(--btn-fg, #fff) !important; border: 1px solid var(--btn-border, var(--btn-bg, #111));
  border-radius: 4px; font: var(--fw-strong) var(--fs-body)/1.3 var(--cs-font); text-decoration: none; }
.cs-btn:hover { filter: brightness(0.92); }
.cs-btn:focus-visible { outline: 2px solid #4163ed; outline-offset: 3px; }
.cs-ext { font-size: inherit; }

/* ---- thumbnail gallery component inside the design system */
.cs-tg { width: 100%; }
.cs-tg :is(.cs-body, .cs-sub, .cs-list, .cs-label, .cs-h2) { text-align: left; }

/* scroll reveal: .reveal / .in in site.css + site.js. Content is hidden only while the reveal script is
   actually running (html.js-reveal); without JS, or with reduced motion, it is shown immediately. */

/* caption written under an image / video / GIF: part of the figure, 8px below it, same left edge */
.cs-fig > figcaption.cs-caption { display: block; margin-top: var(--sp-caption); text-align: left; max-width: none; }
/* a row of cards only (stat cards etc.) keeps its columns on tablets; stacks on phones */
@media (min-width: 768px) and (max-width: 1023px) { .cs-row--cards:not(.cs-row--4) { grid-template-columns: var(--cols); column-gap: var(--sp-paragraph); } }
.cs-row--cards { align-items: stretch; }
.cs-row--cards > .cs-col > .cs-card { height: 100%; }
/* ---- impact numbers: the one explicit exception to the three type sizes (64 desktop / 40 mobile).
   A long value (e.g. "8SYSTEMS") shrinks to fit its card instead of breaking; tabular digits keep
   the width steady while counting. Colour = the project's own highlight colour from the original. */
.cs { --fs-impact: var(--fs-page); }   /* key numbers use the page-title size (48 / 32) */
@media (max-width: 767px) { .cs { --fs-impact: var(--fs-page); } }
@media (min-width: 768px) and (max-width: 1023px) { .cs { --fs-impact: var(--fs-section); } }   /* three narrow cards: 36 fits without shrinking */
.cs-row--cards > .cs-col > .cs-card { container-type: inline-size; }
.cs-row--cards .cs-stat { font-size: min(var(--fs-impact), calc(100cqi * 1.38 / var(--len, 4))); line-height: 1.1; font-weight: var(--fw-strong);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-row--cards .cs-stat + * { margin-top: 12px; }
.cs-count { display: inline-block; text-align: right; }
.cs-row--cards { column-gap: 32px; row-gap: 32px; }
/* a short note written right under a row of cards: its 12px caption, 8px below */
.cs-wrap > .cs-row + .cs-row-note { margin-top: calc(var(--sp-caption) - var(--sp-group)); text-align: left; }
/* motion: the row itself doesn't fade as a block; its cards rise 12px one after another (100ms apart) */
.js-reveal .cs-row--cards.reveal { opacity: 1; transform: none; transition: none; }
.js-reveal .cs-card .reveal { opacity: 1; transform: none; transition: none; }
.js-reveal .cs-row--cards > .cs-col { opacity: 0; transform: translateY(12px); transition: opacity .45s ease-out, transform .45s ease-out; }
.js-reveal .cs-row--cards > .cs-col:nth-child(2) { transition-delay: 100ms; }
.js-reveal .cs-row--cards > .cs-col:nth-child(3) { transition-delay: 200ms; }
.js-reveal .cs-row--cards > .cs-col:nth-child(4) { transition-delay: 300ms; }
.js-reveal .cs-row--cards.in > .cs-col { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .cs-row--cards > .cs-col { opacity: 1; transform: none; transition: none; } }
@media print { .cs-row--cards > .cs-col { opacity: 1 !important; transform: none !important; } }

/* ---- trade-off options: every option is a light-grey card (white screenshots stand off it); the chosen
   one gets a 2px accent ring that draws once around the card, a soft shadow and a "Chosen approach" badge.
   Ring and badge are overlays, so both cards keep the same image area and text start line. */
.cs-row--options { align-items: stretch; row-gap: 40px; }
.cs-option { position: relative; padding: 24px; border-radius: var(--radius-media); background: rgb(244, 245, 247); border: 1px solid rgb(226, 229, 233); }
.cs-option > :is(.cs-option__badge, .cs-option__ring) + * { margin-top: 0; }
.cs-option--chosen { border-color: transparent; box-shadow: 0 10px 28px rgba(37, 99, 235, .12); }
.cs-option__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; pointer-events: none; }
.cs-option__ring rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); fill: none; stroke: var(--cs-accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cs-option__badge { position: absolute; top: 0; left: 24px; z-index: 1; margin: 0; transform: translateY(-50%);
  padding: 4px 12px; border-radius: 999px; background: var(--cs-accent); color: #fff;
  font: var(--fw-strong) 12px/1.5 var(--cs-font); letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 767px) { .cs-option { padding: 20px; } }
/* motion: hidden start state only while the reveal script runs */
.js-reveal .cs-row--options .cs-option__ring rect { stroke-dashoffset: 1; transition: stroke-dashoffset .8s cubic-bezier(.65, 0, .35, 1) .35s; }
.js-reveal .cs-row--options .cs-option__badge { opacity: 0; transform: translateY(-50%) scale(.9); transition: opacity .3s ease 1.1s, transform .4s cubic-bezier(.34, 1.56, .64, 1) 1.1s; }
.js-reveal .cs-row--options .cs-option--chosen { box-shadow: none; transition: box-shadow .5s ease 1.1s; }
.js-reveal .cs-row--options.in .cs-option__ring rect { stroke-dashoffset: 0; }
.js-reveal .cs-row--options.in .cs-option__badge { opacity: 1; transform: translateY(-50%); }
.js-reveal .cs-row--options.in .cs-option--chosen { box-shadow: 0 10px 28px rgba(37, 99, 235, .12); }
@media (prefers-reduced-motion: reduce) { .js-reveal .cs-row--options :is(.cs-option__ring rect, .cs-option__badge, .cs-option--chosen) { transition: none; } }
@media print {
  .cs-row--options .cs-option__ring rect { stroke-dashoffset: 0 !important; }
  .cs-row--options .cs-option__badge { opacity: 1 !important; transform: translateY(-50%) !important; }
}
/* options side by side share rows: image, caption, each subheading and list start on the same line */
@media (min-width: 768px) {
  .cs-row--options { grid-template-rows: repeat(var(--opt-rows, 1), auto); row-gap: 0; }
  .cs-row--options > .cs-option { display: grid; grid-row: span var(--opt-rows, 1); grid-template-rows: subgrid; align-content: start; }
  /* screenshots of slightly different heights: images stay top-aligned and whole, captions share one line */
  .cs-row--options > .cs-option > .cs-fig { align-self: stretch; display: grid; grid-template-rows: auto auto; align-content: start; align-items: start; }
}
/* two-column comparisons with matching blocks share rows (each pair starts on the same line) */
@media (min-width: 768px) {
  .cs-row--paired { grid-template-rows: repeat(var(--pair-rows), auto); row-gap: 0; }
  .cs-row--paired > .cs-col { display: grid; grid-row: span var(--pair-rows); grid-template-rows: subgrid; align-content: start; }
  .cs-row--paired > .cs-col > .cs-fig { align-self: start; }
}
.cs-nowrap { white-space: nowrap; }

/* =====================================================================================
   DIAGRAMS rebuilt from pictures (dg-*): content lives in private snippets (overrides "replaceMedia").
   Motion piggybacks on the scroll reveal: while the surrounding .reveal block is not yet .in, parts sit
   in their start state; then they play in order (--d steps of 130ms). Final state without JS / with
   reduced motion / in print.
   ===================================================================================== */
.cs-dg-wrap { width: 100%; max-width: min(100%, var(--maxw)); margin-inline: auto; text-align: left; }
.dg { margin: 0; }
.dg-in, .dg-pop { transition: opacity .4s ease-out, transform .4s ease-out; transition-delay: calc(var(--d, 0) * 130ms); }
.dg-wipe { clip-path: inset(0 0 0 0); transition: clip-path .5s ease-in-out; transition-delay: calc(var(--d, 0) * 130ms); }
.dg-draw-v { transform-origin: top center; transition: transform .35s ease-in-out; transition-delay: calc(var(--d, 0) * 130ms); }
.js-reveal .reveal:not(.in) .dg-in { opacity: 0; transform: translateY(10px); }
.js-reveal .reveal:not(.in) .dg-pop { opacity: 0; transform: scale(.96); }
.js-reveal .reveal:not(.in) .dg-wipe { clip-path: inset(0 0 100% 0); }
.js-reveal .reveal:not(.in) .dg-draw-v { transform: scaleY(0); }
@media (prefers-reduced-motion: reduce) { .dg-in, .dg-pop, .dg-wipe, .dg-draw-v { transition: none; } }
@media print { .dg-in, .dg-pop { opacity: 1 !important; transform: none !important; } .dg-wipe { clip-path: none !important; } .dg-draw-v { transform: none !important; } }

/* stakeholder convergence: four team cards -> lines converge -> one highlighted outcome */
.dg-head { max-width: var(--measure); margin: 0 auto var(--sp-media); }
.dg-head .cs-label + .cs-h2 { margin-top: var(--sp-label); }
.dg-stake__teams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dg-stake__team { padding: 20px; border-radius: var(--radius-media); background: rgb(241, 242, 244); border: 1px solid rgb(228, 230, 234); }
.dg-stake__who { margin: 0; font-size: 12px; line-height: 1.5; font-weight: var(--fw-strong); letter-spacing: .08em; text-transform: uppercase; color: rgb(88, 94, 104); }
.dg-stake__goal { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: #111; }
.dg-stake__merge { display: block; width: 100%; height: 56px; overflow: visible; }
.dg-stake__merge path, .dg-sig__merge path { fill: none; stroke: var(--cs-accent); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .55; }
.dg-stake__down, .dg-sig__down { display: none; width: 0; height: 32px; margin: 8px auto; border-left: 2px solid var(--cs-accent); opacity: .55; }
.dg-stake__result { max-width: 380px; margin: 0 auto; padding: 20px 24px; text-align: center; border-radius: var(--radius-media); background: #fff;
  border: 2px solid var(--cs-accent); box-shadow: 0 10px 28px rgba(37, 99, 235, .14); }
.dg-stake__result .dg-stake__who { color: var(--cs-accent); }
.dg-stake__result .dg-stake__goal { font-size: var(--fs-body); font-weight: var(--fw-strong); }
.dg-stake__how { max-width: var(--measure); margin: var(--sp-group) auto 0; padding: 24px 24px 24px calc(24px + 1.25em); border-radius: var(--radius-media); background: rgb(241, 242, 244); }
.dg-stake__how li::marker { color: var(--cs-accent); }
@media (max-width: 1023px) {
  .dg-stake__teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-stake__merge { display: none; } .dg-stake__down { display: block; }
}
@media (max-width: 539px) { .dg-stake__teams { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* system signals: one incident, two readings (P2 vs P1) -> one decision */
.dg-sig { padding: 32px; border-radius: var(--radius-media); background: #fff; border: 1px solid rgb(229, 231, 235); }
.dg-sig__title { margin: 0 0 24px; text-align: center; font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-strong); color: rgb(55, 65, 81); }
.dg-sig__lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.dg-sig__lane { display: flex; flex-direction: column; min-width: 0; }
.dg-sig__team { margin: 0 0 10px; font-size: 12px; line-height: 1.5; font-weight: var(--fw-strong); letter-spacing: .08em; text-transform: uppercase; color: rgb(75, 85, 99); }
.dg-sig__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dg-sig__chips li { display: grid; place-items: center; min-height: 48px; padding: 8px; text-align: center; border-radius: var(--radius-media);
  background: rgb(243, 243, 241); border: 1px solid rgb(214, 214, 210); font-size: 13px; line-height: 1.35; font-weight: var(--fw-strong); color: rgb(55, 65, 81); }
.dg-sig__ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 28px; }
.dg-sig__ticks span { justify-self: center; width: 0; height: 100%; border-left: 1.5px dashed rgb(156, 163, 175); }
.dg-sig__verdict { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px 16px 16px 68px; border-radius: var(--radius-media); border: 1px solid; }
.dg-sig__lane--p2 .dg-sig__verdict { background: rgb(254, 246, 214); border-color: rgb(240, 214, 120); }
.dg-sig__lane--p1 .dg-sig__verdict { background: rgb(254, 228, 230); border-color: rgb(244, 178, 184); }
.dg-sig__prio { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-size: 14px; font-weight: var(--fw-strong); color: #fff; font-variant-numeric: tabular-nums; }
.dg-sig__lane--p2 .dg-sig__prio { background: rgb(146, 100, 0); }
.dg-sig__lane--p1 .dg-sig__prio { background: rgb(190, 30, 45); }
.dg-sig__quote { margin: 0; font-size: 15px; line-height: 1.5; color: rgb(55, 65, 81); }
.dg-sig__call { margin: 4px 0 0; font-size: 15px; line-height: 1.5; font-weight: var(--fw-strong); color: #111; }
.dg-sig__merge { display: block; width: 100%; height: 48px; overflow: visible; }
.dg-sig__decision { max-width: 640px; margin: 0 auto; padding: 24px; text-align: center; border-radius: var(--radius-media); background: rgb(31, 41, 55); color: #fff; }
.dg-sig__my { margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: rgb(209, 213, 219); }
.dg-sig__rule { margin: 6px 0 0; font-size: 22px; line-height: 1.35; font-weight: var(--fw-strong); letter-spacing: -0.01em; }
.dg-sig__sub { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: rgb(229, 231, 235); }
@media (max-width: 767px) {
  .dg-sig { padding: 20px; }
  .dg-sig__lanes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dg-sig__merge { display: none; } .dg-sig__down { display: block; }
  .dg-sig__chips li { font-size: 12px; min-height: 44px; padding: 6px; }
  .dg-sig__rule { font-size: 18px; }
}

/* ---- impact cards: an accent bar grows across the top; "8 -> 1" plays before -> after; a "down from N"
   condition sits as a small note under the description (the number counts down from N) */
.cs-row--cards > .cs-col > .cs-card:has(.cs-stat) { position: relative; overflow: hidden; }
.cs-row--cards > .cs-col > .cs-card:has(.cs-stat)::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cs-accent);
  transform-origin: left center; transition: transform .6s cubic-bezier(.2, .7, .2, 1) .15s; }
.cs-cmp { display: inline-flex; align-items: baseline; gap: .12em; }
.cs-cmp__from { opacity: .45; }
.cs-cmp__arrow { display: inline-block; font-weight: var(--fw-regular); opacity: .7; transition: opacity .3s ease-out .45s, transform .3s ease-out .45s; }
.cs-cmp__to { display: inline-block; transform-origin: left bottom; transition: opacity .3s ease-out .7s, transform .45s cubic-bezier(.34, 1.56, .64, 1) .7s; }
.cs-card .cs-stat-note { margin-top: 4px; color: rgb(88, 94, 104) !important; }
.js-reveal .cs-row--cards:not(.in) > .cs-col > .cs-card:has(.cs-stat)::before { transform: scaleX(0); }
.js-reveal .cs-row--cards:not(.in) .cs-cmp__arrow { opacity: 0; transform: translateX(-8px); }
.js-reveal .cs-row--cards:not(.in) .cs-cmp__to { opacity: 0; transform: scale(.7); }
.cs-row--cards > .cs-col:nth-child(2) .cs-card::before { transition-delay: .25s; }
.cs-row--cards > .cs-col:nth-child(3) .cs-card::before { transition-delay: .35s; }
.cs-row--cards > .cs-col:nth-child(4) .cs-card::before { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) { .cs-row--cards .cs-card::before, .cs-cmp__arrow, .cs-cmp__to { transition: none; } }
@media print { .cs-row--cards .cs-card::before { transform: none !important; } .cs-cmp__arrow, .cs-cmp__to { opacity: 1 !important; transform: none !important; } }

/* =====================================================================================================
   Trade-off comparison (hand-written section, e.g. Pfizer "TRADE OFF"): option cards whose rows line up
   (Approach / Gain / Trade-off), a selected option, the reason, supporting screenshots, then the outcome.
   ===================================================================================================== */
.cs { --to-line: rgb(226, 228, 232); --to-gain: rgb(21, 128, 61); --to-gain-bg: rgb(240, 253, 244);
  --to-cost: rgb(180, 83, 9); --to-cost-bg: rgb(255, 247, 237); --to-ease: cubic-bezier(.2, .7, .2, 1); }
.to-cmp { display: grid; gap: 16px; }
.to-cmp :is(p, h3, dl, dd) { margin: 0; }
.to-cmp__labels { display: none; }
.to-opt { position: relative; display: grid; border: 1px solid var(--to-line); border-radius: 12px; background: #fff; overflow: hidden; }
.to-opt__head { display: grid; gap: 4px; padding: 20px 20px 16px; font-weight: var(--fw-regular); }
.to-opt__k { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgb(85, 85, 85); }
.to-opt__name { font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-strong); color: rgb(17, 17, 17); }
.to-opt__cells { display: grid; }
.to-cell { display: grid; gap: 4px; align-content: start; padding: 14px 20px; border-top: 1px solid var(--to-line); }
.to-cell dt { font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgb(85, 85, 85); }
.to-cell dd { font-size: 16px; line-height: 1.55; color: rgb(34, 34, 34); }
.to-cell--gain { background: var(--to-gain-bg); }
.to-cell--cost { background: var(--to-cost-bg); }
.to-cell--gain dt, .to-cmp__rl--gain { color: var(--to-gain); font-weight: var(--fw-strong); }
.to-cell--cost dt, .to-cmp__rl--cost { color: var(--to-cost); font-weight: var(--fw-strong); }
.to-cell--gain dt::before, .to-cmp__rl--gain::before { content: "+"; }
.to-cell--cost dt::before, .to-cmp__rl--cost::before { content: "−"; }
:is(.to-cell--gain dt, .to-cell--cost dt, .to-cmp__rl--gain, .to-cmp__rl--cost)::before { display: inline-block; width: 1.1em; font-weight: var(--fw-strong); }
.to-opt--sel { border: 1.5px solid var(--cs-accent); box-shadow: 0 10px 28px rgba(37, 99, 235, .12); }
.to-opt--sel .to-opt__head { background: rgba(37, 99, 235, .05); }
.to-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--cs-accent); color: #fff;
  font-size: 12px; line-height: 1.4; font-weight: var(--fw-strong); letter-spacing: .02em; text-transform: none; }

/* desktop: a comparison table - label column + two option columns sharing the same rows */
@media (min-width: 768px) {
  .to-cmp { grid-template-columns: minmax(112px, .55fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(4, auto); column-gap: 16px; row-gap: 0; }
  .to-cmp__labels, .to-opt { grid-row: 1 / span 4; display: grid; grid-template-rows: subgrid; }
  .to-cmp__labels > p { padding: 14px 0; border-top: 1px solid var(--to-line); font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgb(85, 85, 85); }
  .to-cmp__labels > .to-cmp__corner { align-self: end; border-top: 0; padding: 0 0 16px; }
  .to-opt__cells { grid-row: 2 / span 3; grid-template-rows: subgrid; }
  .to-cell dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* reason */
.to-why { padding-left: 20px; border-left: 3px solid var(--cs-accent); }
.to-why__label { margin: 0; font-weight: var(--fw-strong); color: var(--cs-accent); }
.to-why .to-why__label + .cs-body { margin-top: var(--sp-sub); }

/* supporting screenshots: full image (no crop), label above each */
.to-shots { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 767px) { .to-shots { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.to-shot { margin: 0; display: grid; gap: var(--sp-caption); }
.to-shot__label { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgb(51, 51, 51); }
.to-shot__frame { display: block; border-radius: var(--radius-media); overflow: hidden; border: 1px solid var(--to-line); background: #fff; }
.to-shot__frame img { display: block; width: 100%; height: auto; }
.to-shot--sel .to-shot__frame { border-color: var(--cs-accent); box-shadow: 0 0 0 1px var(--cs-accent), 0 12px 28px rgba(37, 99, 235, .14); }

/* outcome: a project result, shown apart from the comparison */
.to-out .to-out__k { margin-top: var(--sp-label); font-size: var(--fs-body); line-height: var(--lh-body); color: rgb(68, 68, 68); }
.to-out .to-out__v { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em; font-size: var(--fs-page); line-height: 1.1; font-weight: var(--fw-strong); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.to-out__from { color: rgb(17, 17, 17); opacity: .4; }
.to-out__arrow { display: inline-block; font-weight: var(--fw-regular); opacity: .6; }
.to-out__to { display: inline-block; color: var(--cs-accent); transform-origin: left bottom; }

/* motion (only while the reveal script runs; reduced motion / no JS / print show the final state) */
.to-opt, .to-shot { transition: opacity .45s ease, transform .45s var(--to-ease); transition-delay: calc(var(--i) * 140ms); }
.to-opt--sel { transition: opacity .45s ease 140ms, transform .45s var(--to-ease) 140ms, border-color .4s ease .65s, box-shadow .6s ease .65s; }
.to-cmp .to-cell--gain, .to-cmp .to-cell--cost { transition: background-color .4s ease; transition-delay: calc(var(--i) * 140ms + 450ms); }
.to-badge { transition: opacity .25s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1); transition-delay: .8s; }
.to-shot--sel .to-shot__frame { transition: border-color .4s ease .55s, box-shadow .6s ease .55s, transform .5s var(--to-ease) .55s; }
.to-out__arrow { transition: opacity .3s ease-out .35s, transform .3s ease-out .35s; }
.to-out__to { transition: opacity .3s ease-out .6s, transform .45s cubic-bezier(.34, 1.56, .64, 1) .6s; }
.js-reveal .reveal:not(.in) :is(.to-opt, .to-shot) { opacity: 0; transform: translateY(14px); }
.js-reveal .to-cmp:not(.in) .to-opt--sel { border-color: var(--to-line); box-shadow: none; }
.js-reveal .to-cmp:not(.in) :is(.to-cell--gain, .to-cell--cost) { background-color: #fff; }
.js-reveal .reveal:not(.in) .to-badge { opacity: 0; transform: scale(.6); }
.js-reveal .to-shots:not(.in) .to-shot--sel .to-shot__frame { border-color: var(--to-line); box-shadow: none; }
.js-reveal .reveal:not(.in) .to-out__arrow { opacity: 0; transform: translateX(-8px); }
.js-reveal .reveal:not(.in) .to-out__to { opacity: 0; transform: scale(.7); }
/* once in view, the selected option gives one soft pulse */
.js-reveal .to-cmp.in .to-opt--sel, .js-reveal .to-shots.in .to-shot--sel .to-shot__frame { animation: to-pulse 1.1s ease 1s 1 both; }
.js-reveal .to-shots.in .to-shot--sel .to-shot__frame { animation-delay: .8s; }
@keyframes to-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .35), 0 10px 28px rgba(37, 99, 235, .12); } 100% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0), 0 10px 28px rgba(37, 99, 235, .12); } }
@media (prefers-reduced-motion: reduce) {
  :is(.to-opt, .to-shot, .to-cell, .to-badge, .to-shot__frame, .to-out__arrow, .to-out__to) { transition: none !important; animation: none !important; }
}
@media print { :is(.to-opt, .to-shot, .to-badge, .to-out__arrow, .to-out__to) { opacity: 1 !important; transform: none !important; } }

/* =====================================================================================================
   Mismatch comparison (two lists read side by side, rows separated by hairlines) and grey visual cards
   ===================================================================================================== */
.cs { --mm-line: rgb(226, 228, 232); --mm-head-line: rgb(17, 17, 17); --vis-bg: rgb(243, 244, 246); }
.cs-text > .cs-sub + .mm { margin-top: var(--sp-sub); }
.mm { display: grid; gap: 32px; }
.mm :is(h4, ul) { margin: 0; padding: 0; }
.mm .mm__head { padding-bottom: 12px; }
.mm__col { display: grid; align-content: start; }
.mm__head { padding-bottom: 12px; border-bottom: 1px solid var(--mm-head-line); font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-strong); color: rgb(17, 17, 17); }
.mm__list { list-style: none; display: grid; }
.mm__list li { padding: 14px 0; border-bottom: 1px solid var(--mm-line); font-size: var(--fs-body); line-height: 1.5; color: rgb(34, 34, 34); }
.mm__list li:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  /* one table: both columns share the header row and every item row */
  .mm { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto repeat(3, auto); gap: 0; }
  .mm__col { grid-row: 1 / span 4; grid-template-rows: subgrid; }
  .mm__list { grid-row: 2 / span 3; grid-template-rows: subgrid; }
  .mm__col:first-child :is(.mm__head, li) { padding-right: 24px; }
  .mm__list li:last-child { border-bottom: 1px solid var(--mm-line); }
  .mm__list li:nth-child(3) { border-bottom: 0; }
}

/* the three supporting visuals: light grey card, 8px corners, picture centred */
.cs-row--visuals .cs-fig { box-sizing: border-box; max-width: none; width: 100%; align-self: stretch; display: grid; place-items: center;
  padding: 24px; border-radius: var(--radius-media); background: var(--vis-bg); }
.cs-row--visuals .cs-frame { width: 100%; max-width: var(--maxw); }

/* motion: header rules draw, items arrive row by row; the visuals slide in from the right one after another */
.mm__head { background: linear-gradient(var(--mm-head-line), var(--mm-head-line)) left bottom / 100% 1px no-repeat; border-bottom-color: transparent;
  transition: background-size .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 120ms), opacity .4s ease calc(var(--i) * 120ms); }
.mm__list li { transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(300ms + var(--r) * 140ms + var(--i) * 70ms); }
.mm__col { --i: 0; }
.js-reveal .reveal:not(.in) .mm__head { background-size: 0 1px; opacity: 0; }
.js-reveal .reveal:not(.in) .mm__list li { opacity: 0; transform: translateY(8px); }
.cs-row--visuals > .cs-col { transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.cs-row--visuals > .cs-col:nth-child(2) { transition-delay: 140ms; }
.cs-row--visuals > .cs-col:nth-child(3) { transition-delay: 280ms; }
.cs-row--visuals .cs-frame { transition: transform .9s cubic-bezier(.2, .7, .2, 1) .15s; }
.js-reveal .cs-row--visuals.reveal:not(.in) > .cs-col { opacity: 0; transform: translateX(calc(var(--gutter) * .9)); }
.js-reveal .cs-row--visuals.reveal:not(.in) .cs-frame { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) {
  :is(.mm__head, .mm__list li, .cs-row--visuals > .cs-col, .cs-row--visuals .cs-frame) { transition: none !important; }
}
@media print { :is(.mm__head, .mm__list li, .cs-row--visuals > .cs-col) { opacity: 1 !important; transform: none !important; background-size: 100% 1px !important; } }

/* =====================================================================================================
   Step sequence (e.g. LG "6-step investigation workflow"): one visual per step, revealed one by one
   ===================================================================================================== */
.steps { margin: 0; width: 100%; align-self: stretch; }
.steps__grid { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 640px) { .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (min-width: 1024px) { .steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; } }
.steps__item { position: relative; container-type: inline-size; display: grid; grid-template-rows: auto auto auto 1fr; justify-items: center; text-align: center; }
.steps__item :is(p, h3) { margin: 0; }
.steps__badge { padding: 3px 10px; border-radius: 999px; background: var(--cs-accent); color: #fff; font-size: 12px; line-height: 1.4; font-weight: var(--fw-strong); letter-spacing: .04em; text-transform: uppercase; }
.steps__title { margin-top: 12px !important; font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-strong); color: rgb(17, 17, 17); }
.steps__sub { margin-top: 2px !important; font-size: 14px; line-height: 1.5; color: rgb(85, 85, 85); }
.steps__frame { align-self: start; margin-top: 16px; width: 100%; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--radius-media); background: var(--vis-bg, rgb(243, 244, 246)); border: 1px solid rgb(226, 228, 232); }
.steps__frame img { display: block; width: 100%; height: auto; }
.steps__arrow { display: none; }
@media (min-width: 1024px) {
  /* arrow in the gap between neighbours, centred on the pictures */
  .steps__arrow { display: grid; place-items: center; position: absolute; right: -38px; bottom: calc(40cqi - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--cs-accent); color: #fff; }
  .steps__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
}
.steps__cap { margin-top: var(--sp-caption); }
.steps__cap.cs-caption { text-align: center; max-width: none; margin-inline: auto; }

/* motion: each step arrives in order (per row on desktop), its badge pops, then the arrow to the next one */
.js-reveal .steps__item.reveal, .steps__item { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d) * 260ms); }
.steps__badge { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--d) * 260ms + 150ms); }
.steps__frame img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d) * 260ms + 80ms); }
.steps__arrow { transition: opacity .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--d) * 260ms + 380ms); }
.js-reveal .steps__item.reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.js-reveal .steps__item.reveal:not(.in) .steps__badge { transform: scale(.6); }
.js-reveal .steps__item.reveal:not(.in) .steps__frame img { transform: scale(1.06); }
.js-reveal .steps__item.reveal:not(.in) .steps__arrow { opacity: 0; transform: translateX(-10px) scale(.7); }
@media (max-width: 1023px) { .steps__item { --d: 0 !important; } }
@media (prefers-reduced-motion: reduce) { :is(.steps__item, .steps__badge, .steps__frame img, .steps__arrow) { transition: none !important; } }
@media print { :is(.steps__item, .steps__badge, .steps__frame img, .steps__arrow) { opacity: 1 !important; transform: none !important; } }

/* =====================================================================================================
   Three-stage validation (e.g. LG "How I test this"): connected stage cards, each with its own visual.
   Timeline per stage s: node + card at s*900ms, the visual plays inside it, then the line runs to the next.
   ===================================================================================================== */
.stg { width: 100%; align-self: stretch; --stg-line: rgb(208, 213, 219); --stg-step: 900ms; }
.stg :where(p, h3, ul, ol) { margin: 0; padding: 0; }
.stg__track { display: none; }
.stg__cards { list-style: none; width: 100%; display: grid; gap: 40px; }
.stg__card { position: relative; display: grid; grid-template-rows: auto auto; border: 1px solid var(--stg-line); border-radius: 12px; background: rgb(244, 245, 247); overflow: visible; }
.stg__card--key { border-color: rgb(147, 186, 240); background: rgb(240, 245, 252); }
.stg__vis { display: grid; place-items: center; padding: 20px; min-height: 280px; }
.stg__foot { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 20px; border-top: 1px solid var(--stg-line); }
.stg__stage { font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgb(85, 85, 85); }
.stg__title { font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-strong); color: rgb(17, 17, 17); }
.stg__pill { margin-top: 8px !important; padding: 6px 14px; border-radius: 999px; color: #fff; font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-regular); }
.stg__pill--grey { background: rgb(82, 86, 92); }
.stg__pill--blue { background: rgb(23, 64, 140); }
.stg__pill--green { background: rgb(33, 94, 22); }
@media (min-width: 1200px) {
  .stg__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 24px; }
  .stg__card { grid-row: span 2; grid-template-rows: subgrid; }   /* visuals and footers line up across cards */
  .stg__track { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-bottom: 20px; }
  .stg__node { position: relative; justify-self: center; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--cs-accent); color: #fff; font-size: 14px; font-weight: var(--fw-strong); z-index: 1; }
  .stg__track { position: relative; }
  .stg__track::before, .stg__track::after { content: ""; position: absolute; top: 50%; height: 2px; margin-top: -1px; background: var(--cs-accent); transform-origin: left center;
    width: calc((100% - 48px) / 3 + 24px); }
  .stg__track::before { left: calc((100% - 48px) / 6); }
  .stg__track::after { left: calc((100% - 48px) / 2 + 24px); }
}
@media (max-width: 1199px) {
  /* stacked: a short line + arrow joins one card to the next */
  .stg__card:not(:first-child)::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 22px; margin-left: -1px; background: var(--cs-accent); transform-origin: top center; }
  .stg__card:not(:first-child)::after { content: ""; position: absolute; left: 50%; top: -16px; width: 8px; height: 8px; margin-left: -5px; border: solid var(--cs-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
}

/* stage 1: browser window with the six map views */
.stg-win { width: 100%; max-width: 420px; border: 2px solid rgb(51, 51, 51); border-radius: 10px; background: #fff; overflow: hidden; }
.stg-win__bar { display: flex; gap: 6px; padding: 10px 12px; background: rgb(214, 226, 240); border-bottom: 2px solid rgb(51, 51, 51); }
.stg-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(17, 17, 17); }
.stg-win__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; background: rgb(226, 230, 236); }
.stg-win__tiles img { display: block; width: 100%; height: auto; }

/* stage 2: map-first vs context-first */
.stg-ab { width: 100%; max-width: 420px; display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); align-items: stretch; gap: 0; }   /* VS gets its own centred column */
.stg-ab__col { display: grid; grid-template-rows: auto 1fr; gap: 10px; text-align: center; }
.stg-ab__name { font-size: 16px; font-weight: var(--fw-strong); color: rgb(17, 17, 17); }
.stg-ab__col--a .stg-ab__name { color: rgb(110, 114, 120); font-weight: var(--fw-regular); }
.stg-ab__panel { min-width: 0; display: grid; align-content: space-between; gap: 10px; padding: 12px 10px; border-radius: 6px; background: #fff; border: 1px solid rgb(190, 195, 200); }
.stg-ab__col--b .stg-ab__panel { border: 2px solid rgb(120, 175, 240); }
.stg-ab__map { display: grid; place-items: center; aspect-ratio: 1; width: 78%; justify-self: center; background: rgb(170, 172, 176); border: 1px solid rgb(120, 122, 126); }
.stg-ab__map svg { width: 34%; fill: none; stroke: rgb(110, 112, 116); stroke-width: 1.4; }
.stg-ab__lines { display: grid; gap: 6px; justify-items: start; padding-inline: 6px; }
.stg-ab__lines i { height: 7px; border-radius: 4px; background: rgb(205, 207, 210); width: 100%; }
.stg-ab__lines i:nth-child(2) { width: 72%; } .stg-ab__lines i:nth-child(3) { width: 88%; }
.stg-ab__list { list-style: none; display: grid; gap: 5px; text-align: left; }
.stg-ab__list li { padding: 5px 8px; background: rgb(246, 247, 249); border: 1px solid rgb(232, 234, 237); font-size: 13px; line-height: 1.3; color: rgb(34, 34, 34); }
.stg-ab__vs { align-self: center; justify-self: center; margin-top: 32px; text-align: center; font-size: 13px; letter-spacing: .04em; color: rgb(140, 144, 150); }   /* centred on the panels, below the titles */
.stg-ab__time { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; }
.stg-ab__time--slow { color: rgb(200, 50, 50); }
.stg-ab__time--fast { color: var(--cs-accent); }

/* stage 3: validation chat */
.stg-chat { width: 100%; max-width: 400px; border: 2px solid rgb(51, 51, 51); border-radius: 10px; background: #fff; overflow: hidden; }
.stg-chat__bar { padding: 9px 12px; background: rgb(34, 34, 34); color: #fff; font-size: 13px; font-weight: var(--fw-strong); text-align: center; }
.stg-chat__body { display: grid; gap: 12px; padding: 14px; }
.stg-chat__msg { max-width: 86%; padding: 10px 12px; border-radius: 6px; font-size: 13px; line-height: 1.45; }
.stg-chat__msg--q { justify-self: start; background: rgb(118, 120, 124); color: #fff; }
.stg-chat__msg--a { justify-self: end; background: rgb(17, 54, 92); color: #fff; }
.stg-chat__ok { justify-self: start; max-width: 90%; padding: 10px 12px; border-radius: 6px; background: rgb(70, 86, 62); }
.stg-chat__ok-h { font-size: 14px; font-weight: var(--fw-strong); color: #fff; }
.stg-chat__ok-b { margin-top: 4px !important; font-size: 13px; line-height: 1.45; color: rgb(205, 236, 170); }

/* ---- motion (only while the reveal script runs; reduced motion / no JS / print = final state) ---- */
.stg { --b: calc(var(--s, 0) * var(--stg-step)); }
.stg__card, .stg__node { --b: calc(var(--s) * var(--stg-step)); }
.stg__card { transition: opacity .45s ease var(--b), transform .45s cubic-bezier(.2, .7, .2, 1) var(--b), box-shadow .6s ease calc(var(--b) + 300ms); }
.stg__node { transition: transform .4s cubic-bezier(.34, 1.56, .64, 1) var(--b), opacity .2s ease var(--b); }
.stg__track::before { transition: transform .4s linear 500ms; }
.stg__track::after { transition: transform .4s linear calc(var(--stg-step) + 500ms); }
.stg__card::before { transition: transform .3s ease calc(var(--b) - 250ms); }
.stg__card::after { transition: opacity .2s ease calc(var(--b) - 50ms); }
.stg-win__tiles img, .stg-ab__list li, .stg-chat__msg, .stg-chat__ok { transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--b) + 250ms + var(--t) * 110ms); }
.stg-chat__msg, .stg-chat__ok { transition-delay: calc(var(--b) + 250ms + var(--t) * 260ms); }
.stg-ab__col--a .stg-ab__panel { transition: opacity .3s ease calc(var(--b) + 250ms); }
.stg__pill { transition: opacity .25s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--b) + 650ms); }
.stg__card--key { box-shadow: 0 10px 28px rgba(37, 99, 235, .12); }
.js-reveal .stg.reveal:not(.in) .stg__card { opacity: 0; transform: translateY(18px); box-shadow: none; }
.js-reveal .stg.reveal:not(.in) .stg__node { opacity: 0; transform: scale(.4); }
.js-reveal .stg.reveal:not(.in) .stg__track::before, .js-reveal .stg.reveal:not(.in) .stg__track::after { transform: scaleX(0); }
.js-reveal .stg.reveal:not(.in) .stg__card::before { transform: scaleY(0); }
.js-reveal .stg.reveal:not(.in) .stg__card::after { opacity: 0; }
.js-reveal .stg.reveal:not(.in) :is(.stg-win__tiles img, .stg-ab__list li) { opacity: 0; transform: translateY(6px); }
.js-reveal .stg.reveal:not(.in) .stg-chat__msg--q, .js-reveal .stg.reveal:not(.in) .stg-chat__ok { opacity: 0; transform: translateX(-10px); }
.js-reveal .stg.reveal:not(.in) .stg-chat__msg--a { opacity: 0; transform: translateX(10px); }
.js-reveal .stg.reveal:not(.in) .stg-ab__col--a .stg-ab__panel { opacity: .3; }
.js-reveal .stg.reveal:not(.in) .stg__pill { opacity: 0; transform: scale(.85); }
@media (prefers-reduced-motion: reduce) { .stg :is(*, *::before, *::after) { transition: none !important; animation: none !important; } }
@media print { .stg :is(.stg__card, .stg__node, .stg-win__tiles img, .stg-ab__list li, .stg-chat__msg, .stg-chat__ok, .stg__pill) { opacity: 1 !important; transform: none !important; } }

/* =====================================================================================================
   Risk prioritization flow (LG "Design decision"): intro + legend beside a flowchart built in HTML.
   Rows share a rail column for the dashed side paths (lane A: "No" -> P3, lane B: "Yes" -> P2).
   ===================================================================================================== */
.rpl { width: 100%; align-self: stretch; box-sizing: border-box; display: grid; gap: 40px; padding: 32px 24px; border-radius: var(--radius-media); background: #fff; border: 1px solid rgb(232, 234, 237);
  --fw-ink: rgb(17, 17, 17); --fw-grey: rgb(236, 237, 239); --fw-edge: rgb(205, 208, 212); --fw-line: rgb(150, 154, 160);
  --fw-a: rgb(70, 160, 100); --fw-b: rgb(70, 125, 205); --fw-p1: rgb(214, 60, 60); --fw-p2: rgb(55, 110, 200); --fw-p3: rgb(55, 150, 85); --fw-step: 170ms; }
@media (min-width: 1024px) { .rpl { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 48px; align-items: start; } }
.rpl :where(p, h3, ul) { margin: 0; padding: 0; }
.rpl__intro { display: grid; gap: 12px; align-content: start; }
.rpl__title { text-wrap: balance; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-strong); color: var(--fw-ink); }
.rpl__body { font-size: var(--fs-body); line-height: var(--lh-body); color: rgb(51, 51, 51); }
.rpl__legend { list-style: none; display: grid; gap: 8px; margin-top: 12px !important; }
.rpl__key { display: flex; align-items: center; gap: 10px; font-size: var(--fs-body); line-height: var(--lh-body); color: rgb(68, 68, 68); }
.rpl__key::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.rpl__key--dec::before { background: rgb(205, 207, 210); } .rpl__key--sig::before { background: rgb(140, 144, 150); }
.rpl__key--p1::before { background: var(--fw-p1); } .rpl__key--p2::before { background: var(--fw-p2); } .rpl__key--p3::before { background: var(--fw-p3); }

.fw { width: 100%; max-width: 600px; justify-self: center; display: grid; --rail: 56px; --xa: 40px; --xb: 18px; }
@media (max-width: 767px) { .fw { --rail: 40px; --xa: 30px; --xb: 12px; } }
.fw__row { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); }
.fw__main { position: relative; display: grid; justify-items: center; align-items: center; }
.fw__node { width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 8px; background: var(--fw-grey); border: 1px solid var(--fw-edge); text-align: center; font-size: 16px; line-height: 1.4; color: var(--fw-ink); }
.fw__row--conn .fw__main { min-height: 32px; }
.fw__conn { position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -.75px; background: var(--fw-line); transform-origin: top center; }
.fw__yn { position: absolute; left: calc(50% + 10px); top: 50%; transform: translateY(-50%); font-size: 12px; line-height: 1; color: rgb(85, 85, 85); }
.fw__row--note .fw__main { justify-items: start; }
.fw__note { margin-left: calc(50% + 12px); padding-block: 8px; font-size: 12px; line-height: 1.4; color: rgb(85, 85, 85); }
.fw__row--dia .fw__main { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-block: 2px; }
.fw__dia { display: grid; place-items: center; width: 200px; height: 88px; box-sizing: border-box; padding: 0 40px; text-align: center; font-size: 13px; line-height: 1.35; color: var(--fw-ink);
  background: rgb(222, 224, 227); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@media (max-width: 767px) { .fw__dia { width: 192px; height: 92px; padding: 0 36px; font-size: 12px; line-height: 1.3; } }
.fw__out { position: relative; align-self: center; justify-self: stretch; height: 0; border-top: 1.5px dashed; transform-origin: left center; }
.fw__out--a { border-color: var(--fw-a); } .fw__out--b { border-color: var(--fw-b); }
.fw__out .fw__yn { left: 8px; top: auto; bottom: 6px; transform: none; }
.fw__chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-block: 2px; }
.fw__chips li { padding: 6px 14px; border-radius: 999px; background: rgb(226, 228, 231); border: 1px solid var(--fw-edge); font-size: 13px; line-height: 1.3; color: var(--fw-ink); }
.fw__row--p .fw__main { padding-block: 6px; }
.fw__p { width: 100%; box-sizing: border-box; display: grid; gap: 4px; padding: 10px 14px; border-radius: 8px; border: 1px solid; text-align: center; }
.fw__p strong { font-size: 15px; line-height: 1.35; font-weight: var(--fw-strong); color: var(--fw-ink); }
.fw__p span { font-size: 12px; line-height: 1.4; color: rgb(51, 51, 51); }
.fw__p--1 { background: rgb(252, 236, 236); border-color: rgb(232, 160, 160); }
.fw__p--2 { background: rgb(234, 241, 252); border-color: rgb(150, 182, 232); }
.fw__p--3 { background: rgb(234, 246, 237); border-color: rgb(150, 205, 165); }
/* rail lanes */
.fw__rail { position: relative; }
.rl { position: absolute; display: block; border-left: 1.5px dashed; }
.rl--a { --x: var(--xa); border-color: var(--fw-a); } .rl--b { --x: var(--xb); border-color: var(--fw-b); }
.rl--pass { left: var(--x); top: 0; bottom: 0; }
.rl--start { left: var(--x); top: 50%; bottom: 0; }
.rl--end { left: var(--x); top: 0; height: 50%; }
.rl--start::before, .rl--end::before { content: ""; position: absolute; right: 0; width: var(--x); border-top: 1.5px dashed; border-color: inherit; }
.rl--start::before { top: -.75px; } .rl--end::before { bottom: -.75px; }

/* motion: the flow builds top to bottom, the side paths follow, then the outcomes settle; legend keys light up in step */
.fw__row { transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--k) * var(--fw-step)); }
.fw__conn { transition: transform .25s ease-out calc(var(--k) * var(--fw-step)); }
.fw__out { transition: transform .35s ease-out calc(var(--k) * var(--fw-step) + 180ms); }
.fw__rail { transition: clip-path .3s linear calc(var(--k) * var(--fw-step) + 200ms); clip-path: inset(0 0 0 0); }
.fw__chips li { transition: opacity .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--k) * var(--fw-step) + var(--c) * 70ms); }
.fw__p { transition: background-color .5s ease, border-color .5s ease; transition-delay: calc(var(--k) * var(--fw-step) + 150ms); }
.rpl__key { transition: opacity .3s ease; }
.rpl__key--dec { transition-delay: calc(2 * var(--fw-step)); } .rpl__key--sig { transition-delay: calc(6 * var(--fw-step)); }
.rpl__key--p1 { transition-delay: calc(10 * var(--fw-step)); } .rpl__key--p2 { transition-delay: calc(11 * var(--fw-step)); } .rpl__key--p3 { transition-delay: calc(12 * var(--fw-step)); }
.js-reveal .rpl.reveal:not(.in) .fw__row { opacity: 0; transform: translateY(8px); }
.js-reveal .rpl.reveal:not(.in) .fw__conn { transform: scaleY(0); }
.js-reveal .rpl.reveal:not(.in) .fw__out { transform: scaleX(0); }
.js-reveal .rpl.reveal:not(.in) .fw__rail { clip-path: inset(0 0 100% 0); }
.js-reveal .rpl.reveal:not(.in) .fw__chips li { opacity: 0; transform: scale(.8); }
.js-reveal .rpl.reveal:not(.in) .fw__p { background-color: #fff; border-color: var(--fw-edge); }
.js-reveal .rpl.reveal:not(.in) .rpl__key { opacity: .25; }
.js-reveal .rpl.reveal.in .fw__p--1 { animation: fw-alert 1.2s ease calc(var(--fw-t0) + 10 * var(--fw-hop) + 250ms) 1 both; }
@keyframes fw-alert { 0% { box-shadow: 0 0 0 0 rgba(214, 60, 60, .35); } 100% { box-shadow: 0 0 0 10px rgba(214, 60, 60, 0); } }
@media (prefers-reduced-motion: reduce) { .rpl :is(*, *::before, *::after) { transition: none !important; animation: none !important; } }
@media print { .rpl :is(.fw__row, .fw__chips li, .rpl__key) { opacity: 1 !important; transform: none !important; } .rpl :is(.fw__conn, .fw__out) { transform: none !important; } .rpl .fw__rail { clip-path: none !important; } }


/* =====================================================================================================
   Case-study hero rebuilt from a picture (e.g. ID Verification): title, lead, key numbers and screens
   on a light accent panel; the screens rise in one after another.
   ===================================================================================================== */
.idh { width: 100%; box-sizing: border-box; display: grid; gap: 40px; padding-block: 24px; color: rgb(17, 17, 17); --idh-accent: rgb(65, 99, 237); }
.idh :where(h1, p, ul) { margin: 0; padding: 0; }
.idh__title { max-width: 26ch; font-size: var(--fs-page); line-height: var(--lh-page); letter-spacing: var(--ls-page); font-weight: var(--fw-strong); text-wrap: balance; }
.idh__body { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .idh__body { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
.idh__text { display: grid; gap: 24px; align-content: start; align-self: center; }
.idh__lead { font-size: var(--fs-body); line-height: var(--lh-body); color: rgb(34, 34, 34); max-width: 30ch; }
.idh__stats { list-style: none; display: grid; gap: 12px; }
.idh__stats li { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-body); line-height: var(--lh-body); color: rgb(51, 51, 51); }
.idh__num { min-width: 3.4ch; font-size: var(--fs-section); line-height: 1.3; font-weight: var(--fw-strong); color: var(--idh-accent); font-variant-numeric: tabular-nums; }
.idh__phones { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.6vw, 32px); align-items: start; }
.idh__phones li { display: grid; grid-template-rows: auto auto; gap: 16px; justify-items: center; }
/* every phone sits in the same box (same height, centred), so sizes, spacing and caption lines match */
.idh__frame { display: flex; justify-content: center; width: 100%; aspect-ratio: 336 / 702; }
.idh__phones img { display: block; height: 100%; width: auto; max-width: 100%; border-radius: 13.5% / 6.6%; box-shadow: 0 18px 36px rgba(25, 45, 120, .18); }
.idh__cap { font-size: var(--fs-small); line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: rgb(68, 68, 68); text-align: center; }
@media (max-width: 767px) {
  .idh { padding-block: 8px; gap: 28px; }
}
/* motion */
.idh__title { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.idh__text { transition: opacity .5s ease .2s, transform .6s cubic-bezier(.2, .7, .2, 1) .2s; }
.idh__phones li { transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(350ms + var(--i) * 160ms); }
.js-reveal .idh.reveal:not(.in) :is(.idh__title, .idh__text) { opacity: 0; transform: translateY(12px); }
.js-reveal .idh.reveal:not(.in) .idh__phones li { opacity: 0; transform: translateY(36px); }
.js-reveal .idh.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .idh :is(.idh__title, .idh__text, .idh__phones li) { transition: none !important; } }
@media print { .idh :is(.idh__title, .idh__text, .idh__phones li) { opacity: 1 !important; transform: none !important; } }
@media (min-width: 1024px) { .idh__cap { white-space: nowrap; } }

/* Market launch (e.g. ID Verification "Global launch"): one screen per market in a soft card, rising in turn */
.gl { width: 100%; max-width: 780px; box-sizing: border-box; margin-inline: auto; display: grid; gap: 40px; justify-items: center;
  padding: 48px 40px 56px; border-radius: 16px; background: rgb(250, 250, 250); box-shadow: 0 1px 16px rgba(0, 0, 0, .07); }
.gl :where(p, h2, ul) { margin: 0; padding: 0; }
.gl__label { text-align: center; }
.gl__markets { list-style: none; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: clamp(24px, 8vw, 88px); }
.gl__markets li { display: grid; gap: 16px; justify-items: center; }
.gl__name { font-size: var(--fs-section); line-height: 1.1; font-weight: var(--fw-strong); letter-spacing: -.01em; color: rgb(17, 17, 17); }
.gl__frame { display: flex; justify-content: center; width: 100%; aspect-ratio: 764 / 1541; }
.gl__markets img { display: block; height: 100%; width: auto; max-width: 100%; border-radius: 8px; }
@media (max-width: 767px) { .gl { padding: 32px 20px 40px; gap: 28px; } }
.gl__markets li { transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 180ms); }
.js-reveal .gl.reveal:not(.in) .gl__markets li { opacity: 0; transform: translateY(32px); }
@media (prefers-reduced-motion: reduce) { .gl__markets li { transition: none !important; } }
@media print { .gl__markets li { opacity: 1 !important; transform: none !important; } }

/* caption written under a gallery: 8px below it, same style as figure captions */
.cs-col > .cs-gal + .cs-gal-cap { margin-top: var(--sp-caption); }
.cs-gal-cap { text-align: left; }
.cs-media > .cs-caption.cs-gal-cap { max-width: var(--capw, var(--measure)); }
.cs-row--options .cs-fig { align-content: start; grid-template-rows: auto auto; }   /* caption stays 8px under its own picture */
/* a picture with a smaller picture placed on top of it (as laid out in the original) */
.cs-layers { position: relative; display: block; }
.cs-layers > .cs-layer { position: absolute; height: auto; }

/* screen set (e.g. ID "Edge cases"): equal columns; card, phone and caption share one width and left edge */
.ec { list-style: none; margin: 0; padding: 0; display: grid !important; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: center; column-gap: 32px; row-gap: 24px; }
@media (max-width: 900px) { .ec { grid-template-columns: repeat(2, minmax(0, 220px)); } }
.ec { grid-auto-rows: auto; }
.ec__item { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 24px; align-content: start; }   /* cards share a height, phones share a top line */
.ec__card { margin: 0; padding: 20px; border-radius: var(--radius-media); background: rgb(250, 250, 250); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); color: rgb(17, 17, 17); }
.ec__card :where(p, h3) { margin: 0; }
.ec__card .cs-label + .cs-sub { margin-top: var(--sp-label); }
.ec__fig { margin: 0; }
.ec__fig img { display: block; width: 100%; height: auto; border-radius: var(--radius-media); }
.ec__fig figcaption { margin-top: var(--sp-caption); text-align: left; }
.ec__item { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 120ms); }
.js-reveal .ec.reveal:not(.in) .ec__item { opacity: 0; transform: translateY(24px); }
.js-reveal .ec.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ec__item { transition: none !important; } }
@media print { .ec__item { opacity: 1 !important; transform: none !important; } }

/* =====================================================================================================
   Principle cards with a small playful visual each (e.g. Apple HIG: Clarity / Deference / Depth)
   ===================================================================================================== */
.hig { list-style: none; margin: 0; padding: 0; width: 100%; display: grid !important; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .hig { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hig__card { display: grid; align-content: start; height: 100%; box-sizing: border-box; padding: 28px 24px; border-radius: 12px; background: rgb(246, 247, 249); }
.hig__card .cs-sub { margin: 20px 0 0; }
.hig__card .cs-body { margin: var(--sp-sub) 0 0; }
.hig__vis { position: relative; display: block; height: 88px; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(228, 230, 234); }
/* Clarity: blurred lines come into focus */
.hig__vis--clarity { display: grid; align-content: center; gap: 7px; padding: 0 104px 0 20px; }   /* lines stay clear of "Aa 가" */
.hig__vis--clarity i { display: block; height: 7px; border-radius: 4px; background: rgb(60, 64, 72); width: 70%; }
.hig__vis--clarity i:nth-child(2) { width: 88%; opacity: .55; } .hig__vis--clarity i:nth-child(3) { width: 52%; opacity: .55; }
.hig__vis--clarity b { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 600; color: rgb(0, 113, 227); letter-spacing: -.01em; }
/* Deference: a translucent layer recedes and the content comes forward */
.hig__content { position: absolute; inset: 18px 40px; border-radius: 6px; background: linear-gradient(135deg, rgb(255, 196, 120), rgb(255, 120, 140)); }
.hig__glass { position: absolute; inset: 10px 20px; border-radius: 8px; background: rgba(255, 255, 255, .25); backdrop-filter: blur(1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; }
/* Depth: three layers lift apart */
.hig__vis--depth i { position: absolute; left: 50%; top: 50%; width: 46%; height: 46px; margin: -23px 0 0 -23%; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgb(220, 224, 230), 0 6px 14px rgba(20, 30, 60, .10); }
.hig__vis--depth i:nth-child(1) { background: rgb(232, 240, 253); transform: translate(-14px, 10px); }
.hig__vis--depth i:nth-child(2) { background: rgb(214, 228, 252); }
.hig__vis--depth i:nth-child(3) { background: rgb(0, 113, 227); transform: translate(14px, -10px); }
/* motion: each card plays its idea once as it arrives */
.hig__card { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 150ms); }
.hig__vis--clarity :is(i, b) { transition: filter .9s ease, opacity .9s ease; transition-delay: calc(var(--i) * 150ms + 350ms); }
.hig__glass { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 150ms + 350ms); }
.hig__vis--depth i { transition: transform .9s cubic-bezier(.34, 1.4, .64, 1); transition-delay: calc(var(--i) * 150ms + 350ms); }
.js-reveal .hig.reveal { opacity: 1; transform: none; }
.js-reveal .hig.reveal:not(.in) .hig__card { opacity: 0; transform: translateY(20px); }
.js-reveal .hig.reveal:not(.in) .hig__vis--clarity :is(i, b) { filter: blur(4px); }
.js-reveal .hig.reveal:not(.in) .hig__glass { opacity: 1; background: rgba(255, 255, 255, .85); transform: scale(1.06); }
.js-reveal .hig.reveal:not(.in) .hig__vis--depth i { transform: none; }
@media (prefers-reduced-motion: reduce) { .hig :is(.hig__card, .hig__vis *, .hig__vis) { transition: none !important; } }
@media print { .hig__card { opacity: 1 !important; transform: none !important; } }

/* stacked pictures share one left edge: in a text column they start at the column edge; in the media lane a run of
   pictures is grouped at the widest one's width (centred as a group) and each picture starts at the group's left */
.cs-col > .cs-fig { margin-left: 0; margin-right: auto; }
.cs-media--set { width: min(var(--setw), 100%); margin-inline: auto; align-items: flex-start; }
/* leading cards of side-by-side columns (e.g. Business need / User need) sit in their own row at equal height */
.cs-row--lead { align-items: stretch; }
.cs-row--lead > .cs-col { display: grid; }
.cs-row--lead > .cs-col > .cs-card { height: 100%; box-sizing: border-box; }
.cs-row--lead + .cs-row { margin-top: calc(var(--sp-media) - var(--sp-group)); }

/* =====================================================================================================
   Discovery block (e.g. casino2): ticked checklist, three finding cards with tiny visuals, numbered insights
   ===================================================================================================== */
.dsc-checks { list-style: none; margin: var(--sp-sub) 0 0; padding: 0; display: grid; gap: var(--sp-item); --dsc: rgb(85, 83, 217); }
.cs-text > .cs-sub + .dsc-checks { margin-top: var(--sp-sub); }
.dsc-checks li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-body); line-height: var(--lh-body); }
.dsc-checks svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(85, 83, 217, .12); }
.dsc-checks svg path { fill: none; stroke: var(--dsc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dsc-cards, .dsc-finds { list-style: none; margin: 0; padding: 0; width: 100%; display: grid !important; gap: 24px; --dsc: rgb(85, 83, 217); }
@media (min-width: 900px) { .dsc-cards, .dsc-finds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dsc-card { display: grid; align-content: start; gap: 12px; padding: 24px; border-radius: 12px; background: rgb(247, 247, 252); }
.dsc-card .cs-label { margin-top: 8px; color: var(--dsc); }
.dsc-card :where(p) { margin: 0; }
.dsc-vis { position: relative; display: block; height: 64px; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(230, 230, 242); }
.dsc-vis--clarity { display: grid; align-content: center; gap: 6px; padding: 0 16px; }
.dsc-vis--clarity i { display: block; height: 6px; border-radius: 3px; background: var(--dsc); width: 72%; }
.dsc-vis--clarity i:nth-child(2) { width: 50%; opacity: .5; } .dsc-vis--clarity i:nth-child(3) { width: 62%; opacity: .3; }
.dsc-vis--visibility { display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.dsc-vis--visibility em { font-style: normal; font-size: 12px; line-height: 1; padding: 6px 8px; border-radius: 999px; background: rgb(237, 236, 252); color: rgb(60, 58, 160); white-space: nowrap; }
.dsc-vis--visibility b { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, .95) 50%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 0 0; }
.dsc-vis--engagement { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.dsc-vis--engagement i { flex: 1; height: 10px; border-radius: 5px; background: rgb(237, 236, 252); overflow: hidden; }
.dsc-vis--engagement i b { display: block; height: 100%; width: 72%; border-radius: 5px; background: var(--dsc); transform-origin: left center; }
.dsc-vis--engagement em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--dsc); }
.dsc-survey .cs-fig img { display: block; width: 100%; height: auto !important; aspect-ratio: auto !important; border-radius: var(--radius-media); box-shadow: 0 12px 30px rgba(40, 40, 90, .10); }
.dsc-find { display: grid; align-content: start; }
.dsc-find :where(p, h3) { margin: 0; }
.dsc-num { transform-origin: left bottom; position: relative; padding-bottom: 12px; margin-bottom: 16px !important; font-size: var(--fs-section); line-height: 1.3; font-weight: 600; color: var(--dsc); font-variant-numeric: tabular-nums; }
.dsc-num::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--dsc); transform-origin: left center; }
.dsc-find .cs-body { margin-top: var(--sp-sub) !important; }
/* motion */
.dsc-checks li { transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(300ms + var(--i) * 220ms); }
.dsc-checks svg path { transition: stroke-dashoffset .35s ease-out; transition-delay: calc(450ms + var(--i) * 220ms); }
.dsc-card, .dsc-find { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 140ms); }
.dsc-vis--clarity i { transition: filter .9s ease; transition-delay: calc(var(--i) * 140ms + 400ms); }
.dsc-vis--visibility b { transition: background-position 1.1s ease-in-out; transition-delay: calc(var(--i) * 140ms + 400ms); }
.dsc-vis--visibility em { transition: opacity .4s ease; transition-delay: calc(var(--i) * 140ms + 600ms); }
.dsc-vis--engagement i b { transition: transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 140ms + 400ms); }
.dsc-survey .cs-fig { transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.dsc-num { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i) * 140ms + 150ms); }
.dsc-num::after { transition: transform .5s ease-out; transition-delay: calc(var(--i) * 140ms + 350ms); }
.js-reveal :is(.dsc-cards, .dsc-survey, .dsc-finds).reveal { opacity: 1; transform: none; }
.js-reveal .reveal:not(.in) .dsc-checks li { opacity: 0; transform: translateX(-8px); }
.js-reveal .reveal:not(.in) .dsc-checks svg path { stroke-dashoffset: 1; }
.js-reveal .reveal:not(.in) :is(.dsc-card, .dsc-find) { opacity: 0; transform: translateY(20px); }
.js-reveal .reveal:not(.in) .dsc-vis--clarity i { filter: blur(3px); }
.js-reveal .reveal:not(.in) .dsc-vis--visibility b { background-position: 100% 0; }
.js-reveal .reveal:not(.in) .dsc-vis--visibility em { opacity: .25; }
.js-reveal .reveal:not(.in) .dsc-vis--engagement i b { transform: scaleX(0); }
.js-reveal .dsc-survey.reveal:not(.in) .cs-fig { opacity: 0; transform: translateY(24px); }
.js-reveal .reveal:not(.in) .dsc-num { transform: scale(.6); }
.js-reveal .reveal:not(.in) .dsc-num::after { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { :is(.dsc-checks, .dsc-cards, .dsc-survey, .dsc-finds) :is(*, *::before, *::after) { transition: none !important; } }
@media print { :is(.dsc-checks li, .dsc-card, .dsc-find, .dsc-survey .cs-fig) { opacity: 1 !important; transform: none !important; } }

/* =====================================================================================================
   Collaboration hub: "Product Design" in the centre, four groups of equal weight joined by thin lines
   ===================================================================================================== */
.collab { width: 100%; }
.collab__map { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 2 / 1; --cb: rgb(85, 83, 217); }
.collab__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.collab__lines path { fill: none; stroke: rgb(170, 168, 230); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.collab__core, .collab__node { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; border-radius: 999px;
  font-size: var(--fs-body); line-height: 1.3; white-space: nowrap; }
.collab__core { left: 50%; top: 50%; padding: 14px 22px; background: var(--cb); color: #fff; font-weight: 600; box-shadow: 0 10px 24px rgba(85, 83, 217, .25); }
.collab__node { width: 9.5em; padding: 10px 0; background: #fff; color: rgb(17, 17, 17); border: 1px solid rgb(205, 204, 238); }
.collab__node--0 { left: 18.33%; top: 20%; } .collab__node--1 { left: 81.67%; top: 20%; }
.collab__node--2 { left: 18.33%; top: 80%; } .collab__node--3 { left: 81.67%; top: 80%; }
@media (max-width: 600px) {
  .collab__map { aspect-ratio: 1 / 1.05; }
  .collab__node { width: 8.4em; }
  .collab__core { padding: 12px 16px; }
}
/* the second part of the section (design system) starts one section-gap below the first */
.cs-wrap > .cs-subsection { margin-top: calc(var(--sp-section) - var(--sp-group)); }
/* motion: the core appears, lines draw out, groups arrive one by one, then a soft pulse from the core */
.collab__core { transition: opacity .4s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.collab__lines path { transition: stroke-dashoffset .5s ease-out .35s; }
.collab__node { transition: opacity .4s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(650ms + var(--i) * 120ms); }
.js-reveal .collab.reveal { opacity: 1; transform: none; }
.js-reveal .collab.reveal:not(.in) .collab__core { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
.js-reveal .collab.reveal:not(.in) .collab__lines path { stroke-dashoffset: 1; }
.js-reveal .collab.reveal:not(.in) .collab__node { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
.js-reveal .collab.reveal.in .collab__core { animation: collab-pulse 1.2s ease 1.3s 1 both; }
@keyframes collab-pulse { 0% { box-shadow: 0 0 0 0 rgba(85, 83, 217, .35), 0 10px 24px rgba(85, 83, 217, .25); } 100% { box-shadow: 0 0 0 16px rgba(85, 83, 217, 0), 0 10px 24px rgba(85, 83, 217, .25); } }
@media (prefers-reduced-motion: reduce) { .collab :is(*, *::before, *::after) { transition: none !important; animation: none !important; } }
@media print { .collab :is(.collab__core, .collab__node) { opacity: 1 !important; } .collab__lines path { stroke-dashoffset: 0 !important; } }
.tg-frame { border-radius: var(--radius-media); overflow: hidden; }

/* =====================================================================================================
   Apple localization: one UI line, two reactions (U.S. / Korea); three regions joined to one goal
   ===================================================================================================== */
.loc { width: 100%; max-width: 760px; margin-inline: auto; display: grid !important; gap: 28px; justify-items: center;
  padding: 40px 24px; border-radius: 16px; background: rgb(245, 246, 248); box-sizing: border-box; }
.loc :where(p) { margin: 0; }
.loc__ui { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 12px; background: #fff;
  box-shadow: 0 8px 24px rgba(20, 30, 60, .08); font-size: var(--fs-body); font-weight: 600; color: rgb(17, 17, 17); }
.loc__ui-dot { width: 10px; height: 10px; border-radius: 50%; background: rgb(0, 113, 227); }
.loc__reacts { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .loc__reacts { grid-template-columns: minmax(0, 1fr); } }
.loc__react { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; }
.loc__react img { grid-row: 1 / span 2; width: 44px; height: auto; }
.loc__who { font-size: var(--fs-small); line-height: 1.4; letter-spacing: var(--ls-label); text-transform: uppercase; color: rgb(85, 85, 85); }
.loc__bubble { position: relative; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: var(--fs-body); line-height: 1.45; color: rgb(17, 17, 17); }
.loc__react--us .loc__bubble { box-shadow: inset 3px 0 0 rgb(52, 168, 83); }
.loc__react--kr .loc__bubble { box-shadow: inset 3px 0 0 rgb(234, 134, 0); }
.regions { width: 100%; display: grid !important; justify-items: center; gap: 0; }
.regions :where(p, ul) { margin: 0; padding: 0; }
.regions__list { list-style: none; width: 100%; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.regions__list li { display: grid; align-content: start; justify-items: center; text-align: center; gap: 6px; padding: 24px 16px; border-radius: 12px; background: rgb(245, 246, 248); }
.regions__list img { width: 56px; height: auto; margin-bottom: 6px; }
.regions__where { font-size: var(--fs-small); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgb(85, 85, 85); }
.regions__who { font-size: var(--fs-body); line-height: 1.4; font-weight: 600; color: rgb(17, 17, 17); }
.regions__lines { width: 100%; max-width: 900px; height: 40px; overflow: visible; }
.regions__lines path { fill: none; stroke: rgb(0, 113, 227); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.regions__goal { padding: 12px 20px; border-radius: 999px; background: rgb(0, 113, 227); color: #fff; font-size: var(--fs-body); font-weight: 600; text-align: center; }
.regions__shots { width: 100%; max-width: 900px; margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.regions__shots .cs-fig { max-width: none; margin: 0; }
.regions__shots img { display: block; width: 100%; height: auto; border-radius: var(--radius-media); }
.regions__shots figcaption { margin-top: var(--sp-caption); text-align: left; }
@media (max-width: 767px) {
  .regions__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .regions__lines { display: none; }
  .regions__goal { margin-top: 16px; }
  .regions__shots { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
/* motion */
.loc__ui { transition: opacity .45s ease, transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.loc__react { transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.loc__react--us { transition-delay: .55s; } .loc__react--kr { transition-delay: .95s; }
.regions__list li { transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 150ms); }
.regions__lines path { transition: stroke-dashoffset .5s ease-out .55s; }
.regions__goal { transition: opacity .4s ease 1s, transform .5s cubic-bezier(.34, 1.56, .64, 1) 1s; }
.js-reveal :is(.loc, .regions).reveal { opacity: 1; transform: none; }
.js-reveal .loc.reveal:not(.in) .loc__ui { opacity: 0; transform: scale(.92); }
.js-reveal .loc.reveal:not(.in) .loc__react--us { opacity: 0; transform: translateX(-24px); }
.js-reveal .loc.reveal:not(.in) .loc__react--kr { opacity: 0; transform: translateX(24px); }
.js-reveal .regions.reveal:not(.in) .regions__list li { opacity: 0; transform: translateY(18px); }
.js-reveal .regions.reveal:not(.in) .regions__lines path { stroke-dashoffset: 1; }
.js-reveal .regions.reveal:not(.in) .regions__goal { opacity: 0; transform: scale(.85); }
@media (prefers-reduced-motion: reduce) { :is(.loc, .regions) :is(*, *::before, *::after) { transition: none !important; } }
@media print { :is(.loc__ui, .loc__react, .regions__list li, .regions__goal) { opacity: 1 !important; transform: none !important; } }

/* =====================================================================================================
   Current vs next iteration (e.g. Pfizer "What I would do differently"): two product panels, reactive -> proactive
   ===================================================================================================== */
.nx { width: 100%; display: grid !important; gap: 32px; align-items: start; --nx-ink: rgb(17, 24, 39); --nx-mute: rgb(100, 108, 122); --nx-line: rgb(228, 231, 236);
  --nx-acc: rgb(37, 99, 235); --nx-acc-soft: rgb(239, 244, 255); --nx-warm: rgb(180, 83, 9); }
@media (min-width: 900px) { .nx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.nx :where(p, ul, figure) { margin: 0; padding: 0; }
.nx__col { display: grid; gap: 12px; align-content: start; }
.nx__col > figcaption { margin-top: var(--sp-caption); text-align: left; }
.nx__tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: var(--fs-small); line-height: 1.2; letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 600; }
.nx__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nx__tag--now { background: rgb(243, 244, 246); color: var(--nx-mute); }
.nx__tag--next { background: var(--nx-acc-soft); color: var(--nx-acc); }
.nx__win { display: flex; flex-direction: column; min-height: 470px; box-sizing: border-box; border-radius: 12px; background: #fff; border: 1px solid var(--nx-line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06); overflow: hidden; }
.nx__col--next .nx__win { border-color: rgb(196, 214, 252); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 16px 40px rgba(37, 99, 235, .12); }
.nx__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--nx-line); background: rgb(250, 251, 252); }
.nx__title { font-size: var(--fs-body); font-weight: 600; color: var(--nx-ink); }
.nx__search { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--nx-line); background: #fff; font-size: 13px; color: var(--nx-mute); white-space: nowrap; }
.nx__tabs { list-style: none; display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--nx-line); overflow: hidden; }
.nx__tabs li { position: relative; padding: 12px 8px; font-size: 13px; color: var(--nx-mute); white-space: nowrap; }
.nx__tabs li.is-on { color: var(--nx-ink); font-weight: 600; }
.nx__tabs li.is-on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--nx-ink); transform-origin: left center; }
.nx__tabs--next li.is-on { color: var(--nx-acc); }
.nx__tabs--next li.is-on::after { background: var(--nx-acc); }
.nx__tab--hidden { opacity: .45; }
.nx__list { list-style: none; display: grid; gap: 8px; padding: 16px; }
.nx__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; background: rgb(247, 248, 250); font-size: 13px; }
.nx__list b { font-weight: 600; color: var(--nx-ink); font-variant-numeric: tabular-nums; }
.nx__list span { color: var(--nx-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx__list em, .nx__sim em { font-style: normal; font-size: 12px; color: var(--nx-mute); }
.nx__foot { align-self: end; margin: auto 16px 16px !important; padding-top: 14px; border-top: 1px dashed var(--nx-line); font-size: 13px; color: var(--nx-mute); text-align: center; }
.nx__ask { display: flex; justify-content: space-between; gap: 12px; margin: 16px 16px 0 !important; padding: 12px 14px; border-radius: 10px; background: rgb(247, 248, 250); border: 1px solid var(--nx-line); font-size: 13px; color: var(--nx-mute); }
.nx__ask em { font-style: normal; color: var(--nx-acc); white-space: nowrap; }
.nx__sub { margin: 18px 16px 6px !important; font-size: 12px; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--nx-mute); }
.nx__sim { list-style: none; display: grid; padding: 0 16px; }
.nx__sim li { display: grid; grid-template-columns: minmax(0, 1fr) 56px auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--nx-line); font-size: 13px; }
.nx__sim span { color: var(--nx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx__sim i { height: 4px; border-radius: 2px; background: rgb(232, 236, 244); overflow: hidden; }
.nx__sim i b { display: block; height: 100%; width: calc(var(--s) * 100%); border-radius: 2px; background: var(--nx-acc); transform-origin: left center; }
.nx__sim strong { font-weight: 600; color: var(--nx-acc); font-variant-numeric: tabular-nums; }
.nx__note { margin: 16px !important; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, rgb(239, 244, 255), rgb(245, 243, 255)); border: 1px solid rgb(214, 225, 252); }
.nx__note-k { font-size: 12px; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--nx-acc); font-weight: 600; }
.nx__note-v { margin-top: 6px !important; font-size: var(--fs-body); line-height: 1.5; color: var(--nx-ink); }
.nx__note-v mark { background: linear-gradient(transparent 60%, rgba(37, 99, 235, .18) 60%) no-repeat; background-size: 100% 100%; color: var(--nx-acc); font-weight: 600; }
@media (max-width: 520px) {
  .nx__win { min-height: 0; }
  .nx__tabs li:nth-child(n+3) { display: none; }
  .nx__sim li { grid-template-columns: minmax(0, 1fr) auto auto; } .nx__sim i { display: none; }
  .nx__list li { grid-template-columns: auto minmax(0, 1fr); } .nx__list em { display: none; }
}
/* motion: panels rise; current rows arrive one by one with the hidden tab dimming;
   next: the tab underline slides in, similarity bars fill, the AI note's key phrases get highlighted */
.nx__col { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 180ms); }
.nx__list li { transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(300ms + var(--r) * 120ms); }
.nx__tab--hidden { transition: opacity .6s ease 900ms; }
.nx__foot { transition: opacity .5s ease 1000ms; }
.nx__tabs--next li.is-on::after { transition: transform .45s cubic-bezier(.2, .7, .2, 1) 500ms; }
.nx__sim li { transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(650ms + var(--r) * 140ms); }
.nx__sim i b { transition: transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(800ms + var(--r) * 140ms); }
.nx__note { transition: opacity .5s ease 1300ms, transform .5s cubic-bezier(.2, .7, .2, 1) 1300ms; }
.nx__note-v mark { transition: background-size .6s ease 1700ms; }
.js-reveal .nx.reveal { opacity: 1; transform: none; }
.js-reveal .nx.reveal:not(.in) .nx__col { opacity: 0; transform: translateY(20px); }
.js-reveal .nx.reveal:not(.in) :is(.nx__list li, .nx__sim li) { opacity: 0; transform: translateY(6px); }
.js-reveal .nx.reveal:not(.in) .nx__tab--hidden { opacity: 1; }
.js-reveal .nx.reveal:not(.in) .nx__foot { opacity: 0; }
.js-reveal .nx.reveal:not(.in) .nx__tabs--next li.is-on::after { transform: scaleX(0); }
.js-reveal .nx.reveal:not(.in) .nx__sim i b { transform: scaleX(0); }
.js-reveal .nx.reveal:not(.in) .nx__note { opacity: 0; transform: translateY(10px); }
.js-reveal .nx.reveal:not(.in) .nx__note-v mark { background-size: 0 100%; }
@media (prefers-reduced-motion: reduce) { .nx :is(*, *::before, *::after) { transition: none !important; } }
@media print { .nx :is(.nx__col, .nx__list li, .nx__sim li, .nx__note, .nx__foot) { opacity: 1 !important; transform: none !important; } }

/* screenshot visuals on a soft stage (overrides "sectionClass": cs-sec--darkvis), e.g. LG Before / After rows: a warm
   off-white just darker than the page, no shadow, so the frame recedes and the screens and text lead;
   device mockups (figures with a BEFORE / AFTER caption) keep their own look */
.cs-sec--darkvis .cs-row--paired .cs-fig:not(:has(> figcaption)) { box-sizing: border-box; display: grid; place-items: center; width: 100%; max-width: none;
  padding: 16px; border-radius: var(--radius-media); background: #F5F3EF; border: 1px solid #ECE8E3; box-shadow: none; }
.cs-sec--darkvis .cs-row--paired .cs-fig:not(:has(> figcaption)) :is(img, .cs-frame) { border-radius: 6px; box-shadow: 0 0 0 1px rgba(22, 22, 22, .06); }

/* ---- second act: once the chart is built, one signal travels the decision path (plays once) ---- */
.rpl { --fw-t0: 2.9s; --fw-hop: 130ms; --fw-sig: rgb(37, 99, 235); }
.fw__conn::after { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--fw-sig); box-shadow: 0 0 0 4px rgba(37, 99, 235, .18); opacity: 0; }
.js-reveal .rpl.reveal.in .fw__conn::after { animation: fw-flow .42s linear calc(var(--fw-t0) + var(--k) * var(--fw-hop)) 1 both; }
@keyframes fw-flow { 0% { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 4px); opacity: 0; } }
.js-reveal .rpl.reveal.in .fw__node { animation: fw-lit .7s ease calc(var(--fw-t0) + var(--k) * var(--fw-hop) - 60ms) 1; }
@keyframes fw-lit { 0%, 100% { border-color: var(--fw-edge); box-shadow: none; } 35% { border-color: rgb(147, 186, 250); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); } }
.js-reveal .rpl.reveal.in .fw__dia { animation: fw-dia .7s ease calc(var(--fw-t0) + var(--k) * var(--fw-hop) - 60ms) 1; }
@keyframes fw-dia { 0%, 100% { background: rgb(222, 224, 227); } 35% { background: rgb(214, 228, 252); } }
.js-reveal .rpl.reveal.in .fw__chips li { animation: fw-scan .55s ease calc(var(--fw-t0) + 6 * var(--fw-hop) + var(--c) * 90ms) 1; }
@keyframes fw-scan { 0%, 100% { background: rgb(226, 228, 231); border-color: var(--fw-edge); } 40% { background: rgb(254, 243, 199); border-color: rgb(245, 191, 90); } }
/* legend: point at a key to see where it lives in the chart */
.rpl__key { cursor: default; border-radius: 6px; transition: background-color .2s ease, opacity .2s ease; }
.rpl__key:hover { background: rgb(243, 244, 246); }
.fw :is(.fw__p, .fw__dia, .fw__chips li, .fw__node) { transition: opacity .25s ease, box-shadow .25s ease, outline-color .25s ease; }
.rpl:has(.rpl__key:hover) .fw :is(.fw__p, .fw__dia, .fw__chips li, .fw__node) { opacity: .28; }
.rpl.rpl:has(.rpl__key--dec:hover) .fw .fw__dia,
.rpl.rpl:has(.rpl__key--sig:hover) .fw .fw__chips li,
.rpl.rpl:has(.rpl__key--p1:hover) .fw .fw__p--1,
.rpl.rpl:has(.rpl__key--p2:hover) .fw .fw__p--2,
.rpl.rpl:has(.rpl__key--p3:hover) .fw .fw__p--3 { opacity: 1; }
.rpl.rpl:has(.rpl__key--p1:hover) .fw .fw__p--1 { box-shadow: 0 0 0 4px rgba(214, 60, 60, .18); }
.rpl.rpl:has(.rpl__key--p2:hover) .fw .fw__p--2 { box-shadow: 0 0 0 4px rgba(55, 110, 200, .18); }
.rpl.rpl:has(.rpl__key--p3:hover) .fw .fw__p--3 { box-shadow: 0 0 0 4px rgba(55, 150, 85, .18); }
.rpl.rpl:has(.rpl__key--sig:hover) .fw .fw__chips li { box-shadow: 0 0 0 3px rgba(245, 191, 90, .35); }
@media (prefers-reduced-motion: reduce) { .fw__conn::after { display: none; } }

/* ---- site tone (overrides "siteTone"): pages reworked into the portfolio's own look (red accent, Inter, no shadows) */
.cs--tone { --tone-red: #D62D20; --tone-ink: #161616; --tone-warm: #F3F2F0; color: var(--tone-ink); }
.cs--tone .cs-h1, .cs--tone .cs-h2 { color: var(--tone-ink); }
.cs--tone .cs-h2::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 16px; border-radius: 2px; background: var(--tone-red);
  transform-origin: left; }
.cs--tone .cs-btn { --btn-bg: var(--tone-ink); --btn-border: var(--tone-ink); border-radius: 999px; transition: background-color .2s, border-color .2s, transform .2s; }
.cs--tone .cs-btn:hover { --btn-bg: var(--tone-red); --btn-border: var(--tone-red); filter: none; transform: translateY(-1px); }
.cs--tone .cs-body a, .cs--tone .cs-list a { color: inherit; text-decoration-color: var(--tone-red); text-underline-offset: 3px; }
.cs--tone .cs-fig img, .cs--tone .cs-frame { border-radius: 12px; }
.cs--tone .cs-fig { overflow: hidden; border-radius: 12px; }
/* pull quotes */
.cs--tone .cs-quote { margin: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--tone-red); }
.cs--tone .cs-quote__text { margin: 0; font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-strong); letter-spacing: var(--ls-section); }
.cs--tone .cs-quote__by { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #6B6B6B; letter-spacing: .02em; }
.cs--tone .cs-quote__by::before { content: "— "; }
/* impact numbers */
.cs--tone .cs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 32px; }
.cs--tone .cs-stat { padding: 24px; border-radius: 12px; background: var(--tone-warm); }
.cs--tone .cs-stat__n { margin: 0; font-size: 56px; line-height: 1; font-weight: var(--fw-strong); letter-spacing: -.02em; color: var(--tone-red); font-variant-numeric: tabular-nums; }
.cs--tone .cs-stat__n .cs-count { text-align: left; }
.cs--tone .cs-stat__l { margin: 10px 0 0; font-size: 16px; line-height: 1.4; color: #4A4A4A; }
@media (max-width: 520px) { .cs--tone .cs-stats { grid-template-columns: 1fr; } .cs--tone .cs-stat__n { font-size: 44px; } }
/* motion, only while the reveal script runs: accent bars draw in, pictures settle, hanging prints sway */
.js-reveal .cs--tone .reveal:not(.in) .cs-h2::before { transform: scaleX(0); }
.js-reveal .cs--tone .cs-h2::before { transition: transform .6s cubic-bezier(.65, 0, .35, 1) .2s; }
.js-reveal .cs--tone .reveal:not(.in) .cs-fig img { transform: scale(1.06); }
.js-reveal .cs--tone .cs-fig img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.cs--tone .cs-fig:hover img { transform: scale(1.03); transition-duration: .6s; }
.cs--tone .cs-fig:has(img[src*="88e807_d807c5399"]) img, .cs--tone .cs-fig:has(img[src*="88e807_17b03062f"]) img { transform-origin: 50% 0; animation: cs-sway 6s ease-in-out infinite; }
.cs--tone .cs-fig:has(img[src*="88e807_17b03062f"]) img { animation-delay: -3s; }
.cs--tone .cs-fig:has(img[src*="88e807_d807c5399"]), .cs--tone .cs-fig:has(img[src*="88e807_17b03062f"]) { overflow: visible; }
@keyframes cs-sway { 0%, 100% { transform: rotate(-.6deg); } 50% { transform: rotate(.6deg); } }
@media (prefers-reduced-motion: reduce) {
  .cs--tone .cs-h2::before, .cs--tone .cs-fig img { transition: none !important; transform: none !important; animation: none !important; }
}

/* ---------- Visio: visitor personas (src/snippets/visio-personas.html) ---------- */
.vp { --vp-red: var(--tone-red, #C82419); --vp-ink: #161616; --vp-mute: #6B6862; --vp-line: #ECE8E3; --vp-rose: #FAEFED; --vp-track: #EFECE8;
  margin: 8px 0 0; color: var(--vp-ink); font-family: inherit; }
.vp :is(h3, h4, p, ul, blockquote) { margin: 0; padding: 0; }
.vp ul { list-style: none; }
.vp__head { max-width: 640px; margin-bottom: 28px; }
.vp__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vp-red); }
.vp__title { margin-top: 8px !important; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.vp__lead { margin-top: 10px !important; font-size: 16px; line-height: 1.6; color: var(--vp-mute); }
.vp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vp__card { display: flex; flex-direction: column; gap: 22px; padding: 28px; background: #fff; border: 1px solid var(--vp-line); border-radius: 18px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.vp__card:hover { transform: translateY(-3px); border-color: #E2DDD6; box-shadow: 0 14px 34px -18px rgba(22, 22, 22, .22); }
.vp__who { display: flex; align-items: center; gap: 18px; }
.vp__face { flex: none; position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--vp-rose); overflow: hidden; }
.vp__face img { position: absolute; left: 50%; bottom: -10%; width: 78%; height: auto; transform: translateX(-50%); transform-origin: 50% 100%;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.vp__card:hover .vp__face img { transform: translateX(-50%) translateY(-3px) rotate(-2deg); }
.vp__role { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vp-red); }
.vp__name { margin-top: 4px !important; font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.vp__meta { margin-top: 2px !important; font-size: 14px; color: var(--vp-mute); }
.vp__quote p { position: relative; padding-left: 18px; font-size: 18px; line-height: 1.45; font-weight: 600; letter-spacing: -.01em; }
.vp__quote p::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--vp-red); }
.vp__block { padding-top: 18px; border-top: 1px solid var(--vp-line); }
.vp__label { margin-bottom: 12px !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vp-mute); }
/* personality: a dot on a track between two traits */
.vp__traits { display: grid; gap: 10px; }
.vp__traits li { display: grid; grid-template-columns: 78px 1fr 78px; align-items: center; gap: 10px; font-size: 13px; color: var(--vp-mute); }
.vp__traits li > span:nth-of-type(2) { text-align: right; }
.vp__traits i { position: relative; height: 4px; border-radius: 4px; background: var(--vp-track); }
.vp__traits i::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #D9D4CD; }
.vp__traits b { position: absolute; top: 50%; left: calc(var(--v) * 1%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--vp-ink); box-shadow: 0 0 0 3px #fff; z-index: 1; transition: left .9s cubic-bezier(.2, .8, .2, 1); }
/* buying channels: bars */
.vp__chan { display: grid; gap: 10px; }
.vp__chan li { display: grid; grid-template-columns: minmax(0, 150px) 1fr; align-items: center; gap: 12px; font-size: 14px; }
.vp__chan i { height: 8px; border-radius: 8px; background: var(--vp-track); overflow: hidden; }
.vp__chan b { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: #B9B3AB; transform-origin: left;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1) calc(.25s + var(--r) * .09s); }
.vp__chan li.is-top { font-weight: 600; }
.vp__chan li.is-top b { background: var(--vp-red); }
.vp__take { margin-top: 14px !important; font-size: 14px; line-height: 1.5; color: var(--vp-mute); }
/* reveal: cards rise in turn, dots slide out from the centre, bars grow */
.js-reveal .vp__head.reveal, .js-reveal .vp__card.reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * .08s); }
.js-reveal .vp__card.reveal.in { transition: opacity .6s ease calc(var(--i) * .08s), transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.js-reveal .vp .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.js-reveal .vp__card.reveal:not(.in) .vp__traits b { left: 50%; }
.js-reveal .vp__card.reveal:not(.in) .vp__chan b { transform: scaleX(0); }
.js-reveal .vp__card.reveal:not(.in) .vp__face img { transform: translateX(-50%) translateY(14px); }
.vp__traits b { transition-delay: calc(.35s + var(--i, 0) * .08s); }
@media (max-width: 760px) {
  .vp__grid { grid-template-columns: 1fr; gap: 16px; }
  .vp__card { padding: 22px; gap: 20px; }
  .vp__chan li { grid-template-columns: minmax(0, 132px) 1fr; font-size: 13px; }
  .vp__traits li { grid-template-columns: 66px 1fr 66px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vp *, .vp .reveal, .vp__card { transition: none !important; }
  .vp__card:hover, .vp__card:hover .vp__face img { transform: none; }
  .vp__card:hover .vp__face img { transform: translateX(-50%); }
}

/* =====================================================================================================
   Casino case studies: shared indigo accent
   ===================================================================================================== */
:is(.wv, .rg, .rg-role, .xp, .xp-flow, .xp-verdict, .ba-goals, .ba-pair, .ba-map, .dsc-learn) { --ix: rgb(85, 83, 217); --ix-soft: rgb(237, 236, 252); --ix-line: rgb(226, 226, 240); --ix-mute: rgb(96, 96, 112); --ease: cubic-bezier(.2, .7, .2, 1); }
:is(.wv, .rg, .rg-role, .xp, .xp-flow, .xp-verdict, .ba-goals, .ba-pair, .ba-map, .dsc-learn) :is(h3, p, ul, ol, dl, dd, figure) { margin: 0; }
:is(.wv, .rg, .xp, .xp-flow, .ba-goals, .ba-map, .dsc-learn) :is(ul, ol) { list-style: none; padding: 0; }

/* ---------- Wallet evolution: four phones on a timeline (casino-process.html) ---------- */
.wv-key { display: inline-block; width: 14px; height: 14px; margin: 0 2px -2px; border: 2px solid #E0322B; border-radius: 3px; }
.wv { position: relative; width: 100%; margin-top: 8px; }
.wv__track { position: absolute; left: 12.5%; right: 12.5%; top: 15px; height: 2px; }
.wv__line { position: absolute; inset: 0; border-radius: 2px; background: rgba(85, 83, 217, .18); overflow: hidden; }
.wv__line b { position: absolute; inset: 0; background: var(--ix); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.wv__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wv__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.wv__num { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ix-mute); }
.wv__num span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ix); font-size: 12px; font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--ix); transition: background-color .3s, color .3s; transition-delay: calc(.35s + var(--i) * .35s); }
.wv__step--final .wv__num span { background: var(--ix); color: #fff; }
.wv__phone { position: relative; width: 100%; max-width: 220px; margin-top: 18px; border-radius: 22px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 40px -22px rgba(40, 40, 110, .45); transition: transform .45s var(--ease), box-shadow .45s; }
.wv__phone img { display: block; width: 100%; height: auto; }
.wv__step:hover .wv__phone { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 28px 50px -24px rgba(40, 40, 110, .55); }
.wv__hot { position: absolute; left: calc(var(--l) * 1%); top: calc(var(--t) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border-radius: 4px; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(224, 50, 43, .45); animation: wv-pulse 2.4s ease-out infinite; animation-delay: calc(1s + var(--i, 0) * .35s); }
.wv__step:nth-child(1) .wv__hot { --i: 0; } .wv__step:nth-child(2) .wv__hot { --i: 1; } .wv__step:nth-child(3) .wv__hot { --i: 2; } .wv__step:nth-child(4) .wv__hot { --i: 3; }
@keyframes wv-pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 50, 43, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(224, 50, 43, 0); } }
.wv__badge { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ix); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 6px 14px -6px rgba(85, 83, 217, .8); }
.wv__title { margin-top: 20px !important; font-size: 17px; line-height: 1.3; font-weight: 700; }
.wv__text { margin-top: 6px !important; max-width: 260px; font-size: 15px; line-height: 1.55; color: var(--ix-mute); }
.wv__step--final .wv__phone { box-shadow: 0 0 0 3px var(--ix), 0 24px 48px -22px rgba(85, 83, 217, .65); }
.js-reveal .wv__track.reveal { opacity: 1; transform: none; }
.js-reveal .wv__track.reveal:not(.in) .wv__line b { transform: scaleX(0); }
.js-reveal .wv__step.reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i) * .35s); }
.js-reveal .wv__step.reveal:not(.in) { opacity: 0; transform: translateY(28px); }
.js-reveal .wv__step.reveal:not(.in) .wv__hot { animation: none; }
.js-reveal .wv__step--final.reveal:not(.in) .wv__num span { background: #fff; color: var(--ix); }
.wv__badge { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1) 1.5s, opacity .3s 1.5s; }
.js-reveal .wv__step.reveal:not(.in) .wv__badge { transform: scale(.4); opacity: 0; }
@media (max-width: 899px) {
  .wv__track { display: none; }
  .wv__steps { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin-inline: -4px; scrollbar-width: thin; }
  .wv__step { flex: 0 0 min(72%, 260px); scroll-snap-align: center; }
  .js-reveal .wv__step.reveal { transition-delay: calc(var(--i) * .12s); }
}

/* ---------- Regulations: four region cards (casino-regulations.html) ---------- */
.rg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; margin-top: 8px; }
.rg__card { position: relative; display: flex; flex-direction: column; padding: 26px 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--ix-line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.rg__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ix); transform-origin: left; transition: transform .7s var(--ease); transition-delay: calc(.25s + var(--i) * .12s); }
.rg__card:hover { transform: translateY(-4px); border-color: rgba(85, 83, 217, .35); box-shadow: 0 18px 36px -22px rgba(40, 40, 110, .45); }
.rg__code { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--ix); transition: color .6s ease; transition-delay: calc(.5s + var(--i) * .12s); }
.rg__card:hover .rg__code, .js-reveal .rg__card.in .rg__code { color: var(--ix-soft); }
.rg__region { margin-top: 14px !important; font-size: 18px; line-height: 1.25; font-weight: 700; }
.rg__facts { display: grid; gap: 10px; margin-top: 14px !important; }
.rg__facts dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ix); }
.rg__facts dd { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ix-mute); }
.rg__k { margin-top: 18px !important; padding-top: 16px; border-top: 1px dashed var(--ix-line); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ix-mute); }
.rg__must { display: grid; gap: 9px; margin-top: 10px !important; }
.rg__must li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.45; font-weight: 500;
  transition: opacity .4s ease, transform .4s var(--ease); transition-delay: calc(.55s + var(--i) * .12s + var(--j) * .12s); }
.rg__must li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--ix-soft); }
.rg__must li::after { content: ""; position: absolute; left: 5.5px; top: 6px; width: 4px; height: 7px; border: solid var(--ix); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rg__card:nth-child(1) { --i: 0; } .rg__card:nth-child(2) { --i: 1; } .rg__card:nth-child(3) { --i: 2; } .rg__card:nth-child(4) { --i: 3; }
.js-reveal .rg__card.reveal { transition: opacity .55s ease, transform .6s var(--ease), box-shadow .4s, border-color .4s; transition-delay: calc(var(--i) * .12s), calc(var(--i) * .12s), 0s, 0s; }
.js-reveal .rg__card.reveal:not(.in) { opacity: 0; transform: translateY(22px); }
.js-reveal .rg__card.reveal:not(.in)::before { transform: scaleX(0); }
.js-reveal .rg__card.reveal:not(.in) .rg__must li { opacity: 0; transform: translateX(-8px); }
.rg-role { display: grid; grid-template-columns: 160px 1fr; gap: 8px 32px; align-items: start; width: 100%; margin-top: 28px; padding: 28px 32px; border-radius: 16px; background: var(--ix-soft); }
.rg-role__k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ix); padding-top: 4px; }
.rg-role__v { font-size: 17px; line-height: 1.6; }
.rg-role__tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; list-style: none; padding: 0; }
.rg-role__tags li { padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ix); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(85, 83, 217, .25); }
@media (max-width: 1099px) { .rg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .rg { grid-template-columns: 1fr; gap: 14px; } .rg-role { grid-template-columns: 1fr; padding: 22px; } .rg-role__tags { grid-column: 1; } }

/* ---------- Concept exploration (casino2-explore.html) ---------- */
.xp-flow { display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; margin: 4px 0 8px; }
.xp-flow li { display: flex; align-items: baseline; gap: 8px; padding: 0 22px; font-size: 15px; color: var(--ix-mute);
  transition: opacity .5s ease, transform .5s var(--ease); transition-delay: calc(var(--i) * .25s); }
.xp-flow li + li { border-left: 1px solid var(--ix-line); }
.xp-flow b { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ix); }
.js-reveal .xp-flow.reveal { opacity: 1; transform: none; }
.js-reveal .xp-flow.reveal:not(.in) li { opacity: 0; transform: translateY(10px); }
.xp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; }
.xp__card { display: flex; flex-direction: column; padding: 16px 16px 22px; border-radius: 18px; background: rgb(247, 247, 252); border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s, opacity .5s, filter .5s; }
.xp__shot { position: relative; border-radius: 14px; overflow: hidden; background: #E0E0E0; }
.xp__shot img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.xp__card:hover .xp__shot img { transform: scale(1.03); }
.xp__letter { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 16px !important; border-radius: 50%; background: #fff; color: var(--ix); font-size: 14px; font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--ix); }
.xp__title { margin-top: 10px !important; font-size: 16px; line-height: 1.3; font-weight: 700; }
.xp__text { margin-top: 6px !important; font-size: 14px; line-height: 1.55; color: var(--ix-mute); }
.xp__pick { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--ix); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 10px 20px -8px rgba(85, 83, 217, .8);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) 1.9s, opacity .3s 1.9s; }
.xp__pick svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.xp__pick path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.xp__card--pick { background: #fff; border-color: var(--ix); box-shadow: 0 0 0 3px rgba(85, 83, 217, .14), 0 24px 44px -26px rgba(40, 40, 110, .55); transform: translateY(-6px); }
.xp__card--pick .xp__letter { background: var(--ix); color: #fff; }
/* the others step back once the pick lands, and come forward again on hover */
.xp__card:not(.xp__card--pick).in { opacity: .62; filter: saturate(.55); transition-delay: 0s, 0s, 0s, 1.7s, 1.7s; }
.xp__card:not(.xp__card--pick):hover { opacity: 1; filter: none; transition-delay: 0s; }
.js-reveal .xp__card.reveal:not(.in) { opacity: 0; transform: translateY(24px); }
.js-reveal .xp__card.reveal { transition-property: transform, box-shadow, border-color, opacity, filter; transition-duration: .6s, .45s, .45s, .5s, .5s; }
.js-reveal .xp__card.reveal:nth-child(2) { transition-delay: .12s; } .js-reveal .xp__card.reveal:nth-child(3) { transition-delay: .24s; } .js-reveal .xp__card.reveal:nth-child(4) { transition-delay: .36s; }
.js-reveal .xp__card--pick.reveal:not(.in) { transform: translateY(24px); box-shadow: none; border-color: transparent; }
.js-reveal .xp__card--pick.reveal { transition: opacity .6s ease, transform .6s var(--ease), box-shadow .5s 1.7s, border-color .5s 1.7s; }
.js-reveal .xp__card--pick.reveal:not(.in) .xp__pick { transform: translateX(-50%) scale(.3); opacity: 0; }
.xp-verdict { display: grid; grid-template-columns: 140px 1fr; gap: 6px 28px; width: 100%; padding: 26px 30px; border-radius: 16px; background: var(--ix-soft); }
.xp-verdict__k { padding-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ix); }
.xp-verdict__v { font-size: 17px; line-height: 1.6; }
.xp-verdict strong { color: var(--ix); }
@media (max-width: 999px) { .xp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .xp { gap: 12px; } .xp__card { padding: 10px 10px 16px; } .xp__title { font-size: 14px; } .xp__text { font-size: 13px; }
  .xp__pick { font-size: 10px; padding: 5px 9px 5px 7px; bottom: 8px; }
  .xp-flow li { padding: 0 12px; font-size: 13px; flex-direction: column; align-items: center; gap: 4px; text-align: center; } .xp-flow b { font-size: 24px; }
  .xp-verdict { grid-template-columns: 1fr; padding: 22px; }
}

/* ---------- Before / after with problem -> fix rows (casino2-why.html) ---------- */
.ba-goals { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.ba-goals li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--ix-soft); font-size: 15px; font-weight: 600;
  transition: opacity .45s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i) * .15s); }
.ba-goals svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #fff; fill: none; stroke: var(--ix); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.js-reveal .ba-goals.reveal { opacity: 1; transform: none; }
.js-reveal .ba-goals.reveal:not(.in) li { opacity: 0; transform: scale(.85); }
.ba-pair { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; margin-top: 8px; }
.ba-shot { position: relative; border-radius: 20px; overflow: hidden; background: rgb(210, 210, 210); }
.ba-shot img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease), filter 1.2s ease; }
.ba-shot--after { background: rgb(200, 211, 216); box-shadow: 0 0 0 3px var(--ix), 0 26px 50px -28px rgba(40, 40, 110, .6); }
.ba-shot:hover img { transform: scale(1.03); }
.ba-shot figcaption { position: absolute; left: 16px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 600; color: var(--ix-mute); backdrop-filter: blur(4px); }
.ba-shot figcaption span { padding: 3px 9px; border-radius: 999px; background: rgb(120, 120, 130); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ba-shot--after figcaption span { background: var(--ix); }
.ba-arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ix); }
.ba-arrow svg { width: 26px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js-reveal .ba-shot.reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i) * .5s); }
.js-reveal .ba-shot.reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.js-reveal .ba-shot--after.reveal:not(.in) img { filter: grayscale(1) brightness(1.05); }
.ba-shot--after img { transition-delay: 0s, .9s; }
.js-reveal .ba-arrow.reveal { transition: opacity .4s ease .35s, transform .6s cubic-bezier(.34, 1.56, .64, 1) .35s; }
.js-reveal .ba-arrow.reveal:not(.in) { opacity: 0; transform: translateX(-16px) scale(.6); }
.ba-map { width: 100%; margin-top: 16px; }
.ba-map__head { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 16px; padding: 0 20px 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ix-mute); }
.ba-map__head span:last-child { color: var(--ix); }
.ba-map__rows { display: grid; gap: 10px; }
.ba-map__rows li { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 16px; align-items: center; }
.ba-was, .ba-now { height: 100%; display: flex; align-items: center; padding: 16px 20px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.ba-was { background: rgb(245, 245, 245); color: var(--ix-mute); }
.ba-now { background: var(--ix-soft); color: rgb(24, 24, 40); font-weight: 500; transition: opacity .45s ease, transform .5s var(--ease); transition-delay: calc(.25s + var(--i) * .12s); }
.ba-to { position: relative; height: 2px; background: var(--ix); transform-origin: left; transition: transform .35s ease; transition-delay: calc(.1s + var(--i) * .12s); }
.ba-to::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border: solid var(--ix); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.js-reveal .ba-map__rows li.reveal { transition: opacity .45s ease, transform .5s var(--ease); transition-delay: calc(var(--i) * .12s); }
.js-reveal .ba-map__rows li.reveal:not(.in) { opacity: 0; transform: translateY(12px); }
.js-reveal .ba-map__rows li.reveal:not(.in) .ba-to { transform: scaleX(0); }
.js-reveal .ba-map__rows li.reveal:not(.in) .ba-now { opacity: 0; transform: translateX(-10px); }
@media (max-width: 699px) {
  .ba-pair { grid-template-columns: 1fr; justify-items: center; } .ba-shot { width: 100%; } .ba-arrow { transform: rotate(90deg); width: 44px; height: 44px; }
  .js-reveal .ba-arrow.reveal:not(.in) { transform: rotate(90deg) translateX(-12px) scale(.6); } .js-reveal .ba-arrow.reveal.in { transform: rotate(90deg); }
  .ba-map__head { display: none; }
  .ba-map__rows li { grid-template-columns: 1fr; gap: 0; }
  .ba-was { border-radius: 12px 12px 0 0; padding: 14px 16px; } .ba-now { border-radius: 0 0 12px 12px; padding: 14px 16px; }
  .ba-to { display: none; }
  .ba-was::before { content: "Before"; margin-right: 10px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(140, 140, 150); }
  .ba-now::before { content: "After"; margin-right: 10px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ix); }
  .ba-was, .ba-now { flex-direction: column; align-items: flex-start; gap: 4px; } .ba-was::before, .ba-now::before { margin: 0; }
}

/* ---------- Discovery: survey question next to what we learned (casino2-discovery.html) ---------- */
.dsc-learn { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; width: 100%; margin-top: 16px; }
.dsc-q { padding: 30px 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--ix-line); box-shadow: 0 24px 50px -30px rgba(40, 40, 110, .45); transform: rotate(-1.2deg);
  transition: opacity .6s ease, transform .8s var(--ease); }
.dsc-q:hover { transform: rotate(0deg) translateY(-3px); }
.dsc-q__k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ix); }
.dsc-q__title { margin-top: 10px !important; font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.dsc-q__hint { display: inline-block; margin-top: 10px !important; padding: 4px 10px; border-radius: 999px; background: var(--ix-soft); color: var(--ix); font-size: 12px; font-weight: 600; }
.dsc-q__opts { display: grid; gap: 8px; margin-top: 18px !important; }
.dsc-q__opts li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgb(248, 248, 252); font-size: 15px; line-height: 1.35;
  transition: opacity .35s ease, transform .4s var(--ease), background-color .25s; transition-delay: calc(.35s + var(--o) * .07s), calc(.35s + var(--o) * .07s), 0s; }
.dsc-q__opts li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgb(170, 168, 210); background: #fff; }
.dsc-q__opts li:hover { background: var(--ix-soft); }
.dsc-q__cap { margin-top: 16px !important; font-size: 13px; color: var(--ix-mute); }
.dsc-learned__k { margin-bottom: 18px !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ix); }
.dsc-rows { display: grid; gap: 0; counter-reset: none; }
.dsc-row { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--ix-line); }
.dsc-row:last-child { border-bottom: 1px solid var(--ix-line); }
.dsc-row__n { font-size: 34px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--ix); font-variant-numeric: tabular-nums; }
.dsc-row__t { font-size: 18px; line-height: 1.35; font-weight: 700; }
.dsc-row__b { margin-top: 6px !important; font-size: 15px; line-height: 1.55; color: var(--ix-mute); }
.js-reveal .dsc-q.reveal { opacity: 1; }
.js-reveal .dsc-q.reveal:not(.in) { opacity: 0; transform: rotate(-4deg) translateY(30px); }
.js-reveal .dsc-q.reveal:not(.in) .dsc-q__opts li { opacity: 0; transform: translateX(-10px); }
.js-reveal .dsc-row.reveal { transition: opacity .5s ease, transform .55s var(--ease); transition-delay: calc(.2s + var(--i) * .18s); }
.js-reveal .dsc-row.reveal:not(.in) { opacity: 0; transform: translateX(18px); }
@media (max-width: 899px) { .dsc-learn { grid-template-columns: 1fr; gap: 32px; } .dsc-q { transform: none; } .dsc-row { grid-template-columns: 52px 1fr; } .dsc-row__n { font-size: 28px; } }

@media (prefers-reduced-motion: reduce) {
  :is(.wv, .rg, .rg-role, .xp, .xp-flow, .xp-verdict, .ba-goals, .ba-pair, .ba-map, .dsc-learn) :is(*, *::before, *::after), :is(.wv__step, .rg__card, .xp__card, .ba-shot, .dsc-q, .dsc-row) { transition: none !important; animation: none !important; }
}
@media print { :is(.wv__step, .rg__card, .rg__must li, .xp__card, .xp-flow li, .ba-goals li, .ba-shot, .ba-map__rows li, .ba-now, .dsc-q, .dsc-q__opts li, .dsc-row) { opacity: 1 !important; transform: none !important; } }

/* ---- fixes: equal phone frames, aligned card rows, before/after image sizing ---- */
.wv__phone { aspect-ratio: 470 / 1021; }
.wv__phone img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: top center; }
.wv__badge { display: none; }
.wv__steps { align-items: start; }
.wv__num { min-height: 62px; }
@supports (grid-template-rows: subgrid) {
  .rg { grid-auto-rows: auto; }
  .rg__card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .rg__card > * { align-self: start; }
  .rg__k { align-self: end !important; }
}
.ba-shot img { width: 100% !important; height: auto !important; max-width: none; aspect-ratio: 1 / 1 !important; object-fit: contain !important; }
.ba-shot { aspect-ratio: 1 / 1; }

/* ---------- casino3: Jackpot before/after (casino3-config.html, casino3-map.html) ---------- */
:is(.jp, .ut, .im, .im-chain, .im-note) { --ix: rgb(85, 83, 217); --ix-soft: rgb(237, 236, 252); --ix-line: rgb(226, 226, 240); --ix-mute: rgb(96, 96, 112); --ease: cubic-bezier(.2, .7, .2, 1); }
:is(.jp, .ut, .im, .im-chain, .im-note) :is(h3, p, ul, ol, figure, blockquote) { margin: 0; }
:is(.jp, .im, .im-chain) :is(ul, ol) { list-style: none; padding: 0; }
.jp-no { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; margin-right: .35em; padding: 0 .2em; border-radius: .4em; background: rgb(85, 83, 217); color: #fff;
  font-size: .62em; font-weight: 800; vertical-align: .25em; letter-spacing: 0; }
.jp { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; width: 100%; margin-top: 8px; }
.jp__side { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 14px; }
.jp__arrow { grid-row: 2; align-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ix); }
.jp__arrow svg { width: 22px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.jp__tag { justify-self: start; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgb(236, 236, 238); color: rgb(110, 110, 120); }
.jp__side--after .jp__tag { background: var(--ix); color: #fff; }
.jp__frame { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 14px; border-radius: 16px; background: rgb(242, 242, 244); overflow: hidden; }
.jp__side--after .jp__frame { background: var(--ix-soft); box-shadow: inset 0 0 0 2px rgba(85, 83, 217, .35); }
.jp__frame img { display: block; width: 100% !important; height: 100% !important; object-fit: contain; border-radius: 8px; transition: transform .6s var(--ease), filter 1s ease; }
.jp__side:hover .jp__frame img { transform: scale(1.025); }
.jp__side--before .jp__frame img { filter: saturate(.6); }
.jp__cap { display: grid; align-content: start; gap: 10px; }
.jp__lead { font-size: 17px; line-height: 1.4; font-weight: 700; }
.jp__list { display: grid; gap: 8px; }
.jp__list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: rgb(40, 40, 52);
  transition: opacity .4s ease, transform .45s var(--ease); transition-delay: calc(.5s + var(--i) * .45s + var(--j) * .12s); }
.jp__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ix-soft); }
.jp__list li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 4px; height: 8px; border: solid var(--ix); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.jp__list--before li { color: rgb(90, 90, 100); }
.jp__list--before li::before { background: rgb(238, 238, 240); }
.jp__list--before li::after { left: 5px; top: 11px; width: 8px; height: 0; border-width: 2px 0 0 0; border-color: rgb(140, 140, 150); transform: none; }
.js-reveal .jp__side.reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i) * .45s); }
.js-reveal .jp__side.reveal:not(.in) { opacity: 0; transform: translateY(22px); }
.js-reveal .jp__side--after.reveal:not(.in) .jp__frame img { filter: grayscale(1); }
.jp__side--after .jp__frame img { transition-delay: 0s, .8s; }
.js-reveal .jp__side.reveal:not(.in) .jp__list li { opacity: 0; transform: translateX(-8px); }
.js-reveal .jp__arrow.reveal { transition: opacity .4s ease .3s, transform .6s cubic-bezier(.34, 1.56, .64, 1) .3s; }
.js-reveal .jp__arrow.reveal:not(.in) { opacity: 0; transform: translateX(-14px) scale(.6); }
@media (max-width: 799px) {
  .jp { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; }
  .jp__side { grid-row: auto; grid-template-rows: none; }
  .jp__arrow { grid-row: auto; justify-self: center; transform: rotate(90deg); width: 40px; height: 40px; }
  .js-reveal .jp__arrow.reveal:not(.in) { transform: rotate(90deg) scale(.6); } .js-reveal .jp__arrow.reveal.in { transform: rotate(90deg); }
  .jp__list li { font-size: 15px; }
}

/* ---------- casino3: testing quote with the screenshot on a grey panel ---------- */
.ut { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 56px; align-items: center; width: 100%; }
.ut__panel { padding: 28px; border-radius: 20px; background: rgb(242, 242, 244); }
.ut__panel img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 18px 40px -22px rgba(30, 30, 60, .45); transition: transform .6s var(--ease); }
.ut__shot:hover .ut__panel img { transform: translateY(-4px); }
.ut__cap { margin-top: 12px !important; font-size: 14px; color: var(--ix-mute); }
.ut__text .cs-h2 { text-align: left; }
.ut__quote { position: relative; margin-top: 24px !important; padding: 26px 28px 24px 28px; border-radius: 16px; background: var(--ix-soft); }
.ut__quote::before { content: "“"; position: absolute; top: -26px; left: 18px; font-size: 88px; line-height: 1; font-weight: 800; color: var(--ix); }
.ut__quote p { font-size: 19px; line-height: 1.55; font-weight: 600; color: rgb(24, 24, 40); }
.ut__quote footer { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ix); }
.js-reveal .ut__shot.reveal:not(.in) { opacity: 0; transform: translateX(-24px); }
.js-reveal .ut__text.reveal { transition-delay: .25s; }
.js-reveal .ut__text.reveal:not(.in) .ut__quote { opacity: 0; transform: translateY(14px); }
.ut__quote { transition: opacity .5s ease .55s, transform .6s var(--ease) .55s; }
@media (max-width: 899px) { .ut { grid-template-columns: 1fr; gap: 32px; } .ut__panel { padding: 16px; } }

/* ---------- casino3: business impact ---------- */
.im-chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; max-width: 920px; margin-inline: auto; counter-reset: none; }
.im-chain li { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0 18px; text-align: center; font-size: 14px; line-height: 1.45; color: var(--ix-mute);
  transition: opacity .45s ease, transform .5s var(--ease); transition-delay: calc(var(--i) * .3s); }
.im-chain li + li::before { content: ""; position: absolute; top: 22px; right: calc(50% + 32px); width: calc(100% - 64px); height: 2px; background: repeating-linear-gradient(90deg, var(--ix) 0 6px, transparent 6px 11px);
  transform-origin: left; transition: transform .5s ease; transition-delay: calc(var(--i) * .3s - .15s); }
.im-chain__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ix); }
.im-chain__ic svg { width: 22px; fill: none; stroke: var(--ix); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.im-chain li:last-child .im-chain__ic { background: var(--ix); } .im-chain li:last-child .im-chain__ic svg { stroke: #fff; }
.im-chain b { font-size: 16px; color: rgb(24, 24, 40); }
.js-reveal .im-chain.reveal { opacity: 1; transform: none; }
.js-reveal .im-chain.reveal:not(.in) li { opacity: 0; transform: translateY(10px); }
.js-reveal .im-chain.reveal:not(.in) li + li::before { transform: scaleX(0); }
.im { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; margin-top: 12px; }
.im__card { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--ix-line);
  transition: transform .45s var(--ease), box-shadow .45s; }
.im__card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(40, 40, 110, .5); }
.im__card--hero { background: var(--ix); border-color: var(--ix); color: #fff; box-shadow: 0 26px 50px -26px rgba(85, 83, 217, .8); }
.im__num { font-size: clamp(40px, 4.4vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ix); font-variant-numeric: tabular-nums; }
.im__card--hero .im__num { color: #fff; }
.im__num .cs-count { display: inline-block; }
.im__what { font-size: 17px; line-height: 1.3; font-weight: 700; }
.im__bars { display: grid; gap: 6px; margin-top: 4px; }
.im__bars p { display: grid; grid-template-columns: 46px 1fr 32px; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ix-mute); }
.im__bars i { height: 8px; border-radius: 8px; background: rgb(240, 240, 246); overflow: hidden; }
.im__bars b { display: block; height: 100%; border-radius: inherit; width: calc(var(--b) * 1%); background: rgb(190, 190, 205); transform-origin: left; transition: transform .8s var(--ease); transition-delay: calc(.3s + var(--i) * .15s); }
.im__bars .is-after b { width: 100%; background: var(--ix); transition-delay: calc(.6s + var(--i) * .15s); }
.im__bars em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: rgb(24, 24, 40); }
.im__card--hero .im__bars p, .im__card--hero .im__bars em { color: rgba(255, 255, 255, .85); }
.im__card--hero .im__bars i { background: rgba(255, 255, 255, .2); }
.im__card--hero .im__bars b { background: rgba(255, 255, 255, .55); } .im__card--hero .im__bars .is-after b { background: #fff; }
.im__why { margin-top: auto !important; padding-top: 12px; border-top: 1px solid var(--ix-line); font-size: 14px; line-height: 1.55; color: var(--ix-mute); }
.im__why strong { color: rgb(24, 24, 40); }
.im__card--hero .im__why { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .88); } .im__card--hero .im__why strong { color: #fff; }
.im-note { width: 100%; margin-top: 4px !important; font-size: 13px; color: var(--ix-mute); text-align: center; }
.js-reveal .im__card.reveal { transition: opacity .55s ease, transform .6s var(--ease), box-shadow .45s; transition-delay: calc(var(--i) * .15s), calc(var(--i) * .15s), 0s; }
.js-reveal .im__card.reveal:not(.in) { opacity: 0; transform: translateY(26px) scale(.97); }
.js-reveal .im__card.reveal:not(.in) .im__bars b { transform: scaleX(0); }
.im__num { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(1.05s + var(--i) * .15s); transform-origin: left bottom; }
.js-reveal .im__card.reveal:not(.in) .im__num { transform: scale(.9); }
@media (max-width: 1099px) { .im { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .im { grid-template-columns: 1fr; } .im-chain { grid-template-columns: 1fr; gap: 18px; } .im-chain li + li::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  :is(.jp, .ut, .im, .im-chain) :is(*, *::before, *::after), :is(.jp__side, .jp__arrow, .ut__shot, .ut__text, .im__card) { transition: none !important; animation: none !important; }
}
@media print { :is(.jp__side, .jp__list li, .ut__shot, .ut__quote, .im-chain li, .im__card) { opacity: 1 !important; transform: none !important; } }
@media (min-width: 800px) {
  .jp__side--before { grid-column: 1; grid-row: 1 / span 3; }
  .jp__arrow { grid-column: 2; grid-row: 2; }
  .jp__side--after { grid-column: 3; grid-row: 1 / span 3; }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 600px) {
    .im { grid-auto-rows: auto; }
    .im__card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; }
    .im__why { margin-top: 0 !important; }
  }
}

/* =====================================================================================================
   ID Verification (id-*.html snippets): site palette — ink, red, warm greys
   ===================================================================================================== */
.idv { --r: #C82419; --r-soft: #FAEFED; --ink: #161616; --mute: #66625C; --line: #E7E2DB; --warm: #F5F3EF; --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1);
  width: 100%; color: var(--ink); text-align: left; }
.idv :is(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.idv :is(ul, ol) { list-style: none; padding: 0; }
.idv-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--r); }
.idv-h2 { margin-top: 10px !important; max-width: 820px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.idv-red { color: var(--r); }
.idv-lead { margin-top: 14px !important; max-width: 700px; font-size: 18px; line-height: 1.6; color: var(--mute); }
.idv-note, .idv-fine { margin-top: 10px !important; font-size: 13px; line-height: 1.5; color: var(--mute); }
.idv-fine { opacity: .85; }
.idv-phone { position: relative; display: block; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 22px 44px -26px rgba(22, 22, 22, .45); }
.idv-phone img { display: block; width: 100%; height: auto; }
.idv-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--r); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.idv-tag--before { background: #E9E6E1; color: var(--mute); }
.js-reveal .idv .reveal:not(.in), .js-reveal .idv.reveal:not(.in) { opacity: 0; transform: translateY(22px); }
.js-reveal .idv .reveal, .js-reveal .idv.reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }

/* hero */
.idv-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 24px 0; }
.idv-hero__title { margin-top: 14px !important; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.idv-hero__title span { display: block; color: var(--r); }
.idv-hero__lead { margin-top: 22px !important; max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--mute); }
.idv-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 34px !important; border-top: 1px solid var(--line); }
.idv-hero__stats li { display: grid; gap: 6px; padding: 18px 18px 0 0; font-size: 14px; line-height: 1.4; color: var(--mute); }
.idv-hero__stats li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.idv-hero__stats b { font-size: clamp(30px, 3vw, 42px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.idv-hero__stage { position: relative; height: 560px; }
.idv-hero__phone { position: absolute; width: 230px; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 34px 60px -30px rgba(22, 22, 22, .5); }
.idv-hero__phone img { display: block; width: 100%; height: auto; }
.idv-hero__phone--a { left: 6%; top: 40px; transform: rotate(-5deg); animation: idv-float 7s ease-in-out infinite; }
.idv-hero__phone--b { right: 6%; top: 0; transform: rotate(4deg); animation: idv-float 7s ease-in-out -3.5s infinite; }
@keyframes idv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.idv-scan { position: absolute; left: 10%; right: 10%; top: 38%; height: 3px; border-radius: 3px; background: var(--r); box-shadow: 0 0 18px 4px rgba(200, 36, 25, .45); animation: idv-scan 2.6s ease-in-out infinite; }
@keyframes idv-scan { 0%, 100% { top: 38%; opacity: .2; } 10%, 90% { opacity: 1; } 50% { top: 60%; } }
.idv-chip { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: grid; padding: 10px 16px 10px 36px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 16px 34px -14px rgba(22, 22, 22, .35); }
.idv-chip::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #E0A10B; animation: idv-dot 6s steps(1) infinite; }
.idv-chip em { grid-area: 1 / 1; font-style: normal; }
.idv-chip__a { animation: idv-a 6s steps(1) infinite; } .idv-chip__b { color: #1E8E4E; animation: idv-b 6s steps(1) infinite; }
@keyframes idv-a { 0% { opacity: 1; } 55% { opacity: 0; } } @keyframes idv-b { 0% { opacity: 0; } 55% { opacity: 1; } }
@keyframes idv-dot { 0% { background: #E0A10B; } 55% { background: #1E8E4E; } }

/* meta */
.idv-meta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.idv-meta__grid > div { padding: 20px 22px 4px 0; transition: opacity .5s ease, transform .6s var(--ease); transition-delay: calc(var(--i) * .1s); }
.idv-meta__grid > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.idv-meta dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--r); }
.idv-meta dd { margin-top: 8px; font-size: 16px; line-height: 1.55; }
.js-reveal .idv-meta.reveal { opacity: 1; transform: none; }
.js-reveal .idv-meta.reveal:not(.in) .idv-meta__grid > div { opacity: 0; transform: translateY(12px); }

/* context: journey with a friction point */
.idv-ctx { display: grid; gap: 40px; }
.idv-journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 28px; }
.idv-journey::before { content: ""; position: absolute; left: 6px; right: 12%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--ink) 0 50%, var(--r) 50% 75%, #D9D4CD 75%); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.idv-journey li { position: relative; display: grid; gap: 4px; padding-top: 26px; font-size: 14px; color: var(--mute); transition: opacity .5s ease, transform .5s var(--ease); transition-delay: calc(.3s + var(--i) * .3s); }
.idv-journey b { font-size: 18px; color: var(--ink); }
.idv-journey__dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px #fff; }
.idv-journey .is-friction b, .idv-journey .is-friction span:last-child { color: var(--r); }
.idv-journey .is-friction .idv-journey__dot { background: var(--r); animation: idv-pulse 1.8s ease-out infinite 1.6s; }
.idv-journey .is-dim { opacity: .45; }
@keyframes idv-pulse { 0% { box-shadow: 0 0 0 4px #fff, 0 0 0 4px rgba(200, 36, 25, .5); } 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 18px rgba(200, 36, 25, 0); } }
.js-reveal .idv-journey.reveal { opacity: 1; transform: none; }
.js-reveal .idv-journey.reveal:not(.in)::before { transform: scaleX(0); }
.js-reveal .idv-journey.reveal:not(.in) li { opacity: 0; transform: translateY(10px); }
.idv-statement { max-width: 900px; font-size: clamp(26px, 3vw, 40px); line-height: 1.22; font-weight: 700; letter-spacing: -.02em; }
.idv-statement em { font-style: normal; color: var(--r); background: linear-gradient(var(--r-soft), var(--r-soft)) no-repeat 0 88% / 0% 40%; transition: background-size .9s var(--ease) .5s; }
.idv-statement.in em { background-size: 100% 40%; }

/* problem */
.idv-prob { display: grid; gap: 36px; }
.idv-prob__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.idv-prob__list li { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--warm); }
.idv-prob__n { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--r); }
.idv-prob__list h3 { font-size: 20px; line-height: 1.35; font-weight: 700; }
.idv-bubble { position: relative; align-self: flex-start; margin-top: auto !important; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: 15px; font-style: italic; color: var(--mute);
  box-shadow: 0 10px 24px -16px rgba(22, 22, 22, .4); transition: opacity .4s ease, transform .5s var(--pop); transition-delay: calc(.5s + var(--i) * .12s); }
.js-reveal .idv-prob__list .reveal:not(.in) .idv-bubble { opacity: 0; transform: translateY(8px) scale(.9); }

/* decision architecture */
.idv-arch { display: grid; gap: 32px; }
.idv-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.idv-principles li { padding: 14px 0 0; border-top: 2px solid var(--ink); font-size: 16px; font-weight: 700; transition: border-color .4s; }
.idv-levers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.idv-levers > li { position: relative; padding: 26px 26px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; animation: idv-spot 12s infinite; animation-delay: calc(var(--i) * 3s); }
.idv-levers > li h3 { margin-top: 8px !important; font-size: 21px; font-weight: 700; }
.idv-levers > li > p:not(.idv-levers__fix) { margin-top: 8px !important; font-size: 16px; line-height: 1.55; color: var(--mute); }
.idv-levers__fix { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--r); }
@keyframes idv-spot { 0%, 25% { border-color: var(--r); box-shadow: 0 0 0 3px rgba(200, 36, 25, .12), 0 20px 40px -26px rgba(22, 22, 22, .4); opacity: 1; } 26%, 100% { border-color: var(--line); box-shadow: none; opacity: .55; } }
.idv-levers:hover > li { animation-play-state: paused; }
.idv-status { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.idv-status li { padding: 5px 10px 5px 22px; position: relative; border-radius: 999px; background: var(--warm); font-size: 12px; font-weight: 600; }
.idv-status li::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; }
.idv-status .s0::before { background: #A9A39B; } .idv-status .s1::before { background: #E0A10B; } .idv-status .s2::before { background: #1E8E4E; } .idv-status .s3::before { background: var(--r); }
.idv-pull { padding: 44px 0 8px; border-top: 1px solid var(--line); }
.idv-pull p { max-width: 920px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }

/* build vs buy */
.idv-buy { display: grid; gap: 36px; }
.idv-buy__pair { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 16px; align-items: center; }
.idv-buy__opt { display: grid; grid-template-columns: 200px 1fr; grid-template-rows: auto 1fr; gap: 16px 24px; padding: 24px; border-radius: 20px; background: var(--warm); }
.idv-buy__tag { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--mute); }
.idv-buy__opt figcaption b { display: block; font-size: 20px; line-height: 1.3; }
.idv-buy__opt--pick { background: #fff; box-shadow: 0 0 0 2px var(--r), 0 26px 50px -30px rgba(200, 36, 25, .55); }
.idv-buy__opt--pick .idv-buy__tag { color: var(--ink); }
.idv-buy__opt:not(.idv-buy__opt--pick) .idv-phone { filter: grayscale(.4); }
.idv-pick { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--r); color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: transform .5s var(--pop) 1s, opacity .3s 1s; }
.js-reveal .idv-buy__opt--pick.reveal:not(.in) .idv-pick { opacity: 0; transform: scale(.4); }
.idv-pc { display: grid; gap: 8px; margin-top: 14px !important; }
.idv-pc li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.idv-pc li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.idv-pc .is-pro::before { content: "✓"; background: #E3F2EA; color: #1E8E4E; } .idv-pc .is-con::before { content: "–"; background: #ECE8E3; color: var(--mute); }
.idv-buy__vs { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; }

/* iterations: radio tabs */
.idv-it { display: grid; gap: 32px; }
.idv-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.idv-tabs__bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.idv-tabs__bar label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.idv-tabs__bar label span { font-size: 12px; color: var(--r); font-weight: 800; }
.idv-tabs__bar label:hover { border-color: var(--ink); }
#idv-it-1:checked ~ .idv-tabs__bar label[for="idv-it-1"], #idv-it-2:checked ~ .idv-tabs__bar label[for="idv-it-2"], #idv-it-3:checked ~ .idv-tabs__bar label[for="idv-it-3"], #idv-it-4:checked ~ .idv-tabs__bar label[for="idv-it-4"] { background: var(--ink); border-color: var(--ink); color: #fff; }
#idv-it-1:checked ~ .idv-tabs__bar label[for="idv-it-1"] span, #idv-it-2:checked ~ .idv-tabs__bar label[for="idv-it-2"] span, #idv-it-3:checked ~ .idv-tabs__bar label[for="idv-it-3"] span, #idv-it-4:checked ~ .idv-tabs__bar label[for="idv-it-4"] span { color: #FF8A80; }
.idv-tabs > input:focus-visible ~ .idv-tabs__bar { outline: 2px solid var(--r); outline-offset: 6px; border-radius: 999px; }
.idv-cmp { display: none; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 16px; align-items: start; }
#idv-it-1:checked ~ .idv-tabs__panels [data-p="1"], #idv-it-2:checked ~ .idv-tabs__panels [data-p="2"], #idv-it-3:checked ~ .idv-tabs__panels [data-p="3"], #idv-it-4:checked ~ .idv-tabs__panels [data-p="4"] { display: grid; animation: idv-in .5s var(--ease); }
@keyframes idv-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.idv-cmp__side { display: grid; justify-items: center; gap: 14px; padding: 24px; border-radius: 20px; background: var(--warm); text-align: center; }
.idv-cmp__side .idv-phone { width: min(100%, 250px); }
.idv-cmp__side figcaption { max-width: 320px; font-size: 16px; line-height: 1.5; }
.idv-cmp__side:not(.idv-cmp__side--after) .idv-phone { filter: grayscale(.5); opacity: .9; }
.idv-cmp__side--after { background: #fff; box-shadow: 0 0 0 2px var(--r); }
.idv-cmp__arrow { align-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--r); position: relative; }
.idv-cmp__arrow::after { content: ""; position: absolute; left: 19px; top: 21px; width: 12px; height: 12px; border: solid #fff; border-width: 3px 3px 0 0; transform: rotate(45deg); }

/* AUS */
.idv-aus { display: grid; gap: 32px; }
.idv-aus__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: aus; }
.idv-step { margin-bottom: 10px !important; font-size: 14px; font-weight: 700; }
.idv-step::before { counter-increment: aus; content: counter(aus); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }
.idv-hot { position: absolute; left: calc(var(--l) * 1%); top: calc(var(--t) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border: 2px solid var(--r); border-radius: 6px; animation: idv-hot 2.2s ease-out infinite 1.2s; }
@keyframes idv-hot { 0% { box-shadow: 0 0 0 0 rgba(200, 36, 25, .45); } 100% { box-shadow: 0 0 0 12px rgba(200, 36, 25, 0); } }
.idv-why { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px 32px; align-items: center; padding: 28px 32px; border-radius: 20px; background: #fff; }
.idv-why__k { grid-column: 1 / -1; font-size: 20px; font-weight: 700; }
.idv-why__demo { display: grid; grid-template-columns: 28px 1fr; gap: 12px 10px; align-items: center; font-size: 13px; color: var(--mute); }
.idv-why__v { font-size: 16px; line-height: 1.6; } .idv-why__v em { font-style: normal; font-weight: 700; color: var(--ink); }
.idv-cb { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--ink); position: relative; animation: idv-cb 3s infinite; }
@keyframes idv-cb { 0%, 40% { background: #fff; } 50%, 100% { background: var(--ink); } }
.idv-tg { position: relative; width: 28px; height: 16px; border-radius: 999px; background: #CFC9C1; animation: idv-tgbg 3s infinite 1.5s; }
.idv-tg i { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: idv-tg 3s infinite 1.5s; }
@keyframes idv-tg { 0%, 40% { transform: none; } 50%, 100% { transform: translateX(12px); } } @keyframes idv-tgbg { 0%, 40% { background: #CFC9C1; } 50%, 100% { background: var(--r); } }

/* edge cases */
.idv-edge { display: grid; gap: 32px; }
.idv-edge__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.idv-edge__grid li { display: grid; align-content: start; gap: 8px; }
.idv-phone--short { margin-bottom: 8px; }
.idv-edge__l { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--r); color: #fff; font-size: 12px; font-weight: 800; }
.idv-edge__grid .is-wait .idv-edge__l { background: var(--ink); }
.idv-edge__grid h3 { font-size: 17px; font-weight: 700; } .idv-edge__grid li > p:last-child { font-size: 15px; line-height: 1.5; color: var(--mute); }
.idv-edge__grid li:hover .idv-phone { animation: idv-shake .45s ease; } .idv-edge__grid .is-wait:hover .idv-phone { animation: none; }
@keyframes idv-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* final design */
.idv-fin { display: grid; gap: 48px; }
.idv-feat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.idv-feat--flip .idv-feat__text { order: 2; }
.idv-feat__text h3 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.idv-feat__pts { display: grid; gap: 14px; margin-top: 18px !important; counter-reset: pt; }
.idv-feat__pts li { position: relative; padding-left: 40px; font-size: 16px; line-height: 1.55; color: var(--mute); transition: opacity .45s ease, transform .5s var(--ease); transition-delay: calc(.2s + var(--i) * .15s); }
.idv-feat__pts li::before { counter-increment: pt; content: counter(pt); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--r-soft); color: var(--r); font-size: 13px; font-weight: 800; }
.idv-feat__pts b { color: var(--ink); }
.js-reveal .idv-feat__text.reveal:not(.in) .idv-feat__pts li { opacity: 0; transform: translateX(-10px); }
.idv-feat__phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.idv-feat__phones li { transition: transform .6s var(--ease), opacity .6s ease; transition-delay: calc(var(--i) * .15s); }
.idv-feat__phones li:nth-child(2) { transform: translateY(-18px); }
.js-reveal .idv-feat__phones.reveal { opacity: 1; transform: none; }
.js-reveal .idv-feat__phones.reveal:not(.in) li { opacity: 0; transform: translateY(30px); }

/* impact */
.idv-imp { display: grid; gap: 36px; }
.idv-imp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.idv-imp__grid li { display: grid; align-content: start; gap: 10px; padding: 30px 28px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -30px rgba(22, 22, 22, .35); }
.idv-imp__n { font-size: clamp(48px, 5.4vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--r); font-variant-numeric: tabular-nums; }
.idv-imp__grid h3 { font-size: 18px; font-weight: 700; }
.idv-imp__why { font-size: 15px; line-height: 1.55; color: var(--mute); }
.idv-imp__why::before { content: "→ "; color: var(--r); font-weight: 700; }
.idv-imp__meter { height: 6px; margin-top: 8px; border-radius: 6px; background: var(--warm); overflow: hidden; }
.idv-imp__meter i { display: block; height: 100%; width: 100%; background: var(--r); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: calc(.3s + var(--i) * .15s); }
.idv-imp__meter--down i { background: var(--ink); }
.js-reveal .idv-imp__grid .reveal:not(.in) .idv-imp__meter i { transform: scaleX(0); }
.idv-press { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px; align-items: center; padding: 28px; border-radius: 20px; background: #fff; }
.idv-press__fig img { display: block; width: 100%; height: auto; border-radius: 12px; }
.idv-press__text h3 { margin-top: 8px !important; font-size: 24px; font-weight: 700; }
.idv-press__text > p:not(.idv-k):not(.idv-fine) { margin-top: 10px !important; font-size: 16px; line-height: 1.6; color: var(--mute); }
.idv-press__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.idv-press__tags li { padding: 6px 12px; border-radius: 999px; background: var(--r-soft); color: var(--r); font-size: 13px; font-weight: 700; }

/* system + learnings */
.idv-sys { display: grid; gap: 32px; }
.idv-sys__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.idv-sys__card { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: 18px; border: 1px solid var(--line); }
.idv-sys__card h3 { font-size: 18px; font-weight: 700; } .idv-sys__card > p { font-size: 15px; line-height: 1.55; color: var(--mute); }
.idv-sw { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px !important; }
.idv-sw li { display: grid; gap: 4px; font-size: 9px; color: var(--mute); transition: transform .5s var(--pop), opacity .4s; transition-delay: calc(.3s + var(--j) * .08s); }
.idv-sw li::before { content: ""; display: block; aspect-ratio: 1; border-radius: 8px; background: var(--c); }
.idv-sw em { font-style: normal; font-weight: 800; color: var(--ink); }
.js-reveal .idv-sys__card.reveal:not(.in) .idv-sw li { opacity: 0; transform: scale(.6); }
.idv-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.idv-btn { display: inline-grid; place-items: center; min-width: 96px; height: 40px; padding: 0 16px; border-radius: 8px; background: #3C24CA; color: #fff; font-size: 13px; font-weight: 700; }
.idv-btn--sec { background: #fff; color: #3C24CA; box-shadow: inset 0 0 0 1.5px #3C24CA; }
.idv-btn--focus { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3C24CA; animation: idv-focus 2s ease-in-out infinite; }
@keyframes idv-focus { 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(60, 36, 202, .5); } }
.idv-gest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.idv-gest li { padding: 6px 12px; border-radius: 999px; background: var(--warm); font-size: 13px; font-weight: 600; }
.idv-gest li:nth-child(odd) { animation: idv-tap 2.4s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .3s); }
@keyframes idv-tap { 50% { transform: scale(.94); background: var(--r-soft); } }
.idv-learn { padding: 40px; border-radius: 22px; background: var(--ink); color: #fff; }
.idv-learn .idv-k { color: #FF8A80; }
.idv-learn__big { margin-top: 10px !important; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.idv-learn .idv-red { color: #FF8A80; }
.idv-learn .idv-lead { color: rgba(255, 255, 255, .78); }

/* responsive */
@media (max-width: 999px) {
  .idv-hero { grid-template-columns: 1fr; } .idv-hero__stage { height: 440px; max-width: 520px; margin-inline: auto; width: 100%; } .idv-hero__phone { width: 190px; }
  .idv-meta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .idv-meta__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .idv-prob__list, .idv-imp__grid, .idv-sys__grid { grid-template-columns: 1fr; }
  .idv-buy__pair { grid-template-columns: 1fr; justify-items: center; } .idv-buy__opt { width: 100%; }
  .idv-aus__flow, .idv-edge__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idv-feat { grid-template-columns: 1fr; } .idv-feat--flip .idv-feat__text { order: 0; }
  .idv-press { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .idv-hero__stats { grid-template-columns: 1fr; } .idv-hero__stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-bottom: 14px; }
  .idv-hero__stage { height: 380px; } .idv-hero__phone { width: 160px; }
  .idv-meta__grid { grid-template-columns: 1fr; } .idv-meta__grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .idv-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } .idv-journey::before { display: none; }
  .idv-principles, .idv-levers { grid-template-columns: 1fr 1fr; } .idv-levers { grid-template-columns: 1fr; }
  .idv-buy__opt { grid-template-columns: 120px 1fr; padding: 18px; }
  .idv-cmp { grid-template-columns: 1fr 1fr; } .idv-cmp__arrow { display: none; } .idv-cmp__side { padding: 14px 10px; } .idv-cmp__side figcaption { font-size: 14px; }
  .idv-why { grid-template-columns: 1fr; padding: 22px; }
  .idv-feat__phones { gap: 8px; } .idv-learn { padding: 28px 22px; } .idv-press { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .idv :is(*, *::before, *::after) { animation: none !important; transition: none !important; }
  .idv-levers > li { opacity: 1 !important; }
  .idv-chip__a { opacity: 0; } .idv-chip__b { opacity: 1; }
}
@media print { .idv .reveal, .idv .reveal * { opacity: 1 !important; transform: none !important; } }
/* ID fixes */
.idv-journey { padding-top: 0; }
.idv-journey::before { top: 6px; }
.idv-journey li { padding-top: 30px; }
.idv-feat--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 999px) { .idv-feat--flip { grid-template-columns: 1fr; } }
.idv-imp__grid li { position: relative; overflow: hidden; }
.idv-imp__grid li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--r); transform-origin: top; transition: transform .8s var(--ease); transition-delay: calc(.2s + var(--i) * .15s); }
.js-reveal .idv-imp__grid .reveal:not(.in)::after { transform: scaleY(0); }
.idv-imp__n { transition: transform .6s var(--pop); transition-delay: calc(1.1s + var(--i) * .15s); transform-origin: left bottom; }
.js-reveal .idv-imp__grid .reveal:not(.in) .idv-imp__n { transform: scale(.85); }

/* ---------- Diversity: one screen per description (src/snippets/diversity-prototype.html) ---------- */
.pf { --pf: rgb(110, 60, 140); --pf-soft: rgb(243, 237, 248); --mute: #5F5B66; --ease: cubic-bezier(.2, .7, .2, 1);
  position: relative; width: 100%; max-width: 960px; margin: 8px auto 0; padding: 0; list-style: none; display: grid; gap: 56px; }
.pf::before { content: ""; position: absolute; left: 50%; top: 40px; bottom: 40px; width: 2px; margin-left: -1px; background: repeating-linear-gradient(var(--pf) 0 6px, transparent 6px 12px); opacity: .35; }
.pf__step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pf__step--flip .pf__phone { order: 2; }
.pf__phone { position: relative; justify-self: end; width: min(100%, 300px); }
.pf__step--flip .pf__phone { justify-self: start; }
.pf__phone img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.pf__step:hover .pf__phone img { transform: translateY(-6px) rotate(-1deg); }
.pf__tap { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(110, 60, 140, .35); box-shadow: 0 0 0 0 rgba(110, 60, 140, .45);
  animation: pf-tap 2.4s ease-out infinite 1s; }
@keyframes pf-tap { 0% { transform: scale(.6); box-shadow: 0 0 0 0 rgba(110, 60, 140, .45); opacity: 1; } 60% { transform: scale(1); box-shadow: 0 0 0 18px rgba(110, 60, 140, 0); opacity: .9; } 100% { opacity: 0; } }
.pf__text { position: relative; max-width: 380px; }
.pf__text :is(p, h3) { margin: 0; }
.pf__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pf); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 0 0 6px #fff; }
.pf__t { margin-top: 16px !important; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.pf__b { margin-top: 10px !important; font-size: 17px; line-height: 1.6; color: var(--mute); }
.pf__hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px !important; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--pf-soft); color: var(--pf); font-size: 14px; font-weight: 600; }
.pf__hint span { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--pf); }
.pf__hint span::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--pf); animation: pf-dot 2.4s ease-in-out infinite 1s; }
@keyframes pf-dot { 0%, 100% { transform: scale(1); } 30% { transform: scale(.4); } }
.pf__meter { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pf__meter span { flex: 1; max-width: 220px; height: 8px; border-radius: 8px; background: var(--pf-soft); overflow: hidden; }
.pf__meter b { display: block; width: 10%; height: 100%; border-radius: inherit; background: var(--pf); transform-origin: left; transition: transform 1s var(--ease) .6s; }
.pf__meter em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--pf); }
.js-reveal .pf__step.reveal { transition: opacity .6s ease, transform .7s var(--ease); }
.js-reveal .pf__step.reveal:not(.in) { opacity: 0; transform: translateY(30px); }
.js-reveal .pf__step.reveal:not(.in) .pf__phone img { transform: translateX(-24px) rotate(-3deg); }
.js-reveal .pf__step--flip.reveal:not(.in) .pf__phone img { transform: translateX(24px) rotate(3deg); }
.js-reveal .pf__step.reveal:not(.in) .pf__text { opacity: 0; transform: translateY(12px); }
.pf__text { transition: opacity .5s ease .25s, transform .6s var(--ease) .25s; }
.js-reveal .pf__step.reveal:not(.in) .pf__meter b { transform: scaleX(0); }
.js-reveal .pf__step.reveal:not(.in) .pf__tap { animation: none; opacity: 0; }
@media (max-width: 760px) {
  .pf { gap: 48px; } .pf::before { left: 22px; }
  .pf__step { grid-template-columns: 1fr; gap: 20px; padding-left: 0; }
  .pf__step--flip .pf__phone { order: 0; }
  .pf__phone, .pf__step--flip .pf__phone { justify-self: center; width: min(78%, 280px); }
  .pf::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pf :is(*, *::before, *::after), .pf__step { animation: none !important; transition: none !important; } }
@media print { .pf__step, .pf__text { opacity: 1 !important; transform: none !important; } }
/* Diversity prototype: same-size phones in a row, description under each */
.pf { max-width: 1080px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.pf::before { left: 16.6%; right: 16.6%; top: 50px; bottom: auto; width: auto; height: 2px; margin: 0; background: repeating-linear-gradient(90deg, var(--pf) 0 6px, transparent 6px 12px); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.pf__step, .pf__step--flip { grid-template-columns: 1fr; gap: 20px; align-items: start; justify-items: center; text-align: center; }
.pf__step--flip .pf__phone { order: 0; }
.pf__phone, .pf__step--flip .pf__phone { justify-self: center; width: 100%; max-width: 260px; aspect-ratio: 1813 / 2908; }
.pf__phone img { width: 100% !important; height: 100% !important; object-fit: contain; }
.pf__tap { left: 50%; top: 46%; }
.pf__text { max-width: 300px; display: grid; justify-items: center; }
.pf__n { margin-top: -6px !important; }
.pf__t { margin-top: 12px !important; font-size: 21px; }
.pf__b { font-size: 15px; }
.pf__meter { justify-content: center; } .pf__meter span { max-width: 140px; }
.js-reveal .pf__step.reveal { transition-delay: calc(var(--i) * .25s); }
.js-reveal .pf__step.reveal:not(.in) .pf__phone img, .js-reveal .pf__step--flip.reveal:not(.in) .pf__phone img { transform: translateY(20px) scale(.96); }
.pf__text { transition-delay: calc(.3s + var(--i) * .25s); }
.pf__step:hover .pf__phone img { transform: translateY(-6px); }
.pf__step:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 44%; width: 14px; height: 14px; border: solid var(--pf); border-width: 2.5px 2.5px 0 0; transform: rotate(45deg); opacity: .5; }
@media (max-width: 860px) {
  .pf { grid-template-columns: 1fr; gap: 48px; max-width: 340px; }
  .pf::before { display: none; }
  .pf__step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -32px; margin-left: -7px; transform: rotate(135deg); }
}
.pf::before { display: none; }
.pf__step, .pf__step--flip { align-content: start; gap: 0; }
.pf__text { margin-top: -22px; }

/* ---------- Diversity research, report, results (src/snippets/diversity-*.html) ---------- */
.dw { --p: rgb(110, 60, 140); --p-soft: rgb(243, 237, 248); --ink: #161616; --mute: #5F5B66; --line: #E9E4EE; --ok: #2E9E5B; --no: #D9452F; --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1);
  width: 100%; color: var(--ink); text-align: left; display: grid; gap: 32px; }
.dw :is(h2, h3, p, ul, ol, dl, dd, figure, table) { margin: 0; }
.dw :is(ul, ol) { list-style: none; padding: 0; }
.dw-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--p); }
.dw-h2 { margin-top: 10px !important; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.dw-h3 { margin-top: 8px !important; font-size: 24px; font-weight: 700; }
.dw-lead { margin-top: 12px !important; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--mute); }
.js-reveal .dw .reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
.js-reveal .dw .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
/* people dots */
.dw-crowd { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.dw-crowd__grp { font-size: 14px; color: var(--mute); } .dw-crowd__grp b { font-size: 28px; color: var(--p); margin-right: 4px; }
.dw-crowd__grp.is-stake b { color: #B79BC8; }
.dw-crowd__dots, .dw-dots { display: flex; gap: 6px; }
.dw-crowd__dots i, .dw-dots i { position: relative; width: 22px; height: 30px; transition: transform .45s var(--pop), opacity .3s; transition-delay: calc(.3s + var(--j) * .08s); }
.dw-crowd__dots i::before, .dw-dots i::before { content: ""; position: absolute; left: 6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #D8D0DE; }
.dw-crowd__dots i::after, .dw-dots i::after { content: ""; position: absolute; left: 2px; top: 12px; width: 18px; height: 18px; border-radius: 9px 9px 4px 4px; background: #D8D0DE; }
.dw-crowd__dots i::before, .dw-crowd__dots i::after { background: #B79BC8; }
.dw-crowd__dots i.is-user::before, .dw-crowd__dots i.is-user::after, .dw-dots i.is-hit::before, .dw-dots i.is-hit::after { background: var(--p); transition: background-color .3s; transition-delay: calc(.6s + var(--j) * .08s); }
.js-reveal .reveal:not(.in) .dw-crowd__dots i, .js-reveal .reveal:not(.in) .dw-dots i, .js-reveal .dw-card.reveal:not(.in) .dw-dots i { opacity: 0; transform: translateY(10px) scale(.6); }
.js-reveal .reveal:not(.in) .dw-dots i.is-hit::before, .js-reveal .reveal:not(.in) .dw-dots i.is-hit::after { background: #D8D0DE; }
/* participants */
.dw-part { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 48px; align-items: start; }
.dw-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dw-facts > div { padding: 18px 20px; border-radius: 14px; background: var(--p-soft); transition: opacity .45s ease, transform .5s var(--ease); transition-delay: calc(.15s + var(--i) * .08s); }
.dw-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p); }
.dw-facts dd { margin-top: 6px; font-size: 16px; line-height: 1.45; font-weight: 600; }
.js-reveal .dw-facts.reveal { opacity: 1; transform: none; }
.js-reveal .dw-facts.reveal:not(.in) > div { opacity: 0; transform: translateY(12px) scale(.98); }
.dw-goals { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dw-goals li { display: grid; gap: 4px; padding: 16px 20px; border-left: 3px solid var(--p); background: #fff; font-size: 16px; line-height: 1.5; box-shadow: 0 10px 26px -20px rgba(60, 30, 80, .5); }
.dw-goals span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p); }
/* matrix */
.dw-matrix { overflow-x: auto; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.dw-matrix table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.dw-matrix th, .dw-matrix td { padding: 10px 6px; text-align: center; font-size: 13px; }
.dw-matrix thead th { font-weight: 600; color: var(--mute); vertical-align: bottom; }
.dw-matrix thead th:first-child { text-align: left; font-size: 18px; font-weight: 700; color: var(--ink); }
.dw-matrix thead th i { display: block; width: 26px; height: 34px; margin: 0 auto 6px; position: relative; }
.dw-matrix thead th i::before { content: ""; position: absolute; left: 7px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--p); }
.dw-matrix thead th i::after { content: ""; position: absolute; left: 2px; top: 14px; width: 22px; height: 20px; border-radius: 11px 11px 4px 4px; background: var(--p); }
.dw-matrix thead th:nth-child(2) i::before, .dw-matrix thead th:nth-child(2) i::after { background: #B79BC8; }
.dw-matrix tbody th { text-align: left; font-weight: 500; white-space: nowrap; padding-right: 16px; }
.dw-matrix tbody th span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--p-soft); color: var(--p); font-size: 11px; font-weight: 800; }
.dw-matrix tbody tr + tr > * { border-top: 1px solid var(--line); }
.dw-matrix td::before { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 800; transition: transform .35s var(--pop), opacity .25s; transition-delay: calc(.3s + var(--d) * .04s); }
.dw-matrix td.ok::before { content: "✓"; background: #E4F4EA; color: var(--ok); }
.dw-matrix td.no::before { content: "✕"; background: #FBE6E2; color: var(--no); }
.js-reveal .dw-matrix.reveal:not(.in) td::before { opacity: 0; transform: scale(.3); }
.dw-matrix__note { margin-top: 16px !important; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; line-height: 1.55; color: var(--mute); }
.dw-matrix__note b { color: var(--ink); }
/* testing pair */
.dw-rep__test { display: grid; gap: 20px; }
.dw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dw-card { display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 20px; border-radius: 20px; background: var(--p-soft); }
.dw-shot { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #fff; }
.dw-shot img { display: block; width: 100% !important; height: 100% !important; object-fit: contain; transition: transform .6s var(--ease); }
.dw-card:hover .dw-shot img { transform: scale(1.03); }
.dw-card figcaption { display: grid; align-content: start; gap: 12px; font-size: 16px; line-height: 1.55; }
.dw-mini { display: grid; gap: 6px; } .dw-mini div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 15px; }
.dw-mini dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p); padding-top: 3px; }
.dw-stat { font-size: 18px; } .dw-stat b { font-size: 30px; color: var(--p); }
/* results */
.dw-finds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dw-finds li { display: grid; align-content: start; gap: 12px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.dw-finds li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(60, 30, 80, .45); }
.dw-finds__n { font-size: 22px; font-weight: 700; color: var(--mute); } .dw-finds__n b { font-size: 56px; line-height: 1; letter-spacing: -.03em; color: var(--p); }
.dw-finds .is-warn .dw-finds__n b { color: #C2410C; }
.dw-finds .is-warn .dw-dots i.is-hit::before, .dw-finds .is-warn .dw-dots i.is-hit::after { background: #E88A5A; }
.dw-finds h3 { font-size: 18px; font-weight: 700; } .dw-finds li > p:last-child { font-size: 15px; line-height: 1.55; color: var(--mute); }
.dw-ba { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.dw-ba__side { display: grid; gap: 14px; }
.dw-tag { justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--p); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dw-tag--before { background: #EAE7EC; color: var(--mute); }
.dw-ba__frame { position: relative; display: block; aspect-ratio: 1.12; border-radius: 18px; overflow: hidden; background: #F4F2F6; padding: 18px; }
.dw-ba__side--after .dw-ba__frame { background: var(--p-soft); box-shadow: inset 0 0 0 2px var(--p); }
.dw-ba__frame img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center bottom; }
.dw-ba__side figcaption { font-size: 16px; line-height: 1.55; color: var(--ink); }
.dw-ba__arrow { align-self: center; position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--p); }
.dw-ba__arrow::after { content: ""; position: absolute; left: 17px; top: 19px; width: 12px; height: 12px; border: solid #fff; border-width: 3px 3px 0 0; transform: rotate(45deg); }
.dw-ba__cursor { position: absolute; left: 62%; top: 52%; width: 22px; height: 22px; background: var(--ink); clip-path: polygon(0 0, 0 100%, 28% 72%, 50% 100%, 64% 92%, 42% 66%, 80% 66%); animation: dw-cursor 3s var(--ease) infinite 1.2s; }
@keyframes dw-cursor { 0% { transform: translate(60px, 60px); opacity: 0; } 30%, 70% { transform: none; opacity: 1; } 78% { transform: scale(.85); } 86%, 100% { transform: none; opacity: 0; } }
@media (max-width: 899px) {
  .dw-part, .dw-pair { grid-template-columns: 1fr; } .dw-goals { grid-template-columns: 1fr; }
  .dw-finds { grid-template-columns: 1fr; }
  .dw-ba { grid-template-columns: 1fr; } .dw-ba__arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 520px) { .dw-facts { grid-template-columns: 1fr; } .dw-matrix { padding: 16px; } .dw-mini div { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .dw :is(*, *::before, *::after) { animation: none !important; transition: none !important; } }
@media print { .dw .reveal, .dw .reveal * { opacity: 1 !important; transform: none !important; } }
.dw-ba__frame { aspect-ratio: 1.22; }
.dw-ba__side--after .dw-ba__frame img { object-fit: contain; object-position: center; }
.dw-goals { align-items: stretch; } .dw-goals li { align-content: start; }
.dw-ba__frame { aspect-ratio: 1.12; padding: 20px; }
.dw-ba__frame img, .dw-ba__side--after .dw-ba__frame img { object-fit: contain !important; object-position: center !important; }

/* ---------- Papaya (hero swap + src/snippets/papaya-*.html) ---------- */
:is(.pp, .pp-hero, .pp-badges) { --b: rgb(38, 98, 196); --b-soft: rgb(234, 241, 252); --ink: #161616; --mute: #55606E; --line: #DDE5F0; --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1); }
.pp { width: 100%; display: grid; gap: 32px; color: var(--ink); text-align: left; }
:is(.pp, .pp-hero) :is(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table) { margin: 0; }
.pp :is(ul, ol) { list-style: none; padding: 0; }
.pp-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b); }
.pp-k--light { color: #8FB4F5; }
.pp-h2 { margin-top: 10px !important; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.pp-h2--light { color: #fff; }
.pp-lead { margin-top: 12px !important; max-width: 700px; font-size: 17px; line-height: 1.65; color: var(--mute); }
.js-reveal :is(.pp, .pp-hero, .pp-badges) .reveal:not(.in), .js-reveal :is(.pp-hero, .pp-badges).reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.js-reveal .pp .reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
/* hero */
.pp-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: center; width: 100%; padding: 8px 0 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); text-align: left; }
.pp-hero__title { margin-top: 12px !important; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.pp-hero__lead { margin-top: 18px !important; max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--mute); }
.pp-hero__cta { margin-top: 24px !important; }
.pp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--b); color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background-color .2s; }
.pp-btn:hover { transform: translateY(-2px); background: rgb(28, 78, 166); box-shadow: 0 12px 24px -12px rgba(38, 98, 196, .7); }
.pp-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.pp-hero__fine { margin-top: 14px !important; font-size: 13px; line-height: 1.5; color: var(--mute); }
.pp-hero__logo { width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(20, 40, 80, .6); transform: rotate(3deg); transition: transform .6s var(--ease); }
.pp-hero__logo:hover { transform: rotate(0) scale(1.02); }
.pp-hero__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-hero.reveal { transition: opacity .7s ease, transform .8s var(--ease); }
/* badges */
.pp-badges { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; margin-top: 8px; }
.pp-badges img { height: 44px; width: auto; transition: transform .2s; } .pp-badges img:hover { transform: translateY(-2px); }
/* marketing plan (dark) */
.pp-plan__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.pp-plan__media { position: relative; height: 480px; }
.pp-story { position: absolute; left: 6%; top: 0; width: 230px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); animation: pp-float 7s ease-in-out infinite; }
.pp-story img, .pp-polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-story__bar { position: absolute; left: 10px; right: 10px; top: 10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.pp-story__bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: pp-story 5s linear infinite; }
@keyframes pp-story { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pp-polaroid { position: absolute; right: 4%; bottom: 0; width: 170px; aspect-ratio: 1; padding: 10px 10px 34px; background: #fff; border-radius: 6px; transform: rotate(6deg); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); animation: pp-float 7s ease-in-out -3.5s infinite; }
@keyframes pp-float { 50% { translate: 0 -10px; } }
.pp-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; counter-reset: toc; }
.pp-toc li { counter-increment: toc; display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 16px; font-weight: 500;
  transition: opacity .4s ease, transform .5s var(--ease), color .2s; transition-delay: calc(var(--i) * .05s); }
.pp-toc li::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: #8FB4F5; font-variant-numeric: tabular-nums; }
.pp-toc li:hover { color: #8FB4F5; }
.js-reveal .pp-toc.reveal { opacity: 1; transform: none; }
.js-reveal .pp-toc.reveal:not(.in) li { opacity: 0; transform: translateX(-12px); }
.pp-quote { padding: 32px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.pp-quote p { max-width: 860px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: #fff; }
/* strategy */
.pp-metrics { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-metrics li { padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--b); font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--b); transition: transform .45s var(--pop), opacity .3s; transition-delay: calc(var(--i) * .12s); }
.js-reveal .pp-metrics.reveal { opacity: 1; transform: none; } .js-reveal .pp-metrics.reveal:not(.in) li { opacity: 0; transform: scale(.8); }
.pp-strat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pp-card { display: grid; align-content: start; gap: 12px; padding: 26px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -30px rgba(20, 40, 80, .45); transition: transform .4s var(--ease); }
.pp-card:hover { transform: translateY(-4px); }
.pp-card__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--b); color: #fff; font-size: 14px; font-weight: 800; }
.pp-card h3 { font-size: 20px; font-weight: 700; }
.pp-bul { display: grid; gap: 8px; } .pp-bul li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--mute); }
.pp-bul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--b); }
.pp-nums { display: flex; gap: 24px; } .pp-nums p { display: grid; } .pp-nums b { font-size: 44px; line-height: 1; font-weight: 800; color: var(--b); letter-spacing: -.03em; } .pp-nums span { font-size: 13px; color: var(--mute); }
.pp-card__p { font-size: 15px; line-height: 1.55; color: var(--mute); }
/* MDP */
.pp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-steps li { display: grid; gap: 4px; padding: 20px 22px; border-radius: 16px; background: var(--b-soft); transition: opacity .45s, transform .5s var(--ease); transition-delay: calc(var(--i) * .12s); }
.pp-steps b { font-size: 36px; line-height: 1; font-weight: 800; color: var(--b); } .pp-steps span { font-size: 14px; color: var(--mute); }
.js-reveal .pp-steps.reveal { opacity: 1; transform: none; } .js-reveal .pp-steps.reveal:not(.in) li { opacity: 0; transform: translateY(12px); }
.pp-sheet { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(20, 40, 80, .45); }
.pp-sheet__cap { font-size: 18px; font-weight: 700; }
.pp-sheet__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 10px !important; font-size: 14px; color: var(--mute); }
.pp-sheet__meta div { display: flex; gap: 6px; } .pp-sheet__meta dt { font-weight: 700; color: var(--ink); }
.pp-sheet__scroll { margin-top: 18px; overflow-x: auto; }
.pp-sheet table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.pp-sheet th, .pp-sheet td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.pp-sheet thead th { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--b); border: 0; }
.pp-sheet thead th:first-child { border-radius: 10px 0 0 10px; } .pp-sheet thead th:last-child { border-radius: 0 10px 10px 0; }
.pp-sheet tbody th { width: 170px; font-weight: 700; color: var(--b); white-space: nowrap; }
.pp-sheet td:nth-child(n+3) { width: 80px; background: rgba(234, 241, 252, .5); }
.pp-sheet tbody tr { transition: opacity .4s ease, transform .45s var(--ease), background-color .2s; transition-delay: calc(.2s + var(--r) * .06s); }
.pp-sheet tbody tr:hover { background: var(--b-soft); }
.js-reveal .pp-sheet.reveal:not(.in) tbody tr { opacity: 0; transform: translateY(8px); }
@media (max-width: 899px) {
  .pp-hero { grid-template-columns: 1fr; } .pp-hero__logo { width: 180px; }
  .pp-plan__body { grid-template-columns: 1fr; } .pp-plan__media { height: 420px; max-width: 420px; }
  .pp-strat__grid, .pp-steps { grid-template-columns: 1fr; } .pp-toc { grid-template-columns: 1fr; }
  .pp-sheet { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { :is(.pp, .pp-hero, .pp-badges) :is(*, *::before, *::after) { animation: none !important; transition: none !important; } }
@media print { :is(.pp, .pp-hero) .reveal, :is(.pp, .pp-hero) .reveal * { opacity: 1 !important; transform: none !important; } }
#comp-l6pb2xt7-4 .cs-bgimg { display: none; }
.pp-steps b, .pp-nums b { justify-self: start; text-align: left; }
.pp-steps .cs-count, .pp-nums .cs-count { text-align: left; }
.cs-hero-note { margin-top: 16px !important; max-width: 460px; font-size: 15px !important; line-height: 1.6 !important; color: #5B5852 !important; }
/* PERTS: decorative blue circles removed on request */
#comp-lh2mb8yh .cs-svg:has(> svg[fill="rgb(65, 99, 237)"]), #comp-lh2x6b4a .cs-svg:has(> svg[fill="rgb(65, 99, 237)"]) { display: none; }

/* ---------- PERTS: text left, visual right inside one card (src/snippets/perts-*.html) ---------- */
.pt { --pb: rgb(48, 80, 214); --pb-soft: rgb(237, 241, 254); --ink: #161616; --mute: #555B6B; --ease: cubic-bezier(.2, .7, .2, 1);
  width: 100%; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 24px; counter-reset: none; text-align: left; }
.pt :is(h3, p, figure) { margin: 0; }
.pt-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; padding: 36px; border-radius: 24px; background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 50px -36px rgba(20, 30, 80, .4); transition: transform .45s var(--ease), box-shadow .45s; }
.pt-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 32px 60px -34px rgba(20, 30, 80, .5); }
.pt-card__n { display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 12px; border-radius: 16px; background: var(--pb); color: #fff; font-size: 20px; font-weight: 800; }
.pt-card__t { margin-top: 18px !important; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pt-card__b { margin-top: 12px !important; font-size: 17px; line-height: 1.65; color: var(--mute); }
.pt-card__b a, .pt-card__link a { color: var(--pb); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pt-card__link { margin-top: 16px !important; }
.pt-card__stat { margin-top: 14px !important; font-size: 17px; color: var(--ink); } .pt-card__stat b { font-size: 40px; font-weight: 800; color: var(--pb); margin-right: 6px; letter-spacing: -.02em; }
.pt-card__vis { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 20px; border-radius: 18px; background: var(--pb-soft); overflow: hidden; }
.pt-card__vis img { display: block; max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; border-radius: 10px; transition: transform .7s var(--ease); }
.pt-card:hover .pt-card__vis img { transform: scale(1.04); }
.pt-card:nth-child(even) .pt-card__vis { background: rgb(245, 243, 255); }
.js-reveal .pt-card.reveal { transition: opacity .6s ease, transform .7s var(--ease), box-shadow .45s; transition-delay: calc(var(--i) * .1s), calc(var(--i) * .1s), 0s; }
.js-reveal .pt-card.reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.pt-card__vis img { transition: transform .9s var(--ease), opacity .6s ease; }
.js-reveal .pt-card.reveal:not(.in) .pt-card__vis img { opacity: 0; transform: translateX(24px) scale(.96); }
.js-reveal .pt-card.reveal:not(.in) .pt-card__n { transform: scale(.6); }
.pt-card__n { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) .3s; }
@media (max-width: 860px) { .pt-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; } .pt-card__t { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .pt :is(*, *::before, *::after), .pt-card { transition: none !important; animation: none !important; } }
@media print { .pt-card, .pt-card * { opacity: 1 !important; transform: none !important; } }
.pt-card__vis img { width: 100% !important; height: 100% !important; max-height: none; }
.pt-card__vis { position: relative; }
.pt-card__vis img { position: absolute; inset: 20px; width: calc(100% - 40px) !important; height: calc(100% - 40px) !important; object-fit: contain; }

/* ---------- Welbilt key metrics (src/snippets/welbilt-metrics.html) ---------- */
.wm { --r: #C82419; --r-soft: #FAEFED; --ink: #161616; --mute: #5F5B57; --line: #ECE8E3; --low: #C8504A; --mid: #B36B2B; --high: #2F7D72; --ease: cubic-bezier(.2, .7, .2, 1);
  width: 100%; display: grid; gap: 32px; color: var(--ink); text-align: left; }
.wm :is(h2, p, ul, figure, table) { margin: 0; } .wm ul { list-style: none; padding: 0; }
.wm-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--r); }
.wm-h2 { margin-top: 10px !important; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.02em; }
.wm-lead { margin-top: 12px !important; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--mute); }
.js-reveal .wm .reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
.js-reveal .wm .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.wm-board { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .45); }
.wm-board__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; font-size: 17px; font-weight: 700; }
.wm-legend { display: flex; align-items: center; gap: 6px 10px; font-size: 12px; font-weight: 600; color: var(--mute); }
.wm-legend i { width: 10px; height: 10px; border-radius: 50%; margin-left: 6px; } .wm-legend .is-low { background: var(--low); } .wm-legend .is-mid { background: var(--mid); } .wm-legend .is-high { background: var(--high); }
.wm-board__scroll { margin-top: 18px; overflow-x: auto; }
.wm-board table { width: 100%; min-width: 760px; border-collapse: collapse; }
.wm-board th, .wm-board td { padding: 14px 8px; text-align: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wm-board thead th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.wm-board tbody th { text-align: left; font-size: 13px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.wm-board tbody tr + tr > * { border-top: 1px solid var(--line); }
.wm-board .is-flag { background: var(--r-soft); }
.wm-board thead .is-flag { color: var(--r); border-radius: 10px 10px 0 0; }
.wm-board td { transition: opacity .4s ease; transition-delay: calc(.2s + var(--c) * .06s); }
.wm-mis { display: grid; gap: 6px; justify-items: center; } .wm-mis i { width: 44px; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.wm-mis i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 1%); background: var(--ink); border-radius: inherit; transform-origin: left; transition: transform .9s var(--ease); transition-delay: calc(.3s + var(--c, 0) * .06s); }
.is-flag .wm-mis i::after { background: var(--r); }
.wm-ring { --col: var(--high); position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: conic-gradient(var(--col) calc(var(--wmp, var(--v)) * 1%), #EFECE8 0); transition: --wmp 1.2s var(--ease); }
.wm-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--col); }
.wm-ring b { position: relative; color: #fff; font-size: 14px; }
.wm-ring.is-low { --col: var(--low); } .wm-ring.is-mid { --col: var(--mid); }
@property --wmp { syntax: "<number>"; inherits: false; initial-value: 0; }
.wm-ring { --wmp: var(--v); }
.js-reveal .wm-board.reveal:not(.in) .wm-ring { --wmp: 0; }
.js-reveal .wm-board.reveal:not(.in) .wm-mis i::after { transform: scaleX(0); }
.js-reveal .wm-board.reveal:not(.in) td { opacity: 0; }
.wm-callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.wm-call { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--r-soft); font-size: 15px; line-height: 1.5;
  transition: opacity .5s ease, transform .6s var(--ease); transition-delay: calc(1.2s + var(--i) * .15s); }
.wm-call b { flex: none; font-size: 40px; line-height: 1; font-weight: 800; color: var(--r); letter-spacing: -.03em; }
.js-reveal .wm-board.reveal:not(.in) .wm-call { opacity: 0; transform: translateY(10px); }
.wm-sat { padding: 26px 28px; border-radius: 20px; background: #F5F3EF; }
.wm-sat__k { font-size: 15px; font-weight: 700; }
.wm-sat__bars { display: grid; gap: 10px; margin-top: 14px; }
.wm-sat__bars p { display: grid; grid-template-columns: 64px 1fr 56px; gap: 12px; align-items: center; font-size: 14px; color: var(--mute); }
.wm-sat__bars i { height: 14px; border-radius: 14px; background: #fff; overflow: hidden; }
.wm-sat__bars b { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: #B9B3AB; transform-origin: left; transition: transform 1s var(--ease) .3s; }
.wm-sat__bars .is-after b { background: var(--r); transition-delay: .7s; }
.wm-sat__bars em { font-style: normal; font-size: 20px; font-weight: 800; color: var(--ink); text-align: right; } .wm-sat__bars .is-after em { color: var(--r); }
.js-reveal .wm-sat.reveal:not(.in) b { transform: scaleX(0); }
.wm-sat__note { margin-top: 12px !important; font-size: 14px; color: var(--mute); }
.wm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wm-kpis li { display: grid; gap: 6px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.wm-kpis li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--r); transform-origin: top; transition: transform .8s var(--ease); transition-delay: calc(.2s + var(--i) * .12s); }
.js-reveal .wm-kpis .reveal:not(.in)::before { transform: scaleY(0); }
.wm-kpi__n { font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--r); }
.wm-kpis li > p:last-child { font-size: 16px; font-weight: 600; }
@media (max-width: 760px) { .wm-callouts, .wm-kpis { grid-template-columns: 1fr; } .wm-board { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .wm :is(*, *::before, *::after) { transition: none !important; } }
@media print { .wm .reveal, .wm .reveal * { opacity: 1 !important; transform: none !important; } }
.wm-kpi__n .cs-count { display: inline-block; text-align: left; }
/* Greenpeace: viewer-controlled video */
.gp-video { width: 100%; max-width: 460px; margin-inline: auto; }
.gp-video video { display: block; width: 100%; aspect-ratio: 394 / 255; object-fit: cover; border-radius: 16px; background: #0d1b12; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .55); }
.gp-video video:focus-visible { outline: 3px solid #1E8E4E; outline-offset: 3px; }
.gp-cap { font-size: 12px !important; line-height: 1.5 !important; text-align: center; color: #5F5B57 !important; margin-top: 10px; }
/* Greenpeace: decorative blue circles removed on request */
#comp-l6pb2xz45 .cs-svg:has(> svg[fill="rgb(65, 99, 237)"]) { display: none; }

/* ---------- Greenpeace findings with animated pointers (src/snippets/greenpeace-issues.html) ---------- */
.gi { --g: #1E7A3C; --r: #C82419; --ink: #161616; --mute: #57605A; --ease: cubic-bezier(.2, .7, .2, 1);
  width: 100%; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 24px; text-align: left; }
.gi :is(h3, p, ol, figure) { margin: 0; }
.gi-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center; padding: 28px; border-radius: 24px; background: #F7F8F6; }
.gi-shot { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .5); }
.gi-shot img { display: block; width: 100%; height: auto; }
.gi-pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.gi-pin b { position: absolute; left: -15px; top: -15px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--r); color: #fff; font-size: 14px; font-weight: 800;
  box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0, 0, 0, .35); animation: gi-pulse 2s ease-out infinite; animation-delay: calc(1s + var(--d) * .4s); }
.gi-pin::before { content: ""; position: absolute; left: -12px; top: -58px; width: 24px; height: 28px; background: var(--r);
  clip-path: polygon(35% 0, 65% 0, 65% 55%, 100% 55%, 50% 100%, 0 55%, 35% 55%); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); animation: gi-bob 1.4s ease-in-out infinite; animation-delay: calc(var(--d) * .2s); }
@keyframes gi-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes gi-pulse { 0% { box-shadow: 0 0 0 3px #fff, 0 0 0 3px rgba(200, 36, 25, .5); } 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 18px rgba(200, 36, 25, 0); } }
.gi-pin { transition: opacity .4s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(.5s + var(--d) * .25s); }
.js-reveal .gi-card.reveal:not(.in) .gi-pin { opacity: 0; transform: scale(.4); }
.gi-n { font-size: 14px; font-weight: 800; color: var(--g); letter-spacing: .08em; }
.gi-t { margin-top: 8px !important; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.gi-b { margin-top: 10px !important; font-size: 16px; line-height: 1.6; color: var(--mute); }
.gi-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 18px !important; }
.gi-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink);
  transition: opacity .4s ease, transform .45s var(--ease); transition-delay: calc(.6s + var(--n, 0) * .2s); }
.gi-list li:nth-child(2) { --n: 1; } .gi-list li:nth-child(3) { --n: 2; }
.gi-list b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--r); color: #fff; font-size: 12px; }
.js-reveal .gi-card.reveal:not(.in) .gi-list li { opacity: 0; transform: translateX(-8px); }
.js-reveal .gi-card.reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i) * .1s); }
.js-reveal .gi-card.reveal:not(.in) { opacity: 0; transform: translateY(24px); }
@media (max-width: 860px) { .gi-card { grid-template-columns: 1fr; padding: 18px; gap: 20px; } .gi-pin b { width: 24px; height: 24px; left: -12px; top: -12px; font-size: 12px; } .gi-pin::before { top: -46px; left: -9px; width: 18px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { .gi :is(*, *::before, *::after) { animation: none !important; transition: none !important; } }
@media print { .gi .gi-pin, .gi .gi-list li, .gi-card { opacity: 1 !important; transform: none !important; } }

/* ---------- casino2 business impact: problem -> change -> result ---------- */
.bi { --ix: rgb(65, 99, 237); --ix-soft: rgb(237, 240, 253); --ink: #161616; --mute: #5B6070; --ease: cubic-bezier(.2, .7, .2, 1);
  width: 100%; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; text-align: left; }
.bi :is(p) { margin: 0; }
.bi-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.2fr) 40px 220px; align-items: stretch; gap: 0; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 20px 44px -34px rgba(20, 30, 80, .45); }
.bi-step { display: grid; align-content: center; gap: 6px; padding: 18px 20px; border-radius: 14px; font-size: 15px; line-height: 1.55; color: var(--ink);
  transition: opacity .45s ease, transform .5s var(--ease); }
.bi-step--prob { background: #F4F4F6; color: var(--mute); }
.bi-step:not(.bi-step--prob) { background: var(--ix-soft); transition-delay: .35s; }
.bi-k { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.bi-step:not(.bi-step--prob) .bi-k { color: var(--ix); }
.bi-arrow { position: relative; align-self: center; height: 2px; margin: 0 6px; background: var(--ix); transform-origin: left; transition: transform .35s ease; }
.bi-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border: solid var(--ix); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.bi-arrow:nth-of-type(1) { transition-delay: .2s; } .bi-row .bi-arrow + .bi-step + .bi-arrow { transition-delay: .6s; }
.bi-res { display: grid; align-content: center; gap: 4px; padding: 18px 22px; border-radius: 14px; background: var(--ix); color: #fff; transition: opacity .45s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1); transition-delay: .75s; }
.bi-n { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bi-n .cs-count { display: inline-block; text-align: left; }
.bi-l { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.js-reveal .bi-row.reveal { opacity: 1; transform: none; transition-delay: calc(var(--i) * .15s); }
.js-reveal .bi-row.reveal:not(.in) .bi-step { opacity: 0; transform: translateY(10px); }
.js-reveal .bi-row.reveal:not(.in) .bi-arrow { transform: scaleX(0); }
.js-reveal .bi-row.reveal:not(.in) .bi-res { opacity: 0; transform: scale(.9); }
@media (max-width: 899px) {
  .bi-row { grid-template-columns: 1fr; gap: 8px; }
  .bi-arrow { justify-self: center; width: 2px; height: 22px; margin: 0; transform-origin: top; }
  .bi-arrow::after { right: -4px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .js-reveal .bi-row.reveal:not(.in) .bi-arrow { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) { .bi :is(*, *::before, *::after) { transition: none !important; } }
@media print { .bi * { opacity: 1 !important; transform: none !important; } }
/* ID: global launch folded into final design */
.idv-h3 { margin-top: 10px !important; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.idv-launch { display: grid; gap: 28px; padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.idv-launch__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 40px; }
.idv-launch__grid li { display: grid; justify-items: center; gap: 14px; text-align: center; }
.idv-launch__tag { display: inline-grid; place-items: center; box-sizing: border-box; min-width: 70px; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1; font-weight: 800; letter-spacing: .1em; }
.idv-launch__grid li:nth-child(2) .idv-launch__tag { background: var(--r); }
.idv-launch__frame { display: block; width: 100%; max-width: 280px; filter: drop-shadow(0 24px 28px rgba(22, 22, 22, .22)); transition: transform .5s var(--ease); }
.idv-launch__frame img { display: block; width: 100%; height: auto; clip-path: inset(0.4% 0.8% 0.9% 0.6% round 15% / 7.5%); }
.idv-launch__grid li:nth-child(2) .idv-launch__frame img { clip-path: inset(0.8% 0.5% 0.7% 0.3% round 15% / 7.5%); }
.idv-launch__grid li:hover .idv-launch__frame { transform: translateY(-6px); }
.idv-launch__cap { max-width: 300px; font-size: 15px; line-height: 1.55; color: var(--mute); }
@media (max-width: 640px) { .idv-launch__grid { grid-template-columns: 1fr; } }

/* =====================================================================================================
   Digital Worlds (src/snippets/dw-*.html) — purple
   ===================================================================================================== */
:is(.dx, .dx-hero) { --p: rgb(103, 58, 160); --p-soft: rgb(243, 238, 250); --p-mid: rgb(196, 176, 226); --ink: #161616; --mute: #5E5A66; --line: #E7E1EF; --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1); }
.dx { width: 100%; display: grid; gap: 32px; color: var(--ink); text-align: left; }
.dx :is(h2, h3, p, ul, ol, dl, dd, figure, blockquote, table) { margin: 0; }
.dx :is(ul, ol) { list-style: none; padding: 0; }
.dx-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--p); }
.dx-h2 { margin-top: 10px !important; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.dx-lead { margin-top: 12px !important; max-width: 680px; font-size: 17px; line-height: 1.65; color: var(--mute); }
.js-reveal .dx .reveal, .js-reveal .dx.reveal, .js-reveal .dx-hero.reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
.js-reveal .dx .reveal:not(.in), .js-reveal .dx.reveal:not(.in), .js-reveal .dx-hero.reveal:not(.in) { opacity: 0; transform: translateY(20px); }
/* hero: shorter band, bigger content */
#comp-l7vo0iat { padding-block: 24px !important; min-height: 0 !important; }
.dx-hero { width: 100%; max-width: 1180px; margin: 0 auto; }
.dx-hero img { display: block; width: 100%; height: auto; border-radius: 18px; }
/* overview */
.dx-ov { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.dx-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px !important; border-top: 2px solid var(--ink); }
.dx-meta > div { padding: 16px 16px 0 0; transition: opacity .45s, transform .5s var(--ease); transition-delay: calc(.2s + var(--i) * .1s); }
.dx-meta > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.dx-meta dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p); } .dx-meta dd { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.js-reveal .dx-ov__text.reveal:not(.in) .dx-meta > div { opacity: 0; transform: translateY(10px); }
.dx-ov__photo img { display: block; width: 100%; height: auto; border-radius: 20px; transform: rotate(2deg); box-shadow: 0 30px 60px -36px rgba(40, 20, 70, .6); transition: transform .6s var(--ease); }
.dx-ov__photo:hover img { transform: rotate(0); }
/* kickoff flow */
.dx-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; position: relative; }
.dx-flow > li { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); position: relative; }
.dx-flow > li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 34px; width: 12px; height: 12px; border: solid var(--p); border-width: 2.5px 2.5px 0 0; transform: rotate(45deg); z-index: 1; }
.dx-flow__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--p); color: #fff; font-size: 13px; font-weight: 800; }
.dx-flow h3 { font-size: 19px; font-weight: 700; } .dx-flow li > p:not(.dx-flow__n) { font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.dx-mail { display: grid; gap: 7px; margin-top: 6px; padding: 14px; border-radius: 12px; background: var(--p-soft); }
.dx-mail__sub { font-size: 11px; font-weight: 700; color: var(--p); }
.dx-mail__l { height: 6px; border-radius: 6px; background: var(--p-mid); transform-origin: left; transition: transform .7s var(--ease) .5s; } .dx-mail__l.s { width: 60%; }
.dx-form { display: grid; gap: 6px; margin-top: 6px; padding: 14px; border-radius: 12px; background: var(--p-soft); font-size: 12px; }
.dx-form b { font-size: 12.5px; margin-bottom: 2px; } .dx-form span { display: flex; align-items: center; gap: 8px; color: var(--mute); }
.dx-form span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--p); flex: none; }
.dx-form span:nth-of-type(2)::before { background: var(--p); box-shadow: inset 0 0 0 2px #fff; animation: dx-pick 3s infinite 1.5s; }
@keyframes dx-pick { 0%, 30% { background: #fff; } 40%, 100% { background: var(--p); } }
.dx-donuts { display: grid; gap: 12px; margin-top: 6px; }
.dx-donuts p { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--mute); }
@property --dv { syntax: "<number>"; inherits: false; initial-value: 0; }
.dx-donut { --dv: var(--v); flex: none; position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--p) calc(var(--dv) * 1%), var(--p-soft) 0); transition: --dv 1.2s var(--ease) .5s; }
.dx-donut::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.dx-donut b { position: relative; font-size: 15px; color: var(--p); }
.js-reveal .dx-flow .reveal:not(.in) .dx-donut { --dv: 0; }
.dx-bars { display: grid; gap: 8px; margin-top: 6px; }
.dx-bars p { display: grid; grid-template-columns: 1fr 44px; grid-template-areas: "l v" "b b"; gap: 4px 8px; font-size: 12.5px; color: var(--mute); }
.dx-bars span { grid-area: l; } .dx-bars em { grid-area: v; font-style: normal; font-weight: 800; color: var(--p); text-align: right; }
.dx-bars i { grid-area: b; height: 7px; border-radius: 7px; background: var(--p-soft); overflow: hidden; }
.dx-bars b { display: block; height: 100%; width: calc(var(--v) * 1%); background: var(--p); border-radius: inherit; transform-origin: left; transition: transform 1s var(--ease) .6s; }
.js-reveal .dx-flow .reveal:not(.in) :is(.dx-bars b, .dx-mail__l) { transform: scaleX(0); }
.dx-schools { padding: 22px 24px; border-radius: 20px; background: var(--p-soft); }
.dx-schools__k { font-size: 15px; font-weight: 700; }
.dx-schools ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.dx-schools li { padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--p); font-size: 13px; font-weight: 600; transition: opacity .3s, transform .4s var(--pop); transition-delay: calc(.2s + var(--j) * .03s); }
.js-reveal .dx-schools.reveal:not(.in) li { opacity: 0; transform: scale(.7); }
/* quote */
.dx-quote { justify-items: center; text-align: center; gap: 0; max-width: 980px; margin-inline: auto; }
.dx-quote__mark { display: block; height: 110px; margin-top: 10px; font-size: 200px; line-height: 1; font-weight: 800; color: var(--p); font-family: Georgia, "Times New Roman", serif; transform-origin: center bottom; transition: transform .7s var(--pop) .1s, opacity .4s .1s; }
.js-reveal .dx-quote.reveal:not(.in) .dx-quote__mark { transform: scale(.4) rotate(-10deg); opacity: 0; }
.dx-quote blockquote p { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.dx-quote em { font-style: normal; color: var(--p); background: linear-gradient(var(--p-mid), var(--p-mid)) no-repeat 0 92% / 0 30%; transition: background-size .9s var(--ease) .6s; }
.dx-quote.in em { background-size: 100% 30%; }
.dx-quote footer { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--mute); }
/* HMW */
.dx-hmw__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dx-hmw__grid li { display: grid; align-content: start; gap: 10px; padding: 18px 18px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.dx-hmw__grid li:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -32px rgba(40, 20, 70, .5); }
.dx-hmw__img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; } .dx-hmw__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dx-hmw__grid li:hover .dx-hmw__img img { transform: scale(1.05); }
.dx-hmw__tag { justify-self: start; margin-top: 4px !important; padding: 4px 12px; border-radius: 999px; background: var(--p-soft); color: var(--p); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dx-hmw__grid h3 { font-size: 18px; line-height: 1.4; font-weight: 700; }
/* goals */
.dx-goals__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dx-goal { display: grid; align-content: start; gap: 14px; padding: 28px; border-radius: 22px; background: var(--p); color: #fff; }
.dx-goal--user { background: var(--p-soft); color: var(--ink); }
.dx-goal h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.dx-goal__big { font-size: 18px; line-height: 1.4; } .dx-goal__big b { display: block; font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.dx-goal ul { display: grid; gap: 10px; } .dx-goal li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.55; }
.dx-goal li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--p-mid); } .dx-goal--user li::before { color: var(--p); }
/* qualitative */
.dx-qual__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.dx-ppl { display: grid; gap: 14px; padding: 24px; border-radius: 20px; background: var(--p-soft); }
.dx-ppl__row { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--mute); } .dx-ppl__row b { margin-left: 8px; font-size: 26px; color: var(--p); }
.dx-ppl__ico { position: relative; width: 22px; height: 30px; } .dx-ppl__ico::before { content: ""; position: absolute; left: 6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--p)); } .dx-ppl__ico::after { content: ""; position: absolute; left: 2px; top: 12px; width: 18px; height: 18px; border-radius: 9px 9px 4px 4px; background: var(--c, var(--p)); }
.dx-ppl__ico.f { --c: #2B1B45; } .dx-ppl__ico.s { --c: var(--p-mid); }
.dx-table { width: 100%; border-collapse: collapse; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.dx-table th, .dx-table td { padding: 12px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.dx-table thead th { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dx-table tbody th { font-weight: 500; } .dx-table td { font-weight: 800; color: var(--p); white-space: nowrap; }
.dx-table tbody tr { transition: opacity .35s, transform .4s var(--ease); transition-delay: calc(.2s + var(--r) * .06s); }
.js-reveal .dx-table.reveal:not(.in) tbody tr { opacity: 0; transform: translateX(10px); }
.dx-needs { display: flex; flex-wrap: wrap; gap: 10px; } .dx-needs li { padding: 10px 16px; border-radius: 999px; background: var(--p); color: #fff; font-size: 14px; font-weight: 600; transition: transform .45s var(--pop), opacity .3s; transition-delay: calc(var(--i) * .1s); }
.js-reveal .dx-needs.reveal { opacity: 1; transform: none; } .js-reveal .dx-needs.reveal:not(.in) li { opacity: 0; transform: scale(.8); }
/* findings */
.dx-finds__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dx-finds__grid li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.dx-finds__grid li:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(40, 20, 70, .45); }
.dx-finds__img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--p-soft); } .dx-finds__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dx-finds__n { font-size: 13px; font-weight: 800; color: var(--p); letter-spacing: .08em; }
.dx-finds__grid h3 { margin-top: 4px !important; font-size: 18px; line-height: 1.3; font-weight: 700; }
.dx-finds__p { margin-top: 8px !important; font-size: 14.5px; line-height: 1.55; color: var(--mute); } .dx-finds__p b { display: block; font-size: 30px; line-height: 1.1; color: var(--p); letter-spacing: -.02em; }
/* final */
.dx-final { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.dx-steps { display: grid; gap: 12px; margin-top: 22px !important; counter-reset: st; }
.dx-steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 56px; border-radius: 14px; background: var(--p-soft); font-size: 15px; line-height: 1.55; color: var(--mute); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(.2s + var(--i) * .12s); }
.dx-steps li::before { content: counter(st); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--p); color: #fff; font-size: 13px; font-weight: 800; }
.dx-steps b { color: var(--ink); }
.js-reveal .dx-final__text.reveal:not(.in) .dx-steps li { opacity: 0; transform: translateX(-10px); }
.dx-final__img img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(40, 20, 70, .55); }
.dx-final__img figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); text-align: center; }
/* outcomes */
.dx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dx-kpis li { display: grid; gap: 8px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 20px 44px -34px rgba(40, 20, 70, .45); position: relative; overflow: hidden; }
.dx-kpis li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--p); transform-origin: left; transition: transform .8s var(--ease); transition-delay: calc(.2s + var(--i) * .12s); }
.js-reveal .dx-kpis .reveal:not(.in)::before { transform: scaleX(0); }
.dx-kpi__n { font-size: clamp(52px, 6vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--p); } .dx-kpi__n .cs-count { display: inline-block; text-align: left; }
.dx-kpis li > p:last-child { font-size: 15px; line-height: 1.5; color: var(--mute); }
.dx-out__shots { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.dx-out__shots a { display: grid; gap: 10px; text-decoration: none; color: var(--p); font-size: 14px; font-weight: 700; }
.dx-out__shots img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 26px 50px -32px rgba(40, 20, 70, .5); transition: transform .5s var(--ease); }
.dx-out__shots a:hover img { transform: translateY(-5px); } .dx-out__shots a:focus-visible { outline: 3px solid var(--p); outline-offset: 4px; border-radius: 16px; }
@media (max-width: 999px) {
  .dx-ov, .dx-final, .dx-qual__grid { grid-template-columns: 1fr; }
  .dx-flow { grid-template-columns: 1fr 1fr; } .dx-flow > li::after { display: none; }
  .dx-finds__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dx-flow, .dx-hmw__grid, .dx-goals__grid, .dx-kpis { grid-template-columns: 1fr; }
  .dx-meta { grid-template-columns: 1fr; } .dx-meta > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .dx-finds__grid li { grid-template-columns: 1fr; } .dx-out__shots { grid-template-columns: 1fr; }
  .dx-quote__mark { font-size: 140px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) { :is(.dx, .dx-hero) :is(*, *::before, *::after) { animation: none !important; transition: none !important; } }
@media print { :is(.dx, .dx-hero) .reveal, :is(.dx, .dx-hero) .reveal * { opacity: 1 !important; transform: none !important; } }

/* ---------- casino2 key challenges ---------- */
.kc { --ix: rgb(65, 99, 237); --ix-deep: rgb(30, 48, 140); --ix-soft: rgb(237, 240, 253); --ink: #161616; --mute: #5B6070; --ease: cubic-bezier(.2, .7, .2, 1);
  width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; text-align: left; }
.kc :is(h3, p, ol, blockquote) { margin: 0; } .kc ol { list-style: none; padding: 0; }
.kc-quote { position: relative; display: grid; align-content: center; gap: 22px; padding: 40px 36px; border-radius: 26px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, rgb(96, 128, 255) 0%, var(--ix) 45%, var(--ix-deep) 100%); box-shadow: 0 34px 60px -34px rgba(30, 48, 140, .7); }
.kc-quote::after { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; bottom: -80px; border-radius: 50%; background: rgba(255, 255, 255, .08); animation: kc-orb 9s ease-in-out infinite; }
@keyframes kc-orb { 50% { transform: translate(-30px, -20px) scale(1.1); } }
.kc-quote__mark { font-family: Georgia, serif; font-size: 110px; line-height: .6; height: 50px; opacity: .5; }
.kc-quote p { position: relative; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.kc-quote footer { position: relative; font-size: 14px; font-weight: 600; opacity: .85; }
.kc-list { display: grid; gap: 14px; }
.kc-card { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "who who" "n t" "n so"; gap: 4px 18px; align-items: start; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid rgb(226, 229, 242);
  transition: opacity .6s ease, transform .7s var(--ease), filter .9s ease, box-shadow .4s; transition-delay: calc(.25s + var(--i) * .2s); }
.kc-card:hover { box-shadow: 0 22px 44px -30px rgba(30, 48, 140, .45); }
.kc-who { grid-area: who; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ix); }
.kc-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ix-soft); }
.kc-ico svg { width: 16px; fill: none; stroke: var(--ix); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kc-n { grid-area: n; font-size: 40px; line-height: .9; font-weight: 800; letter-spacing: -.03em; color: rgb(198, 207, 245); }
.kc-card h3 { grid-area: t; font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.kc-so { grid-area: so; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.js-reveal .kc-card.reveal:not(.in) { opacity: .15; transform: translateX(16px); filter: blur(6px); }
.js-reveal .kc-quote.reveal:not(.in) { opacity: 0; transform: translateY(20px) scale(.98); }
.js-reveal .kc-quote.reveal { transition: opacity .7s ease, transform .8s var(--ease); }
@media (max-width: 899px) { .kc { grid-template-columns: 1fr; } .kc-quote { padding: 30px 24px; } }
@media (prefers-reduced-motion: reduce) { .kc :is(*, *::before, *::after), .kc-card { animation: none !important; transition: none !important; filter: none !important; } }
@media print { .kc-card, .kc-quote { opacity: 1 !important; transform: none !important; filter: none !important; } }

/* ---------- Walmart impact (src/snippets/walmart-impact.html) ---------- */
.wi { --wb: rgb(0, 83, 226); --wy: rgb(255, 194, 32); --wb-soft: rgb(234, 241, 253); --ink: #161616; --mute: #57606E; --ease: cubic-bezier(.2, .7, .2, 1);
  width: 100%; display: grid; gap: 32px; text-align: left; color: var(--ink); }
.wi :is(h2, h3, p, ul, figure) { margin: 0; } .wi ul { list-style: none; padding: 0; }
.wi-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wb); }
.wi-h2 { margin-top: 10px !important; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.wi-lead { margin-top: 12px !important; max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--mute); }
.js-reveal .wi .reveal { transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
.js-reveal .wi .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.wi-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wi-kpis li { display: grid; align-content: start; gap: 10px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid rgb(225, 231, 242); box-shadow: 0 20px 44px -34px rgba(0, 40, 120, .45); }
.wi-n { font-size: clamp(50px, 5.6vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--wb); font-variant-numeric: tabular-nums; }
.wi-n small { font-size: .45em; letter-spacing: 0; color: var(--mute); } .wi-n .cs-count { display: inline-block; text-align: left; }
.wi-kpis h3 { font-size: 18px; font-weight: 700; } .wi-kpis li > p:last-child { font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.wi-meter { display: grid; gap: 5px; } .wi-meter i { display: block; height: 8px; width: calc(var(--v) * 1%); border-radius: 8px; transform-origin: left; transition: transform 1s var(--ease); }
.wi-meter .a { background: rgb(200, 208, 222); transition-delay: .3s; } .wi-meter .b { background: var(--wb); transition-delay: .7s; }
.js-reveal .wi-kpis .reveal:not(.in) .wi-meter i { transform: scaleX(0); }
.wi-stars { position: relative; display: block; width: 120px; height: 22px; background: rgb(225, 230, 240);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M11 1l2.9 6.4 6.9.7-5.2 4.7 1.5 6.8L11 16.2 4.9 19.6l1.5-6.8L1.2 8.1l6.9-.7z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 120px 22px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M11 1l2.9 6.4 6.9.7-5.2 4.7 1.5 6.8L11 16.2 4.9 19.6l1.5-6.8L1.2 8.1l6.9-.7z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 120px 22px; }
.wi-stars i { position: absolute; inset: 0; width: calc(var(--v) * 1%); background: var(--wy); transform-origin: left; transition: transform 1.1s var(--ease) .5s; }
.js-reveal .wi-kpis .reveal:not(.in) .wi-stars i { transform: scaleX(0); }
.wi-where { display: grid; grid-template-columns: 220px 1fr; gap: 16px 28px; align-items: center; padding: 26px 30px; border-radius: 22px; background: var(--wb); color: #fff; }
.wi-where__k { font-size: 18px; font-weight: 700; }
.wi-where ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wi-where li { display: grid; gap: 6px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-size: 16px; font-weight: 600; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .35s; transition-delay: calc(.2s + var(--j) * .12s); }
.wi-where li span { font-size: 12px; font-weight: 800; color: var(--wy); letter-spacing: .08em; }
.js-reveal .wi-where.reveal:not(.in) li { opacity: 0; transform: translateY(10px) scale(.95); }
.wi-shot img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 34px 60px -40px rgba(0, 0, 0, .6); }
@media (max-width: 899px) { .wi-kpis, .wi-where ul { grid-template-columns: 1fr; } .wi-where { grid-template-columns: 1fr; padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .wi :is(*, *::before, *::after) { transition: none !important; } }
@media print { .wi .reveal, .wi .reveal * { opacity: 1 !important; transform: none !important; } }

/* ID Verification: build-vs-buy per market */
.idv-mkt { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.idv-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; padding: 32px; border-radius: 20px; background: var(--warm); }
.idv-split__t { margin-top: 10px !important; font-size: 24px; line-height: 1.3; letter-spacing: -.015em; font-weight: 700; }
.idv-split__rows { display: grid; gap: 14px; }
.idv-split__rows li { display: grid; grid-template-columns: 64px 40px 1fr; align-items: center; gap: 0 14px; padding: 16px 20px 16px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .6s var(--ease) calc(var(--i) * .18s + .2s), opacity .6s var(--ease) calc(var(--i) * .18s + .2s); }
.idv-split__code { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--r); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.idv-split__rows li + li .idv-split__code { background: var(--ink); }
.idv-split__line { height: 2px; background: linear-gradient(90deg, var(--line), var(--r)); transform-origin: left; transition: transform .5s var(--ease) calc(var(--i) * .18s + .55s); }
.idv-split__rows li + li .idv-split__line { background: linear-gradient(90deg, var(--line), var(--ink)); }
.idv-split__rows p { font-size: 15px; line-height: 1.55; color: var(--mute); }
.idv-split__rows b { display: block; margin-bottom: 2px; font-size: 17px; color: var(--ink); }
.js-reveal .idv-split.reveal:not(.in) .idv-split__rows li { opacity: 0; transform: translateX(24px); }
.js-reveal .idv-split.reveal:not(.in) .idv-split__line { transform: scaleX(0); }
@media (max-width: 999px) { .idv-split { grid-template-columns: 1fr; gap: 20px; padding: 24px; } }
@media (max-width: 640px) { .idv-split { padding: 18px; } .idv-split__rows li { grid-template-columns: 48px 1fr; padding: 14px; } .idv-split__code { width: 48px; height: 48px; font-size: 13px; } .idv-split__line { display: none; } .idv-split__t { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .idv-split :is(*, *::before, *::after) { transition: none !important; } }
@media print { .idv-split li, .idv-split__line { opacity: 1 !important; transform: none !important; } }

/* ================= Online Go (og) ================= */
.og { --y: #FFDE5F; --b: #5B9BFF; --ink: #F4F5F8; --mute: rgba(237, 239, 245, .72); --line: rgba(255, 255, 255, .12); --card: rgba(255, 255, 255, .045); --ok: #5BD69A; --no: #FF7A6B; --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1);
  width: 100%; max-width: 1120px; margin-inline: auto; box-sizing: border-box; display: grid; gap: 40px; color: var(--ink); text-align: left; }
.og :is(h2, h3, p, ul, ol, dl, dd, figure, blockquote, table) { margin: 0; }
.og :is(ul, ol) { list-style: none; padding: 0; }
.og-head { display: grid; gap: 12px; max-width: 820px; }
.og-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--y); }
.og-h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; color: #fff; }
.og-y { color: var(--y); }
.og-lead { font-size: 18px; line-height: 1.6; color: var(--mute); max-width: 720px; }
.og-tag { display: inline-block; justify-self: start; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.og-tag--y { background: rgba(255, 222, 95, .14); color: var(--y); }
.og-tag--b { background: rgba(91, 155, 255, .16); color: var(--b); }
.og-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.og-shot { display: grid; gap: 12px; }
.og-shot img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.og-shot figcaption { font-size: 14px; color: var(--mute); text-align: center; }
.og-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.og-bar i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: linear-gradient(90deg, var(--b), var(--y)); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--i, 0) * .15s + .3s); }
.js-reveal .og .reveal:not(.in) .og-bar i { transform: scaleX(0); }
.og .reveal { transition: opacity .7s var(--ease) calc(var(--i, 0) * .12s), transform .7s var(--ease) calc(var(--i, 0) * .12s); }
.js-reveal .og .reveal:not(.in) { opacity: 0; transform: translateY(24px); }

/* problem */
.og-prob__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.og-card__big { font-size: 24px; line-height: 1.25; font-weight: 700; color: #fff; }
.og-card__txt { font-size: 16px; line-height: 1.6; color: var(--mute); }
.og-funnel { display: grid; gap: 6px; margin-top: 14px; }
.og-funnel i { display: block; height: 10px; width: calc(var(--w) * 1%); border-radius: 99px; background: linear-gradient(90deg, var(--y), rgba(255, 222, 95, .25)); transform-origin: left; transition: transform .9s var(--ease); }
.og-funnel i:nth-child(2) { transition-delay: .15s; } .og-funnel i:nth-child(3) { transition-delay: .3s; } .og-funnel i:nth-child(4) { transition-delay: .45s; }
.js-reveal .og-card.reveal:not(.in) .og-funnel i { transform: scaleX(0); }
.og-steps { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.og-steps i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(91, 155, 255, .55); transition: transform .4s var(--pop), opacity .4s; }
.og-steps i:nth-child(1) { transition-delay: .2s; } .og-steps i:nth-child(2) { transition-delay: .3s; } .og-steps i:nth-child(3) { transition-delay: .4s; } .og-steps i:nth-child(4) { transition-delay: .5s; } .og-steps i:nth-child(5) { transition-delay: .6s; }
.og-steps b { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #555, #0b0b0b); box-shadow: 0 4px 10px rgba(0, 0, 0, .6); transition: transform .5s var(--pop) .8s, opacity .3s .8s; }
.js-reveal .og-card.reveal:not(.in) :is(.og-steps i, .og-steps b) { opacity: 0; transform: scale(.3); }
.og-issues { display: grid; gap: 14px; padding: 24px 28px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.og-issues__k { font-size: 14px; font-weight: 700; color: var(--mute); }
.og-issues ul { display: flex; flex-wrap: wrap; gap: 10px; }
.og-issues li { padding: 10px 16px 10px 34px; position: relative; border-radius: 999px; background: rgba(255, 122, 107, .1); color: #fff; font-size: 15px; transition: opacity .5s calc(var(--j) * .1s + .3s), transform .5s var(--pop) calc(var(--j) * .1s + .3s); }
.og-issues li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--no); }
.js-reveal .og-issues.reveal:not(.in) li { opacity: 0; transform: translateY(10px) scale(.95); }

/* competitive */
.og-comp__wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.og-matrix { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.og-matrix :is(th, td) { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.og-matrix tbody tr:last-child :is(th, td) { border-bottom: 0; }
.og-matrix thead th { font-size: 13px; font-weight: 700; color: var(--mute); }
.og-matrix thead th.is-us { color: var(--b); }
.og-matrix tbody th { text-align: left; font-weight: 600; color: #fff; padding-left: 22px; }
.og-matrix td.is-us { background: rgba(91, 155, 255, .1); }
.og-matrix tr.is-gap { background: rgba(255, 222, 95, .07); }
.og-matrix tr.is-gap th { color: var(--y); }
.og-matrix td::before { content: ""; display: inline-block; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; background-position: center; background-repeat: no-repeat; background-size: 14px; transition: transform .45s var(--pop) calc(var(--d) * 60ms + .3s), opacity .3s calc(var(--d) * 60ms + .3s); }
.og-matrix td.ok::before { background-color: rgba(91, 214, 154, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%235BD69A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.og-matrix td.no::before { background-color: rgba(255, 122, 107, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%23FF7A6B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.js-reveal .og-comp__wrap.reveal:not(.in) .og-matrix td::before { opacity: 0; transform: scale(.2); }
.og-comp__take { display: grid; gap: 14px; padding: 28px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 222, 95, .12), rgba(255, 222, 95, .02)); box-shadow: inset 0 0 0 1px rgba(255, 222, 95, .25); }
.og-comp__take p:last-child { font-size: 18px; line-height: 1.55; color: #fff; }

/* survey */
.og-sur__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.og-sur__meta li { display: grid; gap: 4px; padding: 20px 24px; transition: opacity .5s calc(var(--j) * .12s + .2s); }
.og-sur__meta li + li { border-left: 1px solid var(--line); }
.og-sur__meta b { font-size: 30px; font-weight: 800; color: #fff; }
.og-sur__meta span { font-size: 14px; line-height: 1.45; color: var(--mute); }
.js-reveal .og-sur__meta.reveal:not(.in) li { opacity: 0; }
.og-meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.og-meters li { display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.og-meters__n { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--y); font-variant-numeric: tabular-nums; }
.og-meters li p:last-child { font-size: 16px; line-height: 1.5; color: var(--mute); }

/* broken */
.og-brk__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.og-brk__grid li { position: relative; display: grid; gap: 18px; align-content: start; padding: 26px 22px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s, opacity .7s var(--ease) calc(var(--i) * .12s); }
.og-brk__grid li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 122, 107, .5); }
.og-brk__n { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--no); }
.og-brk__grid svg { width: 48px; height: 48px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) calc(var(--i) * .12s + .3s); }
.js-reveal .og-brk__grid .reveal:not(.in) svg { stroke-dashoffset: 160; }
.og-brk__grid h3 { font-size: 18px; line-height: 1.35; font-weight: 700; color: #fff; }

/* goal */
.og-goal { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; }
.og-goal__board img { display: block; width: 100%; max-width: 400px; height: auto; margin-inline: auto; border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); transform: rotate(-2deg); transition: transform .8s var(--ease); }
.og-goal__board:hover img { transform: rotate(0); }
.og-goal__text { display: grid; gap: 28px; }
.og-goal__list { display: grid; gap: 14px; counter-reset: g; }
.og-goal__list li { display: grid; gap: 10px; padding: 22px 24px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.og-goal__list li p:last-child { font-size: 17px; line-height: 1.55; color: #fff; }

/* onboarding */
.og-onb__stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: center; }
.og-onb__shot { position: relative; }
.og-onb__shot img { display: block; width: 100%; height: auto; border-radius: 18px; }
.og-pin { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; border-radius: 50%; background: var(--y); color: #0C1226; font-size: 14px; font-weight: 800; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); transition: transform .5s var(--pop) calc(var(--i) * .25s + .5s), opacity .3s calc(var(--i) * .25s + .5s); }
.og-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 222, 95, .7); animation: og-ping 2.2s ease-out calc(var(--i) * .25s + 1.5s) infinite; }
@keyframes og-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 222, 95, .6); } 80%, 100% { box-shadow: 0 0 0 16px rgba(255, 222, 95, 0); } }
.js-reveal .og-onb__shot.reveal:not(.in) .og-pin { opacity: 0; transform: scale(.2); }
.og-onb__list { display: grid; gap: 12px; }
.og-onb__list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.og-onb__list li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--y); color: #0C1226; font-size: 14px; font-weight: 800; }
.og-onb__list h3 { font-size: 16px; font-weight: 700; color: #fff; }
.og-onb__list p { margin-top: 4px !important; font-size: 14px; line-height: 1.5; color: var(--mute); }

/* improve */
.og-imp { gap: 64px; }
.og-imp__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.og-imp__row--flip .og-imp__text { order: 2; }
.og-imp__text { display: grid; gap: 14px; }
.og-imp__n { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--b); }
.og-imp__text h3 { font-size: 26px; line-height: 1.25; font-weight: 700; color: #fff; }
.og-imp__text > p:not(.og-imp__n) { font-size: 17px; line-height: 1.6; color: var(--mute); }
.og-imp__text b { color: #fff; }
.og-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.og-chips li { padding: 8px 16px; border-radius: 999px; background: rgba(91, 155, 255, .16); color: #fff; font-size: 14px; font-weight: 600; }
.og-imp__stat { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 222, 95, .08); box-shadow: inset 0 0 0 1px rgba(255, 222, 95, .25); font-size: 15px !important; color: var(--mute); }
.og-imp__stat > span:first-child { font-size: 40px; line-height: 1; font-weight: 800; color: var(--y); }
.og-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 40px 80px -40px rgba(0, 0, 0, .9); transition: transform .6s var(--ease); }
.og-browser:hover { transform: translateY(-6px); }
.og-browser__bar { display: flex; gap: 6px; padding: 10px 14px; background: #1B2340; }
.og-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.og-browser__bar i:first-child { background: #FF6B5E; } .og-browser__bar i:nth-child(2) { background: #FFC74A; } .og-browser__bar i:nth-child(3) { background: #3FCB6A; }
.og-browser img { display: block; width: 100%; height: auto; }

/* testing */
.og-test { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.og-test__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.og-test__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.og-test__photo.in img { transform: scale(1); }
.og-test__text { display: grid; gap: 24px; }
.og-test__facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.og-test__facts div { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.og-test__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.og-test__facts dd { font-size: 16px; line-height: 1.5; color: #fff; }
.og-test__facts b { color: var(--y); font-size: 20px; }
.og-quote { position: relative; padding: 26px 28px 24px 64px; border-radius: 20px; background: linear-gradient(150deg, rgba(91, 155, 255, .18), rgba(91, 155, 255, .04)); }
.og-quote::before { content: "“"; position: absolute; left: 20px; top: 8px; font-size: 72px; line-height: 1; font-weight: 800; color: var(--b); }
.og-quote p { font-size: 22px; line-height: 1.4; font-weight: 600; color: #fff; }
.og-quote footer { margin-top: 10px; font-size: 14px; color: var(--mute); }

/* impact */
.og-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.og-kpis li { display: grid; gap: 12px; align-content: start; padding: 26px 22px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.og-kpis__n { font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--y); font-variant-numeric: tabular-nums; }
.og-kpis h3 { font-size: 16px; font-weight: 600; color: #fff; }
.og-kpis .og-bar i { width: calc(var(--v) * 3%); }
.og-res__more { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.og-rating, .og-global { display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.og-rating__rows { display: grid; gap: 12px; }
.og-rating__rows p { display: grid; grid-template-columns: 56px 1fr 44px; gap: 14px; align-items: center; font-size: 14px; color: var(--mute); }
.og-rating__rows b { font-size: 22px; font-weight: 800; color: #fff; text-align: right; }
.og-rating__bar { height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.og-rating__bar i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: var(--y); transform-origin: left; transition: transform 1.2s var(--ease) .5s; }
.og-rating__bar.is-old i { background: rgba(255, 255, 255, .35); transition-delay: .2s; }
.js-reveal .og-rating.reveal:not(.in) .og-rating__bar i { transform: scaleX(0); }
.og-rating__note { font-size: 13px; color: var(--mute); }
.og-global__n { font-size: 56px; line-height: 1; font-weight: 800; color: var(--b); }
.og-global p:last-child { font-size: 16px; line-height: 1.5; color: var(--mute); }

@media (max-width: 999px) {
  .og-comp__wrap, .og-goal, .og-onb__stage, .og-imp__row, .og-test, .og-res__more { grid-template-columns: 1fr; }
  .og-imp__row--flip .og-imp__text { order: 0; }
  .og-brk__grid, .og-kpis { grid-template-columns: 1fr 1fr; }
  .og-goal__board img { max-width: 320px; }
}
@media (max-width: 640px) {
  .og { gap: 28px; }
  .og-prob__pair, .og-meters, .og-sur__meta { grid-template-columns: 1fr; }
  .og-sur__meta li + li { border-left: 0; border-top: 1px solid var(--line); }
  .og-card, .og-comp__take, .og-meters li, .og-rating, .og-global { padding: 20px; }
  .og-matrix { font-size: 13px; } .og-matrix :is(th, td) { padding: 12px 6px; } .og-matrix tbody th { padding-left: 12px; }
  .og-matrix td::before { width: 22px; height: 22px; background-size: 12px; }
  .og-brk__grid, .og-kpis { gap: 10px; } .og-brk__grid li, .og-kpis li { padding: 18px 16px; }
  .og-kpis__n { font-size: 38px; } .og-meters__n, .og-global__n { font-size: 44px; }
  .og-pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 12px; }
  .og-quote { padding: 22px 20px 20px 52px; } .og-quote p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .og :is(*, *::before, *::after) { animation: none !important; transition: none !important; } .og-goal__board img { transform: none; } }
@media print { .og .reveal, .og .reveal * { opacity: 1 !important; transform: none !important; } .og-brk__grid svg { stroke-dashoffset: 0 !important; } }

/* ================= Industrial IoT (io) ================= */
@property --iog { syntax: "<number>"; inherits: false; initial-value: 0; }
.io { --r: #E3122B; --r-soft: #FDECEE; --amber: #E0A100; --ok: #1FA45B; --ink: #161616; --mute: #5E5E66; --line: #E7E7EC; --soft: #F5F5F7; --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1);
  width: 100%; max-width: 1120px; margin-inline: auto; box-sizing: border-box; display: grid; gap: 40px; color: var(--ink); text-align: left; }
.io :is(h2, h3, p, ul, ol, figure, q) { margin: 0; }
.io :is(ul, ol) { list-style: none; padding: 0; }
.io-head { display: grid; gap: 12px; max-width: 760px; align-content: start; }
.io-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--r); }
.io-h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.io-r { color: var(--r); }
.io-lead { font-size: 18px; line-height: 1.6; color: var(--mute); }
.io-tag { justify-self: start; display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--r-soft); color: var(--r); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.io-tag--dark { background: var(--ink); color: #fff; }
.io-card { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -36px rgba(22, 22, 22, .35); }
.io-card__big { font-size: 22px; line-height: 1.25; font-weight: 700; }
.io-card p:last-child { font-size: 16px; line-height: 1.55; color: var(--mute); }
.io-shot img { display: block; width: 100%; height: auto; border-radius: 16px; }
.io-shot--soft { padding: clamp(16px, 4vw, 48px); border-radius: 24px; background: var(--soft); }
.io .reveal { transition: opacity .7s var(--ease) calc(var(--i, 0) * .12s), transform .7s var(--ease) calc(var(--i, 0) * .12s); }
.js-reveal .io .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
.io-ic { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 6px; background-position: center; background-repeat: no-repeat; background-size: 14px; }
.io-ic--crit { background-color: var(--r); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 1L3 9h4l-1 6 6-8H8z' fill='%23fff'/%3E%3C/svg%3E"); }
.io-ic--warn { background-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5l7 13H1z' fill='%23fff'/%3E%3Cpath d='M8 6v4M8 12v.5' stroke='%23E0A100' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* happening */
.io-hap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.io-hap__panel { display: grid; gap: 0; padding: 8px; border-radius: 20px; background: #12141A; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.io-hap__bar { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.io-hap__bar span:last-child { color: var(--r); } .io-hap__bar span:last-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--r); animation: io-blink 1.4s ease-in-out infinite; }
@keyframes io-blink { 50% { opacity: .2; } }
.io-errs { display: grid; gap: 4px; }
.io-errs li { position: relative; display: grid; grid-template-columns: 28px 110px 1fr; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff; font-size: 14px; transition: opacity .5s calc(var(--j) * .09s + .2s), transform .5s var(--ease) calc(var(--j) * .09s + .2s), background .4s 1.2s, box-shadow .4s 1.2s; }
.io-errs b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
.io-errs span { color: rgba(255, 255, 255, .55); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.io-errs li:not(.is-focus) { opacity: .55; }
.io-errs li.is-focus { background: rgba(224, 161, 0, .14); box-shadow: inset 0 0 0 1.5px var(--amber); }
.io-errs li.is-focus span { color: var(--amber); }
.io-q { position: absolute; right: 12px; top: 50%; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-style: normal; font-size: 13px; font-weight: 700; transform: translateY(-50%); transition: opacity .4s 1.5s, transform .5s var(--pop) 1.5s; }
.js-reveal .io-hap__panel.reveal:not(.in) .io-errs li { opacity: 0; transform: translateX(-16px); }
.js-reveal .io-hap__panel.reveal:not(.in) .io-errs li.is-focus { background: rgba(255, 255, 255, .04); box-shadow: none; }
.js-reveal .io-hap__panel.reveal:not(.in) .io-q { opacity: 0; transform: translateY(-50%) scale(.6); }
.io-hap__cap { padding: 12px 14px 8px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.io-hap__text { display: grid; gap: 28px; }
.io-chain { display: grid; gap: 0; counter-reset: c; }
.io-chain li { position: relative; padding: 0 0 18px 34px; font-size: 17px; font-weight: 600; transition: opacity .5s calc(var(--j) * .2s + .3s), transform .5s var(--ease) calc(var(--j) * .2s + .3s); }
.io-chain li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--r); box-shadow: 0 0 0 4px var(--r-soft); }
.io-chain li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: linear-gradient(var(--r), rgba(227, 18, 43, .15)); }
.io-chain li:last-child { padding-bottom: 0; color: var(--r); }
.js-reveal .io-chain.reveal:not(.in) li { opacity: 0; transform: translateY(8px); }
.io-btn { justify-self: start; display: inline-flex; gap: 8px; align-items: center; padding: 13px 22px; border-radius: 999px; background: var(--r); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, opacity .7s var(--ease); }
.io-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(227, 18, 43, .8); }
.io-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* problem */
.io-prob__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.io-alert { display: grid; gap: 14px; align-content: center; padding: 24px; border-radius: 20px; background: #12141A; color: #fff; animation: io-shake 4s ease-in-out 1.2s infinite; }
@keyframes io-shake { 0%, 88%, 100% { transform: none; } 90% { transform: translateX(-4px); } 92% { transform: translateX(4px); } 94% { transform: translateX(-3px); } 96% { transform: translateX(2px); } }
.io-alert__top { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.io-alert__top b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; }
.io-alert__top span { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--r); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.io-alert__line { display: grid; gap: 8px; }
.io-alert__line span { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.io-alert__line span:last-child { width: 60%; }
.io-alert__miss { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* goal */
.io-qs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.io-qs li { display: grid; gap: 16px; padding: 28px; border-radius: 20px; background: var(--soft); }
.io-qs__n { justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--r); color: #fff; font-weight: 800; }
.io-qs p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.io-star { display: flex; gap: 18px; align-items: flex-start; padding: 24px 28px; border-radius: 20px; background: #12141A; color: #fff; }
.io-star svg { flex: none; width: 34px; height: 34px; fill: var(--r); transition: transform .8s var(--pop) .3s; }
.js-reveal .io-star.reveal:not(.in) svg { transform: rotate(-120deg) scale(.3); }
.io-star__k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.io-star__v { margin-top: 6px !important; font-size: 20px; line-height: 1.4; font-weight: 700; }
.io-star__why { margin-top: 8px !important; font-size: 15px; color: rgba(255, 255, 255, .65); }
.io-goal__show { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 32px; align-items: center; }
.io-goal__show .io-shot img { box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55); }
.io-goal__note { display: grid; gap: 18px; }
.io-goal__note img { display: block; width: 100%; max-width: 380px; height: auto; border-radius: 12px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.io-goal__note p { font-size: 17px; line-height: 1.6; color: var(--mute); }

/* breakdown */
.io-ba { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 16px; align-items: center; }
.io-ba__side { display: grid; gap: 12px; }
.io-ba__tag { justify-self: start; padding: 5px 14px; border-radius: 999px; background: var(--line); color: var(--mute); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.io-ba__tag--after { background: var(--r); color: #fff; }
.io-ba__frame { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0, 0, 0, .55); }
.io-ba__side:not(.io-ba__side--after) .io-ba__frame { filter: grayscale(.5); }
.io-ba__frame img { display: block; width: 100%; height: auto; }
.io-ba__arrow svg { width: 48px; height: 24px; fill: none; stroke: var(--r); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease) .5s; }
.js-reveal .io-ba__arrow.reveal:not(.in) svg { stroke-dashoffset: 60; }
.io-fix { display: grid; gap: 20px; }
.io-fix__row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.io-fix__row > div { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 20px; }
.io-fix__was { background: var(--soft); }
.io-fix__now { background: #fff; box-shadow: 0 0 0 1.5px var(--r), 0 26px 50px -34px rgba(227, 18, 43, .5); }
.io-fix__k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.io-fix__now .io-fix__k { color: var(--r); }
.io-fix__row h3 { font-size: 21px; line-height: 1.3; font-weight: 700; }
.io-fix__row p:not(.io-fix__k) { font-size: 16px; line-height: 1.6; color: var(--mute); }
.io-fix__row q { color: var(--ink); font-weight: 600; }
.io-fix__row img { display: block; width: 100%; height: auto; margin-top: 8px; border-radius: 12px; }
.io-fix__was img { max-width: 360px; }
.io-fix__to { align-self: center; justify-self: center; width: 40px; height: 40px; border-radius: 50%; background: var(--r) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.io-tix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; border-radius: 24px; background: #12141A; color: #fff; }
.io-tix__text { display: grid; gap: 12px; }
.io-tix__big { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 700; }
.io-tix__note { font-size: 15px; color: rgba(255, 255, 255, .65); }
.io-tix__bars { display: grid; gap: 16px; }
.io-tix__bars p { display: grid; grid-template-columns: 80px 1fr 64px; gap: 14px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .65); }
.io-tix__bars i { display: block; height: 18px; width: calc(var(--v) * 1%); border-radius: 99px; background: var(--r); transform-origin: left; transition: transform 1.2s var(--ease) .6s; }
.io-tix__bars i.is-old { background: rgba(255, 255, 255, .3); transition-delay: .3s; }
.io-tix__bars b { font-size: 20px; color: #fff; text-align: right; }
.js-reveal .io-tix.reveal:not(.in) .io-tix__bars i { transform: scaleX(0); }

/* results */
.io-res__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.io-res__photo { border-radius: 20px; overflow: hidden; }
.io-res__photo img { display: block; width: 100%; height: auto; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.io-res__photo.in img { transform: none; }
.io-gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.io-gauges li { display: grid; gap: 10px; justify-items: start; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.io-gauge { --iog: var(--v); position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 6px; border-radius: 50%; background: conic-gradient(var(--r) calc(var(--iog) * 1%), var(--r-soft) 0); transition: --iog 1.4s var(--ease) calc(var(--i, 0) * .12s + .3s); }
.io-gauges li:nth-child(1) .io-gauge { transition-delay: .3s; } .io-gauges li:nth-child(2) .io-gauge { transition-delay: .42s; } .io-gauges li:nth-child(3) .io-gauge { transition-delay: .54s; } .io-gauges li:nth-child(4) .io-gauge { transition-delay: .66s; }
.io-gauge::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
.io-gauge b { position: relative; font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.js-reveal .io-gauges .reveal:not(.in) .io-gauge { --iog: 0; }
.io-gauges h3 { font-size: 17px; font-weight: 700; }
.io-gauges p { font-size: 14px; line-height: 1.5; color: var(--mute); }

/* docs */
.io-doc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.io-doc__text { display: grid; gap: 28px; }
.io-doc__list { display: grid; gap: 10px; }
.io-doc__list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border-radius: 16px; background: var(--soft); }
.io-doc__list span { font-size: 13px; font-weight: 800; color: var(--r); padding-top: 2px; }
.io-doc__list p { font-size: 16px; line-height: 1.55; }
.io-doc .io-shot img { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.io-doc .io-shot:hover img { transform: translateY(-6px); }

@media (max-width: 999px) {
  .io-hap, .io-goal__show, .io-tix, .io-res__top, .io-doc { grid-template-columns: 1fr; }
  .io-prob__grid { grid-template-columns: 1fr 1fr; } .io-alert { grid-column: 1 / -1; }
  .io-gauges { grid-template-columns: 1fr 1fr; }
  .io-ba, .io-fix__row { grid-template-columns: 1fr; } .io-ba__arrow, .io-fix__to { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .io { gap: 28px; }
  .io-prob__grid, .io-qs { grid-template-columns: 1fr; }
  .io-errs li { grid-template-columns: 24px 90px 1fr; gap: 10px; padding: 9px 10px; font-size: 13px; } .io-ic { width: 24px; height: 24px; }
  .io-q { right: 8px; padding: 4px 9px; font-size: 12px; }
  .io-card, .io-qs li, .io-fix__row > div, .io-tix, .io-gauges li { padding: 18px; }
  .io-gauges { gap: 10px; } .io-gauge { width: 88px; height: 88px; } .io-gauge::before { inset: 9px; } .io-gauge b { font-size: 18px; }
  .io-tix__bars p { grid-template-columns: 70px 1fr 54px; gap: 10px; }
  .io-star { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .io :is(*, *::before, *::after) { animation: none !important; transition: none !important; } }
@media print { .io .reveal, .io .reveal * { opacity: 1 !important; transform: none !important; } .io-gauge { --iog: var(--v) !important; } }
.io a.io-btn, .io a.io-btn:visited, .io a.io-btn:hover { color: #fff; text-decoration: none; }
.io-prob .io-shot--soft { justify-self: center; width: 100%; max-width: 860px; box-sizing: border-box; padding: clamp(12px, 2vw, 24px); }
@media (max-width: 999px) { .io-ba__arrow { transform: none; } .io-ba__arrow svg { transform: rotate(90deg); } }
