/* Tremaux website, proposed layout. What would move into Tremaux Brand:
   - Four grounds, so neighbouring sections always differ: stage (black), paper (white), mist (the palette's grey-200)
     and oxide (Tremaux red, once a page, for the moment that asks something of the reader).
   - Bento grids: tiles of different sizes and grounds where a section holds several equal ideas.
   - Markers on a path. The red square in the wordmark is the marker Trémaux left in the maze. On the page a marker
     only ever sits on a path and marks a place reached: the manifesto's parts and the junctions of the maze. Never
     on a label, a button, a card or a heading.
   - The nav folding earlier for six links, and the components Millar's copy needs (the pilot form, the contact band,
     the maze, the long-form manifesto). */

/* ---------- Tremaux red, and a step smaller for headings ----------
   Tremaux red is #8F2D38, on every ground: the brand's oxide-600 is set to it here, so everything that uses the brand
   red (the wordmark's full stop, the red band and tile, the maze and the manifesto's markers) follows. It is a deep red:
   10:1 on white, but 1.9:1 on black, so on the dark grounds it shows only as large shapes. Headings sit a step under
   the brand's web scale (display 88 to 72, headline 56 to 46, title 32 to 27 at the widest). */
:root, [data-theme="stage"] { --oxide-600: var(--red-dark); }
:root, [data-theme="stage"] { --accent: var(--oxide-600); }
/* One red everywhere, #8F2D38: a deep garnet, rich rather than bright, chosen by Millar. The lifted and lighter
   reds are set to it too. 8:1 on white; about 2.5:1 on black, so on the dark grounds it suits shapes and large type. */
/* Iron oxide: #A33A3A on the dark grounds, the deeper #6E2A2A on the light ones (light mode below, and the light
   sections of other pages). The marker squares and outlines use --mark; small red words use --red-text, which on
   dark is the brand's lifted red, so it meets WCAG AA (about 5.5:1 on ink, where #A33A3A is about 3:1). */
:root { --red-dark: #a33a3a; --red-light: #6e2a2a; --red-lift: #e2675a; }
:root, [data-theme] { --oxide-600: var(--red-dark); --oxide-400: var(--red-dark); --oxide-lift: var(--red-dark); --mark: var(--red-dark); }
[data-theme="paper"], [data-theme="mist"] { --oxide-600: var(--red-light); --oxide-400: var(--red-light); --oxide-lift: var(--red-light); --mark: var(--red-light); }
/* A moment's label is never red, even the time it was noticed. */
.tb-fs-eyebrow.tb-accent { color: var(--text-2); }
.tb-filmscene:not([data-theme]) .tb-fs-eyebrow.tb-accent { font-size: var(--fs-19); }
:root {
  /* Space above and below each section: about half the brand's, so sections sit closer together. */
  --web-section: clamp(56px, 6.5vw, 96px);
  /* Type: nine sizes and nothing between them. Body text is 16; 13 and 14 only for meta lines and labels; nothing
     under 12. The three fluid sizes go from one size of the scale to the next between a 768px and a 1440px screen:
     phones get the first, wide screens the second. The brand's fluid sizes are pointed at them. */
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-19: 19px; --fs-24: 24px; --fs-32: 32px; --fs-52: 52px;
  --fs-hero: clamp(40px, 5.6vw, 84px);
  --fs-display: clamp(var(--fs-32), 2.9762vw + 9.143px, var(--fs-52));   /* 32, then 52 */
  --fs-title: clamp(var(--fs-24), 1.1905vw + 14.857px, var(--fs-32));    /* 24, then 32 */
  --fs-lede: clamp(var(--fs-19), .744048vw + 13.28572px, var(--fs-24));       /* 19, then 24 */
  --fluid-display: var(--fs-display);
  --fluid-headline: var(--fs-title);
  --fluid-title: var(--fs-lede);
  --fluid-lead: var(--fs-lede);
  /* Corners: four. Pills and buttons; tags and small boxes; every card and panel; product frames. A box inside
     another takes the outer radius less the padding between them, never under 4px. The brand's tile radius is the
     card's. */
  --radius-chip: 999px; --radius-sm: 6px; --radius-card: 16px; --radius-frame: 22px;
  --radius-tile: var(--radius-card);
}
.tb-sys-h { font-size: var(--fs-title); }

/* ---------- Mist: a light grey ground, clearly apart from white ---------- */
[data-theme="mist"] {
  color-scheme: light;
  --ground: var(--grey-200);
  --ground-2: var(--white);
  --ground-3: var(--grey-100);
  --text: var(--ink-900);
  --text-2: var(--grey-600);
  --text-3: var(--grey-450);
  --line: rgba(11, 12, 14, 0.12);
  --accent: var(--oxide-600);
  --cta: var(--ink-900);
  --on-cta: var(--white);
  --frame-edge: rgba(11, 12, 14, 0.08);
  --spot: rgba(11, 12, 14, 0.05);
  --material: rgba(233, 234, 236, 0.8);
  --shadow-frame: 0 30px 80px rgba(11, 12, 14, 0.16), 0 8px 24px rgba(11, 12, 14, 0.08);
  --tb-show-stage: none;
  --tb-show-paper: block;
}
/* ---------- Oxide: Tremaux red as a ground, chalk words on it (5.5:1) ---------- */
[data-theme="oxide"] {
  color-scheme: dark;
  --ground: var(--oxide-600);
  --ground-2: rgba(0, 0, 0, 0.12);
  --ground-3: rgba(0, 0, 0, 0.2);
  --text: var(--chalk);
  --text-2: rgba(244, 244, 242, 0.88);
  --text-3: rgba(244, 244, 242, 0.6);
  --line: rgba(255, 255, 255, 0.24);
  --accent: var(--chalk);
  --cta: var(--chalk);
  --on-cta: var(--ink-900);
  --frame-edge: rgba(255, 255, 255, 0.16);
  --spot: rgba(255, 255, 255, 0.08);
  --material: rgba(143, 45, 56, 0.8);
  --tb-show-stage: block;
  --tb-show-paper: none;
}
body { margin: 0; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

/* ---------- Nav: six links fold into the menu below 1080px ---------- */
@media (max-width: 1080px) {
  .tb-nav-links { display: none; position: absolute; top: var(--web-nav); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-1) var(--web-gutter) var(--space-3); background: var(--ground); box-shadow: inset 0 -1px 0 var(--line); }
  .tb-nav-links a { padding: 12px 0; font-size: var(--fs-19); font-weight: 500; color: var(--text); }
  .tb-nav.tb-open .tb-nav-links { display: flex; }
  .tb-nav-menu { display: inline-flex; }
  .tb-nav-end { margin-left: auto; }
}

/* ---------- Plain words, then the strong ones ---------- */
.tb-lede strong, .px-strong-run strong { color: var(--text); font-weight: 600; }

/* ---------- Hero: the line above the tile, then the tile, together in the middle of the first screen ---------- */
/* The tile, the rolling line and the grey line fill the first screen, the grey line near its bottom. */
.px-hero { box-sizing: border-box; display: flex; align-items: stretch; min-height: calc(100svh - var(--web-nav)); padding-block: var(--space-3) 20px; }
.px-hero .tb-container { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; }
.px-hero-tile { box-sizing: border-box; width: 100%; max-width: 960px; padding: clamp(20px, 2.4vw, 34px) clamp(18px, 4vw, 56px); border-radius: var(--radius-tile); background: var(--ink-800); box-shadow: inset 0 0 0 1px var(--frame-edge); }
.px-hero h1 { color: var(--chalk); max-width: 19em; margin: 0 auto; font-size: clamp(1.9rem, 3.3vw, 3.25rem); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.px-hero .tb-lede { margin: var(--space-2) auto 0; max-width: 60ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; }
.px-hero .tb-actions { justify-content: center; margin-top: var(--space-3); }
/* Three short points under the buttons, at the subline's size, light, each after a small iron oxide square; stacked on
   phones. */
.px-hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.px-hero-trust li { display: flex; align-items: center; gap: 10px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.35; font-weight: 500; color: var(--chalk); }
.px-hero-trust li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--mark); }
/* Phones: small inline tags that wrap, centred, closer to the buttons. */
@media (max-width: 767px) {
  .px-hero-trust { gap: 6px 14px; margin-top: 12px; }
  .px-hero-trust li { gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
  .px-hero-trust li::before { width: 6px; height: 6px; }
}
/* Buttons to the demo (proposal.js, demoCtaWords): a small play icon, then the words; under 768px, the phone words. */
.px-demo-cta .px-demo-ico { width: .8em; height: .8em; margin-right: .3em; }
.px-cta-phone { display: none; }
.px-cta-wide { display: inline-flex; align-items: center; gap: inherit; }
@media (max-width: 767px) { .px-cta-wide { display: none; } .px-cta-phone { display: inline; } }

/* ---------- Scroll scenes: more of the screen for the app ----------
   The app takes nine of twelve columns and the window's height to within 72px, with the step marks under the words.
   On a narrow screen it runs edge to edge in a 6 by 5 frame (the proposal's brand-bundle.js), with the words below and
   no step marks, so the app has the room. The narrow rules are repeated here because the wide ones above would
   otherwise outrank the brand's. */
.tb-fs-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-6); }
.tb-filmscene.tb-reverse .tb-fs-grid { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
.tb-fs-stage .tb-frame { max-width: calc((100svh - var(--web-nav) - 72px) * var(--ar, 1.6)); }
.tb-fs-title { font-size: var(--fs-lede); }
/* Step 3 carries the idea of commitments, so its opening line is set larger than the other scenes' heads. */
/* Step 3 leads with its line about commitments, at the size of the other steps' headlines, on phones too. */
#measure .tb-fs-h { font-size: var(--fs-24); line-height: 1.08; letter-spacing: -.03em; }
@media (max-width: 900px) { #measure .tb-fs-head { display: block; padding-bottom: var(--space-2); } }
@media (max-width: 900px) {
  .tb-fs-ticks { display: none; }
  .tb-fs-grid, .tb-filmscene.tb-reverse .tb-fs-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); align-content: center; padding-bottom: var(--space-4); }
  .tb-fs-stage { margin-inline: calc(-1 * var(--web-gutter)); }
  .tb-fs-stage .tb-frame { max-width: max(calc(min(96px, 9svh) * var(--ar, 1.6)), calc((100svh - var(--web-nav) - var(--fs-copy, 200px) - 48px) * var(--ar, 1.6))); }
  .tb-fs-stage .tb-frame-screen { border-radius: 0; }
  .tb-fs-stage .tb-frame.tb-spotlit::before { display: none; }
}

/* The films player on a phone: the film edge to edge, the picker and controls kept in from the edges. */
@media (max-width: 640px) {
  .st-films .tb-films { margin-inline: calc(-1 * var(--web-gutter)); }
  .st-films .tb-films-picker, .st-films .tb-films-player { box-sizing: border-box; padding-inline: var(--web-gutter); }
  .st-films .tb-films-frame .tb-frame-screen { border-radius: 0; }
  .st-films .tb-films-frame.tb-spotlit::before { display: none; }
}

/* ---------- Bento: tiles of different sizes and grounds ----------
   Each tile carries its own ground (data-theme), so its words follow it. Flat colour, no borders or shadows. */
.px-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-2); }
.px-cell { min-width: 0; display: flex; }
.px-span-2 { grid-column: span 2; } .px-span-3 { grid-column: span 3; } .px-span-4 { grid-column: span 4; } .px-span-6 { grid-column: span 6; }
.px-b { box-sizing: border-box; flex: 1; display: flex; flex-direction: column; gap: var(--space-2); min-height: 220px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-tile); background: var(--ground); color: var(--text); }
.px-b h3 { margin: 0; font-size: var(--fluid-title); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.px-b-lg { min-height: 300px; }
.px-b-lg h3 { font-size: var(--fluid-headline); line-height: 1.04; letter-spacing: -.035em; }
.px-b > p, .px-b-copy > p { margin: 0; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.px-b-copy { display: flex; flex-direction: column; gap: var(--space-1); }
/* The wide tile: the title with its diagram under it on the left, the words on the right, no gaps between. */
.px-b-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: var(--space-2) var(--space-6); align-items: start; }
.px-b-row > h3 { grid-column: 1; grid-row: 1; }
.px-b-row > .px-b-copy { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) { .px-b-row { grid-template-columns: minmax(0, 1fr); } .px-b-row > .px-b-copy { grid-column: 1; grid-row: auto; } }
.px-b-lg > p, .px-b-lg .px-b-copy > p:first-child { font-size: var(--fluid-lead); line-height: 1.4; font-weight: 500; letter-spacing: -.015em; }
.px-b-row { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-4); }
.px-b-row > p, .px-b-row .px-b-copy { max-width: 34em; }

/* ---------- The product ---------- */
.px-fit { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: var(--space-1) var(--space-3); min-height: 0; }
.px-fit h3 { padding-top: 4px; font-size: 17px; color: var(--text-2); }
.px-fit .px-b-copy > p { max-width: 38em; }
.px-fit .px-b-copy > p:first-child { font-size: var(--fluid-lead); line-height: 1.4; font-weight: 500; letter-spacing: -.015em; color: var(--text); }
.px-key { margin-top: auto !important; padding-top: var(--space-2); box-shadow: inset 0 1px 0 var(--line); }
.px-chips { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1); }
.px-chips li { padding: 8px 14px; border-radius: var(--radius-chip); font-size: 15px; color: var(--text); background: var(--ground-2); }
.px-facts { list-style: none; margin: 0; padding: 0; }
.px-facts li { padding: 14px 0; box-shadow: inset 0 1px 0 var(--line); font-size: 19px; line-height: 1.35; color: var(--text-2); }
.px-facts li:first-child { box-shadow: none; padding-top: 0; }
.px-not { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2) var(--space-6); align-items: start; }
.px-not h3 { grid-column: 1 / -1; margin: 0; font-size: 17px; font-weight: 600; color: var(--text-2); }
.px-not .px-not-word { margin: 0; max-width: none; font-size: var(--fluid-display); line-height: .9; font-weight: 600; letter-spacing: -.045em; color: var(--oxide-lift); }
.px-not ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3); }
.px-not li { padding: 14px 0; box-shadow: inset 0 -1px 0 var(--line); font-size: var(--fluid-lead); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; }

/* ---------- How it works, in five steps: a path with a marker at each place reached ---------- */
.px-path { --notch: 18px; list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 5px; }
.px-path-step { position: relative; display: flex; min-width: 0; }
.px-path-step a { flex: 1; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-1); min-height: 0; padding: var(--space-4) calc(var(--notch) + 10px) var(--space-4) calc(var(--notch) + 14px); background: var(--ground-2); color: var(--text); text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%, var(--notch) 50%); transition: background var(--dur-base, 200ms) var(--ease-out); }
.px-path-step:first-child a { padding-left: 28px; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%); border-radius: 18px 0 0 18px; }
.px-path-step:last-child a { padding-right: 28px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--notch) 50%); border-radius: 0 18px 18px 0; background: var(--ground-3); color: var(--text); }
.px-path-step a:hover, .px-path-step a:focus-visible { background: var(--ground-3); }
.px-path-step:last-child a:hover, .px-path-step:last-child a:focus-visible { background: var(--ground-2); }
.px-path-n { font-size: clamp(34px, 3.2vw, 48px); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.px-path-name { margin-top: var(--space-4); padding-top: 0; font-size: var(--fluid-title); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.px-path-text { font-size: 15px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.px-path-step:last-child .px-path-text { color: var(--text-2); }
@media (max-width: 900px) {
  .px-path { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .px-path-step a, .px-path-step:first-child a, .px-path-step:last-child a { min-height: 0; padding: var(--space-3) 24px calc(var(--space-3) + 14px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px)); border-radius: 0; }
  .px-path-step:first-child a { border-radius: 16px 16px 0 0; }
  .px-path-step:last-child a { padding-bottom: var(--space-3); clip-path: none; border-radius: 0 0 16px 16px; }
  .px-path-name { margin-top: 0; padding-top: var(--space-1); }
}


.px-aside { position: sticky; top: calc(var(--web-nav) + var(--space-4)); display: flex; flex-direction: column; gap: var(--space-2); }
.px-aside h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--text-2); }
.px-aside ol { list-style: none; margin: 0; padding: 0; }
.px-aside li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-1); padding: var(--space-2) 0; box-shadow: inset 0 1px 0 var(--line); font-size: 19px; line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }
.px-aside li b { font-size: 15px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; padding-top: 2px; }

/* ---------- Talk to us ---------- */
.px-talk .tb-container { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-4) var(--space-6); }
.px-talk .tb-container > * + * { margin-top: 0; }
.px-talk-email { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.px-talk .st-email { font-size: var(--fluid-title); }

/* ---------- The name, and the maze ---------- */
.px-name { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); align-items: center; }
.px-name-copy > p { margin: var(--space-2) 0 0; max-width: 32em; font-size: 19px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.px-name-copy > p.px-said { color: var(--text); font-size: var(--fluid-lead); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
.px-name-copy .tb-cta { margin-top: var(--space-4); }
.px-maze-fig { margin: 0; }
.px-maze { display: block; width: 100%; height: auto; }
.px-maze .px-walls { fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: square; }
/* The route is walked at an even pace (--walk for the whole way), and each marker appears as the route reaches it:
   --d is how far along the route it is. */
.px-maze { --walk: 7000ms; }
.px-maze .px-route { fill: none; stroke: var(--mark); stroke-width: 2.5; stroke-linecap: butt; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--walk) linear 200ms; }
.px-maze .px-mark { fill: var(--mark); }
.px-maze .px-mark-step { opacity: 0; transition: opacity 160ms linear calc(200ms + var(--d) * var(--walk)); }
.px-maze.tb-in .px-route { stroke-dashoffset: 0; }
.px-maze.tb-in .px-mark-step { opacity: 1; }
.px-maze-fig figcaption { margin-top: var(--space-2); }
@media (prefers-reduced-motion: reduce) { .px-maze .px-route, .px-maze .px-mark-step { transition: none; } }
@media print { .px-maze .px-route { stroke-dashoffset: 0; } .px-maze .px-mark-step { opacity: 1; } }

/* ---------- Footer link ---------- */
.tb-footer a { color: var(--text); text-underline-offset: .2em; }

/* ---------- The manifesto: long-form on paper ---------- */
.tb-section.px-m-hero { box-sizing: border-box; min-height: calc(100svh - var(--web-nav)); display: flex; align-items: center; padding-block: clamp(32px, 5vw, 72px); }
.px-m-hero .tb-h-hero > h1, .px-m-hero .tb-h-hero > h2 { font-size: var(--fs-display); line-height: 1.02; }
.px-m-hero .tb-container > * + * { margin-top: var(--space-4); }
.px-m-statement { max-width: 24em; font-size: var(--fs-title); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; color: var(--text-2); text-wrap: balance; }
.px-m-intro { max-width: 38em; font-size: var(--fs-19); line-height: 1.5; font-weight: 500; letter-spacing: -.015em; color: var(--text-2); text-wrap: pretty; }
.px-m-intro p { margin: 0; }
.px-m-intro p + p { margin-top: var(--space-2); }
/* The parts hang from one line down the left. Its red trace follows the reader: --p is how far through the parts
   the middle of the window has reached (set by the page), and a part's number darkens once it is reached. */
/* The manifesto's body, a step smaller so more of each part is on screen at once. */
.px-parts { --p: 0; --rail-pad: 48px; position: relative; display: flex; flex-direction: column; gap: var(--space-8); padding-left: var(--rail-pad); }
.px-parts::before, .px-parts::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; }
.px-parts::before { background: var(--line); }
.px-parts::after { background: var(--mark); transform-origin: top; transform: scaleY(var(--p)); }
/* Each part is one column beside the line, no wider than its text: the label, the big line (its heading), the text. */
.px-part { position: relative; max-width: calc(38 * var(--fs-16)); }
/* A marker on the line at each part: a hollow square, then red once it is reached. */
.px-part::before { content: ""; position: absolute; left: calc(-1 * var(--rail-pad) - 4px); top: 4px; width: 10px; height: 10px; background: var(--ground); box-shadow: inset 0 0 0 1.5px var(--text-3); transition: background var(--dur-reveal) var(--ease-reveal), box-shadow var(--dur-reveal) var(--ease-reveal); }
.px-part.px-reached::before { background: var(--mark); box-shadow: none; }
/* The label: "01 · short title", small and muted, its capitals level with the marker; the big line 10px under it. */
.px-part-label { margin: -1px 0 10px; font-size: var(--fs-14); line-height: 1.4; font-weight: 600; color: var(--text-2); text-wrap: balance; }
.px-part-n { font-variant-numeric: tabular-nums; transition: color var(--dur-reveal) var(--ease-reveal); }
.px-reached .px-part-n { color: var(--text); }
.px-pull { margin: 0 0 var(--space-3); font-size: var(--fs-title); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.px-prose { max-width: 38em; }
.px-prose p { margin: 0; font-size: var(--fs-16); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.px-prose p + p { margin-top: 1em; }
.px-prose p.px-said { color: var(--text); font-weight: 600; }
.px-m-close { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; }
.px-m-close .tb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-6); }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .px-name, .px-m-close, .px-talk .tb-container { grid-template-columns: minmax(0, 1fr); }
  .px-not { grid-template-columns: minmax(0, 1fr); }
  .px-not ul { grid-template-columns: minmax(0, 1fr); }
  .px-fit { grid-template-columns: minmax(0, 1fr); }
  .px-aside { position: static; }
  .px-bento { grid-template-columns: minmax(0, 1fr); }
  .px-span-2, .px-span-3, .px-span-4, .px-span-6 { grid-column: auto; }
  .px-b, .px-b-lg { min-height: 0; }
  .px-parts { gap: var(--space-8); --rail-pad: 28px; }
  .px-name { gap: var(--space-6); }
  .px-maze-fig { max-width: 420px; }
}


/* ---------- The AI agents line, after Respond: headline left, answer right ---------- */
.px-agents { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; }
.px-agents-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.px-agents-copy p { margin: 0; max-width: 30em; font-size: var(--fluid-lead); line-height: 1.4; font-weight: 500; letter-spacing: -.015em; color: var(--text-2); }
.px-agents-copy .px-key { color: var(--text-2); }

/* ---------- A way to start, after the proof ---------- */

/* ---------- Trust (inside the Alongside block): four columns, each under a thin line, the note straight under them ---------- */
.px-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.px-trust-point { padding-top: var(--space-2); border-top: 1px solid var(--line); }
.px-trust-point h3 { margin: 0 0 6px; font-size: var(--fs-16); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.px-trust-point p { margin: 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
.px-trust-more { margin: var(--space-3) 0 0; max-width: 46em; font-size: var(--fs-14); line-height: 1.5; color: var(--text-2); }
@media (max-width: 900px) {
  .px-agents { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1180px) { .px-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: one column, since two of the points run past five lines in two columns at 390px. */
@media (max-width: 760px) {
  .px-trust { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .px-trust-point { padding-top: 10px; }
  .px-trust-more { margin-top: var(--space-2); font-size: var(--fs-14); }
}

/* ---------- Hero: a line only screen readers hear ---------- */
.px-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes px-fade { from { opacity: 0; } }

/* ---------- Red as a layer: numbers, labels and markers, never areas ----------
   Deep red on the light grounds; the brand's lighter oxide for small red on black, so it reads (5.6:1). */
:root, [data-theme="stage"] { --red-text: var(--red-lift); }
[data-theme="paper"], [data-theme="mist"] { --red-text: var(--oxide-600); }
[data-theme="oxide"] { --red-text: var(--chalk); }
/* Every section's label is plain small text in grey, as the home page's labels are: no pill, never red. 16px over
   its heading. */
.tb-eyebrow, .tb-headline .tb-eyebrow, .tb-fs-head .tb-eyebrow, .px-swipe-head .tb-eyebrow { display: block; max-width: 100%; margin: 0 0 var(--space-2); padding: 0; border-radius: 0; background: none; box-shadow: none; font-size: var(--fs-14); line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.tb-center .tb-eyebrow { margin-inline: auto; }
.px-path-n { color: var(--oxide-600); }
.px-path-step:last-child .px-path-n { color: var(--oxide-600); }
.px-fit > h3, .px-not h3 { color: var(--red-text); }
.px-aside ol b { color: var(--red-text); }

/* ---------- Who it is for: a lead line, three points and a note ---------- */
.px-fit-points { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: 10px; }
.px-fit-points li { position: relative; padding-left: 22px; max-width: 40em; font-size: 17px; line-height: 1.45; color: var(--text); }
.px-fit-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--oxide-600); }
.px-fit .px-b-copy > p.px-fit-note { margin-top: var(--space-2); font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* ---------- Alongside your systems, inside the product ---------- */
.px-agents-tile .px-agents { width: 100%; align-items: start; }
.px-agents-tile .tb-eyebrow { margin: 0 0 var(--space-2); font-size: 15px; font-weight: 600; }
.px-agents-h { margin: 0; max-width: 16em; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.px-agents-tile .px-agents-copy p { font-size: 17px; line-height: 1.5; }
.px-agents-tile .px-key { margin-top: var(--space-1) !important; padding-top: var(--space-2); }
@media (max-width: 900px) { .px-agents-tile .px-agents { gap: var(--space-3); } }

/* A scene moment's small line under its text (Step 1: everyone signs in as themselves). */
.tb-fs-small { margin: var(--space-2) 0 0; font-size: var(--fs-14); line-height: 1.45; font-style: italic; color: var(--text-2); }

/* ---------- Who is building it, at the end of Trust: two columns ---------- */
.px-team { margin-top: var(--space-8); padding-top: var(--space-4); box-shadow: inset 0 1px 0 var(--line); }
.px-team-label { margin: 0 0 var(--space-1); font-size: 15px; font-weight: 600; color: var(--red-text); }
.px-team-title { margin: 0 0 var(--space-4); font-size: var(--fluid-headline); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.px-team-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-8); }
.px-team-cols h4 { margin: 0 0 var(--space-1); font-size: var(--fluid-title); font-weight: 600; letter-spacing: -.02em; color: var(--red-text); }
.px-team-cols p { margin: 0; max-width: 32em; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.px-team-more { margin: var(--space-6) 0 0; max-width: 46em; font-size: var(--fluid-lead); line-height: 1.4; font-weight: 500; color: var(--text-2); }
.px-team-more a { color: var(--text); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 760px) { .px-team-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- How it works: the loop from Improve back to Respond ---------- */
.px-path-wrap { position: relative; }
/* A bracket from the middle of the last card back to the middle of card 4: down, along, up into an arrowhead. Six
   cards share the row with 5px gaps, so a card is (100% - 25px) / 6 wide. */
.px-return { position: relative; height: 34px; margin: 10px calc((100% - 25px) / 12) 0 calc((100% - 25px) / 6 * 3.5 + 15px); border: 1.5px solid var(--oxide-600); border-top: 0; border-radius: 0 0 14px 14px; }
.px-return::before { content: ""; position: absolute; left: -6.5px; top: -3px; width: 10px; height: 10px; border-left: 1.5px solid var(--oxide-600); border-top: 1.5px solid var(--oxide-600); transform: rotate(45deg); }
.px-return span { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); padding: 0 10px; background: var(--ground); font-size: 14px; font-weight: 600; line-height: 18px; color: var(--oxide-600); white-space: nowrap; }
.px-return-m { display: none; margin: var(--space-2) 0 0; font-size: 15px; font-weight: 600; color: var(--oxide-600); }
@media (max-width: 900px) { .px-return { display: none; } .px-return-m { display: block; } }

/* The wordmark's square sits on the baseline, its base level with the base of the x (the full stop glyph sat low). */
.tb-wordmark i { display: inline-block; width: .19em; height: .19em; margin-left: .05em; overflow: hidden; vertical-align: baseline; color: transparent; background: var(--mark);  transform: translateY(.016em);}


/* ---------- The product, compact ---------- */
/* Product: a step bigger inside the two grey tiles, the Alongside headline centred against its words, and room under the title. */

/* ---------- Each step's label and line, bigger and the same on every step ---------- */
.tb-fs-h, #measure .tb-fs-h { font-size: var(--fs-24); line-height: 1.15; letter-spacing: -.02em; }
/* Product: the tile labels read as headings. */

/* Stops in the pinned steps (proposal.js, FilmSceneOf): the page settles on each moment, so a quick scroll shows one at a
   time. Each stop is placed where its moment is in full view: a share (--f) of the scene's pinned travel (its height
   less one screen), below the bar the page keeps clear at the top. */
html { scroll-snap-type: y proximity; }
.px-stops { position: relative; }
.px-stop { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none;
  top: calc(var(--f) * (100% - 100vh) + var(--web-nav)); scroll-snap-align: start; scroll-snap-stop: always; }
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }

/* Tremaux Trace (trace-mark.js). Its red is the wordmark square's; its faint branch the dim grey on light grounds and
   the muted grey on dark ones. Set on every themed block, so a dark band inside a light page takes its own. */
:root, [data-theme] { --trace-acc: var(--mark); --trace-faint: var(--text-2); }
[data-theme="paper"], [data-theme="mist"] { --trace-faint: var(--text-3); }
.tx-trace-mark { display: block; flex: none; }
/* How it works, Learn: the name in ink, then the name beside the mark as its label. */
.px-path-text .px-trace-name { font-weight: 500; color: var(--text); }
.px-trace-label { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: var(--space-3); font-size: 13.5px; line-height: 1; font-weight: 500; color: var(--text); }
/* The capsule under a scene's words (Step 6, Next time). */
.px-trace-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; margin: var(--space-4) 0 0; padding: 0 13px 0 10px;
  border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-14); line-height: 1; font-weight: 500; color: var(--text); white-space: nowrap; }

/* ---------------- phones (760px and narrower) ----------------
   The home page at about a third of its old length on a phone. Above 760px nothing here applies, except that the
   one-line "Alongside your systems" (shown only on phones) is hidden. */
@media (max-width: 760px) {
  /* A step: heading, one window that swipes, squares for where you are, and the frame's words. */
  .px-swipe { background: var(--ground); color: var(--text); }
  .px-swipe-in { padding: var(--space-8) var(--web-gutter); }
  .px-swipe-head h2 { margin: 0; font-size: var(--fs-24); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
  .px-swipe-head .tb-sub { color: var(--text-2); font-weight: 500; }
  .px-swipe-list { list-style: none; display: flex; gap: 8px; margin: var(--space-4) calc(-1 * var(--web-gutter)) 0; padding: 0 var(--web-gutter);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--web-gutter); scrollbar-width: none; }
  .px-swipe-list::-webkit-scrollbar { display: none; }
  .px-swipe-list:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
  .px-swipe-item { flex: 0 0 calc(100vw - var(--web-gutter) - 32px); scroll-snap-align: start; scroll-snap-stop: always; }
  /* Each card as tall as its own content: no empty card below a short screen. */
  .px-swipe-list { align-items: flex-start; overflow-y: hidden; transition: height 240ms var(--ease-out); }
  @media (prefers-reduced-motion: reduce) { .px-swipe-list { transition: none; } }
  .px-swipe-screen { height: auto; }

  /* The phone screens (phone-screens.js): a small card in the app's manner, at a size a phone can read. */
  .ps { box-sizing: border-box; padding: 14px 16px 16px; border-radius: var(--radius-card); background: var(--ground-2); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-14); line-height: 1.4; color: var(--text); }
  [data-theme="stage"] .ps { background: var(--ground-3); }
  .ps-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -14px -16px 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-13); font-weight: 600; color: var(--text-2); }
  .ps-h { margin: 0 0 10px; font-size: var(--fs-16); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
  .ps-q { margin: 10px 0 6px; font-size: var(--fs-16); line-height: 1.35; font-weight: 600; }
  .ps-sub { margin: 4px 0 10px; color: var(--text-2); }
  .ps-note { margin: 10px 0 0; font-size: var(--fs-13); color: var(--text-2); }
  .ps-label { margin: 12px 0 4px; font-size: var(--fs-13); font-weight: 600; color: var(--text-2); }
  .ps b { font-weight: 600; }
  .ps small { display: block; font-size: var(--fs-13); line-height: 1.35; color: var(--text-2); }
  .ps-list { list-style: none; margin: 0; padding: 0; display: grid; }
  .ps-list > li { padding: 8px 0; border-top: 1px solid var(--line); }
  .ps-list > li:first-child { border-top: 0; padding-top: 0; }
  .ps-tight > li { padding: 5px 0; border-top: 0; }
  .ps-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .ps-row > div { min-width: 0; }
  .ps-line { display: flex; align-items: flex-start; gap: 8px; }
  .ps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .ps-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 3px 9px; border-radius: var(--radius-chip); background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-12); font-weight: 600; color: var(--text-2); white-space: nowrap; }
  .ps-chip.ps-signal { background: none; box-shadow: inset 0 0 0 1px var(--mark); color: var(--red-text); }
  .ps-chip.ps-ok { color: var(--text-2); }
  .ps-chip.ps-trace { margin-top: 12px; color: var(--text); }
  .ps-tick { position: relative; flex: none; width: 15px; height: 15px; margin-top: 2px; border-radius: var(--radius-chip); background: var(--text); }
  .ps-tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 3px; height: 6px; border: solid var(--ground); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
  .ps-red { color: var(--red-text) !important; }
  /* A record id on a phone screen (PO 4500812): at normal spacing and in its own case. */
  .ps-mono { font-size: var(--fs-12); font-weight: 400; letter-spacing: 0; }
  .ps-big { font-size: var(--fs-24); font-weight: 600; letter-spacing: -.02em; }
  .ps-sq { flex: none; width: 7px; height: 7px; margin-top: 6px; background: var(--text-3); }
  .ps-sq.ps-on { background: var(--mark); }
  .ps-trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
  .ps-trail li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; align-items: baseline; }
  .ps-trail .ps-when { font-size: var(--fs-13); color: var(--text-2); font-variant-numeric: tabular-nums; }
  .ps-trail .ps-ghost b { font-weight: 500; color: var(--text-2); }
  .ps-trail li > div { display: flex; flex-wrap: wrap; column-gap: 8px; align-items: baseline; }
  .ps-trail small { display: inline; }
  .ps-answer { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
  .ps-answer.ps-picked { background: var(--text); color: var(--ground); box-shadow: none; }
  .ps-answer.ps-picked .ps-tick { background: var(--ground); }
  .ps-answer.ps-picked .ps-tick::after { border-color: var(--text); }
  .ps-card { margin-top: 10px; padding: 10px 12px; border-radius: 4px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
  .ps-recs { display: grid; gap: 8px; }
  .ps-rec { padding: 10px 12px; border-radius: 4px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
  .ps-rec b { display: block; margin-top: 4px; font-size: var(--fs-16); }
  .ps-rec.ps-marked { box-shadow: inset 0 0 0 2px var(--mark); }
  .ps-pill { justify-self: start; padding: 6px 12px; border-radius: var(--radius-chip); background: var(--accent); color: var(--on-accent); font-size: var(--fs-14); font-weight: 600; }
  .ps-quote { margin: 3px 0; font-size: var(--fs-16); line-height: 1.35; font-weight: 500; }
  .ps-bar { margin-top: 12px; padding: 10px 12px; border-radius: 4px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
  .ps-bar.ps-slip { box-shadow: inset 0 0 0 2px var(--mark); }
  .ps-split { display: flex; height: 8px; margin: 8px 0 6px; border-radius: var(--radius-chip); overflow: hidden; background: var(--line); }
  .ps-split i { display: block; height: 100%; background: var(--text); }
  .ps-split i.ps-cost { background: var(--text-3); }
  .ps-split i.ps-miss { background: var(--mark); }
  .ps-btns { display: flex; gap: 8px; margin-top: 14px; }
  .ps-btn { padding: 8px 14px; border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-14); font-weight: 600; }
  .ps-btn.ps-primary { background: var(--text); color: var(--ground); box-shadow: none; }
  .ps-done { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-13); font-weight: 600; }
  /* The material story's extra parts: the conflict under the steps, what was learned, and next time's lessons. */
  .ps-sub.ps-tight-p { margin: 6px 0 4px; color: var(--text); }
  .ps-label.ps-first { margin-top: 0; }
  .ps-gap-top { margin-top: 8px; }
  .ps-learn { display: flex; align-items: flex-start; gap: 10px; }
  .ps-learn .ps-tick { width: 20px; height: 20px; margin-top: 1px; }
  .ps-learn .ps-tick::after { left: 7px; top: 4px; width: 4px; height: 8px; }
  .ps-learn small { margin-top: 3px; }
  .ps-outcome { display: grid; gap: 10px; padding-top: 6px; }
  .ps-big-line { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-19); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
  .ps-big-line .ps-tick { width: 20px; height: 20px; margin: 0; }
  .ps-big-line .ps-tick::after { left: 7px; top: 4px; width: 4px; height: 8px; }
  .px-swipe-dots { display: flex; gap: 2px; margin-top: var(--space-2); }
  .px-swipe-dot { all: unset; box-sizing: border-box; width: 24px; height: 24px; display: grid; place-items: center; cursor: pointer; }
  .px-swipe-dot::before { content: ""; width: 8px; height: 8px; background: var(--text-3); opacity: .5; }
  .px-swipe-dot.px-on::before { background: var(--mark); opacity: 1; }
  .px-swipe-dot:focus-visible { outline: 2px solid var(--text); }
  .px-swipe-cap { display: grid; margin-top: var(--space-4); }
  .px-swipe-capi { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
  .px-swipe-capi.px-on { visibility: visible; opacity: 1; }
  .px-swipe-eyebrow { margin: 0 0 4px; font-size: var(--fs-14); font-weight: 600; color: var(--text-2); }
  .px-swipe-cap h3 { margin: 0; font-size: var(--fs-19); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
  .px-swipe-cap p { margin: 6px 0 0; font-size: var(--fs-16); line-height: 1.45; color: var(--text-2); }
  .px-swipe-cap .px-trace-chip { margin-top: var(--space-3); }

  /* How it works: a numbered list, no cards. */
  .px-path { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: var(--space-4); }
  .px-path-step a, .px-path-step:first-child a, .px-path-step:last-child a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; padding: 0; min-height: 0; background: none; clip-path: none; border-radius: 0; }
  .px-path-n { font-size: 16px; line-height: 1.35; font-weight: 500; letter-spacing: 0; color: var(--red-text); }
  .px-path .px-path-step .px-path-name { margin: 0; padding: 0; font-size: 16px; line-height: 1.35; font-weight: 500; }
  .px-path .px-path-step a { row-gap: 2px; }
  .px-path-text { grid-column: 2; font-size: 14px; line-height: 1.4; color: var(--text-2); }
  .px-path-text .px-trace-name { font-weight: 400; color: var(--text-2); }
  .px-trace-label { display: none; }
  .px-return-m { margin-top: var(--space-3); }


  /* The product: the heading, who it is for, and Alongside your systems in one line. */

}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .px-swipe-list { scroll-behavior: smooth; }
  .px-swipe-capi { transition: opacity .2s, visibility .2s; }
}
@media (max-width: 760px) {
  .ps-more { all: unset; box-sizing: border-box; display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border-radius: 4px; text-align: center; cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-14); font-weight: 600; color: var(--text); }
  .ps-more:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
}
/* The logo in the top bar at 30px, on every screen (the brand sets 19px on the element itself, hence !important). */
.tb-nav .tb-nav-in > .tb-wordmark { font-size: 30px !important; }

/* The demo (proposal.js, DemoPlayer): before it starts, a row under the window with Play and Step through; then the
   line under the window saying what just happened, and Back, Next and the step count with Play or Pause. Full screen
   in both. */
.px-demo-player { width: var(--frame-w); max-width: 100%; margin-inline: auto; }
.px-demo-frame .tb-frame-screen { position: relative; }
.px-demo-start-btns { display: flex; gap: var(--space-2); }
/* The control bar, joined to the window (proposal.js, DemoPlayer): the same width, a hairline between them, the
   window's bottom corners square and the bar's rounded. Its ground is the block's raised one. */
.px-demo-unit { border-radius: var(--radius-frame); box-shadow: var(--shadow-frame); }
.px-demo-unit .tb-frame-screen { border-radius: var(--radius-frame) var(--radius-frame) 0 0; box-shadow: 0 0 0 1px var(--frame-edge); }
.px-demo-bar { position: relative; display: grid; gap: 8px; padding: 10px 16px 12px; border-radius: 0 0 var(--radius-frame) var(--radius-frame); background: var(--ground-2); box-shadow: 0 0 0 1px var(--frame-edge); }
/* The step's line: up to two lines, and always that tall, so the controls under it never move. */
.px-demo-cap { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.8em; margin: 0; font-size: var(--fs-16); line-height: 1.4; font-weight: 500; color: var(--text); }
.px-demo-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-3); }
.px-demo-pair { display: flex; gap: 6px; }
.px-demo-btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-chip); background: transparent; box-shadow: inset 0 0 0 1px var(--text-2); color: var(--text); font: 500 14px/1 var(--font-sans); cursor: pointer; }
.px-demo-btn:first-child { padding-left: 10px; }
.px-demo-btn:last-child { padding-right: 10px; }
.px-demo-btn:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--text); }
/* Back on step 1: greyed and not clickable, its label hidden but its space kept. */
.px-demo-btn:disabled { opacity: .4; cursor: default; }
.px-demo-btn:first-child:disabled .px-demo-btn-l { visibility: hidden; }
.px-demo-ico { flex: none; }
/* The steps as a thin line: done in ink, the step you are on a small red square, a click goes to a step. */
.px-demo-progress { display: flex; align-items: center; gap: 12px; min-width: 0; }
.px-demo-line { position: relative; flex: 1; height: 24px; cursor: pointer; }
.px-demo-line::before, .px-demo-done { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: var(--radius-chip); }
.px-demo-line::before { right: 0; background: var(--line); }
.px-demo-done { width: calc(var(--done) * 100%); background: var(--text); transition: width 120ms linear; }
.px-demo-here { position: absolute; top: 50%; left: calc(var(--done) * 100%); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--mark); transition: left 120ms linear; }
.px-demo-count { flex: none; font-size: var(--fs-13); color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.px-demo-play { min-width: 104px; height: 36px; gap: 6px; }
.px-demo-btn:focus-visible, .px-demo-line:focus-visible, .px-demo-play:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.px-demo-line:focus-visible { border-radius: var(--radius-sm); }
@media (max-width: 760px) { .ps-avail { flex: none; font-size: var(--fs-13); color: var(--text-3); } .ps-done .ps-sq { margin-top: 0; } }

/* The cookie banner (consent.js): at the foot of the window until the visitor chooses; Reject and Accept the same size. */
.tx-consent { position: fixed; z-index: 1000; left: 50%; bottom: 16px; transform: translateX(-50%); box-sizing: border-box; width: min(620px, calc(100% - 32px));
  display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: var(--radius-card); background: var(--banner-bg); color: var(--banner-text);
  box-shadow: 0 0 0 1px var(--banner-line), var(--banner-shadow); font-family: var(--font-sans); }
.tx-consent p { margin: 0; flex: 1; font-size: var(--fs-14); line-height: 1.45; color: var(--banner-text-2); }
.tx-consent-btns { display: flex; gap: 8px; flex: none; }
.tx-consent-btn { min-width: 84px; height: 38px; padding: 0 16px; border: 0; border-radius: var(--radius-chip); font: 600 14px/1 var(--font-sans); cursor: pointer; }
.tx-consent-reject { background: transparent; color: var(--banner-text); box-shadow: inset 0 0 0 1px var(--banner-btn-line); }
.tx-consent-accept { background: var(--banner-text); color: var(--banner-bg); }
.tx-consent-btn:focus-visible { outline: 2px solid var(--banner-text); outline-offset: 2px; }
@media (max-width: 560px) { .tx-consent { flex-direction: column; align-items: stretch; gap: 12px; } .tx-consent-btns > * { flex: 1; } }
.px-cookie-link { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.px-cookie-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* The privacy notice beside it, underlined the same way. */
footer a.px-privacy-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* The footer's links two by two from its left edge, 48px between the columns and the rows close, at every width. */
.px-foot-links { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; justify-items: start; gap: 4px var(--space-6); }
.tb-footer .px-foot-links > * { line-height: 1.6; }
/* ---------- The footer (proposal.js: Foot) ----------
   The same on every page: four columns (two by two on tablets, one under another on phones), headings in the small
   label style, links in grey and underlined in the text colour under the pointer or the keyboard; then the bar under
   a hairline. Any notes of the page's own (Pricing's) sit over the columns. */
.px-foot { padding-block: clamp(40px, 5vw, 64px) 24px; font-size: var(--fs-14); }
.px-foot-notes { margin-bottom: 28px; }
.px-foot-notes p { margin: 0 0 6px; max-width: 90ch; font-size: var(--fs-13); line-height: 1.5; color: var(--text-2); }
.px-foot-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.px-foot-brand .tb-wordmark { color: var(--text); }
.px-foot-brand p { margin: 12px 0 0; max-width: 18em; font-size: var(--fs-14); line-height: 1.5; color: var(--text-2); }
.px-foot-h { margin: 0 0 14px; font-size: var(--fs-12); line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.px-foot-col ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.px-foot-col > p { margin: 0 0 14px; }
.px-foot a:not(.tb-cta), .px-foot .px-cookie-link { color: var(--text-2); font-size: inherit; line-height: 1.5; text-decoration: none; }
.px-foot a:not(.tb-cta):is(:hover, :focus-visible), .px-foot .px-cookie-link:is(:hover, :focus-visible) { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.px-foot .tb-cta { line-height: 1; }
.px-foot .tb-cta:hover { text-decoration: none; }
.px-foot-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: clamp(32px, 4vw, 48px); padding-top: 16px; box-shadow: inset 0 1px 0 var(--line); font-size: var(--fs-13); color: var(--text-2); }
.px-foot-bar p { margin: 0; }
@media (max-width: 1023px) { .px-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .px-foot-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 760px) { .px-swipe-cap .px-swipe-small { margin-top: 6px; font-size: var(--fs-14); font-style: italic; } }


.px-pill { justify-self: start; display: inline-flex; margin: 0 0 var(--space-2); padding: 5px 12px; border-radius: var(--radius-chip); background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-13); font-weight: 600; color: var(--text-2); }

/* The pilot form's heading in Tremaux red. */
#apply .tb-headline h2 { color: var(--red-text); }
/* The mazes sized to the words beside them: on the home page as tall as the name's text, on the manifesto smaller. */
#name .px-maze-fig { width: 100%; max-width: 360px; justify-self: center; }
.px-m-close .px-maze-fig { width: 100%; max-width: 300px; justify-self: center; }

/* ---------- The demo, on its own page (proposal.js, DemoPage) ---------- */
/* The How it works page: its head over Step 1, and the pilot button after the demo, centred; each as much room under
   it as over it. */
.px-how-head.tb-section { padding-block: var(--web-section); }
/* Under the demo: the button clear of the demo's edge (at least 48px, as the pricing close keeps it), then the pilot line. */
.tb-section.px-how-end { padding-block: max(48px, calc(var(--web-section) / 2)); }
.px-how-close { display: grid; justify-items: center; gap: var(--space-3); text-align: center; }
.px-how-prefer { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.px-how-prefer .tb-cta { font-size: 17px; }
.px-how-close .tb-actions { justify-content: center; margin: 0; }
.px-how-close .px-start-pilot { margin: 0; }
.px-how-phone-demo { display: none; }
@media (max-width: 767px) { .px-how-prefer { display: none; } .px-how-phone-demo { display: inline-flex; } }


/* ---------- Hero: the line under the tile whose last words take turns (proposal.js, Hero, RollSlot) ---------- */
/* About two thirds the size of the heading in the tile, on one line at every width (the size comes down on a phone).
   "Less" in white, then the red words in a slot of fixed width; "Less" and the slot are centred together on the tile,
   so "Less" never moves, the short words sit a little left of centre and the long ones a little right. A clear gap
   above it, wider than the tile's own padding under its buttons; under it, a grey line in the tile's own size. */
.px-roll {
  /* The slot's width, set by eye: about the average width of the six phrases (downtime. 4.5em, firefighting.
     4.81em, rushed freight. 6.28em, safety stock. 5.47em, waste. 2.78em, friction. 3.32em). Nudge it to move the
     balance. */
  --roll-balance: 4.52em;
  /* The whole line moved a little right of centre, set by eye (8px on a phone, below). */
  --roll-nudge: 16px;
  margin: clamp(64px, 7.2vw, 104px) 0 0; transform: translateX(var(--roll-nudge));
  /* About 1.3 times two thirds of the tile heading's clamp(1.9rem, 3.3vw, 3.25rem). */
  font-size: clamp(1.65rem, 2.86vw, 2.82rem); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--chalk); text-align: center; white-space: nowrap; }
.px-roll-row { display: inline-flex; column-gap: .26em; }
.px-roll-slot { position: relative; flex: none; width: var(--roll-balance); height: 1.3em; text-align: left; color: var(--red-text);
  /* Clipped above and below for the slide, open to the right so the longest phrases can run past the edge. */
  clip-path: inset(0 -100vw 0 0); }
/* Waiting below the slot; in view; gone above it. Only the move in and the move out are animated. */
.px-roll-w { position: absolute; left: 0; top: 0; transform: translateY(100%); }
.px-roll-w.px-in { transform: translateY(0); transition: transform 400ms ease-in-out; }
.px-roll-w.px-out { transform: translateY(-100%); transition: transform 400ms ease-in-out; }
.px-hero .tb-lede.px-roll-note { margin: 20px auto 0; }
@media (max-width: 760px) { .px-roll { --roll-nudge: 8px; } }

/* ---------- The example panel (proposal.js, ExamplePanel) ---------- */
/* Left: the disruption and its trace; right: each team's next step. All of it in view at once. */
.px-ex-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head ." "left right"; gap: var(--space-2) var(--space-6); align-items: start; }
.px-ex-head { grid-area: head; }
.px-ex-left { grid-area: left; }
.px-ex-right { grid-area: right; }
.px-ex-label { margin: 0 0 var(--space-1); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); }
.px-ex-h { margin: 0; font-size: var(--fluid-headline); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.px-ex-text { margin: 0; max-width: 40em; font-size: 17px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
/* The trace: four small cards joined by arrows. */
.px-ex-trace { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.px-ex-step { position: relative; display: grid; align-content: start; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--ground-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.35; color: var(--text); }
.px-ex-step + .px-ex-step::before { content: ""; position: absolute; left: -17px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: var(--text-2); clip-path: polygon(0 40%, 55% 40%, 55% 15%, 100% 50%, 55% 85%, 55% 60%, 0 60%); }
.px-ex-step-l { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.px-ex-shipped { box-shadow: inset 0 0 0 1.5px var(--red-text); }
.px-ex-shipped .px-ex-step-l { color: var(--red-text); }
.px-ex-small { margin: var(--space-2) 0 0; font-size: 13px; color: var(--text-2); }
.px-ex-next { margin-top: var(--space-4); padding: 14px 16px; border-radius: 12px; background: var(--ground-2); box-shadow: inset 0 0 0 1px var(--line); }
.px-ex-next p:last-child { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
/* The teams: four cards, each with its team, the system the action lands in, the action and its button. */
.px-ex-teams-h { margin: 0 0 var(--space-2); font-size: 17px; font-weight: 600; color: var(--text); }
.px-ex-teams { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.px-ex-team { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); padding: 12px 14px; border-radius: var(--radius-card); background: var(--ground-2); box-shadow: inset 0 0 0 1px var(--line); }
.px-ex-team-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 4px; }
.px-ex-team-name { font-size: var(--fs-13); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.px-ex-sys { font-size: var(--fs-13); letter-spacing: 0; color: var(--text-2); }
.px-ex-action { margin: 0; font-size: var(--fs-16); line-height: 1.4; color: var(--text); }
.px-ex-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--text-2); font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; }
/* Approved: the tick in green, as the product shows a done step. */
.px-ex-done { box-shadow: none; padding-inline: 4px; color: var(--text-2); }
.px-ex-done svg { fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.px-ex-teams-note { margin: var(--space-2) 0 0; text-align: right; font-size: 14px; color: var(--text-2); }
.px-ex-foot { display: flex; justify-content: center; margin-top: var(--space-5, 40px); }
@media (max-width: 1080px) { .px-ex-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "left" "right"; row-gap: var(--space-2); } .px-ex-right { margin-top: var(--space-4); } }
/* Phones: the trace runs down the screen, its arrows pointing down; the teams follow under it. */
@media (max-width: 760px) {
  .px-ex-trace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .px-ex-step + .px-ex-step::before { left: 50%; top: -16px; margin: 0 0 0 -6px; transform: rotate(90deg); }
  .px-ex-team { grid-template-columns: minmax(0, 1fr); }
  .px-ex-btn { justify-self: start; }
  .px-ex-teams-note { text-align: left; }
}

/* ---------- Questions people ask (proposal.js, Faq) ---------- */
/* One column of rows under hairlines; each opens in place. The sign is a plus, its upright bar gone when open. */
.px-faq-h { margin: 0; font-size: var(--fluid-headline); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.px-faq-list { max-width: 860px; border-bottom: 1px solid var(--line); }
.px-faq-item { border-top: 1px solid var(--line); }
.px-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 18px 0; cursor: pointer; list-style: none; }
.px-faq-item summary::-webkit-details-marker { display: none; }
.px-faq-item summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: var(--radius-sm); }
.px-faq-q { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-19); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.px-faq-mark { flex: none; width: 1.05em; height: 1.05em; }
.px-faq-sign { position: relative; flex: none; width: 16px; height: 16px; }
.px-faq-sign::before, .px-faq-sign::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--text); }
.px-faq-sign::after { transform: rotate(90deg); }
.px-faq-item[open] .px-faq-sign::after { display: none; }
.px-faq-a { padding: 0 var(--space-6) 22px 0; max-width: 46em; font-size: var(--fs-16); line-height: 1.55; color: var(--text-2); }
.px-faq-a > p { margin: 0; }
/* A question linked to (faq.html#what-counts-as-a-workflow) lands clear of the menu. */
.px-faq-item { scroll-margin-top: calc(var(--web-nav) + var(--space-3)); }
.px-faq-link a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.px-faq-a > * + *, .px-faq-a > * + p { margin-top: 14px; }
/* The groups: a small grey heading over each list. */
.px-faq-group { width: 100%; }
.tb-section.px-faq > .tb-container > .px-faq-group { margin-top: var(--space-6); }
.px-faq-gh { margin: 0 0 12px; font-size: var(--fs-14); font-weight: 600; letter-spacing: 0; color: var(--text-2); }
/* Example messages inside an answer: small chat cards, their options as pills (for show only). */
.px-faq-msgs { display: grid; gap: 10px; max-width: 34em; }
.px-faq-msg { padding: 12px 14px; border-radius: 4px var(--radius-card) var(--radius-card) var(--radius-card); background: var(--ground-2); box-shadow: inset 0 0 0 1px var(--line); }
.px-faq-msg p { margin: 0; font-size: var(--fs-16); line-height: 1.45; color: var(--text); }
.px-faq-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.px-faq-opt { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--text-2); font-size: var(--fs-13); font-weight: 500; color: var(--text); cursor: default; user-select: none; }
.px-faq-more { margin-top: var(--space-4); }
@media (max-width: 760px) { .px-faq-q { font-size: var(--fs-16); } .px-faq-a { padding-right: 0; font-size: var(--fs-16); } }

/* ---------- Home page: each section a change of ground, the same padding top and bottom ---------- */
body:not([data-page]) .st-main > .tb-section:not(.px-hero) { padding-block: var(--web-section); }
/* The link to the FAQ under the note beside the pilot form. */
.px-start-faq { justify-self: start; margin-top: -10px; font-size: var(--fs-14); font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.px-start-faq:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: var(--radius-sm); }

/* The Demo page (proposal.js, DemoPage): the label, the heading and the example tabs on one compact row, so the window
   under them is whole on the first screen; the head and the line under the player take the window's width. */
.tb-section.px-demo-page { padding-block: 16px calc(var(--web-section) / 2); }
.px-demo-page .px-demo-player, .px-demo-page .px-demo-note { margin-top: 0; }
.px-demo-page .tb-container.tb-wide { max-width: none; }
.px-demo-head { box-sizing: border-box; width: var(--frame-w, 100%); max-width: 100%; margin: 0 auto 12px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.px-demo-eyebrow { margin: 0 0 2px; font-size: var(--fs-14); line-height: 1.3; font-weight: 600; color: var(--text-2); }
.px-demo-head h1 { margin: 0; font-size: var(--fs-lede); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.px-demo-tabs button { height: 34px; padding: 0 14px; font-size: var(--fs-14); }
.px-demo-row-first { grid-template-columns: minmax(0, 1fr) auto; }
.px-demo-step { padding-inline: 14px !important; }
.px-demo-start-btns { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.px-demo-note { width: var(--frame-w, 100%); max-width: 100%; margin: 14px auto 0 !important; font-size: var(--fs-14); line-height: 1.4; color: var(--text-2); text-align: center; }
/* Full screen: the window and its controls on the page's own ground, in the middle of the screen. Esc leaves. */
.px-demo-player.px-fs { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px; background: var(--ground); }
.px-demo-player.px-fs .px-demo-frame { width: var(--frame-w); }
.px-demo-player::backdrop { background: var(--ground); }
/* The see it run block at the foot of the How it works page. */
.px-how-run-in { display: grid; justify-items: center; gap: var(--space-3); text-align: center; }
.px-how-run-in .tb-headline { margin: 0; }
@media (max-width: 760px) {
  .tb-section.px-demo-page { padding-top: 24px; padding-bottom: var(--web-section); }
  /* Phones: no link to the demo player at the foot of How it works. On a phone the Demo page leads to Book a call. */
  .px-how-run { display: none; }
  /* Phones: the line, then Book a call. */
  .px-demo-page .px-demo-off { margin: 4px 0 0; }
  .px-demo-off > p { margin: 0; font-size: var(--fs-19); line-height: 1.45; font-weight: 500; color: var(--text); }
  .px-demo-off .tb-actions { margin-top: var(--space-3); }
  .px-demo-head { flex-direction: column; align-items: stretch; }
}

/* ---------- Privacy (proposal.js: PrivacyPage, privacyLine, optIn; consent.js) ---------- */
/* The notice: one readable column at body size, headings a step up, the date in grey. */
.px-privacy-in { max-width: 720px; }
.px-privacy-in h1 { margin: 0; font-size: var(--fluid-headline); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.px-privacy-date { margin: 12px 0 0; font-size: var(--fs-14); color: var(--text-2); }
.px-privacy-in section { margin-top: clamp(28px, 3vw, 40px); }
.px-privacy-in h2 { margin: 0 0 10px; font-size: var(--fs-24); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.px-privacy-in p, .px-privacy-in li { font-size: var(--fs-16); line-height: 1.55; color: var(--text); }
.px-privacy-in p { margin: 10px 0 0; }
.px-privacy-in ul { margin: 0; padding-left: 1.2em; }
.px-privacy-in li + li { margin-top: 8px; }
/* What Tremaux is, At a glance and the six moments (proposal.js: DocPage): blocks one under another, the words in
   the notice's readable column, the strip, the cards and the tiles across the full width. Links in the words
   underlined; on phones the parts' headings go a step down, to stay under the 24px h1. */
.px-doc .tb-container > * + * { margin-top: clamp(36px, 4vw, 56px); }
.px-doc .px-doc-text > section:first-child { margin-top: 0; }
.px-doc .px-privacy-in a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.px-doc .px-privacy-in h1 { text-wrap: balance; }
.px-doc .px-privacy-in > h1 + p, .px-doc .px-doc-head + p { margin-top: 16px; }
.px-doc-h2 { margin: 0 0 20px; font-size: var(--fs-24); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.px-doc .px-doc-faq h2 { margin-bottom: 14px; }
.px-doc .px-faq-a > p { margin: 0; color: inherit; }
@media (max-width: 760px) { .px-doc .px-privacy-in h2, .px-doc-h2 { font-size: var(--fs-19); } }

/* A moment's page: the breadcrumb, its icon in a small card beside its heading (over it on phones). */
.px-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 20px; padding: 0; }
.px-doc .px-crumb li { margin: 0; font-size: var(--fs-14); line-height: 1.4; color: var(--text-2); }
.px-crumb li + li::before { content: "/"; margin-right: 8px; }
.px-doc .px-crumb a { color: var(--text-2); }
.px-doc-head { display: flex; align-items: center; gap: 16px; }
.px-doc-head-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 639px) { .px-doc-head { flex-direction: column; align-items: flex-start; gap: 14px; } }
/* The four steps across the page, each its icon in a ring and its words under it, a hairline from one to the next;
   one under another on phones, the hairline down the left. */
.px-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 24px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.px-strip li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.px-strip-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
.px-strip li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: 0; height: 1px; background: var(--text-2); opacity: .45; }
.px-strip-l { font-size: var(--fs-16); line-height: 1.35; font-weight: 600; color: var(--text); text-wrap: balance; }
@media (max-width: 639px) {
  .px-strip { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .px-strip li { flex-direction: row; align-items: center; gap: 14px; }
  .px-strip li:not(:last-child)::after { top: 44px; bottom: -16px; left: 22px; right: auto; width: 1px; height: auto; }
}
/* What Tremaux does beside three action cards (the home page's cards, an Approve button on each, for show). */
.px-doc-does { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: start; }
.px-doc-does > .px-doc-text { max-width: none; }
.px-doc-acts { margin-top: 45px; }
.px-doc-acts .px-ex-team { display: block; padding: 14px 16px; background: var(--surface-raised); }
.px-doc-acts .px-ex-team-head { align-items: center; margin-bottom: 6px; }
.px-doc-acts .px-ex-team-top { margin: 0; }
.tb-cta.px-doc-approve { height: 28px; padding: 0 12px; font-size: var(--fs-13); pointer-events: none; cursor: default; user-select: none; }
/* A card that has reached a senior person: a red edge along its top and its tag beside the team. */
.px-doc-acts .px-ex-team.px-ex-esc { box-shadow: inset 0 2px 0 var(--mark), inset 0 0 0 1px var(--line); }
.px-ex-esc-tag { font-size: var(--fs-12); line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
@media (max-width: 860px) { .px-doc-does { grid-template-columns: minmax(0, 1fr); } .px-doc-acts { margin-top: 0; } }
/* How far the action reaches (the warehouse page): three steps in a row joined by a red line and arrow, the last with a
   red edge; one under another on phones, the arrow pointing down. */
.px-ladder { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; }
.px-ladder-step { position: relative; padding: 22px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.px-ladder-step.px-ladder-top { box-shadow: inset 0 0 0 1.5px var(--mark); }
.px-ladder-label { margin: 0 0 8px; font-size: var(--fs-12); line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.px-ladder-step h3 { margin: 0; font-size: var(--fs-19); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.px-ladder-text { margin: 8px 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
.px-ladder-join { position: absolute; top: 50%; left: 100%; display: flex; justify-content: center; width: 40px; color: var(--mark); transform: translateY(-50%); }
.px-ladder-join svg { display: block; }
.px-ladder-note { margin: 20px 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
/* The line under the home page's tiles, in grey, from the section's left edge. */
.px-helps-line { margin: 24px 0 0; max-width: 46em; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
@media (max-width: 767px) {
  .px-ladder { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .px-ladder-step { padding: 20px; }
  .px-ladder-join { top: 100%; left: 24px; width: auto; height: 32px; align-items: center; transform: none; }
  .px-ladder-join svg { transform: rotate(90deg); }
}
/* One system, every moment: a band between the questions and the close, under a hairline, its heading beside its
   words (over them on phones). */
.px-one { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 56px; padding-top: 28px; box-shadow: inset 0 1px 0 var(--line); }
.px-one .px-doc-h2 { margin: 0; }
.px-one p { margin: 0; max-width: 46em; font-size: var(--fs-19); line-height: 1.5; color: var(--text-2); }
@media (max-width: 860px) { .px-one { grid-template-columns: minmax(0, 1fr); } .px-one p { font-size: var(--fs-16); } }
/* The close: its line, then Book a call with the email address beside it, in a card across the page. */
.px-doc-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.px-doc-close-line { margin: 0; max-width: 24em; font-size: var(--fs-24); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.px-doc-close-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.px-doc-email { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 639px) { .px-doc-close { padding: 22px 20px; } .px-doc-close-line { font-size: var(--fs-19); } }

/* At a glance: four short facts in a row (two by two under 900px), each in a card with its icon; every fact as a
   card, two to a row (one on phones), What it is across the full width; then Contact, its button, the email address
   and the two Summarise links. */
.px-facts-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.px-facts-key { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.px-facts-key p { margin: 0; font-size: var(--fs-19); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
@media (max-width: 899px) { .px-facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .px-facts-key { padding: 16px; } .px-facts-key p { font-size: var(--fs-16); } }
.px-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.px-fact { padding: 24px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.px-fact-wide { grid-column: 1 / -1; }
.px-fact > .px-ico { margin-bottom: 16px; }
.px-fact-label { margin: 0 0 8px; font-size: var(--fs-12); line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.px-fact p { margin: 0; font-size: var(--fs-16); line-height: 1.55; color: var(--text); }
.px-fact-wide p { max-width: 44em; font-size: var(--fs-19); line-height: 1.45; }
@media (max-width: 767px) { .px-facts { grid-template-columns: minmax(0, 1fr); } .px-fact { padding: 20px; } .px-fact-wide p { font-size: var(--fs-16); line-height: 1.55; } }
.px-doc-ai { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.px-doc-ai a { font-size: var(--fs-14); color: var(--text-2); text-decoration: underline; text-underline-offset: .2em; }
.px-doc-ai a:hover, .px-doc-email:hover { color: var(--text); }
:is(.px-doc-ai, .px-crumb, .px-doc-email) a:focus-visible, .px-doc-email:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 2px; }
/* At a glance's heading, with Summarise this page with ChatGPT at the right of its line (under it on phones). */
.px-doc .px-doc-wide.px-privacy-in { max-width: none; }
.px-doc-titled { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.px-doc .px-doc-titled .px-doc-ai { margin: 0; }
.px-doc .px-doc-ai a { color: var(--text-2); }
.px-doc .px-doc-ai a:hover { color: var(--text); }
@media (max-width: 639px) { .px-doc-titled { flex-direction: column; align-items: flex-start; } }
/* Examples (proposal.js: ExamplesPage): each group's title a small label over its cards, two to a row (one on
   phones), a row's cards the same height; who acts in grey under the words; Read more at the foot of a card with a
   moment page. A card linked to (examples#id) lands clear of the menu. */
.px-doc .px-ex-group-h { margin-bottom: 14px; }
.px-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.px-example { display: flex; flex-direction: column; padding: 22px 24px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--web-nav) + var(--space-3)); }
.px-example h3 { margin: 0; font-size: var(--fs-19); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-wrap: pretty; }
.px-example p { margin: 8px 0 0; font-size: var(--fs-16); line-height: 1.55; color: var(--text); }
.px-example p.px-example-who { margin-top: 12px; font-size: var(--fs-14); line-height: 1.5; color: var(--text-2); }
.px-example p.px-example-more { margin-top: auto; padding-top: 14px; font-size: var(--fs-14); }
.px-example-more a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.px-example-more a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 2px; }
@media (max-width: 767px) { .px-examples { grid-template-columns: minmax(0, 1fr); } .px-example { padding: 20px; } .px-example h3 { font-size: var(--fs-16); } }
/* More moments, with See all six at the right of its heading. */
.px-doc-more-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 20px; }
.px-doc-more-h .px-doc-h2 { margin: 0; }
.px-doc-more-all { font-size: var(--fs-14); color: var(--text-2); text-decoration: underline; text-underline-offset: .2em; }
.px-doc-more-all:hover { color: var(--text); }
.px-doc-more-all:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 2px; }
/* The cookie banner's link: underlined. */
.tx-consent p a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

/* ================= Light and dark =================
   Every colour is a token. Dark is the default (the tokens above); light mode, set on <html data-mode="light"> by the
   inline script in each page's head (the visitor's choice, or their system setting), swaps the dark ground for white.
   In light mode the dark sections of other pages turn light too; their light sections stay light in both modes. */
:root, [data-theme="stage"] {
  --text-3: var(--grey-450);                 /* 5:1 on ink, for AA */
  --ok: #4fae7b;                             /* the Approved tick */
  --bar-muted: #4a4c52;                      /* the Today bar */
  --surface-raised: var(--ink-800);          /* an action window */
  --on-accent: #ffffff;
  --scrim: rgba(8, 9, 11, .34);
  --scrim-shadow: rgba(0, 0, 0, .45);
  --banner-bg: #1c1d21; --banner-text: var(--chalk); --banner-text-2: rgba(244, 244, 242, .85);
  --banner-line: rgba(255, 255, 255, .1); --banner-btn-line: rgba(255, 255, 255, .35); --banner-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}
[data-theme="paper"], [data-theme="mist"] {
  --ok: #2e7d55; --bar-muted: #b9bcbc; --surface-raised: #ffffff; --red-text: var(--red-light);
}
/* A block designed as a dark band (the manifesto's opening, .px-keep-dark) stays dark in light mode. */
html[data-mode="light"], html[data-mode="light"] [data-theme="stage"]:not(.px-keep-dark) {
  color-scheme: light;
  --ground: var(--white);
  --ground-2: var(--grey-100);
  --ground-3: var(--grey-200);
  --text: var(--ink-900);
  --text-2: var(--grey-600);                 /* 6.4:1 on white */
  --text-3: var(--grey-500);                 /* 4.9:1 on white */
  --line: rgba(11, 12, 14, 0.12);
  --cta: var(--ink-900);
  --on-cta: var(--white);
  --frame-edge: rgba(11, 12, 14, 0.08);
  --spot: rgba(11, 12, 14, 0.05);
  --material: rgba(255, 255, 255, 0.78);
  --shadow-frame: 0 30px 80px rgba(11, 12, 14, 0.16), 0 8px 24px rgba(11, 12, 14, 0.08);
  --oxide-600: var(--red-light); --oxide-400: var(--red-light); --oxide-lift: var(--red-light);
  --accent: var(--red-light); --mark: var(--red-light); --red-text: var(--red-light);
  --ok: #2e7d55; --bar-muted: #b9bcbc; --surface-raised: #ffffff;
  --scrim: rgba(255, 255, 255, .4); --scrim-shadow: rgba(11, 12, 14, .2);
  --banner-bg: #ffffff; --banner-text: var(--ink-900); --banner-text-2: var(--grey-600);
  --banner-line: rgba(11, 12, 14, .12); --banner-btn-line: rgba(11, 12, 14, .3); --banner-shadow: 0 12px 32px rgba(11, 12, 14, .16);
  --tb-show-stage: none; --tb-show-paper: block;
}
html[data-mode="dark"] { color-scheme: dark; }

/* The switch in the top bar: a round button with a sun (to light) or a moon (to dark). */
.px-mode { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: var(--radius-chip);
  background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.px-mode:hover { box-shadow: inset 0 0 0 1px var(--text-2); }
.px-mode:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.px-mode svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Nothing waits for the scroll: every section is drawn in full on load and when scrolling fast. */
.tb-reveal, .tb-reveal:not(.tb-in) { opacity: 1; transform: none; transition: none; }

/* The copy of the page drawn when the site was built (tools/prerender.js), for readers that do not run scripts, such as
   search engines' and AI tools' crawlers. It shows only where scripts do not run, as if it were the page itself; where
   they run (the page's head marks <html data-js>), it stays hidden until React draws the page in its place. */
[data-prerender] { display: contents; }
html[data-js] [data-prerender] { display: none; }

/* ================= The home page: six sections on one ground =================
   Bigger type and more space; sections apart by space and a hairline, not by alternating grounds; few boxes (only
   the story's action cards, which stand for the system's own screens). Red squares only as markers on a path. */
body:not([data-page]) .st-main > .tb-section:not(.px-hero2) { padding-block: clamp(80px, 9vw, 136px); border-top: 1px solid var(--line); }
.px-sq { flex: none; display: inline-block; width: 10px; height: 10px; background: var(--mark); }
.px-mono-label { margin: 0; font-size: var(--fs-14); line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.px-h2 { margin: 0; max-width: 20em; font-size: var(--fs-display); line-height: 1.06; font-weight: 600; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
.px-sec-lede { margin: var(--space-3) 0 0; max-width: 40em; font-size: var(--fs-lede); line-height: 1.45; color: var(--text-2); }
.px-illus { margin: 0; font-size: 13px; }

/* 1. Hero: no box, the heading large in the middle of the first screen. */
.px-hero2 { box-sizing: border-box; display: flex; align-items: center; min-height: calc(92svh - var(--web-nav)); padding-block: clamp(56px, 8vw, 120px); }
.px-hero2 .tb-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.px-hero2 h1 { margin: 0; max-width: 13em; font-size: var(--fs-hero); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; color: var(--text); text-wrap: balance; }
.px-hero2-lede { margin: var(--space-3) 0 0; max-width: 30em; font-size: var(--fs-lede); line-height: 1.4; color: var(--text); text-wrap: balance; }
.px-hero2-for { margin: 16px 0 0; max-width: 40em; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
.px-hero2-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 36px; }
.px-hero2 .px-hero-trust { margin-top: 32px; }
.px-hero2 .px-hero-trust li { color: var(--text); }

/* 2. Why it matters (the gap chart, below), 3. How it works, then 4. the 02:15 story (For example). */
.px-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.px-story-head h2 { margin: 0; font-size: var(--fs-display); line-height: 1.06; font-weight: 600; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
.px-story-text { margin: var(--space-3) 0 0; font-size: var(--fs-19); line-height: 1.5; color: var(--text-2); }
.px-story-trace { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: var(--fs-16); line-height: 1.45; font-weight: 500; color: var(--text); }
.px-story-trace > span:last-child { text-wrap: balance; }
.px-story-trace + .px-story-trace { margin-top: 14px; }
.px-story-teams-h { margin: 0 0 14px; font-size: var(--fs-14); font-weight: 600; color: var(--text-2); }
/* Behind the story, one column: the sources (small chips), 16px down the gap found (dashed, on the second ground, its
   tag in the accent as Improve's is), then 24px down the team cards. */
.px-src-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.px-src { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border-radius: var(--radius-chip); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-13); line-height: 1.35; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.px-src .px-wf-g { width: 14px; height: 14px; }
.px-gapline { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; margin: 16px 0 0; padding: 9px 12px; border: 1px dashed var(--text-3); border-radius: var(--radius-sm);
  background: var(--ground-2); font-size: var(--fs-14); line-height: 1.4; color: var(--text); }
.px-gapline-i { margin-top: 2.5px; color: var(--text-2); }
.px-gapline-tag { padding: 1px 8px; border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--mark); font-size: var(--fs-12); line-height: 1.5; font-weight: 600; color: var(--red-text); white-space: nowrap; }
.px-gapline-t { flex: 1 1 22em; min-width: 0; text-wrap: pretty; }
.px-story .px-gapline + .px-story-teams-h { margin-top: 24px; }
/* Each team's card: its name and system, approved on the right (who and when, after the tick), its step, then in small
   type the source behind it. Side by side the four are the same height. */
.px-story .px-ex-team { display: block; background: var(--surface-raised); }
.px-ex-team-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; margin: 0 0 4px; }
.px-story .px-ex-team-top { margin: 0; }
.px-ex-ok { margin: 0; font-size: var(--fs-13); line-height: 1.3; color: var(--text-2); white-space: nowrap; }
.px-ex-ok svg { display: inline-block; margin-right: 6px; vertical-align: -2px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.px-ex-src { margin: 6px 0 0; font-size: var(--fs-14); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.px-ex-from { font-weight: 500; color: var(--text); }
@media (min-width: 768px) { .px-story .px-ex-teams { grid-auto-rows: 1fr; } }

/* Why it matters (#gap; proposal.js, Gap): its label and heading as How it works has them, then the chart as far under
   the heading as How it works' steps are under theirs. */
/* The gap: one time axis over two rows. Each row's label in a column of its own, its words
   beside it, left-aligned, and its track under the words; both tracks the same width, lined up under the axis. Ink is
   time, red is cost: Today's track is the cost, red tint; With Tremaux, a short ink stub (minutes) over the same
   span hatched red, Cost avoided. Small red words use --red-text (--mark is too dark for words on the dark ground). */
.px-gap { --gap-label: 150px; --gap-stub: clamp(6px, 1%, 12px); --gap-in: calc(var(--gap-stub) + 14px); display: grid; row-gap: clamp(28px, 3vw, 40px); }
.px-gap-axis, .px-gap-row { display: grid; grid-template-columns: var(--gap-label) minmax(0, 1fr); column-gap: 24px; }
.px-gap-axis-in { grid-column: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 10px; font-size: var(--fs-14); line-height: 1.3; font-weight: 500; color: var(--text-2); }
.px-gap-axis-l { grid-row: 1; grid-column: 1; }
.px-gap-axis-r { grid-row: 1; grid-column: 3; text-align: right; }
/* The axis: a hairline with a marker at each end, in ink. */
.px-gap-axis-line { grid-row: 2; grid-column: 1 / -1; position: relative; height: 1px; margin-inline: 4px; background: var(--text-3); }
.px-gap-axis-line::before, .px-gap-axis-line::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; background: var(--text); }
.px-gap-axis-line::before { left: -4px; }
.px-gap-axis-line::after { right: -4px; }
.px-gap-row { row-gap: 12px; align-items: baseline; }
.px-gap-when { grid-row: 1; grid-column: 1; margin: 0; font-size: var(--fs-19); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.px-gap-time { grid-row: 1; grid-column: 2; margin: 0; max-width: 46em; font-size: var(--fs-19); line-height: 1.4; font-weight: 500; color: var(--text); text-wrap: pretty; }
.px-gap-track { grid-row: 2; grid-column: 2; position: relative; display: flex; }
.px-gap-cost, .px-gap-avoided { position: relative; flex: 1; display: flex; align-items: center; box-sizing: border-box; min-height: 40px; padding: 8px 14px 8px var(--gap-in);
  border-radius: var(--radius-sm); font-size: var(--fs-14); line-height: 1.3; font-weight: 600; color: var(--red-text); }
.px-gap-cost > span, .px-gap-avoided > span { position: relative; }
.px-gap-cost::before, .px-gap-avoided::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.px-gap-cost { box-shadow: inset 0 0 0 1.5px var(--mark); }
.px-gap-cost::before { background: var(--mark); opacity: .16; }
.px-gap-avoided { border: 1.5px dashed var(--mark); }
.px-gap-avoided::before { background: repeating-linear-gradient(-45deg, var(--mark) 0 1px, transparent 1px 7px); opacity: .4; }
.px-gap-stub { position: absolute; top: 0; bottom: 0; left: 0; width: var(--gap-stub); border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--text); }
/* Where every team is acting: a tick down from the end of the stub, the words under it. */
.px-gap-mark { grid-row: 3; grid-column: 2; position: relative; margin: 0; padding: 10px 0 0 calc(var(--gap-stub) - 1px); font-size: var(--fs-14); line-height: 1.3; font-weight: 500; color: var(--text); }
.px-gap-mark::before { content: ""; position: absolute; top: -12px; left: calc(var(--gap-stub) - 1.5px); width: 1.5px; height: 18px; background: var(--text); }
html[data-mode="dark"] .px-gap-cost::before { opacity: .24; }
html[data-mode="dark"] .px-gap-avoided::before { opacity: .55; }
/* Phones: the axis stays over both tracks; each row's label, then its words under it, then its track. */
@media (max-width: 760px) {
  .px-gap-axis, .px-gap-row { grid-template-columns: minmax(0, 1fr); }
  .px-gap-axis-in { grid-column: 1; font-size: var(--fs-14); }
  .px-gap-row { row-gap: 8px; }
  .px-gap-when { font-size: var(--fs-16); }
  .px-gap-time { grid-row: 2; grid-column: 1; font-size: var(--fs-16); }
  .px-gap-track { grid-row: 3; grid-column: 1; margin-top: 4px; }
  .px-gap-mark { grid-row: 4; grid-column: 1; font-size: var(--fs-14); }
  .px-gap-mark::before { top: -10px; height: 16px; }
  .px-gap-cost, .px-gap-avoided { min-height: 36px; padding-block: 7px; font-size: var(--fs-14); }
}

/* 3. How it works: three steps, each under its small diagram (proposal.js, Steps), on one path whose markers sit over
   the middle of each step. The words come before the diagram in the markup; side by side the diagram is moved up
   under the marker. The diagrams come in one after another, left to right, as they reach the screen; under reduced
   motion everything is drawn at once. */
.px-steps-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin: 28px 0 0; padding: 0; }
.px-steps-list.px-steps-flow { --steps-gap: clamp(24px, 4vw, 64px); --step-lag: 320ms; gap: var(--steps-gap); }
.px-steps-flow > li { position: relative; display: flex; flex-direction: column; }
.px-steps-flow .px-steps-node, .px-steps-flow .px-steps-dia { order: -1; }
.px-steps-node { position: relative; display: block; height: 10px; margin-bottom: clamp(24px, 2.4vw, 32px); }
.px-steps-node::before { content: ""; position: absolute; top: 0; left: calc(50% - 5px); width: 10px; height: 10px; background: var(--mark); }
.px-steps-flow > li:not(:last-child) .px-steps-node::after { content: ""; position: absolute; top: 4.5px; left: calc(50% + 11px); width: calc(100% + var(--steps-gap) - 22px); height: 1px;
  background: var(--text-3); transform-origin: 0 50%; }
.px-steps-dia { margin: 0 0 clamp(24px, 2.4vw, 32px); }
.px-sd { display: block; width: 100%; height: auto; overflow: visible; }
.px-sd text { font-family: inherit; white-space: pre; }
.px-sd-t { font-size: var(--fs-12); font-weight: 600; fill: var(--text); }
.px-sd-s { font-size: var(--fs-12); fill: var(--text-2); }
.px-sd-ct { font-size: var(--fs-12); font-weight: 600; fill: var(--text); }
/* Respond's small system chips, on the first line of each team's pill. */
.px-sd-cs { font-size: var(--fs-12); font-weight: 600; fill: var(--text); }
.px-sd-chip, .px-sd-card { fill: var(--surface-raised); stroke: var(--line); }
.px-sd-tag { fill: none; stroke: var(--text-3); }
.px-sd-feed { fill: none; stroke: var(--text-3); stroke-width: 1.2; }
.px-sd-dash { stroke-dasharray: 3 3; }
.px-sd-trace, .px-sd-arrow { fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.px-sd-arrow { stroke: var(--text-2); }
.px-sd-ink { fill: var(--text); }
.px-sd-ghost { fill: var(--ground); stroke: var(--text-2); stroke-width: 1.2; stroke-dasharray: 2.5 2; }
.px-sd-mark { fill: var(--mark); }
.px-sd-glyph { fill: none; stroke: var(--text-2); stroke-width: 1.2; stroke-linecap: round; }
.px-sd-ok { fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.px-sd-li { font-size: var(--fs-12); fill: var(--text); }
/* Improve's tag on the second time: the accent, as a small outlined pill. */
.px-sd-acc { fill: none; stroke: var(--mark); }
.px-sd-acct { font-size: var(--fs-12); font-weight: 600; fill: var(--red-text); }
.px-sd-kept { fill: var(--ground-2); stroke: var(--text); stroke-width: 1.5; }
/* The reveal: each marker, then the path on to the next, and the diagram rising into place. */
.px-steps-flow .px-steps-node::before { transform: scale(0); transition: transform 360ms var(--ease-reveal) calc(var(--i) * var(--step-lag)); }
.px-steps-flow .px-steps-node::after { transform: scaleX(0); transition: transform 600ms var(--ease-reveal) calc(var(--i) * var(--step-lag) + 200ms); }
.px-steps-flow .px-steps-dia { opacity: 0; transform: translateY(16px);
  transition: opacity 700ms var(--ease-reveal) calc(var(--i) * var(--step-lag) + 80ms), transform 700ms var(--ease-reveal) calc(var(--i) * var(--step-lag) + 80ms); }
.px-steps-flow > li.tb-in .px-steps-node::before, .px-steps-flow > li.tb-in .px-steps-node::after, .px-steps-flow > li.tb-in .px-steps-dia { opacity: 1; transform: none; }
/* Under 1220px (where three columns would draw the diagrams smaller than their own size, and their 12px labels with
   them): one step a row, its words then its diagram at its own size beside them, the rows apart by hairlines. The
   path is left out (its markers would sit beside Respond's own); each diagram comes in on its own as it reaches the
   screen. */
@media (max-width: 1219px) {
  .px-steps-list.px-steps-flow { grid-template-columns: minmax(0, 1fr); gap: 0; --step-lag: 0ms; }
  .px-steps-flow > li { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 40px; align-items: center; padding-block: 36px; }
  .px-steps-flow .px-steps-node, .px-steps-flow .px-steps-dia { order: 0; }
  .px-steps-flow > li:first-child { padding-top: 0; }
  .px-steps-flow > li:last-child { padding-bottom: 0; }
  .px-steps-flow > li + li { border-top: 1px solid var(--line); }
  .px-steps-node { display: none; }
  .px-steps-dia { margin: 0; }
}
/* Phones: each step's words, then its diagram at its own size; the 32px either side of the hairline keeps each
   diagram with the words above it. */
@media (max-width: 767px) {
  .px-steps-flow > li { display: block; padding-block: 32px; }
  .px-steps-dia { max-width: 340px; margin: 20px 0 0; }
}
@media (prefers-reduced-motion: reduce), print {
  .px-steps-flow .px-steps-node::before, .px-steps-flow .px-steps-node::after, .px-steps-flow .px-steps-dia { opacity: 1; transform: none; transition: none; }
}
.px-steps-n { display: block; font-size: 15px; font-weight: 600; color: var(--text-2); }
/* The line under the steps, in the trust footnote's muted type, on one line on a wide screen. As specific as the
   sections' own spacing between blocks (.tb-section > .tb-container > * + *), so its gap holds. */
.tb-section > .tb-container > .px-steps-note { margin: clamp(32px, 3vw, 48px) 0 0; font-size: var(--fs-14); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
@media (max-width: 767px) { .tb-section > .tb-container > .px-steps-note { margin-top: 32px; font-size: var(--fs-14); } }
.px-steps-list h3 { margin: 10px 0 0; font-size: var(--fs-title); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; color: var(--text); }
.px-steps-list p { margin: 12px 0 0; font-size: var(--fs-19); line-height: 1.5; color: var(--text-2); }
.px-steps-more { margin-top: 14px; }

/* 5. Alongside your systems (proposal.js, Alongside and Workflow): the line large, one lede in one colour, then one
   disruption's six steps over Tremaux, the picture they all work from. Steps differ by their edge, not their colour:
   a person or an agent in a system a hairline on a raised card, a step on paper dashed, someone outside the business
   dotted on no ground. Red only on Tremaux: its lines in, its edge and its marker. It opens without Tremaux (dashed
   lines, a clock in each handoff, no picture) and moves to with it as it reaches the screen; the buttons replay it. */
.px-along2-h { margin: 0; max-width: 18em; font-size: var(--fs-display); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
@property --wf-gap { syntax: "<length>"; inherits: true; initial-value: 26px; }
.px-wf { --wf-gap: 26px; --wf-drop: 32px; --wf-line: 2px; transition: --wf-gap 300ms var(--ease-reveal); }
.px-wf.px-wf-with { --wf-gap: 14px; transition: --wf-gap 700ms var(--ease-reveal) 300ms; }
.px-wf-g { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.px-wf-g .px-wf-gf { fill: currentColor; stroke: none; }
/* The top: the buttons on the left, the legend, how long the handoffs take on the right. */
.px-wf-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-bottom: 18px; }
.px-wf-toggle { display: inline-flex; flex: none; padding: 3px; border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--line); }
.px-wf-btn { appearance: none; margin: 0; padding: 5px 12px; border: 0; border-radius: var(--radius-chip); background: none; font: inherit; font-size: var(--fs-13); line-height: 1.3; font-weight: 500; color: var(--text-2); cursor: pointer; }
.px-wf-btn[aria-pressed="true"] { background: var(--text); color: var(--ground); }
.px-wf-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.px-wf-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-13); line-height: 1.3; color: var(--text-2); }
.px-wf-legend li { display: inline-flex; align-items: center; gap: 6px; }
.px-wf-time { display: grid; margin: 0 0 0 auto; font-size: var(--fs-13); line-height: 1.3; font-weight: 600; color: var(--text); }
.px-wf-time > span { grid-area: 1 / 1; text-align: right; transition: opacity 250ms linear; }
.px-wf-time-on, .px-wf-with .px-wf-time-off { opacity: 0; }
.px-wf-with .px-wf-time-on { opacity: 1; transition: opacity 400ms linear 900ms; }
/* The six steps, equal, side by side, a handoff between each. */
.px-wf-fig { display: grid; grid-template-areas: "steps" "band"; }
.px-wf-steps { grid-area: steps; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--wf-gap); margin: 0 0 var(--wf-drop); padding: 0; list-style: none; }
.px-wf-step { position: relative; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; padding: 11px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); }
.px-wf-manual { border: 1.5px dashed var(--text-3); }
.px-wf-outside { border: 1.5px dotted var(--text-3); background: none; }
.px-wf-who { display: flex; align-items: center; gap: 6px; font-size: var(--fs-13); line-height: 1.3; color: var(--text-2); }
.px-wf-do { flex: 1; font-size: var(--fs-14); line-height: 1.3; font-weight: 600; color: var(--text); text-wrap: balance; }
.px-wf-sys { align-self: flex-start; padding: 1px 8px; border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-12); line-height: 1.5; color: var(--text-2); white-space: nowrap; }
/* Each step's line into the picture: dashed and grey without Tremaux; drawn in red over it with, left to right. */
.px-wf-v { position: absolute; top: 100%; left: calc(50% - var(--wf-line) / 2); width: var(--wf-line); height: calc(var(--wf-drop) + 1px); }
/* On whole pixels, so a thin red line is never smeared grey across two. */
@supports (left: round(nearest, 50%, 1px)) { .px-wf-v { left: round(nearest, 50% - var(--wf-line) / 2, 1px); } }
.px-wf-h { display: none; }
.px-wf-v::before, .px-wf-v::after, .px-wf-h::before, .px-wf-h::after { content: ""; position: absolute; inset: 0; }
.px-wf-v::before { background: repeating-linear-gradient(to bottom, var(--text-3) 0 4px, transparent 4px 7px); }
.px-wf-h::before { background: repeating-linear-gradient(to right, var(--text-3) 0 4px, transparent 4px 7px); }
.px-wf-v::after, .px-wf-h::after { background: var(--mark); transform: scaleY(0); transform-origin: 50% 0; transition: transform 250ms var(--ease-reveal); }
.px-wf-h::after { transform: scaleX(0); transform-origin: 0 50%; }
.px-wf-with .px-wf-v::after { transform: none; transition: transform 450ms var(--ease-reveal) calc(var(--i, 0) * 120ms); }
.px-wf-with .px-wf-h::after { transform: none; transition: transform 300ms var(--ease-reveal) calc(var(--i, 0) * 120ms + 200ms); }
/* A clock in each handoff, without Tremaux. */
.px-wf-clock { position: absolute; top: 50%; left: calc(100% + 1px + var(--wf-gap) / 2); width: 14px; height: 14px; transform: translate(-50%, -50%); color: var(--text-3); transition: opacity 300ms linear; }
.px-wf-with .px-wf-clock { opacity: 0; }
/* Tremaux, across the page under the steps: a dashed grey box saying there is no shared picture, then, with Tremaux,
   a red edge, a fill and the picture itself. */
.px-wf-band { grid-area: band; position: relative; isolation: isolate; display: grid; border-radius: var(--radius-card); }
.px-wf-band::before, .px-wf-band::after { content: ""; position: absolute; inset: 0; z-index: -1; box-sizing: border-box; border-radius: inherit; transition: opacity 300ms linear; }
.px-wf-band::before { border: 1.5px dashed var(--text-3); }
.px-wf-band::after { border: 1.5px solid var(--mark); background: var(--ground-2); opacity: 0; }
.px-wf-with .px-wf-band::before { opacity: 0; transition: opacity 400ms linear 600ms; }
.px-wf-with .px-wf-band::after { opacity: 1; transition: opacity 500ms var(--ease-reveal) 600ms; }
.px-wf-empty { grid-area: 1 / 1; align-self: center; margin: 0; padding: 16px 22px; font-size: var(--fs-14); line-height: 1.45; color: var(--text-2); transition: opacity 250ms linear; }
.px-wf-full { grid-area: 1 / 1; padding: 16px 22px 18px; opacity: 0; transition: opacity 250ms linear; }
.px-wf-with .px-wf-empty { opacity: 0; }
.px-wf-with .px-wf-full { opacity: 1; transition: opacity 500ms var(--ease-reveal) 750ms; }
.px-wf-band-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-16); line-height: 1.3; font-weight: 600; color: var(--text); }
.px-wf-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; margin: 10px 0 0; padding-left: 20px; }
.px-wf-items dt { font-size: var(--fs-13); line-height: 1.35; color: var(--text-2); }
.px-wf-items dd { margin: 2px 0 0; font-size: var(--fs-14); line-height: 1.35; font-weight: 500; color: var(--text); }
/* Where Tremaux sits beside connectors and agents, then the caption. */
.px-wf-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.px-wf-strip li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-14); line-height: 1.45; color: var(--text-2); }
.px-wf-strip .px-wf-g { margin-top: 2px; }
.px-wf-strip .px-sq { margin: 5px 2px 0; }
/* Under 1024px: Tremaux's card at the top and its line running down the left as a spine; the steps as rows to the
   right of it, each with a short line in; in the handoffs between rows, a clock on the spine. The legend two by two
   above, the strip as three lines below. */
@media (max-width: 1023px) {
  .px-wf { --wf-gap: 16px; --wf-spine: 34px; --wf-spine-x: 18px; }
  .px-wf.px-wf-with { --wf-gap: 9px; }
  .px-wf-top { gap: 10px 16px; }
  .px-wf-legend { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
  .px-wf-fig { grid-template-areas: "band" "steps"; }
  .px-wf-steps { grid-template-columns: minmax(0, 1fr); row-gap: var(--wf-gap); column-gap: 0; margin: var(--wf-gap) 0 0; padding-left: var(--wf-spine); }
  .px-wf-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who sys" "do do"; align-items: center; column-gap: 10px; row-gap: 3px; padding: 9px 12px 10px; }
  .px-wf-who { grid-area: who; }
  .px-wf-do { grid-area: do; }
  .px-wf-sys { grid-area: sys; align-self: center; }
  /* The spine: from the handoff above each row (from Tremaux's card for the first) to the next, down to the last row's middle. */
  .px-wf-v { top: calc(-1 * var(--wf-gap) - 2px); left: calc(var(--wf-spine-x) - var(--wf-spine) - 1px); height: calc(100% + var(--wf-gap) + 4px); margin: 0; }
  .px-wf-step:last-child .px-wf-v { height: calc(50% + var(--wf-gap) + 2px); }
  .px-wf-h { display: block; position: absolute; top: calc(50% - var(--wf-line) / 2); left: calc(var(--wf-spine-x) - var(--wf-spine) - 1px); width: calc(var(--wf-spine) - var(--wf-spine-x)); height: var(--wf-line); }
  .px-wf-clock { top: calc(100% + 1px + var(--wf-gap) / 2); left: calc(var(--wf-spine-x) - var(--wf-spine) - 1px + var(--wf-line) / 2); border-radius: var(--radius-chip); background: var(--ground); }
  .px-wf-items { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 8px; padding-left: 20px; }
  .px-wf-strip { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 16px; }
}
/* Phones: closer set, so the picture stays near one and a half screens. */
@media (max-width: 600px) {
  .px-wf-top { margin-bottom: 14px; }
  .px-wf-legend { gap: 4px 10px; font-size: var(--fs-13); }
  .px-wf-step { padding: 7px 12px 8px; row-gap: 2px; }
  .px-wf-do { font-size: var(--fs-14); }
  .px-wf-full, .px-wf-empty { padding: 13px 16px 14px; }
  .px-wf-band-h { font-size: var(--fs-16); }
  .px-wf-items dt { font-size: var(--fs-12); }
  .px-wf-items dd { margin-top: 1px; font-size: var(--fs-14); }
  .px-wf-strip li { font-size: var(--fs-13); }
}
/* Reduced motion: no movement; it starts with Tremaux and the buttons switch at once. */
@media (prefers-reduced-motion: reduce) {
  .px-wf, .px-wf *, .px-wf *::before, .px-wf *::after { transition: none !important; }
}

/* Built to be trusted with your systems: a section of its own after Alongside, its heading at the size of the others,
   then the four points and the note. */
.px-trust2 .px-trust-point h3 { font-size: var(--fs-19); }
.px-trust2 .px-trust-point p { font-size: var(--fs-16); }
.px-trust2 .px-trust-more { margin-top: var(--space-3); }
/* Each point's icon over its title, at the feature size, the same on every card, so the titles and first lines sit
   level; in the words' colour. */
.px-trust-ico { display: block; width: 20px; height: 20px; margin: 0 0 10px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* 6. The closing: two ways in, side by side, each under a hairline (no box): its small label, heading, line, the
   and its button, the two buttons level along the foot. */
.px-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-8); }
.px-door { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.px-door > * { margin: 0; }
.px-door-label { font-size: var(--fs-14); line-height: 1.4; font-weight: 600; color: var(--text-2); }
.px-door > .px-door-t { margin-top: 8px; font-size: var(--fs-19); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.px-door > .px-door-text { margin-top: 8px; max-width: 34em; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.px-door > .px-door-pills { margin-top: 16px; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.px-door-pills .px-pill { margin: 0; font-size: var(--fs-14); }
.px-door > .px-door-go { margin-top: auto; padding-top: 24px; }
/* Under both: the FAQ link and the email line. */
.px-apply-close { display: grid; justify-items: start; gap: 14px; }
.px-apply2 .tb-container > .px-apply-close { margin-top: var(--space-4); }
.px-apply-close .tb-actions { margin: 0 0 4px; }
.px-apply-close .px-start-pilot, .px-apply-close .px-start-faq, .px-apply-close .px-apply-other { margin: 0; }
.px-apply-other { margin: 16px 0 0; font-size: var(--fs-16); color: var(--text-2); }
.px-apply-other a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 960px) {
  .px-story-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .px-hero2 { min-height: auto; }
  .px-steps-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}


/* Cards in the action-card style (It gets better every time). */
.px-fits2-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: clamp(32px, 3.5vw, 48px) 0 0; padding: 0; }
.px-fits2-card { padding: 22px 22px 24px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
/* ---------- Icons (proposal/icons.js, proposal.js: txIcon) ----------
   Lines in the text colour; the one square in the marker red, which follows light and dark (--mark). */
.px-ico { display: block; flex: none; color: var(--text); }
.px-ico-mark { fill: var(--mark); stroke: none; }

/* ---------- The moment tiles (proposal.js: MomentTiles) ----------
   The home page's When Tremaux helps and the other moments on each new page: three to a row, two on tablets, one on
   phones, a row's tiles the same height with the arrow pinned to the foot. Under the pointer or the keyboard the edge
   turns marker red, the tile lifts 2px and the arrow moves 2px on; with motion reduced, only the colour changes. */
.px-tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.px-tiles > li { display: flex; }
.px-tile { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; transition: box-shadow 150ms var(--ease-out), transform 150ms var(--ease-out); }
.px-tile-ico { margin-bottom: 20px; }
.px-tile-tag { margin: 0 0 8px; font-size: var(--fs-12); line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.px-tile h3 { margin: 0; font-size: var(--fs-19); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-wrap: wrap; }
.px-tile-text { margin: 8px 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
.px-tile-go { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 16px; color: var(--text); }
.px-tile-go svg { display: block; transition: transform 150ms var(--ease-out); }
.px-tile:hover, .px-tile:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mark); transform: translateY(-2px); }
.px-tile:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; }
.px-tile:hover .px-tile-go svg, .px-tile:focus-visible .px-tile-go svg { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) {
  .px-tile, .px-tile-go svg { transition: box-shadow 150ms var(--ease-out); }
  .px-tile:hover, .px-tile:focus-visible, .px-tile:hover .px-tile-go svg, .px-tile:focus-visible .px-tile-go svg { transform: none; }
}
@media (max-width: 1023px) { .px-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .px-tiles { grid-template-columns: minmax(0, 1fr); } .px-tile h3 { font-size: var(--fs-16); } }
/* What Tremaux is (#what): its three paragraphs one after another, then the link to its page. */
.px-what .px-sec-lede + .px-sec-lede { margin-top: var(--space-2); }
.px-what .px-what-link { margin-top: 24px; }
.px-fits2-card h3 { margin: 0; font-size: var(--fs-19); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.px-fits2-card p { margin: 8px 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
@media (max-width: 960px) { .px-fits2-list { grid-template-columns: minmax(0, 1fr); } }

/* The example on a phone: the heading, the two marker lines, the sources and the gap found, and all four cards close
   together; each card keeps its approval on the right of its name, smaller. */
@media (max-width: 767px) {
  .px-story-grid { gap: 20px; }
  .px-story-head h2 { font-size: var(--fs-32); }
  .px-story-text { margin-top: var(--space-3); font-size: var(--fs-16); line-height: 1.45; }
  .px-story-trace { margin-top: 12px; font-size: var(--fs-16); }
  .px-story-trace + .px-story-trace { margin-top: 10px; }
  .px-story-teams-h { margin-bottom: 8px; font-size: var(--fs-14); }
  .px-src { padding: 3px 10px 3px 8px; font-size: var(--fs-13); }
  .px-gapline { margin-top: 12px; padding: 8px 12px; }
  .px-story .px-gapline + .px-story-teams-h { margin-top: 20px; }
  .px-story .px-ex-teams { gap: 6px; }
  .px-story .px-ex-team { padding: 10px 12px; }
  .px-ex-team-head { margin-bottom: 2px; }
  .px-story .px-ex-team-name, .px-story .px-ex-sys { font-size: var(--fs-13); }
  .px-ex-ok { font-size: var(--fs-13); }
  .px-ex-ok svg { width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; }
  .px-story .px-ex-team .px-ex-action { font-size: var(--fs-16); line-height: 1.4; }
  .px-story .px-ex-team .px-ex-src { margin-top: 4px; font-size: var(--fs-14); line-height: 1.4; }
}

/* ================= Site fixes, November ================= */
/* The menu bar is solid over every section, light or dark, so it never turns a washed-out grey. */
.tb-nav { background: var(--ground); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Labels in sentence case at normal spacing, like the site's other small labels. */
.px-ex-team-name, .px-ex-label, .px-ex-step-l { letter-spacing: 0; text-transform: none; }
.px-ex-team-name { font-size: var(--fs-13); }

/* The story ends on a link to the step-by-step page, straight under the team cards. */
.px-story .px-story-link { margin-top: 24px; }

/* The FAQ page ends on one Book a call button. */
.px-faq-cta { margin-top: clamp(40px, 4vw, 56px); }

/* How it works: each step is its headline, then one line, beside its panel. */
.tb-fs-line { margin: 12px 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
.px-swipe-line { margin: var(--space-3) 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }

/* It gets better every time: the heading, its lede and three points, the section ending just after them. */

/* The home page on phones, set closer so it reads in fewer screens; wider screens are unchanged. Sections 56px apart
   (the phone web-section), each label close over its heading, less room between a heading and what follows; the
   three points of It gets better every time a list between hairlines rather than boxes; and the room inside the
   steps, the outcomes, the cards and the form a little closer. */
@media (max-width: 767px) {
  body:not([data-page]) .st-main > .tb-section:is(#what, #helps, #gap, #how, #story, #alongside, #better, #trust, #apply) { padding-block: var(--web-section); }
  body:not([data-page]) .px-sec-lede { font-size: var(--fs-19); }
  .px-steps-flow > li { padding-block: 24px; }
  #better .px-fits2-list { gap: 0; }
  #better .px-fits2-card { padding: 16px 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line); }
  #better .px-fits2-card:last-child { border-bottom: 1px solid var(--line); }
  #better .px-fits2-card h3 { font-size: var(--fs-19); }
  #better .px-fits2-card p { margin-top: 6px; }
  .px-apply2 .tb-container > .px-apply-close { margin-top: 24px; }
  .px-doors { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .px-door { padding-top: 20px; }
  .px-door > .px-door-go { padding-top: 20px; }
  /* Headings a size down, and the smaller text in the outcomes, the trust points and the steps a step closer. */
  body:not([data-page]) :is(.px-h2, .px-along2-h, .px-story-head h2) { font-size: var(--fs-32); }
  .px-steps-list p { font-size: var(--fs-16); }
  .px-steps-dia { margin-top: 16px; }
  .px-trust2 .px-trust { gap: 10px; }
  .px-trust2 .px-trust-point h3 { font-size: var(--fs-16); }
  .px-trust2 .px-trust-point p { font-size: var(--fs-16); }
  .px-trust2 .px-trust-more { margin-top: 16px; }
  .px-story .px-ex-team { padding: 10px 12px; }
  .px-story-trace { margin-top: 20px; }
}

/* ================= Pricing (pricing.html; proposal.js, PricingPage) =================
   Three sections: the heading beside the wide maze; on the second ground, one path (the 14-day workflow review, its
   red trace ending in an arrow at Then · You choose a plan, the offer, then the plans); and the close, under a
   hairline. Red only as the brand uses it: the trace, its squares (the home page hero's 8px square, 6px on phones),
   its arrow and the square markers, in each theme's own red. Wide screens: the trace runs across the five points.
   Narrow screens (900px and under): it runs down the left, and the plan cards are a swipe row. Phones (under 768px):
   no maze, and the page tightens. The trace draws in as it comes into view; under reduced motion and in print it is
   simply there. */
.px-pr :is(.px-pr-path, .px-pr-cards) :is(p, h2, h3, ul, ol) { margin: 0; }
.px-pr :is(.px-pr-points, .px-pr-cards, .px-pr-offer-list), .px-pr .px-pr-card ul { list-style: none; padding: 0; }
.px-pr-label { font-size: var(--fs-14); line-height: 1.4; font-weight: 600; color: var(--text-2); }
.px-pr-text { font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.px-pr-small { font-size: var(--fs-14); line-height: 1.45; color: var(--text-2); }
/* 1. The words in the first column, no wider than 640px so the headline breaks between its two sentences; 64px on,
   the wide maze to the container's right edge (proposal.js sizes it into --maze-w: 631px at 1440, no narrower than
   420px). The maze itself, not its caption, is centred against the words from the top of the label to the foot of the
   buttons (proposal.js works out --maze-top); the caption hangs under it, its two sentences each on a line, starting
   under its left wall, and the section keeps its usual padding under the caption. Under 1000px the maze goes under
   the buttons. Phones have no maze. */
/* The maze sits in from the container's right edge (--maze-shift: 64px at 1440, 40px at 1024), the gap to the words
   smaller by as much, so the words keep their width and the maze its size. */
.px-pr-hero-in { --maze-shift: clamp(40px, calc(5.77vw - 19.1px), 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: max(0px, calc(var(--space-8) - var(--maze-shift))); align-items: start; }
.px-pr-hero-copy { max-width: 640px; }
.px-pr-hero h1 { text-wrap: balance; }
/* The lede narrower by as much as the maze moved left, so its lines still end well short of the maze. */
@media (min-width: 1000px) { .px-pr-hero-copy .tb-lede { max-width: calc(100% - var(--maze-shift)); } }
.px-pr-h1-line, .px-pr-hero .px-maze-cap-line { display: block; }
.px-pr-hero .px-maze-fig { width: var(--maze-w, 560px); justify-self: end; margin-top: var(--maze-top, 0px); margin-right: var(--maze-shift); }
.px-maze-fig-wide figcaption { padding-left: var(--maze-inset, 12px); }
/* The wide maze's lines and markers at the manifesto maze's size, whatever its own (--k scales them back). */
.px-maze-wide .px-walls { stroke-width: calc(1.5px * var(--k, 1)); }
.px-maze-wide .px-route { stroke-width: calc(2.5px * var(--k, 1)); }
.px-maze-wide .px-mark { transform: scale(var(--k, 1)); transform-box: fill-box; transform-origin: center; }
.px-maze-wide .px-mark-end { transform-origin: 100% 50%; }
/* 2. The path. */
.px-pr-path { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
/* The five points: one 2px trace from the first point's square to the last point, where it ends in an arrow; a square
   at the start of each other point; each point's words beside its marker (the rows line up across the
   five). */
.px-pr-points { position: relative; width: 100%; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.px-pr-points::before { content: ""; position: absolute; left: 0; width: calc(80% + 1px); top: 3px; height: 2px; background: var(--mark); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-scene) var(--ease-reveal); }
.px-pr-points.tb-in::before { transform: none; }
.px-pr-point { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 10px; min-width: 0; }
.px-pr .px-pr-point > :not(.px-pr-seg) { margin: 0 var(--space-3) 0 22px; }
.px-pr-seg { position: relative; z-index: 1; display: block; width: 8px; height: 8px; margin-bottom: 4px; background: var(--mark); opacity: 0; transition: opacity var(--dur-hover) linear calc(var(--at, 0) * var(--dur-scene)); }
.px-pr-points.tb-in .px-pr-seg { opacity: 1; }
.px-pr-seg-end { width: 10px; height: 10px; margin: -1px 0 3px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.px-pr-point-t a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.px-pr-point-t a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--radius-sm); }
.px-pr-point-t { font-size: var(--fs-19); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
/* The offer: one card like the plan cards (their ground, radius and hairline), two columns, both from the top: on the
   left (five twelfths) the price a step bigger than the plans', what it is for beside it on its baseline, then 8px
   down the line that it can be spread, 16px down that the review stands on its own, and 24px down the button, under
   the price; on the right (seven twelfths) what you get, 12px between the lines. */
.px-pr-offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: var(--space-4) var(--space-8); width: 100%; box-sizing: border-box; padding: 40px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.px-pr-offer-buy { display: flex; flex-direction: column; align-items: flex-start; }
.px-pr-price { font-size: var(--fs-32); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.px-pr-price > span { font-size: var(--fs-16); font-weight: 500; letter-spacing: 0; color: var(--text); }
.px-pr .px-pr-offer-buy > .px-pr-small { margin-top: 8px; }
.px-pr-note { display: block; text-wrap: balance; }
.px-pr .px-pr-offer-buy > .px-pr-alone { margin-top: 16px; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.px-pr-alone b { font-weight: 600; color: var(--text); }
.px-pr-offer-buy > .tb-cta { margin-top: 24px; }
/* Step 1 (#review) clear of the sticky menu when another page links to it. */
.px-pr-review { scroll-margin-top: calc(var(--web-nav) + var(--space-3)); }
/* As specific as the margin reset above it (.px-pr :is(.px-pr-path, …) p), so its gap under the label holds. */
.px-pr .px-pr-offer-gets > .px-pr-offer-h { margin-bottom: 12px; font-size: var(--fs-13); line-height: 1.4; font-weight: 600; color: var(--text); }
.px-pr-offer-list { display: grid; gap: 12px; }
.px-pr-offer-list li, .px-pr-list li { display: flex; align-items: baseline; gap: 10px; }
.px-pr-offer-list li { font-size: var(--fs-16); line-height: 1.45; color: var(--text); }
.px-pr-offer-list li::before, .px-pr-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--mark); }
/* Step 2 stands clear of the offer: it starts the plans, 96px under the card (64px on phones). */
.px-pr-path-sec > .tb-container > .px-pr-step2 { margin-top: var(--space-12); }
/* The plan cards (#plans-list, where the trace's last point leads), clear of the sticky menu when they are led to. */
.px-pr-path-sec .tb-container > .px-pr-plans-in { margin-top: var(--space-8); scroll-margin-top: calc(var(--web-nav) + var(--space-3)); }
.px-pr-cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin: 0; }
.px-pr-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: 40px var(--space-4); border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.px-pr-name { padding-bottom: 10px; font-size: var(--fs-14); line-height: 1.4; font-weight: 600; color: var(--text-2); }
.px-pr-plan-price { padding-bottom: 6px; font-size: var(--fluid-title); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.px-pr-card > .px-pr-small { padding-bottom: var(--space-3); }
.px-pr-promise { padding-bottom: var(--space-3); font-size: var(--fs-19); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
.px-pr-best { padding: var(--space-2) 0 var(--space-3); border-top: 1px solid var(--line); font-size: var(--fs-16); line-height: 1.45; color: var(--text-2); }
.px-pr-best > span { display: block; margin-bottom: 4px; font-size: var(--fs-13); font-weight: 600; color: var(--text); }
.px-pr-list-h { min-height: 1.4em; padding-bottom: 12px; font-size: var(--fs-13); line-height: 1.4; font-weight: 600; color: var(--text); }
.px-pr-list { padding-bottom: var(--space-3) !important; display: flex; flex-direction: column; }
.px-pr-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-16); line-height: 1.45; color: var(--text); }
.px-pr-card-go { align-self: end; }
.px-pr-dots { display: none; }
.px-pr-quoted { margin: var(--space-3) 0 0; font-size: var(--fs-14); line-height: 1.5; color: var(--text-2); }
.px-pr-quoted a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; white-space: nowrap; }
.px-pr-quoted a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--radius-sm); }
/* What each workflow after the first costs: in the text's own colour. */
.px-pr-then { color: var(--text); font-weight: 500; }
/* 3. The close, on the page's own ground under a hairline: the statement and its button; the line for the larger
   business just under it. */
.px-pr > .px-pr-close { box-shadow: inset 0 1px 0 var(--line); }
.px-pr-close .tb-sub { display: block; }
.px-pr-close .tb-container > .tb-reveal + .tb-reveal { margin-top: var(--space-3); }
.px-pr-pilot { margin: 0; text-align: center; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
.px-pr-pilot a, .px-start-pilot a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.px-pr-pilot a:focus-visible, .px-start-pilot a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--radius-sm); }
/* The home page's form: the line for the larger business, above Questions? Read the FAQ. */
.px-start-pilot { margin: var(--space-2) 0 0; font-size: var(--fs-14); line-height: 1.5; color: var(--text-2); }
@media (prefers-reduced-motion: reduce), print {
  .px-pr-points::before, .px-pr-point::before { transform: none; transition: none; }
  .px-pr-seg { opacity: 1; transition: none; }
}
/* Five points in a narrower row: a little less room around them, and their lines a size smaller, so they wrap evenly. */
@media (max-width: 1199px) {
  .px-pr .px-pr-point > :not(.px-pr-seg) { margin: 0 12px 0 16px; }
  .px-pr-point-t { font-size: var(--fs-16); }
  .px-pr-point .px-pr-text { font-size: var(--fs-16); line-height: 1.45; }
}
/* Under 1000px: the maze under the buttons, at most 520px across. */
@media (max-width: 999px) {
  .px-pr-hero-in { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-6); }
  .px-pr-hero .px-maze-fig { width: min(100%, 520px); max-width: none; justify-self: start; margin-top: 0; margin-right: 0; }
}
/* Narrow screens: the trace down the left edge, the five points beside their markers; the offer one part under
   another; the plan cards a swipe row with a dot for each. */
@media (max-width: 900px) {
  /* --c: how far down each point its marker's middle sits. */
  .px-pr-points { --gap: 6px; --c: 4px; grid-template-columns: minmax(0, 1fr); row-gap: var(--gap); }
  .px-pr-points::before { content: none; }
  .px-pr-point { position: relative; grid-row: auto; grid-template-rows: none; grid-template-columns: 8px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding-bottom: var(--space-2); }
  .px-pr .px-pr-point > :not(.px-pr-seg) { grid-column: 2; margin: 0; }
  .px-pr-seg { grid-column: 1; grid-row: 1; margin: 0; transition-delay: calc(var(--i, 0) * var(--dur-scene) / 4); }
  /* The trace from each marker down to the next, in four even steps, ending in the arrow, pointing down. */
  .px-pr-point:not(:last-child)::before { content: ""; position: absolute; left: 3px; top: var(--c); width: 2px; height: calc(100% + var(--gap)); background: var(--mark); transform: scaleY(0); transform-origin: 50% 0; transition: transform calc(var(--dur-scene) / 4) linear calc(var(--i, 0) * var(--dur-scene) / 4); }
  .px-pr-points.tb-in .px-pr-point::before { transform: none; }
  .px-pr-seg-end { margin: 0 0 0 -1px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
  /* The offer in one column: the price, that the review stands on its own and the button; a hairline; what you get. */
  .px-pr-offer { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .px-pr-offer-gets { padding-top: var(--space-3); border-top: 1px solid var(--line); }
  .px-pr .px-pr-cards { display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--web-gutter)); padding-inline: var(--web-gutter); scroll-padding-inline: var(--web-gutter); }
  .px-pr-cards::-webkit-scrollbar { display: none; }
  .px-pr-card { flex: 0 0 85%; display: flex; flex-direction: column; scroll-snap-align: start; padding: var(--space-4) var(--space-3); }
  .px-pr-list-h:empty { display: none; }
  .px-pr-card-go { margin-top: auto; align-self: flex-start; }
  .px-pr-dots { display: flex; justify-content: center; gap: var(--space-1); margin-top: var(--space-3); }
  .px-pr-dot { width: 24px; height: 24px; padding: 0; border: 0; border-radius: var(--radius-chip); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .px-pr-dot::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-chip); background: var(--text-3); }
  .px-pr-dot.px-on::before { background: var(--text); }
  .px-pr-dot:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
  .px-pr-quoted { margin-top: var(--space-2); }
}
/* Phones: the opening is just the words (the maze is not drawn on phones; hidden here too); closer sections, the red
   markers 6px, what the review includes in one column. */
@media (max-width: 767px) {
  .px-pr-hero .px-maze-fig { display: none; }
  .px-pr-h1-line { display: inline; }
  .px-pr > .tb-section { padding-block: 40px; }
  .px-pr > .tb-section > .tb-container > * + * { margin-top: var(--space-4); }
  /* Each point: its marker beside its label ("Day 1"), then its title and line. */
  .px-pr-points { --c: 10px; }
  .px-pr-point { column-gap: 14px; padding-bottom: var(--space-1); }
  .px-pr .px-pr-point > .px-pr-label { grid-row: 1; align-self: center; }
  .px-pr-point-t { font-size: var(--fs-19); }
  .px-pr-seg { align-self: center; }
  .px-pr-price { font-size: var(--fs-32); }
  .px-pr-offer { padding: 24px; }
  .px-pr-path-sec > .tb-container > .px-pr-step2 { margin-top: var(--space-8); }
  .px-pr-card { padding: var(--space-3) 20px; }
  .px-pr-promise { font-size: var(--fs-16); padding-bottom: var(--space-2); }
  .px-pr-card > .px-pr-small, .px-pr-best, .px-pr-list { padding-bottom: var(--space-2) !important; }
  .px-pr-list li::before, .px-pr-offer-list li::before { width: 6px; height: 6px; }
  .px-pr-path { gap: var(--space-3); }
}

/* ================= Book a call (book.html; proposal.js, BookPage) =================
   The heading and its line, then Calendly's calendar straight away, the full width of the page's content, straight on
   the page with no box of ours around Calendly's own card (it keeps Calendly's light look in either theme); 700px tall,
   1000px on phones, where Calendly stacks its layout. Until it has loaded, a quiet line pulses where it will be. Or the button to open it; or, once booked, what is booked. Under
   it, the FAQ link and the email line. */
.px-book .px-book-sec > .tb-container > * + * { margin-top: var(--space-4); }
.px-book-cal { position: relative; }
.px-book-frame { box-sizing: border-box; height: 700px; min-width: 320px; overflow: hidden; }
.px-book-frame .calendly-spinner { display: none; }
.px-book-loading { position: absolute; z-index: 1; top: 0; left: 0; margin: 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); pointer-events: none;
  animation: px-pulse 1.6s ease-in-out infinite; transition: opacity 300ms var(--ease-out), visibility 0s linear 300ms; }
.px-book-cal.px-ready .px-book-loading { opacity: 0; visibility: hidden; animation: none; }
@keyframes px-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .px-book-loading { animation: none; transition: none; } }
.px-book-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.px-book-open { margin-top: var(--space-3); }
.px-book-more { display: grid; justify-items: start; gap: 12px; }
.px-book-more .px-start-faq, .px-book-more .px-apply-other { margin: 0; }
.px-book-done p { margin: 0; font-size: var(--fluid-lead); line-height: 1.4; font-weight: 500; color: var(--text); }
.px-book-done a { display: inline-block; margin-top: var(--space-2); font-size: var(--fs-16); color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 767px) { .px-book-frame { height: 1000px; } }

/* ================= Visual tidy-up (November) =================
   One type scale and four corners (the tokens at the top), one page width, the same rhythm in every section's heading,
   Tremaux red on the primary buttons, one icon style, and the same feedback on every button. */

/* Type: body text 16, the buttons at the scale's sizes, and long lines broken evenly. */
body { font-size: var(--fs-16); }
.tb-cta { font-size: var(--fs-16); }
.tb-cta.tb-sm { font-size: var(--fs-14); }
.tb-cta.tb-lg { font-size: var(--fs-19); }
.tb-seg button { font-size: var(--fs-14); }
@media (max-width: 900px) { .tb-fs-text { font-size: var(--fs-16); } }
:where(.st-main, .tb-footer) h3 { text-wrap: balance; }
:where(.st-main, .tb-footer) p { text-wrap: pretty; }

/* One page width: the nav's and the footer's, for every section on every page, the How it works scenes and the Demo
   page included. */
.tb-fs-grid { max-width: calc(var(--web-container) + 2 * var(--web-gutter)); }
.px-demo-page .tb-container.tb-wide { max-width: calc(var(--web-container) + 2 * var(--web-gutter)); }

/* Every section's heading block: its small label 16px over its heading, the heading 24px over its intro, then 64px to
   what follows (40px on phones, where the sections themselves are closer). */
.tb-section > .tb-container > :is(.px-mono-label, .tb-eyebrow) + * { margin-top: var(--space-2); }
.tb-section > .tb-container > :is(.px-h2, .px-along2-h) + .px-sec-lede { margin-top: var(--space-3); }
.tb-section > .tb-container > :is(.px-h2, .px-along2-h, .px-sec-lede) + :is(.px-gap, .px-steps-list, .px-wf, .px-trust, .px-fits2-list, .px-doors, .px-tiles) { margin-top: var(--space-8); }
.tb-fs-head .tb-fs-line { margin-top: var(--space-3); }
.tb-section.px-faq > .tb-container > .px-faq-h + .px-faq-group { margin-top: var(--space-8); }
/* The example, where its heading column stacks over its team cards (under 961px): 64px between them (40px on phones). */
.px-story-grid { row-gap: var(--space-8); }
.px-book .px-book-sec > .tb-container > :is(.px-book-cal, .px-book-open, .px-book-done) { margin-top: var(--space-8); }
/* Wide screens: Calendly sets its card 66px down inside its own frame (once the frame is about 900px wide), so the
   frame starts straight under the line and the card lands 64px under it; the loading line waits where the card will be. */
@media (min-width: 980px) {
  .px-book .px-book-sec > .tb-container > .px-book-cal { margin-top: 0; }
  .px-book-loading { top: var(--space-8); }
}
/* Dark mode. Calendly's page is see-through; what showed white was the browser's own backdrop, painted behind a frame
   whose light-or-dark setting differs from the page around it. Set to Calendly's own (normal), the frame shows only
   Calendly's card, straight on the page, its colours untouched. Under 980px Calendly drops its card for a white page
   with square corners, so there the frame keeps its white backdrop and takes the card radius: a rounded white panel. */
@media (min-width: 980px) { .px-book-frame iframe { color-scheme: normal; } }
@media (max-width: 979px) { html:not([data-mode="light"]) .px-book-frame { border-radius: var(--radius-card); } }
@media (max-width: 767px) {
  .tb-section > .tb-container > :is(.px-h2, .px-along2-h, .px-sec-lede) + :is(.px-gap, .px-steps-list, .px-wf, .px-trust, .px-fits2-list, .px-doors, .px-tiles) { margin-top: 40px; }
  .tb-section.px-faq > .tb-container > .px-faq-h + .px-faq-group,
  .px-book .px-book-sec > .tb-container > :is(.px-book-cal, .px-book-open, .px-book-done) { margin-top: 40px; }
  /* Pricing's two steps, each heading block to what it heads; the example's heading to its team cards; a How it works
     step's heading to its window. */
  .px-pr-path-sec > .tb-container > :is(.px-pr-review + .px-pr-path, .px-pr-step2 + .px-pr-plans-in) { margin-top: 40px; }
  .px-story-grid { row-gap: 40px; }
  .px-swipe-head + :is(.px-swipe-list, .px-swipe-cap) { margin-top: 40px; }
}

/* Tremaux red on the primary buttons: white words on it (6.5:1 on the dark grounds' red, 10:1 on the light ones'), a
   darker red under the pointer. Secondary buttons stay outlined, or plain links. On the oxide ground, where the
   accent is chalk, the words are ink. */
.tb-cta.tb-primary { background: var(--accent); color: var(--on-accent); }
.tb-cta.tb-primary:hover { opacity: 1; background: color-mix(in srgb, var(--accent) 80%, #000); }
[data-theme="oxide"] { --on-accent: var(--ink-900); }
/* Dark grounds: the small red markers (the squares, the traces and their dots, the maze, the wordmark's square) in
   the lifted red, so they stand out on black (5.6:1); the buttons keep the deeper red that carries white words. */
:root:not([data-mode="light"]), [data-theme="stage"] { --mark: var(--red-lift); }
/* The page you are on, in the nav: in the red the site uses for small red words. */
.tb-nav-links a[aria-current] { color: var(--red-text); }

/* One icon style: 16px beside words, 20px over a feature, drawn in a 1.5px line whatever the drawing's own scale,
   round ends and joins, in the colour of the words around it. (The tick on an approval stays green: it is the
   product's done mark.) */
:is(.px-wf-g, .px-ex-ok svg, .px-mode svg, .tb-chev, .px-demo-ico) { width: 16px; height: 16px; }
:is(.px-wf-g, .px-trust-ico, .px-mode svg, .tb-chev) { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
:is(.px-wf-g, .px-trust-ico, .px-ex-ok svg, .px-mode svg, .tb-chev, .px-demo-ico) :is(path, circle, rect):not(.px-wf-gf) { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.px-ex-ok svg { stroke-linecap: round; stroke-linejoin: round; }
.px-wf-clock { width: 16px; height: 16px; }
.px-wf-strip .px-wf-g { margin-top: 1px; }

/* Marker lines: the square on the first line, as the pricing lists have it (8px, sitting on the line's baseline). */
.px-story-trace { align-items: baseline; gap: 10px; }
.px-story-trace .px-sq { width: 8px; height: 8px; }
@media (max-width: 767px) { .px-story-trace .px-sq { width: 6px; height: 6px; } }

/* Numbers in figures of one width: times, prices, day labels and the counts in the diagrams. */
:is(.px-pr-price, .px-pr-plan-price, .px-pr-small, .px-pr-label, .px-ex-ok, .px-ex-src, .px-ex-action, .px-story-trace, .px-story-text,
  .px-gap-axis-in, .px-gap-time, .px-gap-mark, .px-gap-cost, .px-gap-avoided, .px-sd, .px-wf-time, .px-wf-items, .px-wf-do, .px-demo-count,
  .px-door-text, .px-door-t, .ps-when, .ps-big) { font-variant-numeric: tabular-nums lining-nums; }

/* Product frames: the frame radius (square to the edges where a phone shows them edge to edge), and their own ground
   at their final size until the product has loaded in them. The scenes' progress marks are rounded bars. */
.tb-frame-screen { border-radius: var(--radius-frame); }
.tb-filmscene .tb-frame-screen { background: var(--ground-2); }
.tb-fs-track, .tb-fs-fill { border-radius: var(--radius-chip); }

/* Every button and button-like link: a hover state, a press (a touch smaller, 120ms), and the same focus ring. */
.tb-cta { transition: transform 120ms var(--ease-out), opacity var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out); }
:is(.tb-nav-menu, .px-mode, .px-wf-btn, .px-demo-btn, .px-pr-dot, .ps-more, .tx-consent-btn, .px-cookie-link) { transition: transform 120ms var(--ease-out), color var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out); }
.tb-seg button, .tb-fs-tick, .px-swipe-dot { transition: transform 120ms var(--ease-out), color var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out); }
:is(.tb-cta, .tb-nav-menu, .px-mode, .px-wf-btn, .tb-seg button, .px-demo-btn:not(:disabled), .px-pr-dot, .px-swipe-dot, .ps-more, .tb-fs-tick, .tx-consent-btn, .px-cookie-link):active { transform: scale(.97); }
.tb-nav-menu:hover, .px-cookie-link:hover { color: var(--text-2); }
.px-wf-btn:not([aria-pressed="true"]):hover { color: var(--text); }
.px-pr-dot:not(.px-on):hover::before { background: var(--text-2); }
.px-swipe-dot:not(.px-on):hover::before { opacity: 1; }
.ps-more:hover { box-shadow: inset 0 0 0 1px var(--text-2); }
.tb-fs-tick:not(.tb-on):hover .tb-fs-track { background: var(--text-3); }
.tx-consent-accept:hover { background: color-mix(in srgb, var(--banner-text) 82%, var(--banner-bg)); }
.tx-consent-reject:hover { box-shadow: inset 0 0 0 1px var(--banner-text); }
.px-faq-item summary:hover .px-faq-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:is(.tb-cta, .tb-nav a, .tb-nav-menu, .tb-wordmark, .px-mode, .px-wf-btn, .tb-seg button, .px-demo-btn, .px-pr-dot, .px-swipe-dot, .ps-more, .tb-fs-tick,
  .tx-consent-btn, .px-cookie-link, .px-faq-item summary, .tb-footer a, .px-start-faq):focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  :is(.tb-nav-menu, .px-mode, .px-wf-btn, .px-demo-btn, .px-pr-dot, .ps-more, .tx-consent-btn, .px-cookie-link, .px-swipe-dot) { transition: none; }
}

/* What Tremaux does, at the top of the How it works page: five lines at the lede's size, apart by 16, 24 under the
   heading; the key line at the end in the text's own colour and weight. */
.px-does-lines { max-width: 40em; }
.px-does-lines p { margin: 0; font-size: var(--fs-lede); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.px-does-lines p + p { margin-top: var(--space-2); }
.px-does-key { font-weight: 600; color: var(--text); }
.px-how-head.tb-section > .tb-container > * + * { margin-top: var(--space-3); }
/* The heading and lines on the left, the diagram beside them, centred against them (from 961 up); under them, 40
   apart, on phones and tablets. The diagram is drawn at its own width (EarlierDia), so it only needs the room. The
   limit is dashed in the secondary text colour, each row's time line a hairline. The draw-in: each rising line in
   turn, 450 apart, then the markers, their drop lines and captions; with motion reduced, or printed, all at once. */
.px-how-intro { display: grid; row-gap: 40px; }
/* On a screen tall and wide enough, the intro fills the screen under the menu bar, its words and diagram centred in it
   so the space above and below is equal; on shorter screens and phones it keeps its usual padding. */
@media (min-width: 768px) and (min-height: 800px) {
  .px-how-head.tb-section { box-sizing: border-box; min-height: calc(100vh - var(--px-nav-h, 52px)); min-height: calc(100svh - var(--px-nav-h, 52px)); display: flex; align-items: center; padding-block: 40px; }
  .px-how-head.tb-section > .tb-container { width: 100%; }
}
.px-how-text > * + * { margin-top: var(--space-3); }
.px-ea-fig { margin: 0; min-width: 0; }
.px-ea-fig .px-sd { width: 100%; height: auto; }
@media (min-width: 961px) { .px-how-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-8); align-items: center; } }
.px-ea-limit { fill: none; stroke: var(--text-2); stroke-width: 1.2; stroke-dasharray: 4 3; }
.px-ea-base { fill: none; stroke: var(--line); stroke-width: 1; }
.px-ea .px-ea-line { stroke-dasharray: 1 1; stroke-dashoffset: 1; stroke-opacity: 0; transition: stroke-dashoffset 700ms cubic-bezier(.4, 0, .2, 1) calc(150ms + var(--i) * 450ms), stroke-opacity 0s linear calc(150ms + var(--i) * 450ms); }
.px-ea .px-ea-late { opacity: 0; transition: opacity 320ms ease 1500ms; }
.px-ea.tb-in .px-ea-line { stroke-dashoffset: 0; stroke-opacity: 1; }
.px-ea.tb-in .px-ea-late { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .px-ea .px-ea-line, .px-ea .px-ea-late { transition: none; } }
@media print { .px-ea .px-ea-line { stroke-dashoffset: 0; stroke-opacity: 1; } .px-ea .px-ea-late { opacity: 1; } }

/* The worked example in two parts: The first time over its heading, the label's size and weight; then Three months
   later under a hairline, 64 apart (40 on phones), in the same two columns: its label, heading and line on the left,
   what it saved on the right, each line with its square, and the line that says why. */
.px-story-when { margin: 0 0 var(--space-2); font-size: var(--fs-14); line-height: 1.4; font-weight: 600; color: var(--text-2); }
.tb-section.px-story .px-story-later { margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.px-story-later .px-story-head h3 { margin: 0; font-size: var(--fs-title); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: var(--text); text-wrap: balance; }
.px-story-later-out > .px-story-trace:first-child { margin-top: 0; }
.px-story-later-close { margin: var(--space-3) 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
@media (max-width: 767px) {
  .tb-section.px-story .px-story-later { margin-top: 40px; padding-top: 40px; }
  .px-story-later-close { margin-top: var(--space-2); }
}

/* It gets better every time, in four points: four across on wide screens, two by two between 961 and 1199, one under
   another below that. */
@media (min-width: 961px) { #better .px-fits2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { #better .px-fits2-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
