/* Prisma Growth — homepage (theme 0.6.0).
   Direction A, chosen by Neo 2026-09-25, ported from website/redesign/direction-a/a.css
   (87523af). Loads on the front page only (functions.php). Tokens, type, buttons,
   header and footer live in app.css because the header and footer are global.
   Motion never gates content: readable with JS off and under reduced motion. */

/* WordPress block spacing: :where(.wp-site-blocks) > * and :where(.is-layout-flow) > *
   add a 24px top margin to main, the footer part and every section. */
main.pg-home { margin-block-start: 0; }
main.pg-home > * { margin-block: 0; } /* beats :root :where(.is-layout-flow) > * (0,1,0) regardless of load order */
main.pg-home + .wp-block-template-part { margin-block-start: 0; }
:where(.pg-home) a { color: inherit; }

/* background: the drifting grid and two soft fields Neo likes. Static on phones. */
.pg-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--c-bg); }
.pg-bg .g { position: absolute; inset: -120px;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(130% 90% at 68% 18%, #000, rgba(0,0,0,.3) 58%, transparent 88%);
          mask-image: radial-gradient(130% 90% at 68% 18%, #000, rgba(0,0,0,.3) 58%, transparent 88%); }
.pg-bg .w { position: absolute; border-radius: 50%; width: 1100px; height: 1100px; right: -260px; top: -420px;
  background: radial-gradient(circle, rgba(20,177,231,.14), rgba(20,177,231,.04) 42%, transparent 68%); }
.pg-bg .w.b { left: -380px; top: 560px; right: auto; width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(243,112,33,.09), transparent 66%); }
.sec { padding-block: var(--sec); position: relative; }
.sec + .sec { border-top: 1px solid var(--line); } /* hairline between sections (from Direction B) */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }

/* ---------- surfaces ---------- */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi); border-radius: var(--r-card); }
.glass.blur { -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
/* card: flat panel a step lighter than the ground, hairline border, no shadow, no lift.
   Hover (hover-capable pointers): orange border, an orange wash sweeps in from the left,
   the icon tile grows and warms, the link turns orange. Under reduced motion only colour changes. */
.card { position: relative; isolation: isolate; overflow: hidden; background: rgba(46,74,140,.24);
  border: 1px solid rgba(255,255,255,.05); border-radius: var(--r-card); padding: var(--s6);
  display: flex; flex-direction: column; transition: border-color 150ms var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(243,112,33,.30), rgba(243,112,33,0) 72%);
  transform: scaleX(0); transform-origin: left; }
.card .h3 + .sub { margin-top: var(--s2); }
.card .sub { font-family: var(--f-display); font-weight: 650; font-size: var(--fs-label); letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-cyan); margin: 0; }
.card .sub + .body, .card .sub + .small, .card .h3 + .body, .card .h3 + .small { margin-top: var(--s3); }
.card .label + .h3 { margin-top: var(--s4); }
.card .link { align-self: flex-start; margin-top: auto; padding-top: var(--s5); transition: color var(--t-base) var(--ease); }
.tile { flex: none; width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.05);
  display: grid; place-items: center; color: var(--c-fg); margin-bottom: var(--s5);
  transition: background-color 300ms var(--ease); }
.tile svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tile .pg-ic-accent { color: var(--c-accent); } /* icon set adcf06c: one orange detail per icon */
a.card { text-decoration: none; color: inherit; }
@media (max-width: 899px) { .card { padding: var(--s5); } }
@media (hover: hover) {
  .card:hover { border-color: rgba(243,112,33,.40); }
  .card:hover .tile { background: rgba(243,112,33,.20); }
  .card:hover .link { color: var(--c-accent); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card::before { transition: transform 500ms cubic-bezier(0, 0, .2, 1); }
  .card:hover::before { transform: scaleX(1); }
  .tile { transition: transform 300ms var(--ease), background-color 300ms var(--ease); }
  .card:hover .tile { transform: scale(1.1); }
}
.chip { display: inline-flex; align-items: center; gap: var(--s2); height: 28px; padding-inline: var(--s3);
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: var(--fs-caption);
  color: var(--c-fg); background: rgba(255,255,255,.04); }
.illus { display: inline-flex; align-items: center; height: 22px; padding-inline: var(--s2); border-radius: var(--r-sm);
  font-family: var(--f-display); font-weight: 650; font-size: var(--fs-label); letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-muted); background: rgba(255,255,255,.06); }

/* prototype badge, in the footer */
.proto { margin: 0; font-family: var(--f-display); font-weight: 650;
  font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: rgba(188,200,223,.75);
  border: 1px dashed rgba(188,200,223,.35); border-radius: var(--r-sm); padding: 4px 8px; }

/* ---------- hero ---------- */
.hero { padding-block: var(--s8); }
.hero .grid { align-items: center; row-gap: var(--s7); }
.hero-copy { grid-column: 1 / span 8; display: grid; gap: 0; }
.hero-chip { justify-self: start; display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 14px;
  border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  font-size: var(--fs-caption); line-height: 1.4; color: rgba(255,255,255,.88); margin: 0 0 var(--s6); }
.hero-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); flex: none; }
.hero .h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.03em; }
.hero-copy .subhead { margin-top: var(--s5); }
.hero-copy .lead { margin-top: var(--s5); }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-visual { grid-column: 9 / span 4; display: flex; justify-content: flex-end; }
@media (max-width: 1099px) { .hero-copy { grid-column: 1 / span 7; } .hero-visual { grid-column: 8 / span 5; } }
@media (max-width: 899px) {
  .hero { padding-top: var(--s7); }
  .hero-copy, .hero-visual { grid-column: 1 / -1; }
  .hero-visual { justify-content: center; }
}

/* ---------- chat card ---------- */
.chat { width: 100%; max-width: 480px; padding: var(--s5); }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.chat-pause { position: relative; width: 28px; height: 28px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: transparent; color: var(--c-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.chat-pause::after { content: ""; position: absolute; inset: -8px; }
.chat-pause svg { width: 10px; height: 10px; }
.chat-pause .play { display: none; }
.chat-pause[aria-pressed="true"] .play { display: block; }
.chat-pause[aria-pressed="true"] .pause { display: none; }
.chat-pause[hidden] { display: none; }
.chat-stage { display: grid; }
.chat-s { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.chat-s.is-on { opacity: 1; visibility: visible; }
.chat-q { margin: var(--s4) 0 0 auto; width: fit-content; max-width: 88%; background: rgba(255,255,255,.10);
  border-radius: 14px 14px 4px 14px; padding: var(--s3) var(--s4); font-size: var(--fs-small); line-height: 1.45; color: var(--c-fg); }
.chat-a { display: flex; gap: var(--s3); margin-top: var(--s4); }
.av { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16); display: grid; place-items: center; }
.av { color: var(--c-cyan); } /* neutral assistant glyph: the answer is the AI's, not ours */
.av svg { width: 16px; height: 16px; }
.chat-body { position: relative; flex: 1; min-width: 0; font-size: var(--fs-small); line-height: 1.5; color: rgba(225,232,245,.92); }
.chat-body p { margin: 5px 0 var(--s3); }
.chat-body ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--s2); }
.chat-body b { color: var(--c-fg); font-weight: 600; }
.redact { display: inline-block; width: var(--w, 4em); height: .8em; border-radius: var(--r-sm);
  background: rgba(255,255,255,.5); filter: blur(3px); vertical-align: -1px; }
.typing { display: none; }
.miss { margin: var(--s4) 0 0 44px; padding: var(--s3) var(--s4); border-radius: var(--r-md);
  background: rgba(243,112,33,.12); border: 1px solid rgba(243,112,33,.40);
  font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); color: var(--c-fg); }
.chat .caption { margin-top: var(--s4); color: var(--c-muted); } /* solid: alpha over glass measured 4.48:1 */
@media (max-width: 479px) { .miss { margin-left: 0; } }

/* ---------- hero composition: chat card + three glass chips (ported from assets/hero, 1518347) ----------
   The chips hang off the card's edges; .pg-hv reserves their space with padding, so nothing shifts
   when they arrive (transform/opacity only). Drift only runs with a.js and stops with "Pause the example". */
.pg-hv { position: relative; width: 100%; max-width: 480px; padding: 88px 0 104px; }
.pg-hv-stack { position: relative; }
.pg-hv-stack .chat { position: relative; z-index: 1; max-width: none; }
.pg-hv-chip { position: absolute; z-index: 2; padding: 12px 14px; border-radius: 14px;
  background: rgba(46,74,140,.62); border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 32px rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.pg-hv-cap { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-family: var(--f-display); font-weight: 600;
  font-size: var(--fs-label); line-height: 1.2; letter-spacing: .01em; color: var(--c-muted); }
.pg-hv-cap svg { flex: none; width: 14px; height: 14px; color: var(--c-fg); }
.pg-hv-cap .pg-ic-accent { color: var(--c-accent); }
.pg-hv-row { display: flex; align-items: center; gap: 10px; }
.pg-hv-title { font-family: var(--f-display); font-weight: 650; font-size: .875rem; line-height: 1.2; color: var(--c-fg); }
.pg-hv-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.16); }
.pg-hv-bar + .pg-hv-bar { margin-top: 6px; }
.pg-hv-fav { flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.pg-hv-fav svg { width: 12px; height: 14px; }
.pg-hv-url { width: 56%; height: 5px; margin-top: 6px; background: rgba(20,177,231,.55); }
.pg-hv-desc { margin-top: 10px; }
.pg-hv-thumb { flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(20,177,231,.16); display: grid; place-items: center; overflow: hidden; }
.pg-hv-thumb svg { width: 28px; height: 28px; }
.pg-hv-cta { display: block; width: 64px; height: 18px; margin-top: 10px; border-radius: var(--r-pill);
  border: 1px solid rgba(243,112,33,.7); background: rgba(243,112,33,.14); }
.pg-hv-spark { display: block; width: 100%; height: 44px; overflow: visible; }
.pg-hv-legend { display: flex; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; font-family: var(--f-display);
  font-weight: 500; font-size: var(--fs-label); line-height: 1.2; color: var(--c-muted); }
.pg-hv-legend li { display: inline-flex; align-items: center; gap: 6px; }
.pg-hv-legend li::before { content: ""; width: 12px; height: 0; border-top: 2px dashed rgba(188,200,223,.7); }
.pg-hv-legend li + li::before { border-top: 2px solid var(--c-cyan); }
.pg-hv-chip--search { bottom: calc(100% - 14px); left: -24px; width: 64%; }  /* found: top left */
.pg-hv-chip--measure { top: calc(100% - 26px); left: -12px; width: 44%; }   /* measured: bottom left, no numbers */
.pg-hv-chip--ad { top: calc(100% - 14px); right: -24px; width: 54%; }       /* chosen: bottom right */
@media (max-width: 599px) {
  .pg-hv { padding: 72px 0 124px; }
  .pg-hv-chip--search { left: 8px; width: 74%; }
  .pg-hv-chip--search .pg-hv-desc { display: none; }
  .pg-hv-chip--measure { left: 0; top: calc(100% - 8px); width: 48%; }
  .pg-hv-chip--ad { right: 0; top: calc(100% + 4px); width: 49%; }
  .pg-hv-thumb { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pg-hv-chip { animation: pg-hv-in .7s var(--ease) both; }
  .pg-hv-chip--search { animation-delay: .5s; }
  .pg-hv-chip--measure { animation-delay: .8s; }
  .pg-hv-chip--ad { animation-delay: 1.1s; }
  .js-motion .pg-hv-chip { animation: pg-hv-in .7s var(--ease) both, pg-hv-drift 8s ease-in-out 1.4s infinite alternate; }
  .js-motion .pg-hv-chip--search { animation-delay: .5s, 1.2s; }
  .js-motion .pg-hv-chip--measure { animation-delay: .8s, 2.4s; animation-duration: .7s, 9s; }
  .js-motion .pg-hv-chip--ad { animation-delay: 1.1s, 1.8s; animation-duration: .7s, 7s; }
  .pg-hv:has(.chat.is-paused) .pg-hv-chip { animation-play-state: paused; }
}
@keyframes pg-hv-in { from { opacity: 0; translate: 0 12px; } }
@keyframes pg-hv-drift { to { transform: translateY(-6px); } }

/* ---------- scroll scene: the three checks ---------- */
.scene { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
.scene-visual { grid-column: 1 / span 6; }
.scene-steps { grid-column: 8 / span 5; }
.scene-sticky { position: sticky; top: calc(var(--header-h) + var(--s6)); }
.answer { padding: var(--s5); }
.answer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.answer ol { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.answer li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start;
  padding: var(--s3); border-radius: var(--r-md); border: 1px solid transparent;
  transition: border-color var(--t-slow) var(--ease), background-color var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
.answer .n { font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.answer .nm { font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); color: var(--c-fg); }
.answer .ds { display: block; font-size: var(--fs-caption); color: var(--c-muted); margin-top: 2px;
  transition: color var(--t-slow) var(--ease); }
.answer .src { display: inline-flex; margin-top: var(--s2); opacity: 0; transform: translateY(4px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.answer .you { border-style: dashed; border-color: rgba(255,255,255,.2); } /* "not named yet": dashed only; no opacity, so the text keeps AA contrast (axe, 2026-09-25) */
.answer .you .nm { color: var(--c-muted); }
.answer .ticks { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.answer .tick { color: var(--c-muted); transition: color var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease); } /* pending = muted text + grey dot (no opacity: AA) */
.answer .tick i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-muted); }
/* states are cumulative: data-step 1 = mentioned, 2 = accurate, 3 = linked (default = all) */
.answer[data-step="1"] .you, .answer[data-step="2"] .you, .answer[data-step="3"] .you {
  opacity: 1; border-style: solid; border-color: rgba(243,112,33,.45); background: rgba(243,112,33,.08); }
.answer[data-step="1"] .you .nm, .answer[data-step="2"] .you .nm, .answer[data-step="3"] .you .nm { color: var(--c-fg); }
.answer[data-step="2"] .you .ds, .answer[data-step="3"] .you .ds { color: var(--c-fg); }
.answer[data-step="3"] .you .src { opacity: 1; transform: none; }
.answer[data-step="1"] .tick.t1, .answer[data-step="2"] .tick.t1, .answer[data-step="2"] .tick.t2,
.answer[data-step="3"] .tick { color: var(--c-fg); border-color: rgba(243,112,33,.45); }
.answer[data-step="1"] .tick.t1 i, .answer[data-step="2"] .tick.t1 i, .answer[data-step="2"] .tick.t2 i,
.answer[data-step="3"] .tick i { background: var(--c-accent); }
.step { min-height: min(42vh, 380px); display: grid; align-content: center; gap: var(--s3); padding-block: var(--s6); }
.step .n, .step .step-t { transition: opacity var(--t-slow) var(--ease); }
.step:first-child { min-height: min(32vh, 280px); align-content: start; padding-top: var(--s7); }
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .js-motion .scene:not(.no-scene) .step:not(.is-active) :is(.n, .step-t) { opacity: .4; } /* body stays full strength (AA) */
}
.step .n { font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); color: var(--c-accent); font-variant-numeric: tabular-nums; }
.step .h3 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.02em; }
.scene-cta { margin-top: var(--s7); }
@media (max-width: 899px) {
  .scene { grid-template-columns: 1fr; }
  .scene-visual, .scene-steps { grid-column: 1 / -1; }
  .scene-sticky { position: static; }
  .step, .step:first-child { min-height: 0; opacity: 1; padding-block: var(--s5); border-top: 1px solid var(--line); }
  .step .h3 { font-size: var(--fs-h3); }
}

/* ---------- services: 2-up, the specialism spans the row ---------- */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.svc .card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: var(--s6); align-items: start; }
.svc .card--feature .tile { margin: 0; }
.svc .card--feature .link { padding-top: 0; align-self: center; margin: 0; }
.feature-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 899px) {
  .svc { grid-template-columns: 1fr; gap: var(--s4); }
  .svc .card--feature { display: flex; }
  .svc .card--feature .tile { margin-bottom: var(--s5); }
  .svc .card--feature .link { margin-top: var(--s5); align-self: flex-start; }
}

/* ---------- how we work + animated report ---------- */
.how { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); align-items: start; }
.principles { grid-column: 1 / span 6; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.report-wrap { grid-column: 8 / span 5; }
.principles .card { padding: var(--s5) var(--s6); }
.report { padding: var(--s5); }
.report-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.rstep { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); padding-top: var(--s4); }
.rstep + .rstep { margin-top: var(--s4); border-top: 1px solid var(--line); }
.rstep .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display);
  font-weight: 650; font-size: var(--fs-caption); color: var(--c-bg); background: var(--c-cyan); }
.rstep .t { font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); }
.rstep .row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.bars { display: grid; gap: 6px; margin-top: var(--s3); }
.bars i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); transform-origin: left; }
.bars i:nth-child(1) { width: 92%; } .bars i:nth-child(2) { width: 74%; } .bars i:nth-child(3) { width: 58%; }
@media (max-width: 899px) { .how { grid-template-columns: 1fr; } .principles, .report-wrap { grid-column: 1 / -1; } }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); min-height: 72px; padding-block: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .h3 { font-size: var(--fs-body); line-height: 1.4; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: transform var(--t-base) var(--ease), border-color var(--t-base); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; grid-area: 1 / 1; width: 10px; height: 1.5px; background: var(--c-fg); }
.faq summary .pm::after { transform: rotate(90deg); transition: transform var(--t-base) var(--ease); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details[open] .pm { border-color: var(--c-accent); }
.faq details p { margin: 0 0 var(--s5); max-width: 40em; }

/* ---------- closing CTA ---------- */
.close { padding: var(--s8) var(--s7); text-align: center; display: grid; justify-items: center; gap: var(--s5);
  background: linear-gradient(180deg, rgba(46,74,140,.36), rgba(46,74,140,.18)); position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 2px; transform: translateX(-50%); background: var(--c-accent); }
.close .h2 { max-width: 22ch; }
@media (max-width: 899px) { .close { padding: var(--s7) var(--s5); } }

/* ---------- logo intro: first visit only, never blocks input ---------- */
.intro { display: none; }
html.pg-intro .intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none;
  background: var(--c-bg); animation: intro-out .32s var(--ease) .72s both; }
html.pg-intro .intro svg { width: 72px; height: 72px; overflow: visible; }
html.pg-intro .intro path { opacity: 0; animation: intro-in .36s var(--ease) both; }
html.pg-intro .intro path:nth-child(2) { animation-delay: .12s; }
html.pg-intro .intro path:nth-child(3) { animation-delay: .24s; }
@keyframes intro-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* ---------- motion (only when motion.js runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .rv { opacity: 0; transform: translateY(12px);
    transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
    transition-delay: calc(var(--i, 0) * 60ms); }
  .js-motion .rv.is-in { opacity: 1; transform: none; }

  @media (min-width: 900px) {
    .js-motion .pg-bg .g { animation: drift 42s linear infinite; }
    .js-motion .pg-bg .w { animation: breathe 20s ease-in-out infinite; }
    .js-motion .pg-bg .w.b { animation-duration: 26s; animation-delay: -8s; }
  }

  /* chat: typing, answer, items, miss line (theme 0.5.1 timing) */
  .js-motion .chat-s.is-on .typing { display: inline-flex; gap: 4px; position: absolute; top: 6px; left: 0;
    opacity: 0; animation: fade-in .01s 1.3s forwards, fade-out .2s ease 1.9s both; }
  .js-motion .typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(225,232,245,.7); animation: dot 1s ease-in-out infinite; }
  .js-motion .typing i:nth-child(2) { animation-delay: .15s; }
  .js-motion .typing i:nth-child(3) { animation-delay: .3s; }
  .js-motion .chat-s.is-on .chat-body p { animation: rise .4s var(--ease) 2s both; }
  .js-motion .chat-s.is-on .chat-body li { animation: rise .45s var(--ease) both; }
  .js-motion .chat-s.is-on .chat-body li:nth-child(1) { animation-delay: 2.3s; }
  .js-motion .chat-s.is-on .chat-body li:nth-child(2) { animation-delay: 2.6s; }
  .js-motion .chat-s.is-on .chat-body li:nth-child(3) { animation-delay: 2.9s; }
  .js-motion .chat-s.is-on .miss { animation: rise .5s var(--ease) 3.4s both; }
  .js-motion .chat.is-paused * { animation-play-state: paused !important; }

  /* animated report: plays once when the box enters view */
  .js-motion .report .rstep { opacity: 0; transform: translateY(8px); }
  .js-motion .report.is-in .rstep { animation: rise .5s var(--ease) both; }
  .js-motion .report.is-in .rstep:nth-of-type(2) { animation-delay: .6s; }
  .js-motion .report.is-in .rstep:nth-of-type(3) { animation-delay: 1.2s; }
  .js-motion .report.is-in .rstep:nth-of-type(4) { animation-delay: 1.8s; }
  .js-motion .report .chip { opacity: 0; }
  .js-motion .report.is-in .chip { animation: fade-in .3s var(--ease) both; animation-delay: calc(var(--d, .3s) + var(--i, 0) * .12s); }
  .js-motion .report .bars i { transform: scaleX(0); }
  .js-motion .report.is-in .bars i { animation: grow .6s var(--ease) both; animation-delay: calc(2.1s + var(--i, 0) * .15s); }

  /* decorative scrub: progress rail beside the steps, only where scroll timelines exist */
  @supports (animation-timeline: view()) {
    @media (min-width: 900px) {
      .scene-steps { position: relative; }
      .scene-steps::before { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; width: 2px; background: var(--line); }
      .scene-steps::after { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; width: 2px; background: var(--c-accent);
        transform-origin: top; animation: grow-y linear both; animation-timeline: view(); animation-range: entry 40% exit 60%; }
    }
  }
}
@keyframes drift { to { transform: translate3d(96px, 96px, 0); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }
@keyframes dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* ---------- homepage sections (copy deck 7e59d01) ---------- */
.hero .lead { max-width: 32em; }
.hero-copy .cta-row + .caption { margin-top: var(--s3); }
.strip { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); list-style: none; padding: 0;
  font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); color: var(--c-fg); }
.strip li { display: inline-flex; align-items: center; gap: var(--s2); }
.strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-cyan); }

/* client logo strip: one row on desktop, muted, 32px line; wraps centred on phones */
.logos { border-block: 1px solid var(--line); padding-block: var(--s6); }
.logos .wrap { display: grid; justify-items: center; gap: var(--s5); }
.logo-row { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3) var(--s7); }
.logo-slot { display: block; font-family: var(--f-display); font-weight: 650; font-size: 1.125rem; line-height: 32px;
  letter-spacing: -.01em; color: var(--c-muted); white-space: nowrap; }
@media (max-width: 899px) { .logo-row { justify-content: center; gap: var(--s2) var(--s5); } .logo-slot { font-size: 1rem; line-height: 28px; } }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); list-style: none; margin: 0; padding: 0; }
@media (max-width: 899px) { .cards3 { grid-template-columns: 1fr; gap: var(--s4); } }
.bridge { margin: var(--s6) auto 0; text-align: center; text-wrap: balance; font-family: var(--f-display); font-weight: 500; font-size: var(--fs-lead); line-height: 1.4; color: var(--c-fg); max-width: 34em; }
.bridge b { color: var(--c-fg); font-weight: 650; }
.after-grid { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--s5); text-align: center; }

.answer-q { margin-top: var(--s4); font-size: var(--fs-small); color: var(--c-fg); background: rgba(255,255,255,.10);
  border-radius: 14px 14px 4px 14px; padding: var(--s3) var(--s4); width: fit-content; margin-left: auto; max-width: 88%; }
.answer .ds .wrong { text-decoration: line-through; text-decoration-color: rgba(243,112,33,.7); }
.answer .ds .right { display: none; }
.answer[data-step="2"] .ds .wrong, .answer[data-step="3"] .ds .wrong { display: none; }
.answer[data-step="2"] .ds .right, .answer[data-step="3"] .ds .right { display: inline; }
.answer .caption { margin-top: var(--s4); }
.scene-steps { list-style: none; margin: 0; padding: 0; }
.step-t { font-family: var(--f-display); font-weight: 650; font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
@media (max-width: 899px) { .step-t { font-size: var(--fs-h3); } }

.sources { margin-top: var(--s8); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); align-items: start; }
.sources-copy { grid-column: 1 / span 6; display: grid; gap: var(--s4); }
.sources-copy .link { justify-self: start; }
.note { grid-column: 8 / span 5; border-left: 3px solid var(--c-accent); }
.note .h3 { margin-top: var(--s3); }
.note .body { margin-top: var(--s3); }
.note .caption { margin-top: var(--s4); }
@media (max-width: 899px) { .sources { grid-template-columns: 1fr; margin-top: var(--s7); } .sources-copy, .note { grid-column: 1 / -1; } }

.steps4 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); counter-reset: s; }
.steps4 li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s4); padding: var(--s5); }
.steps4 .n { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(243,112,33,.5); display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); color: var(--c-fg); }
.steps4 .h3 + .small { margin-top: var(--s2); }
.report-wrap { position: sticky; top: calc(var(--header-h) + var(--s6)); }
.bubble { margin-top: var(--s2); background: rgba(255,255,255,.10); border-radius: 14px 14px 4px 14px; padding: var(--s3) var(--s4);
  font-size: var(--fs-small); line-height: 1.5; white-space: pre-line; width: fit-content; }
.rchips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.chip.on { border-color: rgba(243,112,33,.45); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-muted); }
.chip.on .dot { background: var(--c-accent); }
@media (max-width: 899px) { .report-wrap { position: static; } }

.hold { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); max-width: 56rem; margin-inline: auto; }
.hold ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); }
.hold li { display: grid; grid-template-columns: 16px 1fr; gap: var(--s3); font-size: var(--fs-small); line-height: 1.5; color: var(--c-muted); }
.hold li::before { content: ""; width: 10px; height: 6px; margin-top: 6px; border-left: 2px solid var(--c-cyan); border-bottom: 2px solid var(--c-cyan); transform: rotate(-45deg); }
.hold .no li::before { width: 10px; height: 2px; margin-top: 9px; border: 0; background: rgba(188,200,223,.6); transform: none; }
@media (max-width: 899px) { .hold { grid-template-columns: 1fr; gap: var(--s4); } }

.close .body { max-width: 34em; }
.close .caption a { color: var(--c-fg); }

.ftr-brand .small { max-width: 30em; }
.ftr-tag { font-family: var(--f-display); font-weight: 650; font-size: var(--fs-small); color: var(--c-fg); margin: 0; }

