/* =============================================================================
   security.html — page styles (site v2)
   Reads every colour, type and space token from stash.css; defines no new hue.
   GREEN RULE: every selector below that touches the accent contains "rate"
   (.rate-sx-seg, .sx-rate-ramp, .sx-lg-rate). Green is a fill or a line here,
   never text on paper.
   MOTION: no page script. Diagrams run on the .is-in class that stash-motion.js
   adds to [data-reveal] / [data-hero] once they scroll into view; the hero loop
   is paused off-screen through [data-minis] (.is-paused). Without JS, and with
   prefers-reduced-motion, every figure shows its final state.
   ============================================================================= */

/* ------------------------------------------------------------ hero */
.sx-hero__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "copy press" "rest press";
  gap: 1.6rem clamp(1.5rem, 3.4vw, 3.5rem); align-items: center;
  padding-block: clamp(2rem, 5vh, 3.5rem) clamp(2rem, 5vh, 3.25rem);
}
.sx-hero__copy { grid-area: copy; align-self: end; position: relative; z-index: 2; padding-left: clamp(0rem, 1.4vw, 1.1rem); }
.sx-press { grid-area: press; }
.sx-hero__rest { grid-area: rest; align-self: start; padding-left: clamp(0rem, 1.4vw, 1.1rem); }
.sx-hero__h1 {
  font-stretch: 76%; font-weight: 820; font-size: clamp(2.6rem, min(4.6vw, 7vh), 4.3rem);
  line-height: .95; letter-spacing: -.02em; text-wrap: balance; max-width: 13ch;
}
.sx-hero__lede { margin-top: 1.1rem; max-width: 35rem; font-size: 1.1rem; line-height: 1.58; color: var(--t2); }
.sx-hero__lede b { color: var(--ink); font-weight: 600; }

.sx-noaudit {
  display: flex; gap: .8rem; align-items: flex-start; max-width: 35rem;
  padding: .8rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r-card);
  background: rgba(244, 239, 228, .7); font-size: .93rem; line-height: 1.5; color: var(--t2);
}
.sx-noaudit b { color: var(--ink); font-weight: 650; }
.sx-noaudit__mark {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: .05rem; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .75rem; font-weight: 600;
}
.sx-facts { margin-top: 1.35rem; padding-top: .95rem; border-top: 1px solid var(--line-2); gap: .9rem; max-width: 35rem; }
.sx-facts .stat__v { font-size: 1.95rem; }
.sx-facts .stat__l { font-size: .74rem; }
/* The four-up notes are wider than their columns in the 5fr hero column: let each line wrap inside its own column instead of running into the next one. */
.sx-facts .stat__note > span { white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
.sx-toc { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.35rem; max-width: 35rem; }
.sx-toc a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: 0 .8rem 0 .55rem;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); background: rgba(244, 239, 228, .6);
  font-size: .84rem; font-weight: 550; text-decoration: none; color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.sx-toc a span {
  display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 .3rem; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .02em;
}
.sx-toc a:hover { border-color: var(--ink); background: var(--paper); }

/* the review, drawn: an engraved plate on paper */
.sx-press { position: relative; margin: 0; width: 100%; }
.sx-press__stage { position: relative; width: 100%; aspect-ratio: 720 / 540; }
.sx-press__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.sx-press__labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sx-press__labels .plabel b { font-size: 11px; }
/* "Three refuters" and "Fixed" stand 24% of the stage apart: their lines wrap (the second ones at
   14ch) instead of running into each other ("each tries to refute it" | "pinned by a test" at
   650-1600, the names at 320-430) */
.sx-press__labels .plabel.is-mid { white-space: normal; }
.sx-press__labels .plabel.is-mid i { max-width: 14ch; margin-inline: auto; text-wrap: balance; }
/* wrapped, the two labels grow up from where their last line ended on one line (name 13.75 px, 1 px,
   one 13.75 px line), not down: going down, "test" sat inside the "Fixed" plaque at 650-1600 and
   "refute it" on the bench's x at 1030-1130. Their own width, not the 9.6% of stage right of "Fixed",
   so "pinned by a test" takes two lines, not three */
@media (min-width: 641px) {
  .sx-press__labels .plabel.is-mid { width: max-content; transform: translate(-50%, calc(-100% + 28.5px)); }
}
/* phones show the names only: a name that wraps ("Three refuters", 320-360) grows up off the x */
@media (max-width: 640px) {
  .sx-press__labels .plabel.is-mid { transform: translate(-50%, calc(-100% + 13.75px)); }
}
.sx-press__cap {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; margin-top: .7rem;
  font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--t3);
}
.sx-press__cap .illus-chip { background: var(--paper); }

.sx-hatch-ln { stroke: var(--ink); stroke-width: .8; stroke-opacity: .4; }
.sx-sight { fill: none; stroke: var(--ink); stroke-width: .9; stroke-opacity: .5; stroke-dasharray: 2 5; animation: sx-march 1.4s linear infinite; }
.sx-handle { stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.sx-title-ln { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.sx-code line { stroke: var(--ink); stroke-opacity: .32; stroke-width: 2.4; stroke-linecap: round; }
.sx-code .sx-hit { stroke-opacity: .95; animation: sx-hit 12s ease-in-out infinite; }
.sx-bracket { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sx-tray-fill { stroke: none; animation: sx-tray 12s ease-in-out infinite; }
.sx-arm { fill: var(--ink); transform-box: view-box; }
.sx-arm--1 { transform-origin: 410px 246px; animation: sx-arm-1 12s var(--ease-io) infinite; }
.sx-arm--2 { transform-origin: 478px 246px; animation: sx-arm-2 12s var(--ease-io) infinite; }
.sx-arm--3 { transform-origin: 546px 246px; animation: sx-arm-3 12s var(--ease-io) infinite; }
.sx-no { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; opacity: 0; animation: sx-no 12s ease-in-out infinite; }
.sx-tick {
  fill: none; stroke: var(--ink); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: sx-tick 12s ease-in-out infinite;
}
.sx-chip { fill: var(--ink); transform-box: view-box; opacity: 0; }
.sx-chip--a { animation: sx-chip-a 12s ease-in-out infinite; }
.sx-chip--b { animation: sx-chip-b 12s ease-in-out infinite; }
.sx-press.is-paused .sx-press__svg * { animation-play-state: paused; }

@keyframes sx-march { to { stroke-dashoffset: -14; } }
/* finding A: leaves the sheet, the three arms lift in turn, it reaches the plaque */
@keyframes sx-chip-a {
  0% { transform: translate(340px, 270px); opacity: 0; }
  3% { transform: translate(348px, 270px); opacity: 1; }
  11%, 15% { transform: translate(392px, 270px); opacity: 1; }
  24%, 28% { transform: translate(460px, 270px); opacity: 1; }
  37%, 41% { transform: translate(528px, 270px); opacity: 1; }
  52% { transform: translate(640px, 270px) scale(1); opacity: 1; }
  55%, 100% { transform: translate(651px, 270px) scale(.2); opacity: 0; }
}
/* finding B: passes the first arm, is stopped by the second and drops into the tray */
@keyframes sx-chip-b {
  0%, 55% { transform: translate(340px, 270px); opacity: 0; }
  58% { transform: translate(348px, 270px); opacity: 1; }
  64%, 67% { transform: translate(392px, 270px); opacity: 1; }
  73%, 77% { transform: translate(466px, 270px); opacity: 1; }
  84% { transform: translate(466px, 440px) rotate(40deg); opacity: 1; }
  92%, 100% { transform: translate(466px, 440px) rotate(40deg); opacity: 0; }
}
@keyframes sx-arm-1 { 0%, 10%, 20%, 65%, 71%, 100% { transform: none; } 12.5%, 17%, 66.5%, 69% { transform: rotate(-78deg); } }
@keyframes sx-arm-2 { 0%, 23%, 33%, 100% { transform: none; } 25.5%, 30% { transform: rotate(-78deg); } }
@keyframes sx-arm-3 { 0%, 36%, 46%, 100% { transform: none; } 38.5%, 43% { transform: rotate(-78deg); } }
@keyframes sx-no { 0%, 74% { opacity: 0; } 76%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes sx-tick { 0%, 53% { stroke-dashoffset: 1; opacity: 1; } 60%, 94% { stroke-dashoffset: 0; opacity: 1; } 99% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes sx-hit { 0%, 100% { opacity: .5; } 2%, 6% { opacity: 1; } 12%, 55% { opacity: .5; } 57%, 61% { opacity: 1; } 67% { opacity: .5; } }
@keyframes sx-tray { 0%, 82% { opacity: .55; } 85%, 90% { opacity: 1; } 96%, 100% { opacity: .55; } }

/* ------------------------------------------------------------ 02 · how the review ran */
.sx-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); position: relative; }
.sx-rail li { position: relative; padding-top: .2rem; min-width: 0; }
/* the line the four steps sit on; it draws left to right when the rail arrives */
.sx-rail li::before {
  content: ""; position: absolute; left: 64px; right: calc(-1 * clamp(1rem, 2.4vw, 2rem)); top: 29px; height: 1px;
  background: var(--line-2); transform-origin: 0 50%; transition: transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 180ms + 200ms);
}
.sx-rail li:last-child::before { display: none; }
.js .sx-rail:not(.is-in) li::before { transform: scaleX(0); }
.sx-rail .sx-glyph { width: 56px; height: 56px; display: block; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-2); padding: 6px; box-shadow: var(--shadow-card); position: relative; z-index: 1; }
.sx-rail li:last-child .sx-glyph { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sx-rail__n { display: block; margin-top: 1rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-3); letter-spacing: .04em; }
.sx-rail__t { margin-top: .25rem; font-stretch: 86%; font-weight: 760; font-size: 1.2rem; line-height: 1.15; }
.sx-rail p { margin-top: .5rem; font-size: .95rem; line-height: 1.55; color: var(--fg-2); }
.sx-rail p b { color: var(--fg); font-weight: 600; }

/* line glyphs (rail, first-pass cards, guard) — drawn in the surface's own ink */
.sx-glyph { color: var(--fg); }
.g-ln { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.g-ln-2 { fill: none; stroke: currentColor; stroke-width: 1; stroke-opacity: .55; stroke-linecap: round; stroke-linejoin: round; }
.g-ln-b { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.g-ink, .g-chip { fill: currentColor; stroke: none; }
.g-fill { fill: currentColor; fill-opacity: .14; stroke: none; }

/* the review's own bug: agents and findings, one square each */
.sx-crash { margin-top: clamp(2.5rem, 5vw, 3.75rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.4rem, 3.4vw, 2.75rem); }
.sx-crash__h { margin-top: .7rem; font-stretch: 80%; font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1; letter-spacing: -.015em; color: var(--d1); text-wrap: balance; }
.sx-crash__copy p { margin-top: .9rem; color: var(--d2); font-size: 1rem; line-height: 1.6; }
.sx-crash__copy p b { color: var(--d1); font-weight: 600; }
.sx-arrow-link {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: .8rem;
  font-weight: 600; color: var(--d1); text-decoration: none; border-bottom: 1px solid var(--line-d-2);
}
.sx-arrow-link::after { content: "\2193"; font-family: var(--f-mono); transition: transform .3s var(--ease); }
.sx-arrow-link:hover::after { transform: translateY(3px); }
.sx-crash__viz { display: grid; gap: 1.4rem; align-content: start; }
.sx-mx { padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line-d); border-radius: var(--r-card); background: var(--ink-2); }
.sx-mx__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sx-mx__k { font-stretch: 125%; font-weight: 600; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--d3); }
.sx-mx__v { font-family: var(--f-mono); font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--d1); font-variant-numeric: tabular-nums; }
.sx-mx__grid { display: grid; gap: 3px; margin-top: .85rem; }
.sx-mx__grid--agents { grid-template-columns: repeat(29, minmax(0, 1fr)); }
.sx-mx__grid--finds { grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 4px; }
.sx-sq { display: block; aspect-ratio: 1; border-radius: 2px; border: 1px dashed var(--line-d-2); background: transparent; }
.sx-sq.is-ran { border: 1px solid var(--d1); background: var(--d1); }
.sx-sq.is-redo {
  border: 1px solid var(--d2);
  background: repeating-linear-gradient(-45deg, var(--d2) 0 1.5px, transparent 1.5px 3.5px);
}
/* on arrival: the 59 agents that ran fill one by one and stop; the 28 unvoted findings show
   empty first, then turn to "re-examined" one by one */
.sx-mx__grid .sx-sq.is-ran, .sx-mx__grid .sx-sq.is-redo { transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .35s; }
.sx-mx__grid--agents .sx-sq.is-ran { transition-delay: calc(var(--i) * 14ms + 300ms); }
.sx-mx__grid--finds .sx-sq.is-ran { transition-delay: calc(var(--i) * 25ms + 500ms); }
.sx-mx__grid--finds .sx-sq.is-redo { transition: background-size .01s, border-color .4s; transition-delay: calc(var(--i) * 45ms + 1500ms); background-size: 100% 100%; }
.js .sx-crash:not(.is-in) .sx-mx__grid .sx-sq.is-ran { opacity: 0; transform: scale(.4); }
.js .sx-crash:not(.is-in) .sx-mx__grid .sx-sq.is-redo { background-size: 0 0; border: 1px dashed var(--line-d-2); }
.sx-mx__key { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .8rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--d2); }
.sx-mx__key span { display: inline-flex; align-items: center; gap: .45rem; }
.sx-mx__key .sx-sq { width: 11px; height: 11px; flex: none; }
.sx-mx__cap { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }

/* ------------------------------------------------------------ 03 · the five findings */
.sx-finds { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.sx-find {
  --pad: clamp(1.25rem, 3.2vw, 2.6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-areas: "head fig" "body fig" "scenario fig" "proof fig";
  grid-template-rows: auto auto auto 1fr; column-gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: var(--pad); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-panel);
  box-shadow: var(--shadow-card); color: var(--fg); scroll-margin-top: calc(var(--hdr-h) + 16px);
}
.sx-find--ink {
  --fg: var(--d1); --fg-2: var(--d2); --fg-3: var(--d3); --rule: var(--line-d); --rule-2: var(--line-d-2);
  --surface: var(--ink); --surface-2: var(--ink-2); --surface-3: var(--ink-3);
  background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-panel);
}
.sx-find__head { grid-area: head; }
.sx-find__k { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; font-stretch: 125%; font-weight: 600; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.sx-find__n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--fg); color: var(--surface); font-family: var(--f-mono); font-size: .8rem; font-weight: 600; letter-spacing: 0;
}
.sx-find__k .pill { text-transform: none; letter-spacing: 0; font-stretch: 100%; }
.sx-find__h { margin-top: 1rem; font-stretch: 80%; font-weight: 800; font-size: clamp(1.65rem, 2.7vw, 2.35rem); line-height: 1; letter-spacing: -.016em; text-wrap: balance; }
.sx-find__body { grid-area: body; margin-top: 1.15rem; }
.sx-find__body p { font-size: 1rem; line-height: 1.62; color: var(--fg-2); max-width: 62ch; }
.sx-find__body p + p { margin-top: .8rem; }
.sx-find__body p b { color: var(--fg); font-weight: 600; }
.sx-find__body .sx-formula { margin-top: 1.1rem; }
.sx-find__scenario {
  grid-area: scenario; margin-top: 1.2rem; padding: .9rem 1rem; border: 1px solid var(--rule-2); border-radius: var(--r-card);
  background: var(--surface-2); font-size: .93rem; line-height: 1.55; color: var(--fg-2);
}
.sx-find__scenario .label { display: block; margin-bottom: .35rem; }
.sx-find__proof { grid-area: proof; align-self: end; margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); display: grid; gap: .55rem; }
.sx-find__proof > div { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .75rem; align-items: baseline; }
.sx-find__proof dt { font-stretch: 125%; font-weight: 600; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.sx-find__proof dd { margin: 0; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.6; color: var(--fg-2); overflow-wrap: anywhere; }
.sx-find__proof code { color: var(--fg); }
.sx-find__fig {
  grid-area: fig; align-self: start; margin: 0; min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem); border-radius: 18px; border: 1px solid var(--rule); background: var(--paper);
}
.sx-find--ink .sx-find__fig { background: var(--ink-2); border-color: var(--line-d); }
.sx-fig__k { font-stretch: 125%; font-weight: 600; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.sx-prov { margin-top: .75rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.5; color: var(--fg-3); }
.sx-prov::before { content: "source · "; }

/* 01 · the instant: a step versus a ramp, then the two measured bars */
.sx-steps2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sx-mini { min-width: 0; }
.sx-mini__t { font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--fg-2); min-height: 2.8em; }
.sx-mini__t b { display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .66rem; color: var(--fg); }
.sx-mini__svg { display: block; width: 100%; height: auto; aspect-ratio: 250 / 150; margin-top: .45rem; overflow: visible; }
.sx-axis { stroke: var(--fg-3); stroke-width: 1; }
.sx-win { fill: var(--fg); fill-opacity: .07; stroke: var(--fg-3); stroke-width: 1; stroke-dasharray: 3 3; }
.sx-stepline, .sx-rate-ramp { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) .3s; }
.sx-stepline { stroke: var(--fg); }
.sx-rate-ramp { stroke: var(--rate); }
.sx-take { fill: none; stroke: var(--fg); stroke-width: 7; stroke-linecap: butt; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease) 1.8s; }
.js .sx-find:not(.is-in) .sx-stepline, .js .sx-find:not(.is-in) .sx-rate-ramp { stroke-dashoffset: 1; }
.js .sx-find:not(.is-in) .sx-take { transform: scaleY(0); }
.sx-mini__x { display: flex; justify-content: space-between; margin-top: .3rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-3); }
.sx-mini__x span:nth-child(2) { transform: translateX(-10%); }
.sx-mini__c { margin-top: .35rem; font-size: .84rem; line-height: 1.45; color: var(--fg-2); }
.sx-mini__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.1rem; margin-top: 1rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-2); }
.sx-mini__legend > span { display: inline-flex; align-items: center; gap: .45rem; }
.sx-mini__legend .illus-chip { background: transparent; }
.sx-lg-win { width: 14px; height: 12px; border: 1px dashed var(--fg-3); background: rgba(244, 239, 228, .07); display: inline-block; }
.sx-lg-rate { width: 16px; height: 3px; border-radius: 2px; background: var(--rate); display: inline-block; }
.sx-bars { display: grid; gap: 1.5rem; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); }
.sx-bar-row__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sx-bar-row__t { font-stretch: 125%; font-weight: 600; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.sx-bar-row__big { margin-top: .6rem; font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.sx-bar-row__big small { display: inline-block; margin-left: .45em; font-size: .4em; font-weight: 400; color: var(--fg-3); vertical-align: middle; }
.sx-bar { display: flex; height: 30px; margin-top: .7rem; border-radius: 6px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-d); }
.sx-bar__seg { height: 100%; transform-origin: 0 50%; transition: transform 1.4s var(--ease); }
.js .sx-find:not(.is-in) .sx-bar__seg { transform: scaleX(0); }
.sx-bar__keeper { background: repeating-linear-gradient(-45deg, rgba(244, 239, 228, .85) 0 6px, rgba(244, 239, 228, .6) 6px 9px); }
.sx-bar__holder { background: rgba(244, 239, 228, .22); transition-delay: .9s; }
.rate-sx-seg { background: var(--rate); transition-delay: .5s; }
.sx-bar-row__legend { display: flex; justify-content: space-between; gap: .3rem 1rem; flex-wrap: wrap; margin-top: .5rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-2); }

/* 02 · the floor: the price axis to scale */
.sx-floor__stage { position: relative; width: 100%; aspect-ratio: 520 / 250; }
.sx-floor__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.sx-floor__svg * { vector-effect: non-scaling-stroke; }
.sx-band { fill: var(--ink); fill-opacity: .07; }
.sx-twap { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 6 5; stroke-opacity: .75; }
.sx-floorline { stroke: var(--ink); stroke-width: 2.6; }
.sx-dumpmark { stroke: var(--ink); stroke-width: 1; stroke-opacity: .5; stroke-dasharray: 2 4; transition: opacity .5s var(--ease) 1.1s; }
.sx-spot { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.45, 0, .25, 1) .3s; }
.sx-need { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; transition: opacity .5s var(--ease) 2.5s; }
.sx-x { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; transition: opacity .4s var(--ease) 2.8s; }
.js .sx-find:not(.is-in) .sx-spot { stroke-dashoffset: 1; }
.js .sx-find:not(.is-in) .sx-dumpmark, .js .sx-find:not(.is-in) .sx-need, .js .sx-find:not(.is-in) .sx-x { opacity: 0; }
.sx-floor__labels { position: absolute; inset: 0; pointer-events: none; }
.sx-fl { position: absolute; display: block; font-family: var(--f-mono); font-size: 11px; line-height: 1.35; color: var(--t2); white-space: nowrap; }
.sx-fl b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sx-fl--floor, .sx-fl--twap, .sx-fl--rev { text-align: right; }
.sx-fl--band { font-size: 11px; color: var(--t3); }
.sx-fl--rev { white-space: normal; max-width: 9.5rem; }
.sx-fl--rev b { font-size: 12px; }
/* the dump's label hangs left of the drop, against it, in the empty space under the floor line: at
   59.4% it ran into "floor · unchanged" at 340-450 and 1030-1600 and into "harvest(1)" at 320-370 */
.sx-fl--dump { color: var(--t2); text-align: right; transform: translateX(-100%); margin-left: calc(-1.7% - 6px); }
.sx-fl--dump, .sx-fl--low, .sx-fl--rev { transition: opacity .5s var(--ease); }
.sx-fl--dump { transition-delay: 1.2s; }
.sx-fl--low { transition-delay: 2.2s; }
.sx-fl--rev { transition-delay: 2.9s; }
.js .sx-find:not(.is-in) .sx-fl--dump, .js .sx-find:not(.is-in) .sx-fl--low, .js .sx-find:not(.is-in) .sx-fl--rev { opacity: 0; }
.sx-floor__cap { margin-top: .7rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-2); }

/* 03 · rescue: two faces, one ledger */
.sx-faces { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; gap: 0; }
.sx-faces__tags { display: grid; gap: 1.6rem; }
.sx-face { display: flex; align-items: center; gap: .6rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.35; color: var(--fg-2); }
.sx-face b {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  border: 1.4px solid var(--ink); font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 1.1rem; color: var(--ink); background: var(--paper);
}
.sx-face:nth-child(2) b { border-style: dashed; }
.sx-faces__wires { width: 100%; height: 88px; overflow: visible; }
.sx-faces__wires path { fill: none; stroke: var(--ink); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.sx-faces__wires path:nth-child(2) { stroke-dasharray: 4 3; }
.sx-ledger { display: grid; gap: .2rem; justify-items: start; padding: .8rem .9rem; border: 1.4px solid var(--ink); border-radius: 14px; background: var(--paper-2); }
.sx-ledger__k { font-stretch: 125%; font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.sx-ledger__t { font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--t2); }
.sx-ledger .sx-stack { margin-top: .5rem; }
.sx-stack { display: inline-flex; flex-direction: column; gap: 3px; }
.sx-stack i { display: block; width: 46px; height: 8px; border-radius: 2px; background: var(--ink); }
.sx-rrows { display: grid; gap: .6rem; margin-top: 1.2rem; }
.sx-rrow {
  /* 4.2rem: "BEFORE" is 63 px in the webfont, it ran 5.4 px out of a 3.6rem column at 650-1600 */
  display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: .9rem; align-items: center;
  padding: .8rem .9rem; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper);
}
.sx-rrow.is-now { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sx-rrow__k { font-stretch: 125%; font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--t2); }
.sx-rrow__main { display: grid; gap: .2rem; min-width: 0; }
.sx-rrow__main code { font-family: var(--f-mono); font-size: var(--fs-mono-s); font-weight: 600; color: var(--ink); }
.sx-rrow__check { font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--t3); }
.sx-rrow__out { font-size: .88rem; line-height: 1.4; color: var(--t2); }
.sx-rrow__out b {
  display: inline-block; margin-right: .35rem; padding: .05rem .45rem; border-radius: 4px;
  font-family: var(--f-mono); font-size: var(--fs-mono-xs); font-weight: 600; background: var(--ink); color: var(--paper);
}
.is-before .sx-rrow__out b { background: transparent; color: var(--ink); border: 1px dashed var(--ink); }
/* before: the four layers of principal leave, one after the other; now: they stay */
.sx-stack--drain i { transition: transform .55s var(--ease), opacity .55s var(--ease); transition-delay: calc(var(--d, 0) * 160ms + 900ms); transform: translateX(48px); opacity: 0; }
.sx-stack--drain i:nth-child(1) { --d: 0; } .sx-stack--drain i:nth-child(2) { --d: 1; } .sx-stack--drain i:nth-child(3) { --d: 2; } .sx-stack--drain i:nth-child(4) { --d: 3; }
.js .sx-find:not(.is-in) .sx-stack--drain i { transform: none; opacity: 1; }
.sx-stack--drain { outline: 1px dashed var(--line-2); outline-offset: 3px; border-radius: 3px; }
.sx-stack--hold { outline: 1.4px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

/* 04 · coarse coins: the decimals ruler */
.sx-ruler { display: grid; grid-template-columns: repeat(19, minmax(0, 1fr)); gap: 3px; margin-top: .9rem; }
.sx-rc {
  position: relative; display: grid; justify-items: center; align-content: start; min-width: 0; padding: .45rem 0 .35rem;
  border: 1px solid var(--ink); border-radius: 5px; background: var(--paper);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 250ms);
}
.sx-rc b { font-family: var(--f-mono); font-size: 11px; font-weight: 600; line-height: 1.2; color: inherit; }
.sx-rc em { position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--t2); white-space: nowrap; }
.sx-rc:not(.is-no) { background: var(--ink); color: var(--paper); }
.sx-rc.is-no {
  border-style: dashed; border-color: var(--line-2); color: var(--t3);
  background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--line) 4px 5px);
}
.sx-rc.is-no b { text-decoration: line-through; text-decoration-thickness: 1px; }
.js .sx-find:not(.is-in) .sx-rc:not(.is-no) { background: var(--paper); color: var(--ink); transform: translateY(3px); }
.sx-ruler__key { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1.9rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--t2); }
.sx-ruler__key span { display: inline-flex; align-items: center; gap: .45rem; }
.sx-cell { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--ink); border: 1px solid var(--ink); }
.sx-cell.is-no { background: repeating-linear-gradient(-45deg, transparent 0 3px, var(--line-2) 3px 4px); border: 1px dashed var(--line-2); }
.sx-strand { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sx-strand__bar { display: grid; grid-template-columns: 1fr 1fr; height: 38px; margin-top: .7rem; border-radius: 7px; overflow: hidden; border: 1px solid var(--ink); }
.sx-strand__bar span { display: flex; align-items: center; padding: 0 .7rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); white-space: nowrap; overflow: hidden; }
.sx-strand__ok { background: var(--ink); color: var(--paper); }
.sx-strand__lost {
  color: var(--ink); justify-content: flex-end; border-left: 1px dashed var(--ink);
  background: repeating-linear-gradient(-45deg, transparent 0 5px, var(--line-2) 5px 6px);
  transition: opacity .6s var(--ease) 1.4s;
}
.js .sx-find:not(.is-in) .sx-strand__lost { opacity: 0; }
.sx-strand__note { margin-top: .5rem; font-size: .84rem; line-height: 1.45; color: var(--t2); }

/* 05 · inflation: the table, drawn */
.sx-infl__head, .sx-infl__row { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.sx-infl__head { padding-bottom: .6rem; border-bottom: 1px solid var(--line-2); font-stretch: 125%; font-weight: 600; font-size: .62rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.sx-infl__row { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.sx-infl__row.is-worst { margin-inline: -.6rem; padding-inline: .6rem; border-radius: 10px; border-bottom-color: transparent; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sx-infl__d b { display: block; font-family: var(--f-mono); font-size: .95rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sx-infl__d span { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--t3); }
.sx-infl__cell { min-width: 0; display: grid; gap: .35rem; }
.sx-meter { position: relative; display: block; height: 12px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.sx-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 1%); background: var(--ink); border-radius: 3px; transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.sx-meter--atk i { background: repeating-linear-gradient(-45deg, var(--ink) 0 3px, rgba(11, 13, 12, .45) 3px 5px); }
.sx-infl__row:nth-of-type(2) .sx-meter i { transition-delay: .3s; }
.sx-infl__row:nth-of-type(3) .sx-meter i { transition-delay: .55s; }
.sx-infl__row:nth-of-type(4) .sx-meter i { transition-delay: .8s; }
.js .sx-find:not(.is-in) .sx-meter i { transform: scaleX(0); }
.sx-infl__v { font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--t2); font-variant-numeric: tabular-nums; }
.sx-infl__v b { color: var(--ink); font-weight: 600; font-size: .78rem; }
.is-worst .sx-infl__cell:nth-child(2) .sx-infl__v { color: var(--ink); font-weight: 600; }
.sx-guard {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; align-items: center; margin-top: 1.2rem;
  padding: .9rem 1rem; border: 1.4px solid var(--ink); border-radius: 14px; background: var(--paper-2);
}
.sx-guard__svg { width: 64px; height: 40px; color: var(--ink); }
.sx-guard p { font-size: .9rem; line-height: 1.5; color: var(--t2); }
.sx-guard p b { color: var(--ink); font-weight: 650; }
.sx-guard code { font-family: var(--f-mono); font-size: .8em; color: var(--ink); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ 04 · the table of the 28 */
.sx-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.sx-filter label { position: relative; display: inline-flex; }
.sx-filter input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.sx-filter span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: .9rem; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.sx-filter label:hover span { border-color: var(--ink); }
.sx-filter input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sx-filter input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.sx-refuted:has(input[value="contract"]:checked) tbody tr:not([data-area~="contract"]),
.sx-refuted:has(input[value="keeper"]:checked) tbody tr:not([data-area~="keeper"]),
.sx-refuted:has(input[value="site"]:checked) tbody tr:not([data-area~="site"]) { display: none; }

.sx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-2); border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow-card); }
.sx-table { width: 100%; border-collapse: collapse; }
.sx-table th {
  text-align: left; padding: 1rem 1rem .8rem; border-bottom: 1px solid var(--line-2); background: var(--paper);
  font-stretch: 125%; font-weight: 600; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); white-space: nowrap;
}
.sx-table td { padding: 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sx-table tbody tr:last-child td { border-bottom: 0; }
.sx-table tbody tr { transition: background .2s; }
.sx-table tbody tr:hover { background: rgba(236, 229, 214, .55); }
.sx-t-n { width: 5.2rem; font-family: var(--f-mono); font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sx-t-f { width: 30%; font-weight: 600; font-size: .95rem; line-height: 1.4; color: var(--ink); }
.sx-t-v { width: 34%; font-size: .9rem; line-height: 1.5; color: var(--t2); }
.sx-t-p { font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.55; color: var(--t2); overflow-wrap: anywhere; }
.sx-t-p code { color: var(--ink); overflow-wrap: anywhere; word-break: break-word; }
.sx-areas { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.sx-areas i { font-style: normal; font-family: var(--f-mono); font-size: var(--fs-mono-xs); font-weight: 400; line-height: 1; padding: .25rem .45rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--t2); }
.sx-v {
  display: table; margin-bottom: .4rem; padding: .22rem .55rem; border-radius: 5px;
  font-family: var(--f-mono); font-size: var(--fs-mono-xs); font-weight: 600; line-height: 1.3;
  border: 1px solid var(--line-2); color: var(--ink); background: var(--paper-2);
}
.sx-v--fix { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sx-v--real { border-color: var(--ink); background: var(--paper); }
.sx-v--half { border-style: dashed; border-color: var(--ink); background: transparent; }
.sx-v--proved { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px var(--ink); background: var(--paper); padding: .3rem .6rem; }
.sx-red {
  display: inline-flex; align-items: center; gap: .3rem; margin-left: .5rem; padding: .12rem .4rem; border-radius: 4px;
  border: 1px solid var(--ink); font-family: var(--f-mono); font-size: var(--fs-mono-xs); font-weight: 600; color: var(--ink); white-space: nowrap; vertical-align: 1px;
}
.sx-red::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--ink); }
.sx-t-p .sx-red { display: table; margin: .45rem 0 0; }
.sx-refuted__foot { margin-top: 1rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.8; color: var(--t2); }
.sx-refuted__foot .sx-red { margin: 0 .35rem 0 0; }
.sx-refuted__foot code { color: var(--ink); }
/* rows arrive one after another */
.sx-table tbody tr { transition: opacity .45s var(--ease), transform .45s var(--ease), background .2s; }
.js .sx-refuted:not(.is-in) tbody tr { opacity: 0; transform: translateY(8px); }
.sx-table tbody tr:nth-child(1) { transition-delay: .05s; } .sx-table tbody tr:nth-child(2) { transition-delay: .09s; }
.sx-table tbody tr:nth-child(3) { transition-delay: .13s; } .sx-table tbody tr:nth-child(4) { transition-delay: .17s; }
.sx-table tbody tr:nth-child(5) { transition-delay: .21s; } .sx-table tbody tr:nth-child(6) { transition-delay: .25s; }
.sx-table tbody tr:nth-child(7) { transition-delay: .29s; } .sx-table tbody tr:nth-child(8) { transition-delay: .33s; }
.sx-table tbody tr:nth-child(n+9) { transition-delay: .37s; }
.sx-table tbody tr:hover { transition-delay: 0s; }

/* ------------------------------------------------------------ 05 · first pass */
.sx-first { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sx-fp { display: flex; flex-direction: column; padding: clamp(1.2rem, 2.2vw, 1.6rem); background: var(--paper-2); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.sx-fp:hover { transform: translateY(-2px); border-color: var(--rule-2); box-shadow: var(--shadow-lift); }
.sx-fp .sx-glyph { width: 48px; height: 48px; display: block; padding: 4px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); }
.sx-fp--ink .sx-glyph { background: var(--ink-3); border-color: var(--line-d); }
.sx-fp__h { margin-top: 1rem !important; font-stretch: 86%; font-weight: 760; font-size: 1.2rem; line-height: 1.15; }
:where(.sx-fp) p { font-size: .94rem; }
.sx-fp .sx-fp__c { margin-top: auto; padding-top: 1rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.5; color: var(--fg-3); overflow-wrap: anywhere; }
.sx-fp .sx-fp__c::before { content: ""; display: block; height: 1px; background: var(--rule); margin-bottom: .7rem; }
.sx-fp__c a { color: var(--fg); }
.sx-fp--ink .sx-fp__c { color: var(--d2); }

/* ------------------------------------------------------------ 06 · still on you (ink) */
.sx-limits .h2 { color: var(--d1); }
.sx-limits__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.sx-tol { margin: 0; padding: clamp(1rem, 2.2vw, 1.5rem); border: 1px solid var(--line-d); border-radius: var(--r-panel); background: var(--ink-2); }
.sx-tol__stage { position: relative; width: 100%; aspect-ratio: 520 / 220; }
.sx-tol__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sx-tol__svg * { vector-effect: non-scaling-stroke; }
.sx-tol__band { fill: var(--d1); fill-opacity: .07; }
.sx-tol__avg { stroke: var(--d1); stroke-width: 1.2; stroke-dasharray: 6 5; stroke-opacity: .8; }
.sx-tol__floor { stroke: var(--d1); stroke-width: 2.4; }
.sx-tol__spot { fill: none; stroke: var(--d2); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-io) .3s; }
.sx-tol__picks circle { fill: var(--d1); stroke: var(--ink-2); stroke-width: 3; }
.sx-tol__picks line { stroke: var(--d1); stroke-width: 1; stroke-dasharray: 2 3; }
.sx-tol__picks { transition: opacity .5s var(--ease) 2.2s; }
.js .sx-tol:not(.is-in) .sx-tol__spot { stroke-dashoffset: 1; }
.js .sx-tol:not(.is-in) .sx-tol__picks, .js .sx-tol:not(.is-in) .sx-tl--pick { opacity: 0; }
.sx-tol__labels { position: absolute; inset: 0; pointer-events: none; }
.sx-tl { position: absolute; font-family: var(--f-mono); font-size: 11px; line-height: 1.35; color: var(--d2); white-space: nowrap; }
.sx-tl--b { color: var(--d1); font-weight: 600; }
.sx-tl--pick { color: var(--d1); white-space: normal; max-width: 36%; transition: opacity .5s var(--ease) 2.4s; }
.sx-tol__cap { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; margin-top: .8rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }
.sx-tol__cap .illus-chip { background: transparent; }
.sx-left { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.sx-left li { position: relative; padding-left: 2.1rem; font-size: .98rem; line-height: 1.6; color: var(--d2); }
.sx-left li::before {
  content: "\00d7"; position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; border: 1px solid var(--line-d-2); font-family: var(--f-mono); font-size: .8rem; line-height: 1; color: var(--d1);
}
.sx-left li b { display: block; color: var(--d1); font-weight: 650; margin-bottom: .1rem; }

.sx-levers { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line-d); border-radius: var(--r-panel); background: var(--ink-2); }
.sx-levers__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem 2.5rem; align-items: end; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-d); }
.sx-levers__h { font-stretch: 80%; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.02; letter-spacing: -.012em; color: var(--d1); text-wrap: balance; }
.sx-levers__head p { font-size: .95rem; line-height: 1.55; color: var(--d2); }
.sx-rails { display: grid; }
.sx-railrow { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1rem 2rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-d); }
.sx-railrow__l b { display: block; font-weight: 650; font-size: .98rem; color: var(--d1); }
.sx-railrow__l span { display: block; margin-top: .1rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--d3); }
.sx-track { position: relative; height: 54px; margin-inline: 6px; }
.sx-track::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; border-radius: 2px; background: var(--line-d-2); }
.sx-track::after { content: ""; position: absolute; right: -1px; top: 20px; width: 2px; height: 14px; border-radius: 1px; background: var(--d2); }
.sx-track__fill { position: absolute; left: 0; top: 26px; height: 2px; width: calc(var(--p) * 100%); border-radius: 2px; background: var(--d1); transform-origin: 0 50%; transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 200ms); }
.sx-track__dot {
  position: absolute; top: 21px; left: calc(var(--p) * 100%); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--d1); box-shadow: 0 0 0 3px var(--ink-2); transition: transform .5s var(--ease), opacity .5s; transition-delay: calc(var(--i, 0) * 110ms + 800ms);
}
.sx-track__min, .sx-track__max, .sx-track__def { position: absolute; font-family: var(--f-mono); font-size: 11px; line-height: 1; white-space: nowrap; }
.sx-track__min { left: 0; bottom: 0; color: var(--d3); }
.sx-track__max { right: 0; bottom: 0; color: var(--d2); }
.sx-track__def { top: 2px; left: clamp(0px, calc(var(--p) * 100%), 100%); transform: translateX(-50%); color: var(--d1); font-weight: 600; }
.sx-railrow:nth-child(4) .sx-track__def, .sx-railrow:nth-child(5) .sx-track__def { transform: translateX(-30%); }
.js .sx-levers:not(.is-in) .sx-track__fill { transform: scaleX(0); }
.js .sx-levers:not(.is-in) .sx-track__dot { transform: scale(0); opacity: 0; }
.sx-pausebar { display: grid; grid-template-columns: 1fr 1fr; height: 40px; margin-inline: 6px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-d-2); }
.sx-pausebar span { display: flex; align-items: center; padding: 0 .8rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); white-space: nowrap; overflow: hidden; transition: opacity .6s var(--ease); }
.sx-pausebar__p { background: var(--d1); color: var(--ink); font-weight: 600; transition-delay: .9s !important; }
.sx-pausebar__c { color: var(--d2); border-left: 1px dashed var(--line-d-2); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--line-d) 6px 7px); transition-delay: 1.3s !important; }
.js .sx-levers:not(.is-in) .sx-pausebar span { opacity: 0; }
/* "pause · 72 h" keeps together, so a wrap never leaves "·" opening the second line ("no new pause"
   over "· 72 h" at 320); it is a run of text inside the label, not a bar half of its own */
.sx-pausebar span.sx-keep { display: inline; padding: 0; overflow: visible; white-space: nowrap; }
.sx-levers__more { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2.5rem; }
.sx-levers__more li { position: relative; padding-left: 1.1rem; font-size: .93rem; line-height: 1.55; color: var(--d2); }
.sx-levers__more li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--d1); }
.sx-levers__more li:last-child::before { background: transparent; border: 1px solid var(--d1); }
.sx-levers__more b { color: var(--d1); font-weight: 650; }

.sx-noaudit-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-panel);
  background: var(--paper); color: var(--ink);
}
.sx-noaudit-band__h { font-stretch: 62%; font-weight: 900; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: .92; letter-spacing: -.005em; text-transform: uppercase; }
.sx-noaudit-band__t { font-size: 1rem; line-height: 1.6; color: var(--t2); }

/* ------------------------------------------------------------ 07 · tests */
.sx-tests { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.sx-term pre { white-space: pre-wrap; }
.sx-suites { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line-d); }
.sx-suites span {
  display: inline-flex; align-items: center; height: 28px; padding: 0 .55rem; border-radius: 5px;
  border: 1px solid var(--line-d-2); font-family: var(--f-mono); font-size: 11px; color: var(--d2);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.sx-suites span.is-hot { background: var(--d1); border-color: var(--d1); color: var(--ink); font-weight: 600; }
.sx-suites span.is-fork { border-style: dashed; }
.sx-suites span.is-fork.is-hot { background: transparent; border-color: var(--d1); color: var(--d1); }
.sx-suites span:nth-child(n) { transition-delay: calc(var(--k, 0) * 40ms + 300ms); }
.js .sx-term:not(.is-in) .sx-suites span { opacity: 0; transform: translateY(6px); }
.sx-suites span:nth-child(1) { --k: 1; } .sx-suites span:nth-child(2) { --k: 2; } .sx-suites span:nth-child(3) { --k: 3; }
.sx-suites span:nth-child(4) { --k: 4; } .sx-suites span:nth-child(5) { --k: 5; } .sx-suites span:nth-child(6) { --k: 6; }
.sx-suites span:nth-child(7) { --k: 7; } .sx-suites span:nth-child(8) { --k: 8; } .sx-suites span:nth-child(9) { --k: 9; }
.sx-suites span:nth-child(10) { --k: 10; } .sx-suites span:nth-child(11) { --k: 11; } .sx-suites span:nth-child(12) { --k: 12; }
.sx-suites span:nth-child(13) { --k: 13; } .sx-suites span:nth-child(14) { --k: 14; } .sx-suites span:nth-child(15) { --k: 15; }
.sx-suites span:nth-child(16) { --k: 16; } .sx-suites span:nth-child(17) { --k: 17; }
.sx-suites__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; margin-top: .7rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }
.sx-suites__cap span { display: inline-flex; align-items: center; gap: .45rem; }
.sx-hot-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--d1); }
.sx-tests__side { display: grid; gap: 1rem; align-content: start; }
.sx-growth .h3 { margin-top: .45rem; }
.sx-growth__bars { display: grid; gap: .55rem; margin-top: 1.1rem; }
.sx-growth__row { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 2.6rem; gap: .7rem; align-items: center; }
.sx-growth__k { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--t3); }
.sx-growth__row b { font-family: var(--f-mono); font-size: .9rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sx-growth__bar { display: block; height: 16px; width: calc(var(--w) * 1%); border-radius: 3px; background: var(--ink); transform-origin: 0 50%; transition: transform 1s var(--ease) .3s; }
/* after: the same 303, then the 15 new tests hatched on the end */
.sx-growth__bar.is-after { background: linear-gradient(90deg, var(--ink) 0 95.28%, transparent 95.28%), repeating-linear-gradient(-45deg, var(--ink) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px var(--ink); transition-delay: .6s; }
.js .sx-growth:not(.is-in) .sx-growth__bar { transform: scaleX(0); }
.sx-growth__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem !important; }
.sx-growth__chips span { display: inline-flex; align-items: center; height: 26px; padding: 0 .6rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--ink); }
.sx-honest ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .7rem; }
.sx-honest li { font-size: .92rem; line-height: 1.55; color: var(--t2); padding-left: .9rem; border-left: 2px solid var(--line-2); }
.sx-honest li b { color: var(--ink); font-weight: 650; }
.sx-run { margin-top: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--paper); }
.sx-run pre { margin: .7rem 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; font-family: var(--f-mono); font-size: var(--fs-mono-s); line-height: 1.8; color: var(--ink); }
.sx-run pre span { color: var(--t3); }

.sx-cta__sub { margin-top: 1.1rem; max-width: 30rem; font-size: 1.05rem; line-height: 1.55; color: var(--d2); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .sx-first { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-railrow { grid-template-columns: 12rem minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .sx-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "press" "rest"; }
  .sx-hero__copy, .sx-hero__rest { padding-left: 0; }
  .sx-press { max-width: 44rem; margin-inline: auto; }
  .sx-hero__h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
  .sx-crash { grid-template-columns: minmax(0, 1fr); }
  .sx-find { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "fig" "scenario" "proof"; grid-template-rows: none; }
  .sx-find__fig { margin-top: 1.5rem; }
  .sx-limits__grid { grid-template-columns: minmax(0, 1fr); }
  .sx-tests { grid-template-columns: minmax(0, 1fr); }
  .sx-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .sx-rail li:nth-child(2)::before { display: none; }
}
@media (max-width: 760px) {
  .sx-levers__head { grid-template-columns: minmax(0, 1fr); }
  .sx-railrow { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .sx-levers__more { grid-template-columns: minmax(0, 1fr); }
  .sx-noaudit-band { grid-template-columns: minmax(0, 1fr); }
  /* the table becomes one card per finding */
  .sx-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
  .sx-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sx-table, .sx-table tbody { display: block; }
  .sx-table tbody { display: grid; gap: .6rem; }
  .sx-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .8rem; padding: 1rem; border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--paper); }
  .sx-table td { display: block; padding: 0; border: 0; width: auto; }
  .sx-t-n { grid-row: span 3; font-size: .8rem; padding-top: .15rem !important; white-space: normal; max-width: 3.4rem; }
  .sx-t-v, .sx-t-p { margin-top: .6rem; }
  .sx-t-p { padding-top: .6rem !important; border-top: 1px solid var(--line) !important; }
}
@media (max-width: 640px) {
  .sx-hero__grid { padding-top: 1.35rem; gap: 1.2rem; }
  .sx-hero__h1 { font-size: clamp(2.3rem, 11.2vw, 2.9rem); }
  .sx-hero__lede { font-size: 1rem; margin-top: .8rem; }
  .sx-press__labels .plabel i, .sx-press__labels .plabel.is-opt { display: none; }
  .sx-toc a { min-height: 44px; }
  .sx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-rail { grid-template-columns: minmax(0, 1fr); }
  .sx-rail li::before { display: none; }
  .sx-rail li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; }
  .sx-rail li > .sx-glyph { grid-row: span 3; }
  .sx-rail__n { margin-top: 0; }
  .sx-mx__grid--agents { gap: 2px; }
  .sx-mx__grid--finds { gap: 3px; }
  .sx-steps2 { gap: .7rem; }
  .sx-mini__c { font-size: .8rem; }
  .sx-find__proof > div { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .sx-floor__stage { aspect-ratio: 520 / 380; }
  .sx-fl--band, .sx-fl--twap { display: none; }
  .sx-faces { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
  .sx-face { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .sx-rrow { grid-template-columns: minmax(0, 1fr) auto; }
  .sx-rrow__k { grid-column: 1 / -1; }
  .sx-ruler { gap: 2px; }
  .sx-rc { padding: .4rem 0 .3rem; border-radius: 3px; }
  .sx-rc b { font-size: 11px; letter-spacing: -.04em; }
  .sx-infl__head { display: none; }
  .sx-infl__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: .6rem; }
  .sx-infl__d { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .5rem; }
  .sx-infl__cell::before { font-stretch: 125%; font-weight: 600; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
  .sx-infl__cell:nth-child(2)::before { content: "Victim, of 1,000"; }
  .sx-infl__cell:nth-child(3)::before { content: "Attacker, of its stake"; }
  .sx-guard { grid-template-columns: minmax(0, 1fr); }
  .sx-first { grid-template-columns: minmax(0, 1fr); }
  .sx-tol__stage { aspect-ratio: 520 / 300; }
  .sx-growth__row { grid-template-columns: 3rem minmax(0, 1fr) 2.4rem; }
}
/* small phones: the inflation table's two cells one above the other ("500,249.875063" is wider than
   half the row at 320-330 and ran 8 px across the card's edge) */
@media (max-width: 380px) {
  .sx-infl__row { grid-template-columns: minmax(0, 1fr); }
}
/* small phones: the before/now minis one above the other (their "time | harvest | +6 h" axes ran
   into each other at 320-360) */
@media (max-width: 370px) {
  .sx-steps2 { grid-template-columns: minmax(0, 1fr); }
}
/* phones: the floor chart's labels need room. A taller stage (the lines are drawn in %, so they
   stretch with it); the dump's label starts under the floor's; "reverted ·" keeps right of the
   drop and "quote after the dump" left of it (at 320 the stage is 212 px wide and all four ran
   into one another) */
@media (max-width: 480px) {
  .sx-floor__stage { aspect-ratio: 520 / 600; }
  .sx-fl--dump { margin-top: max(0px, calc(35px - 13.27%)); }
  .sx-fl--rev { max-width: calc(40.8% - 8px); }
  .sx-fl--rev b { margin-left: -1.5em; }
  .sx-fl--low { white-space: normal; max-width: 55%; }
  /* the 0-18 ruler in two rows, 0-9 over 10-18: nineteen cells across a phone were narrower than
     "10" (the numbers ran into each other and across their cells' edges at 320-375); the row gap
     holds the "min" hung under 4 */
  .sx-ruler { grid-template-columns: repeat(10, minmax(0, 1fr)); row-gap: 1.6rem; }
}
/* small phones: a bar label too long for its half wraps at a space inside the bar, it is not cut */
@media (max-width: 420px) {
  .sx-strand__bar span, .sx-pausebar span { white-space: normal; line-height: 1.15; padding-inline: .5rem; }
  .sx-pausebar span.sx-pausebar__c { display: block; align-content: center; }
  .sx-pausebar span.sx-keep { white-space: nowrap; padding-inline: 0; }
}

/* ------------------------------------------------------------ reduced motion: final states, no loops */
@media (prefers-reduced-motion: reduce) {
  .sx-sight, .sx-code .sx-hit, .sx-tray-fill, .sx-arm, .sx-no, .sx-tick, .sx-chip { animation: none !important; }
  .sx-tick { stroke-dashoffset: 0; }
  .sx-no { opacity: 1; }
  .sx-chip--a { opacity: 0; }
  .sx-chip--b { opacity: 1; transform: translate(466px, 440px) rotate(40deg); }
  .sx-rail li::before, .sx-mx__grid .sx-sq, .sx-stepline, .sx-rate-ramp, .sx-take, .sx-bar__seg, .sx-dumpmark, .sx-spot, .sx-need, .sx-x, .sx-fl,
  .sx-stack--drain i, .sx-rc, .sx-strand__lost, .sx-meter i, .sx-table tbody tr, .sx-fp, .sx-tol__spot, .sx-tol__picks, .sx-tl--pick,
  .sx-track__fill, .sx-track__dot, .sx-pausebar span, .sx-suites span, .sx-growth__bar { transition: none !important; }
  .sx-fp:hover { transform: none; }
}
