/* The home page (pages/landing) in the B4 identity (17 November 2026). Colours and type come from tokens.css: indigo
   (--iris) for buttons, links, sources, margin notes and the page's one large field (the client section); lavender
   (--lavender) as the highlighter behind what is written (a rule, a task); the warm marker (--marker) behind what people
   actually know (a finding, its count chip, the heading's key words), never as text on white; ink for text and titles;
   Archivo throughout, narrow and dense for titles (base.css). Every motif is drawn one way:
   .sx-hl (a passage on the highlighter), .sx-mnote (a margin note: face, team, quote), .sx-sources (sources underlined
   in indigo), .sx-count (the count chip), .sx-file (a document drawn by its type). It keeps the question box of home.css. */
body.is-simple { --fr-rule: var(--line); --fr-rule-2: var(--line-2); background: var(--paper); }
.sx { --vi-violet: var(--iris); --vi-ink: var(--ink); --vi-muted: var(--muted); --vi-mist: var(--soft); background: var(--paper); color: var(--ink); font-family: var(--sans); }
.sx.screen { padding-bottom: 0; }

/* The header: quiet links, one indigo button. */
.is-simple .nav a, .is-simple .nav button { border-radius: 8px; font-size: 14.5px; color: var(--muted); }
.is-simple .nav .nav__dark { padding: 9px 16px; border-radius: 8px; background: var(--iris); color: #fff; }
.is-simple .nav .nav__dark:hover { background: var(--iris-hover); color: #fff; }
.is-simple .nav .nav__line { margin-left: 6px; padding: 9px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--iris); }
.is-simple .site-top.is-scrolled { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 var(--line); }
::selection { background: var(--lavender); color: var(--ink); }

/* ---------- The motifs ---------- */
.sx-hl { padding: 0 .1em; border-radius: 2px; background: var(--lavender); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sx-hl--found { background: var(--marker); }
.sx-count { display: inline-flex; align-items: center; width: fit-content; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--marker); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.sx-sources { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-decoration: underline; text-decoration-color: var(--iris); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sx-face { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--soft); }
/* A document by its type: a white page, its folded corner, a coloured band with the extension (pages/landing $fileIcon). */
.sx-file { flex: none; width: 24px; height: 29px; overflow: visible; }
.sx-file__page { fill: #fff; stroke: #b8bdc9; stroke-width: 1.4; stroke-linejoin: round; }
.sx-file__fold { fill: #eef0f4; stroke: #b8bdc9; stroke-width: 1.4; stroke-linejoin: round; }
.sx-file text { fill: #fff; font-family: var(--sans); font-size: 7.4px; font-weight: 800; letter-spacing: .02em; }
/* Claude and ChatGPT, each by its mark. */
.sx-brand { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sx-brand img { flex: none; width: 20px; height: 20px; }
/* A margin note: a face, the team, what they said. The main one is indigo. */
.sx-mnote { display: grid; gap: 8px; padding: 14px 16px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 31, .04), 0 18px 40px -24px rgba(20, 22, 31, .32); }
.sx-mnote p { margin: 0; }
.sx-mnote__who { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sx-mnote__quote { font-size: 16px; font-weight: 500; line-height: 1.38; color: var(--ink); text-wrap: balance; }
.sx-mnote--main { border-color: var(--iris); background: var(--iris); box-shadow: 0 2px 4px rgba(36, 28, 150, .12), 0 24px 48px -24px rgba(36, 28, 150, .55); }
.sx-mnote--main .sx-mnote__who { color: #e3e0ff; }
.sx-mnote--main .sx-mnote__quote { color: #fff; }
.sx-mnote--main .sx-face { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
/* The link between a rule and what the teams say about it: the rule's number circled by hand in indigo on the paper, the
   same circled number on its margin note. What does not happen is struck through in the same ink. */
/* The ring is its own layer (::before) so the pen can draw it around a number that is already printed. */
@property --sx-pen { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
.sx-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; justify-self: start; height: 1.75em; padding: 0 .42em; font-weight: 700; line-height: 1; color: var(--iris); font-variant-numeric: tabular-nums; transform: rotate(-4deg); }
.sx-ring::before { content: ""; position: absolute; inset: 0; border: 1.75px solid var(--iris); border-radius: 52% 46% 55% 44% / 48% 56% 44% 52%; -webkit-mask: conic-gradient(from -30deg, #000 var(--sx-pen), transparent 0); mask: conic-gradient(from -30deg, #000 var(--sx-pen), transparent 0); }
.sx-paper__n.sx-ring { margin: .02em 0 0 -.42em; font-size: 13.5px; }
.sx-mnote__rule { flex: none; margin-left: auto; font-size: 13px; }
.sx-mnote--main .sx-mnote__rule { color: #fff; }
.sx-mnote--main .sx-mnote__rule::before { border-color: #fff; }
/* The strike is a drawn line (a background), so it can be drawn left to right; it sits where line-through would. */
.sx-strike { padding-bottom: .02em; background: linear-gradient(var(--iris), var(--iris)) no-repeat 0 56% / 100% 2px; text-decoration: none; }
/* On the procedure the highlighter runs as one stroke across the wrapped lines (slice), like a real marker. */
.sx-paper .sx-hl { background: linear-gradient(var(--lavender), var(--lavender)) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: slice; box-decoration-break: slice; }

/* ---------- Buttons and links ---------- */
.sx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background-color .15s, border-color .15s; }
.sx-btn:hover { background: var(--soft); }
.sx-btn--primary { border-color: var(--iris); background: var(--iris); color: #fff; }
.sx-btn--primary:hover { border-color: var(--iris-hover); background: var(--iris-hover); }
.sx-btn:focus-visible, .sx-link:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; }
/* Links: at least 24px tall, so they are easy to hit. */
.sx-link { display: inline-flex; align-items: center; min-height: 24px; font-weight: 600; color: var(--iris); text-decoration: underline; text-decoration-color: #a9a3f0; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.sx-link:hover { text-decoration-color: var(--iris); }
.sx-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.sx-go--centre { justify-content: center; margin-top: 40px; }
.sx-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.sx-pill b { padding: 2px 8px; border-radius: 999px; background: var(--lavender); font-weight: 600; color: var(--ink); }

/* ---------- 1. The hero: the heading, then a written procedure annotated with what the teams say ---------- */
.sx-hero { display: grid; gap: 48px; width: min(100% - 40px, 1200px); margin: 0 auto; padding: clamp(40px, 7vh, 80px) 0 0; }
.sx-hero__text { max-width: 600px; }
.sx-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); }
.sx-kicker b { padding: 2px 9px; border-radius: 999px; background: var(--iris); color: #fff; font-weight: 700; }
.sx-hero h1 { margin: 0; font-size: clamp(36px, 3.8vw, 54px); line-height: 1.02; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.sx-hero h1 span { display: block; }
.sx-hero h1 span + span { margin-top: .12em; }
.sx-hero h1 .sx-hl { padding: 0 .03em; }
.sx-lead { max-width: 32em; margin: 24px 0 0; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.sx-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

.sx-folio { position: relative; width: min(100%, 620px); margin: 0; justify-self: center; }
.sx-paper { position: relative; width: calc(100% - 196px); min-height: 460px; padding: 26px 28px 30px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 31, .05), 0 40px 80px -48px rgba(20, 22, 31, .35); }
.sx-paper p { margin: 0; }
.sx-paper__file { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.sx-paper__file .sx-file { width: 20px; height: 24px; }
.sx-paper__title { margin: 22px 0 20px !important; font-size: 24px; font-weight: 800; font-stretch: 74%; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.sx-paper__lines { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sx-paper__lines li { display: grid; grid-template-columns: 34px minmax(0, 1fr); font-size: 15.5px; line-height: 1.5; color: #3b3f4c; }
.sx-paper__n { font-size: 13.5px; font-weight: 600; line-height: 1.75; color: var(--muted); }
.sx-paper__rule { display: grid; gap: 10px; margin: 24px 0 0 34px; }
.sx-paper__rule i { display: block; height: 7px; border-radius: 4px; background: #eef0f4; }
.sx-paper__rule i:nth-child(2) { width: 82%; }
.sx-paper__rule i:nth-child(3) { width: 58%; }
/* The notes sit in the right margin, overlapping the page, each beside the rule it speaks to. */
.sx-folio__notes { position: absolute; top: 0; right: 0; bottom: 0; width: 220px; }
.sx-folio__notes .sx-mnote { position: absolute; right: 0; left: 0; }
.sx-folio__notes .sx-mnote:nth-child(1) { top: 146px; }
.sx-folio__notes .sx-mnote:nth-child(2) { top: 316px; }
@media (min-width: 1024px) {
  .sx-hero { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: 48px; }
  .sx-folio { justify-self: end; }
  html[lang="fr"] .sx-hero h1 { font-size: clamp(34px, 3.4vw, 50px); }
}
@media (max-width: 640px) {
  .sx-hero { gap: 40px; padding-top: 32px; }
  .sx-hero h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.04; }
  .sx-go { flex-direction: column; align-items: flex-start; }
  .sx-paper { width: 100%; min-height: 0; padding: 20px 20px 24px; }
  .sx-paper__lines li { font-size: 15px; }
  .sx-paper__rule { display: none; }
  .sx-folio__notes { position: relative; display: grid; gap: 12px; width: auto; margin: -28px 0 0 28px; }
  .sx-folio__notes .sx-mnote { position: relative; top: auto !important; }
}

/* ---------- Sections ---------- */
.sx-section { width: min(100% - 40px, 1200px); margin: 0 auto; padding: clamp(88px, 13vh, 136px) 0 0; scroll-margin-top: 72px; }
.sx-section--last { padding-bottom: clamp(88px, 13vh, 136px); }
.sx-section > h2 { max-width: 20em; margin: 0 auto 44px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); text-align: center; text-wrap: balance; }
.sx-sub { max-width: 36em; margin: -28px auto 48px; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; color: var(--muted); text-align: center; text-wrap: balance; }
.sx-band { margin-top: clamp(88px, 13vh, 136px); padding-bottom: clamp(80px, 12vh, 120px); }
.sx-band > .sx-section { padding-top: clamp(80px, 12vh, 120px); }
.sx-band--iris { background: var(--iris); color: #fff; }

/* A pair: a picture and a short text side by side, the title left-aligned. */
.sx-pair { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.sx-pair--text-first { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
.sx-pair__text h2 { margin: 0; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.sx-pair__line { max-width: 30em; margin: 18px 0 0; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* ---------- What consultants say (only when real quotes exist) ----------
   One large quote, its key words on the warm marker, then the others as cards in the margin-note style. Past three
   cards they run as a slow strip (two copies of the list, the second hidden from assistive technology) that stops
   under the pointer or keyboard focus; with reduced motion it is a row you scroll yourself. */
.sx-voices { text-align: center; }
.sx-voice { margin: 0; }
.sx-voice blockquote { margin: 0; }
.sx-voice blockquote p { margin: 0; }
.sx-voice figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; text-align: left; }
.sx-voice__who { display: grid; min-width: 0; color: inherit; text-decoration: none; }
a.sx-voice__who:hover b { color: var(--iris); }
a.sx-voice__who:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; border-radius: 4px; }
.sx-voice__who b { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.sx-voice__who span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.sx-voice--lead { max-width: 900px; margin: 0 auto; }
.sx-voice--lead blockquote p { font-size: clamp(25px, 2.7vw, 36px); font-weight: 600; line-height: 1.28; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.sx-voice--lead blockquote p::before { content: "“"; } .sx-voice--lead blockquote p::after { content: "”"; }
.sx-voice--lead figcaption { justify-content: center; margin-top: 24px; }
.sx-voice--lead .sx-face { width: 48px; height: 48px; }
.sx-voices__track { display: flex; gap: 16px; margin-top: 56px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sx-voices__track:not(.is-moving) { justify-content: center; -webkit-mask: none; mask: none; }
.sx-voices__list { display: flex; flex: none; gap: 16px; margin: 0; padding: 4px 0 24px; list-style: none; }
.sx-voices__list > li { display: flex; width: 340px; }
.sx-voices__list .sx-voice { display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; text-align: left; box-shadow: 0 1px 2px rgba(20, 22, 31, .04), 0 18px 40px -28px rgba(20, 22, 31, .3); }
.sx-voices__list blockquote p { font-size: 16.5px; font-weight: 500; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.sx-voices__list blockquote p::before { content: "“"; } .sx-voices__list blockquote p::after { content: "”"; }
html[lang="fr"] .sx-voice blockquote p::before { content: "«\00a0"; } html[lang="fr"] .sx-voice blockquote p::after { content: "\00a0»"; }
@keyframes sx-strip { to { transform: translateX(calc(-100% - 16px)); } }
@media screen and (prefers-reduced-motion: no-preference) {
  .sx-voices__track.is-moving .sx-voices__list { animation: sx-strip 70s linear infinite; }
  .sx-voices__track.is-moving:hover .sx-voices__list, .sx-voices__track.is-moving:focus-within .sx-voices__list { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-voices__track.is-moving { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask: none; mask: none; }
  .sx-voices__track.is-moving .sx-voices__list[aria-hidden] { display: none; }
  .sx-voices__list > li { scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .sx-voices { text-align: left; }
  .sx-voice--lead figcaption { justify-content: flex-start; }
  .sx-voices__list > li { width: 290px; }
  .sx-voices__track:not(.is-moving) { justify-content: flex-start; overflow-x: auto; }
}

/* ---------- 2. The consultant's engagement plan: the legwork struck and handed over, the thinking kept ----------
   One page (the hero's paper, wider) with a margin beside it. Each row is a subgrid of the figure: the plan's line on the
   page, its margin note beside it. Struck lines are the legwork, each answered by an indigo note from Wholesight with the
   same circled number; the highlighted lines are the consultant's, answered by one white note. */
.sx-check svg { flex: none; padding: 4px; box-sizing: content-box; border-radius: 50%; background: var(--iris); color: #fff; }
.sx-plan { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 272px; column-gap: 28px; max-width: 1000px; margin: 0 auto; }
.sx-plan__page { grid-column: 1; grid-row: 1 / span 3; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 31, .05), 0 40px 80px -48px rgba(20, 22, 31, .35); }
.sx-plan__head { grid-column: 1; grid-row: 1; margin: 0 34px; padding: 24px 0 14px; }
.sx-plan__lines { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: subgrid; margin: 0; padding: 10px 0 30px; list-style: none; }
.sx-plan__row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; }
.sx-plan__line { grid-column: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; margin: 0; padding: 14px 34px; font-size: 18px; line-height: 1.5; color: #3b3f4c; }
.sx-plan__line .sx-paper__n { font-size: 14px; line-height: 1.85; }
.sx-plan__line .sx-paper__n.sx-ring { margin-top: .05em; }
.sx-plan__row + .sx-plan__row > .sx-plan__line { border-top: 1px solid var(--line); }
.sx-plan .sx-strike { color: var(--muted); }
.sx-plan .sx-mnote { grid-column: 2; margin: 5px 0; }
.sx-mnote__mark { flex: none; width: 24px; height: 24px; }
/* The consultant's part: a firmer rule above it, the lines on the highlighter, and one white note in ink. */
.sx-plan__row--yours { margin-top: 10px; }
.sx-plan__mine { grid-column: 1; margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.sx-plan__mine .sx-plan__line { padding-bottom: 10px; color: var(--ink); }
.sx-plan__mine .sx-plan__line + .sx-plan__line { padding-top: 6px; border-top: 0; }
.sx-mnote--you { border-color: var(--ink); }
.sx-mnote--you .sx-mnote__who { font-size: 14px; font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.sx-mnote--you .sx-mnote__quote { font-size: 16px; font-weight: 600; }

/* ---------- 3. Diagram 1: what goes in, what Wholesight does, what comes out ----------
   Wide screens: five columns, the two wire columns 120px wide. The input column is 480px tall and its cards sit at
   fixed heights, so the wires (a 120 x 480 viewBox, drawn at its own size) start at each card's centre: 60, 128, 196,
   314, 382 and 450. The engine is centred on 240, and so is the one report that comes out (its arrow lands at 240).
   It builds once, in view, then holds its finished state (reveal.js). */
.sx-flow { display: flex; flex-direction: column; align-items: stretch; width: min(100%, 520px); margin: 0 auto; }
.sx-flow p { margin: 0; }
.sx-flow__label { height: 20px; margin-bottom: 10px !important; font-size: 13px; font-weight: 600; line-height: 20px; color: var(--muted); }
.sx-flow__cards { display: grid; grid-auto-rows: 60px; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sx-flow__cards + .sx-flow__label { margin-top: 28px; }
.sx-src { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.sx-src > span:last-child, .sx-card--person p { display: grid; min-width: 0; }
.sx-src b, .sx-card--person b { overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.sx-src small, .sx-card--person small { font-size: 13px; line-height: 1.35; color: var(--muted); }
.sx-src .sx-file { width: 30px; height: 36px; }
.sx-wires { display: none; }
.sx-wires path { fill: none; stroke: var(--iris); stroke-width: 1.5; }
.sx-wires--out path { stroke-width: 2; }
.sx-down { position: relative; display: block; align-self: center; width: 2px; height: 40px; margin: 12px 0 18px; background: var(--iris); }
.sx-down::after { content: ""; position: absolute; bottom: -8px; left: -5px; border-top: 8px solid var(--iris); border-right: 6px solid transparent; border-left: 6px solid transparent; }
.sx-engine { display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: 18px; background: var(--iris); color: #fff; box-shadow: 0 2px 4px rgba(36, 28, 150, .12), 0 40px 80px -40px rgba(36, 28, 150, .6); }
.sx-engine__name { display: flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 800; font-stretch: 74%; letter-spacing: -.01em; }
.sx-engine__does { display: grid; margin: 18px 0 0; padding: 0; list-style: none; }
.sx-engine__does li { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .24); font-size: 16px; font-weight: 500; line-height: 1.38; text-wrap: balance; }
.sx-flow__out { display: flex; flex-direction: column; }
.sx-report { position: relative; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 31, .04), 0 24px 56px -36px rgba(20, 22, 31, .35); }
.sx-report { display: grid; gap: 12px; padding: 20px 22px 18px; }
.sx-report__k { font-size: 13px; font-weight: 600; color: var(--muted); }
.sx-report__text { font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
/* The report's question box: drawn as the product's own input (not a nested card), so it sits inside the report. */
.sx-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px !important; padding: 8px 8px 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.sx-field > span { text-wrap: balance; }
.sx-field .sx-brand { margin: 0 1px; color: var(--ink); font-weight: 600; vertical-align: -4px; }
.sx-field svg { flex: none; padding: 5px; box-sizing: content-box; border-radius: 7px; background: var(--iris); color: #fff; }
@media (min-width: 1080px) {
  .sx-flow { display: grid; grid-template-columns: minmax(220px, 290px) 120px minmax(230px, 284px) 120px minmax(280px, 380px); justify-content: center; align-items: center; width: 100%; }
  .sx-flow__in, .sx-flow__out, .sx-wires { height: 480px; }
  .sx-wires { display: block; width: 100%; overflow: visible; }
  .sx-down { display: none; }
  .sx-flow__out { justify-content: center; }
  .sx-report::before { content: ""; position: absolute; top: calc(50% - 6px); left: -9px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid var(--iris); }
}

/* ---------- 4. Diagram 2: Deep Study, round by round, then the finding ----------
   Without script or with reduced motion: every round with its caption. Narrated (diagrams.js adds .is-stepping and a
   data-state of past, current or next on each round): one round at a time on a pale panel, the ones before it dimmed,
   the ones after it only by their heading; its caption in the bar above, with four segments that fill as it plays. */
.sx-rounds { margin: 0; isolation: isolate; }
.sx-rounds__list { display: grid; gap: 56px; width: min(100%, 460px); margin: 0 auto; padding: 0; list-style: none; }
.sx-round { position: relative; display: flex; flex-direction: column; min-width: 0; }
.sx-round__head { margin: 0 0 16px; }
.sx-round__k { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--iris); }
.sx-round__t { display: block; margin-top: 4px; font-size: 23px; font-weight: 800; font-stretch: 74%; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.sx-round__go { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 8px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.sx-round__go:hover .sx-round__t { color: var(--iris); }
.sx-round__go:focus-visible { outline: 3px solid var(--iris); outline-offset: 6px; }
.sx-round__body { display: grid; align-content: start; gap: 10px; }
.sx-round__body p { margin: 0; }
.sx-round__cap { margin: 0; padding-top: 16px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.sx-round__arrow { position: absolute; bottom: -44px; left: 50%; width: 32px; margin-left: -16px; color: var(--iris); }
.sx-round__arrow svg { width: 32px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
.sx-card { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 14.5px; line-height: 1.4; }
.sx-card__file { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sx-card__file .sx-file { width: 18px; height: 22px; }
.sx-card__rule { margin-top: 8px !important; font-size: 15px; line-height: 1.45; color: var(--ink); }
.sx-crowd { display: grid; grid-template-columns: repeat(4, 40px); justify-content: space-between; gap: 12px; padding: 16px; border-radius: 12px; background: var(--iris-soft); }
.sx-crowd__p { position: relative; }
.sx-crowd__p .sx-face { width: 40px; height: 40px; }
.sx-crowd__p i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border: 2px solid var(--iris-soft); border-radius: 50%; background: var(--iris); }
.sx-crowd__more { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--iris); font-size: 13px; font-weight: 700; color: #fff; }
.sx-mnote--small { gap: 6px; padding: 12px 14px; box-shadow: none; }
.sx-mnote--small .sx-face { width: 32px; height: 32px; }
.sx-mnote--small .sx-mnote__quote { font-size: 15px; }
.sx-tag { justify-self: start; padding: 3px 10px; border: 1px solid var(--iris); border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--iris); }
.sx-card--ask { border-color: var(--iris); background: var(--iris); color: #fff; }
.sx-card--ask p:last-child { margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.sx-card__k { font-size: 12.5px; font-weight: 600; color: #e3e0ff; }
.sx-card--person { display: flex; align-items: center; gap: 12px; }
.sx-card--person .sx-file { width: 30px; height: 36px; }
.sx-new { justify-self: start; margin: 3px 0 2px; padding: 1px 8px; border-radius: 999px; background: var(--iris); font-size: 12px; font-weight: 600; line-height: 1.5; color: #fff; }
.sx-finding { display: grid; gap: 12px; padding: 18px 18px 16px; border: 2px solid var(--iris); border-radius: 14px; background: #fff; box-shadow: 0 24px 56px -36px rgba(36, 28, 150, .45); }
.sx-finding__text { font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.sx-control { display: flex; align-items: center; gap: 14px; max-width: 920px; margin: 48px auto 0; padding: 18px 24px; border-radius: 14px; background: var(--iris-soft); font-size: 16.5px; line-height: 1.5; color: var(--ink); }
/* A drawn shield in the brand's ink, not a filled round button: nothing here is clickable. */
.sx-control svg { flex: none; color: var(--iris); }
.sx-control b { font-weight: 700; }
@media (min-width: 1040px) {
  .sx-rounds__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; width: 100%; }
  .sx-round__arrow { top: 96px; right: -40px; bottom: auto; left: auto; margin: 0; }
  .sx-round__arrow svg { transform: none; }
}
.sx-steps__bar { display: flex; align-items: center; justify-content: center; gap: 12px 22px; max-width: 920px; margin: -12px auto 44px; }
.sx-steps__bar[hidden] { display: none; }
.sx-steps__progress { display: grid; flex: none; grid-template-columns: repeat(4, 30px); gap: 5px; }
.sx-steps__progress i { position: relative; height: 4px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.sx-steps__progress i::after { content: ""; position: absolute; inset: 0; background: var(--iris); transform: scaleX(0); transform-origin: left; }
.sx-steps__progress .is-done::after { transform: none; }
/* 3.5 s: diagrams.js STEP_MS. */
.sx-steps__progress .is-on::after { animation: sx-fill 3.5s linear both; }
.is-paused .sx-steps__progress .is-on::after { animation-play-state: paused; }
/* Every caption sits in the same cell, so the bar keeps the height of the longest and nothing below it moves. */
.sx-steps__caption { display: grid; min-width: 0; margin: 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; line-height: 1.4; color: var(--ink); }
.sx-steps__caption > span { grid-area: 1 / 1; opacity: 0; transition: opacity .45s ease; }
.sx-steps__caption > .is-current { opacity: 1; }
.is-stepping .sx-round__cap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-stepping .sx-rounds__list { align-items: start; }
.is-stepping .sx-round { transition: opacity .5s ease; }
.is-stepping .sx-round::before { content: ""; position: absolute; inset: -18px -16px; z-index: -1; border: 1px solid #e2deff; border-radius: 18px; background: #f7f6ff; opacity: 0; transition: opacity .5s ease; }
.is-stepping .sx-round[data-state="current"]::before { opacity: 1; }
/* Rounds that are not playing step back by colour, not by fading: every label keeps at least 4.5:1 on white. The current
   round alone has its panel and its indigo label. */
.is-stepping .sx-round:not([data-state="current"]) .sx-round__k { color: var(--muted); }
.is-stepping .sx-round[data-state="next"] .sx-round__t { color: var(--muted); }
.is-stepping .sx-round[data-state="next"] .sx-round__body, .is-stepping .sx-round:not([data-state="past"]) .sx-round__arrow { visibility: hidden; opacity: 0; }
@media (max-width: 1039px) {
  /* Stacked: each round is a row; only the current one opens. */
  .sx-steps__bar { flex-direction: column; align-items: flex-start; margin: -8px 0 24px; }
  .is-stepping .sx-rounds__list { gap: 10px; }
  .is-stepping .sx-round { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .is-stepping .sx-round::before { inset: -1px; }
  .is-stepping .sx-round__head { margin: 0; }
  .is-stepping .sx-round[data-state="current"] .sx-round__head { margin-bottom: 14px; }
  .is-stepping .sx-round__t { font-size: 20px; }
  .is-stepping .sx-round:not([data-state="current"]) .sx-round__body { display: none; }
  .is-stepping .sx-round__arrow { display: none; }
}

/* ---------- 5. The product as it looks: a study window ---------- */
.sx-demo { margin: 0; }
.sx-app { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(20, 22, 31, .05), 0 48px 96px -56px rgba(20, 22, 31, .4); color: inherit; text-align: left; text-decoration: none; }
.sx-app:focus-visible { outline: 3px solid var(--iris); outline-offset: 4px; }
.sx-app__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 14px; }
.sx-app__dots { display: flex; gap: 6px; }
.sx-app__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.sx-app__title { font-weight: 600; color: var(--ink); }
.sx-app__answer, .sx-app__chat { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 40px); }
.sx-app__k { font-size: 13px; font-weight: 600; color: var(--muted); }
.sx-app__a { margin-top: 12px; font-size: clamp(21px, 2vw, 25px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.sx-app__basis { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.sx-app__basis .sx-file { width: 15px; height: 18px; }
.sx-app__chat { gap: 12px; border-left: 1px solid var(--line); background: var(--soft); }
.sx-app__q { align-self: flex-end; max-width: 90%; padding: 11px 15px; border-radius: 16px 16px 4px 16px; background: var(--iris); font-size: 15.5px; font-weight: 500; line-height: 1.35; color: #fff; }
.sx-app__r { display: flex; flex-direction: column; gap: 12px; max-width: 94%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; background: #fff; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.sx-app__src { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sx-app__src > span { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--iris); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sx-app__src .sx-file { width: 15px; height: 18px; }
.sx-app__src svg:not(.sx-file) { color: var(--iris); }
.sx-app__reply { position: relative; display: flex; }
.sx-app__typing { position: absolute; top: 0; left: 0; display: none; gap: 4px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sx-app__typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa0ad; }
.sx-app__input { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 9px 9px 9px 15px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 14.5px; color: var(--muted); }
.sx-app__input svg { padding: 5px; box-sizing: content-box; border-radius: 8px; background: var(--iris); color: #fff; }

/* ---------- 6. Out-of-scope topics become change requests: each one confirmed gets an indigo check ---------- */
.sx-flags { position: relative; margin: 0; padding: 22px 22px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(20, 22, 31, .04), 0 32px 64px -44px rgba(20, 22, 31, .35); }
.sx-flags__head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sx-flags__head svg { color: var(--iris); }
.sx-flags__list { display: grid; }
.sx-flag { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.sx-flag__text { display: grid; gap: 2px; min-width: 0; }
.sx-flag__text b { font-size: 16px; font-weight: 600; color: var(--ink); }
.sx-flag__text span { font-size: 14px; color: var(--muted); }
.sx-flag__state { display: grid; flex: none; }
.sx-flag__state > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; height: 30px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sx-flag__from { justify-content: center; padding: 0 12px; border: 1px dashed var(--line-2); border-radius: 8px; color: var(--muted); opacity: 0; }
.sx-flag__to { color: var(--ink); }
.sx-check { display: inline-flex; }

/* ---------- 7. What the client sees, on the page's one indigo field ---------- */
.sx-band--iris .sx-pair__text h2 { color: #fff; }
.sx-band--iris .sx-pair__line { color: #e3e0ff; }
.sx-never { max-width: 30em; margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; line-height: 1.4; color: #fff; }
.sx-kit { margin: 0; height: 300px; }
.sx-gk { position: relative; display: block; width: 100%; height: 100%; }
.sx-gk__doc { --stack: translateY(10px) scale(.95); position: absolute; top: 50%; left: 50%; width: 150px; height: 196px; margin: -98px 0 0 -75px; padding: 20px 16px; border-radius: 10px; background: #fff; box-shadow: 0 24px 48px -20px rgba(8, 4, 60, .5); transform: var(--fan); }
.sx-gk__doc:nth-child(1) { --fan: translateY(-8px); z-index: 3; }
.sx-gk__doc:nth-child(2) { --fan: translate(-140px, 14px) rotate(-8deg); z-index: 2; }
.sx-gk__doc:nth-child(3) { --fan: translate(140px, 14px) rotate(8deg); z-index: 1; }
.sx-gk__doc i { display: block; height: 6px; margin-top: 10px; border-radius: 4px; background: var(--line); }
.sx-gk__doc i:first-child { width: 55%; height: 8px; margin-top: 0; background: var(--iris); }
.sx-gk__doc i:nth-child(3) { width: 80%; }
.sx-gk__doc i:nth-child(5) { width: 70%; }
.sx-gk__doc:nth-child(3) b { text-align: right; }
.sx-gk__doc:nth-child(1) i:nth-child(4) { width: 64%; height: 8px; background: var(--lavender); }
.sx-gk__doc b { position: absolute; right: 14px; bottom: 14px; left: 16px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.sx-trust { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.sx-trust li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #fff; }
.sx-trust svg { flex: none; padding: 3px; box-sizing: content-box; border-radius: 50%; background: #fff; color: var(--iris); }
.sx-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; font-size: 15.5px; }
.sx-band--iris .sx-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.sx-band--iris .sx-link:hover { text-decoration-color: #fff; }
.sx-band--iris .sx-link:focus-visible { outline-color: #fff; }

/* ---------- 8. The question box of home.css, quiet: a hairline, an indigo ring on focus ---------- */
.sx-ask { text-align: center; }
.sx-ask .lx-ask { width: min(100%, 720px); margin: 0 auto; }
.sx-ask .lx-composer { border-radius: 12px; background: #fff; caret-color: var(--iris); box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px -24px rgba(20, 22, 31, .25); }
.sx-ask .lx-composer:focus-within { box-shadow: 0 0 0 2px var(--iris), 0 16px 40px -24px rgba(36, 28, 150, .25); }
/* The example question in the box carries meaning: it is read at 4.5:1 or better. */
.sx-ask .lx-composer textarea::placeholder, .sx-ask .lx-ghost { color: #626877; }
.sx-ask .lx-ghost i { background: var(--iris); }
.sx-ask .lx-composer.is-typing textarea::placeholder { color: transparent; }
/* Always solid: a pale button before anything is typed read as broken. */
.sx-ask .lx-send, .sx-ask .lx-composer:has(textarea:invalid) .lx-send { border-radius: 8px; background: var(--iris); color: #fff; opacity: 1; }
.sx-ask .lx-send:hover { background: var(--iris-hover); }
.sx-ask .lx-prompts > summary { color: var(--muted); }
.sx-ask .lx-prompts > summary svg:first-child { color: var(--iris); }
.sx-ask .lx-prompts__head, .sx-ask .lx-prompt__topic { font-family: inherit; letter-spacing: 0; text-transform: none; }
.sx-ask .lx-prompts__head { font-size: 13px; }
.sx-ask .lx-prompt__topic { font-size: 13px; font-weight: 600; }

/* Questions: titles only until opened. */
.sx-faq { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line); }
.sx-faq details { border-bottom: 1px solid var(--line); }
.sx-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--ink); }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary svg { flex: none; color: var(--muted); transition: transform .2s; }
.sx-faq details[open] summary svg { transform: rotate(180deg); }
.sx-faq summary:focus-visible { outline: 3px solid var(--iris); outline-offset: 2px; }
.sx-faq p { margin: 0; padding: 0 2px 20px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* The footer, in the page's own type: the page leaves out .is-framed (frame.css), so no monospace and no frame. */
.is-simple .footer__cta { min-height: 24px; }

@media (max-width: 900px) {
  .sx-pair, .sx-pair--text-first { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sx-pair--text-first .sx-flags { order: 2; }
  .sx-band--iris .sx-kit { order: 2; height: 240px; }
  .sx-app { grid-template-columns: minmax(0, 1fr); }
  .sx-app__chat { border-left: 0; border-top: 1px solid var(--line); }
  /* The plan on one column: each margin note goes onto the page, under its line. */
  .sx-plan { grid-template-columns: minmax(0, 1fr); }
  .sx-plan .sx-mnote { grid-column: 1; margin: -4px 22px 16px 78px; }
}
@media (max-width: 720px) {
  .sx-section > h2 { margin-bottom: 28px; text-align: left; }
  .sx-sub { margin: -14px 0 32px; text-align: left; }
  .sx-plan__head { margin: 0 20px; padding-top: 18px; }
  .sx-plan__line { grid-template-columns: 40px minmax(0, 1fr); padding: 14px 20px; font-size: 16.5px; }
  .sx-plan .sx-mnote { margin: -2px 16px 14px 60px; }
  .sx-control { align-items: flex-start; padding: 16px 18px; font-size: 16px; }
  .sx-flag { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sx-gk__doc { width: 116px; height: 152px; margin: -76px 0 0 -58px; padding: 14px 12px; }
  .sx-gk__doc:nth-child(2) { --fan: translate(-104px, 12px) rotate(-8deg); }
  .sx-gk__doc:nth-child(3) { --fan: translate(104px, 12px) rotate(8deg); }
  .sx-gk__doc b { font-size: 12.5px; }
}

/* ---------- Motion (reveal.js) ----------
   Only once a figure is armed are its first frames hidden; it plays as soon as it shows (once, except diagram 1).
   Transform and opacity only, so nothing moves the layout. Without script, in print or with reduced motion, every
   figure shows its final state. */
.sx-stg > :nth-child(2) { --i: 1; } .sx-stg > :nth-child(3) { --i: 2; } .sx-stg > :nth-child(4) { --i: 3; }
.sx-stg > :nth-child(5) { --i: 4; } .sx-stg > :nth-child(6) { --i: 5; } .sx-stg > :nth-child(7) { --i: 6; }
@keyframes sx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sx-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes sx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sx-leave { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px); } }
/* The dash only exists while a line draws: once drawn it is a plain stroke (a dash left behind vanished in some captures). */
@keyframes sx-draw { from { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 1; } 99% { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 0; } to { opacity: 1; stroke-dasharray: none; stroke-dashoffset: 0; } }
@keyframes sx-fan { from { transform: var(--stack); } to { transform: var(--fan); } }
@keyframes sx-while { 0% { opacity: 0; } 10%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sx-dot { 0%, 100% { transform: none; opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes sx-fill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes sx-mark { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
@keyframes sx-pen { from { --sx-pen: 0deg; } to { --sx-pen: 360deg; } }
@keyframes sx-strike { from { background-size: 0 2px; } to { background-size: 100% 2px; } }
@media screen and (prefers-reduced-motion: no-preference) {
  .sx-armed { --sx-ease: cubic-bezier(.22, .8, .24, 1); }
  .sx-armed .a-pop, .sx-armed .a-rise, .sx-armed .sx-flag__to, .sx-armed .sx-engine, .sx-armed .sx-report, .sx-armed .sx-down { opacity: 0; }
  .sx-armed .a-draw { opacity: 0; }
  .sx-play .a-pop { animation: sx-pop .4s var(--sx-ease) calc(var(--d, 0s) + var(--i, 0) * var(--st, .12s)) both; }
  .sx-play .a-rise { animation: sx-rise .55s var(--sx-ease) calc(var(--d, 0s) + var(--i, 0) * var(--st, .12s)) both; }
  .sx-play .a-draw { animation: sx-draw .7s var(--sx-ease) calc(var(--d, 0s) + var(--i, 0) * var(--st, .08s)) both; }

  /* The hero, told twice (pair 0 for rule 3.2, pair 1 for rule 3.4, 1.9 s apart with a breath between them, about 3.4 s in all, once): the page is
     already there; the highlighter runs across the rule, the pen circles its number, the team's note arrives beside
     it, then the pen strikes what does not happen. */
  /* The plan, once in view: the pen strikes each legwork line in turn and Wholesight's note answers it; then the
     consultant's note. An echo of the hero's gesture, quicker, with no highlighter of its own. */
  .sx-plan [data-row="1"] { --row: 1; } .sx-plan [data-row="2"] { --row: 2; } .sx-plan [data-row="3"] { --row: 3; }
  .sx-armed .sx-plan .sx-strike { background-size: 0 2px; }
  .sx-play .sx-plan .sx-strike { animation: sx-strike .4s cubic-bezier(.5, 0, .3, 1) calc(.25s + var(--row, 0) * .5s) both; }
  .sx-play .sx-plan .a-rise { animation: sx-rise .6s cubic-bezier(.16, 1, .3, 1) calc(.5s + var(--row, 0) * .5s) both; }
  .sx-folio [data-pair="1"] { --pair: 1; }
  .sx-armed .sx-paper [data-pair] .sx-hl { background-size: 0 100%; }
  .sx-armed .sx-paper [data-pair] .sx-ring::before { --sx-pen: 0deg; }
  .sx-armed .sx-paper [data-pair] .sx-strike { background-size: 0 2px; }
  .sx-play .sx-paper [data-pair] .sx-hl { animation: sx-mark .6s cubic-bezier(.45, .05, .25, 1) calc(.15s + var(--pair, 0) * 1.9s) both; }
  .sx-play .sx-paper [data-pair] .sx-ring::before { animation: sx-pen .55s cubic-bezier(.33, .1, .25, 1) calc(.6s + var(--pair, 0) * 1.9s) both; }
  .sx-play .sx-folio__notes .a-rise { animation: sx-rise .6s cubic-bezier(.16, 1, .3, 1) calc(.9s + var(--pair, 0) * 1.9s) both; }
  .sx-play .sx-paper [data-pair] .sx-strike { animation: sx-strike .35s cubic-bezier(.5, 0, .3, 1) calc(1.45s + var(--pair, 0) * 1.9s) both; }

  /* Diagram 1: the sources, their lines into Wholesight, Wholesight, then the arrows out and what comes out. */
  .sx-flow__cards .a-rise { --st: .07s; }
  .sx-flow__cards--people .a-rise { --d: .22s; }
  .sx-wires--in .a-draw { --d: .5s; }
  .sx-play .sx-engine { animation: sx-rise .6s var(--sx-ease) 1.15s both; }
  .sx-play .sx-down--1 { animation: sx-fade .4s linear .9s both; }
  .sx-wires--out .a-draw { --d: 1.7s; --st: .15s; }
  .sx-play .sx-down--2 { animation: sx-fade .4s linear 1.7s both; }
  .sx-play .sx-report { animation: sx-rise .55s var(--sx-ease) 2.15s both; }

  /* Diagram 2, narrated: the current round's content rises in. */
  .is-stepping .sx-round[data-state="current"] .sx-round__body { animation: sx-rise .6s cubic-bezier(.22, .8, .24, 1) both; }

  /* The study window: the question, a moment of typing, the reply, then its sources one by one. */
  .sx-app__q { --d: .3s; }
  .sx-play .sx-app__typing { display: flex; animation: sx-while 1.4s linear .8s both; }
  .sx-play .sx-app__typing i { animation: sx-dot .9s ease-in-out 3; }
  .sx-play .sx-app__typing i:nth-child(2) { animation-delay: .15s; }
  .sx-play .sx-app__typing i:nth-child(3) { animation-delay: .3s; }
  .sx-app__r { --d: 2.2s; }
  .sx-app__src > span { --d: 2.7s; --st: .2s; }

  /* Flags: each topic is confirmed in turn and becomes a change request. */
  .sx-armed .sx-flag__from { opacity: 1; }
  .sx-play .sx-flag__from { animation: sx-leave .35s var(--sx-ease) calc(.8s + var(--i, 0) * .5s) both; }
  .sx-play .sx-flag__to { animation: sx-pop .4s var(--sx-ease) calc(.95s + var(--i, 0) * .5s) both; }

  /* The client documents fan out from a stack. */
  .sx-armed .sx-gk__doc { transform: var(--stack); }
  .sx-play .sx-gk__doc { animation: sx-fan .8s var(--sx-ease) calc(.2s + var(--i, 0) * .12s) both; }
}
