/* ScaffTRK website. Brand: Confident strength (black header with the red slash). Direction C ("Find your working day") ported 2026-10-26.
   Tokens come from docs/design/2026-10-07-scafftrk/brand.css; values unchanged. Fonts are self-hosted (Archivo 800, Inter variable).
   Brand red is the brand, never a danger colour: a form error is a black-edged note with the amber warning mark.
   Red is used ONLY for the main button and the slash (header wordmark, hero / page-head diagonal). Amber (hazard) is only for "look here".
   Layout: mobile-first. The class list for the page legs is docs/design/2026-10-26-website/CLASSES.md.
   Pages the refresh has not reached yet still use the older blocks below (hero slab, stages, spots, page-head, register and sign-in forms). */

@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/fonts/archivo-latin-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/inter-latin-variable.woff2') format('woff2');
}

:root {
  --font: 'Inter', system-ui, 'Segoe UI', sans-serif;
  --display: 'Archivo', 'Arial Black', 'Segoe UI', sans-serif;
  --brand: #B71622;
  --brand-hover: #D01B28;
  --brand-on-dark: #EF4B57;
  --black: #111214;
  --black-deep: #0A0B0D;
  --hazard: #FFB81C;
  --canvas: #F4F6F8;
  --surface: #FFFFFF;
  --inset: #EBEEF2;
  --ink: #17202A;
  --ink-2: #364250;
  --ink-3: #566170;
  --line: #D8DDE6;
  --line-2: #C3CAD5;
  --ctl: #77818F;
  --on-dark: #F5F4F0;
  --on-dark-2: #C9CBCF;
  --dark-line: #2B2E34;
  --dark-line-2: #3A3E46;
  --gutter: 20px;
  --maxw: 1200px;
  --header-h: 64px;
  --amber: var(--hazard);
  --container: 1180px;
  --prose: 65ch;
  --r-sm: 2px; --r-md: 10px; --r-lg: 20px; --r-xl: 26px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px;
  --h1: 2.625rem; --h2: 2rem; --h3: 1.25rem; --small: .875rem;
  --chevrons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5 14 56 36'%3E%3Cg fill='%23181A1E'%3E%3Cpath d='M5 14h10l18 18-18 18H5l18-18z'/%3E%3Cpath d='M19 14h10l18 18-18 18H19l18-18z'/%3E%3Cpath d='M33 14h10l18 18-18 18H33l18-18z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--canvas); color: var(--ink-2);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.55;
  overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; }
h1, h2 { line-height: 1.04; }
h1 { font-size: var(--h1); }
p { margin: var(--s2) 0; max-width: var(--prose); }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--ink); text-decoration-color: var(--ink-3); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Focus: always visible. Light surfaces get a black ring, dark surfaces a white one. */
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }
.btn:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 2px #FFFFFF; }

.skip { position: absolute; left: 8px; top: -100px; z-index: 100; background: #FFFFFF; color: var(--ink); padding: 12px 18px; font-weight: 600; border: 2px solid var(--black); }
.skip:focus { top: 8px; }

.wrap { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-left: auto; margin-right: auto; }
section { scroll-margin-top: var(--header-h); }

/* Type */
.display, h1, h2.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; word-spacing: .12em; }
h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; word-spacing: .12em; font-size: var(--h2); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.2; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.on-dark { color: var(--on-dark-2); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #FFFFFF; }
.on-dark .lede { color: var(--on-dark-2); }
.on-dark a { color: #FFFFFF; text-decoration-color: var(--on-dark-2); }

/* Buttons */
.btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-sm); border: 2px solid var(--brand); background: var(--brand); color: #FFFFFF;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.pri { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.btn.pri:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.ghost { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.sm { min-height: 44px; padding: 0 16px; white-space: nowrap; }

/* Header (direction C): black 64 px bar, the red slash before the wordmark, plain white links, one red button.
   Under 701px the links fold behind the Menu button that site.js drives (button + panel, same ids and classes as before). */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #FFFFFF; }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo::before { content: ""; flex: none; width: 7px; height: 25px; margin-right: 12px; background: var(--brand); transform: skew(-20deg); }
.logo img { height: 23px; width: auto; }

.nav-toggle { display: none; appearance: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: transparent; color: #FFFFFF; border: 2px solid #6B7280; border-radius: var(--r-sm); font: 600 .875rem/1 var(--font); cursor: pointer; }
.nav-toggle:hover { border-color: #FFFFFF; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: #FFFFFF; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.site-nav { display: flex; flex-direction: column; align-items: stretch; background: var(--black); }
.site-nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 2px; color: #FFFFFF; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--dark-line); }
.site-nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: #FFFFFF; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 4px 0 0 #FFFFFF; padding-left: 14px; }
.site-nav .btn { margin-top: 14px; }
.site-nav .btn[aria-current="page"] { box-shadow: 0 0 0 2px #FFFFFF; }
/* With script: the panel hangs under the header bar until the button opens it */
.js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 4px var(--gutter) 20px; border-top: 1px solid var(--dark-line-2); border-bottom: 1px solid var(--dark-line-2); }
.js .site-header.open .site-nav { display: flex; }
/* Without script the links simply wrap under the logo */
html:not(.js) .site-header .wrap { height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 12px; }
html:not(.js) .site-nav { width: 100%; }

/* Hero: black with the red slash. The slab behind the devices is the deep black with the faint chevron triplet. */
.hero:has(.hero-grid) { position: relative; background: var(--black); color: var(--on-dark-2); overflow: hidden; isolation: isolate; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; z-index: -1; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 0; bottom: -28px; clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%); }
.hero-visual::before { background: var(--brand); }
.hero-visual::after { background: var(--chevrons) no-repeat 84% 40px / 150px auto, var(--black-deep); top: 10px; }
.hero-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.hero:has(.hero-grid) h1 { color: #FFFFFF; font-size: clamp(2.125rem, 1.3rem + 4.6vw, 4.25rem); line-height: .98; max-width: 15ch; }
.hero:has(.hero-grid) .sub { margin-top: 20px; font-size: 1.1875rem; max-width: 40ch; color: var(--on-dark-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero:has(.hero-grid) .small { margin: 16px 0 0; font-size: .9375rem; color: var(--on-dark-2); }

/* Device frames, drawn in CSS around the sample screens */
.hero-visual { position: relative; margin: 0; padding: 62px 0 8px; }
.laptop { position: relative; width: 100%; }
.laptop .lid { background: var(--black-deep); border: 1px solid #3A3E46; border-radius: 10px 10px 2px 2px; padding: 2.2% 2.2% 2.6%; box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
.laptop .screen { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #FFFFFF; border-radius: 2px; }
.laptop .base { height: 13px; width: 103%; margin-left: -1.5%; background: linear-gradient(#2A2D33, #16181B); border-radius: 0 0 14px 14px; position: relative; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); }
.laptop .base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #0A0B0D; border-radius: 0 0 6px 6px; }
div.phone { position: relative; width: 100%; background: var(--black-deep); border: 1px solid #3A3E46; border-radius: 26px; padding: 7px; box-shadow: 0 16px 36px rgba(0, 0, 0, .45); }
div.phone .screen { display: block; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top center; background: #FFFFFF; border-radius: 20px; }
div.phone::before { content: ""; position: absolute; z-index: 1; top: 12px; left: 50%; width: 26%; height: 6px; transform: translateX(-50%); background: var(--black-deep); border-radius: 3px; opacity: .85; }
.hero-visual .phone { position: absolute; right: 2%; bottom: -10px; width: 27%; max-width: 150px; }
.ph-block { background: #E7EAEE; color: var(--ink-3); display: grid; place-items: center; text-align: center; font-size: .875rem; aspect-ratio: 16 / 10; width: 100%; padding: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-visual .laptop { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-visual .phone { animation: rise .7s .25s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Bands */
.band { padding: 56px 0; }
.band.white { background: var(--surface); }
.band.black { background: var(--black); }
.band-head { max-width: 40rem; margin-bottom: 32px; }


/* Six stages: the chevron gauge. Done = grey, current = white, to come = dim (no red: red is the button and the slash only). */
.stages { display: grid; gap: 4px; margin-top: 8px; counter-reset: stage; }
.stage { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; padding: 12px 0; --seg: #8A9099; }
.stage::before {
  content: ""; display: block; width: 52px; height: 16px; margin-top: 4px; background: var(--seg);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%);
}
.stage.now { --seg: #FFFFFF; }
.stage.next { --seg: var(--dark-line-2); }
.stage h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.25rem; color: #FFFFFF; margin-bottom: 4px; line-height: 1.1; }
.stage p { margin: 0; color: var(--on-dark-2); max-width: 30ch; font-size: 1rem; }
.closing { margin-top: 28px; font-size: 1.1875rem; color: #FFFFFF; max-width: 40ch; border-left: 4px solid #FFFFFF; padding-left: 16px; }


/* Spotlights */
.spots { display: grid; gap: 56px; }
.spot { display: grid; gap: 24px; align-items: center; }
.spot h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); line-height: 1.05; margin-bottom: 12px; }
.spot p { max-width: 52ch; margin: 0; }
.spot-visual { margin: 0; }
.spot-visual .laptop .lid { box-shadow: 0 14px 30px rgba(17, 18, 20, .25); }
.spot-visual .laptop .base { box-shadow: 0 8px 16px rgba(17, 18, 20, .25); }
.phones { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.phones .phone { width: min(44%, 200px); box-shadow: 0 12px 26px rgba(17, 18, 20, .3); }
.phones .phone + .phone { margin-top: 28px; }

/* Trust */
.trust { display: grid; gap: 28px; }


/* FAQ */
.faq { max-width: 52rem; border-top: 4px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 6px 4px 0; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq details p { margin: 0 0 18px; max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Register interest */
.register-grid { display: grid; gap: 32px; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 16px 28px; }
.field { margin-bottom: 20px; }
.field label, .field .legend { display: block; font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.help { display: block; color: var(--ink-3); font-size: .9375rem; line-height: 1.4; margin: 0 0 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=password], .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: #FFFFFF; border: 1px solid var(--ctl); border-radius: 2px;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; padding-right: 40px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2317202A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border: 2px solid var(--black); }
.field input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.field input[type=number]::-webkit-outer-spin-button, .field input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field-error { display: none; align-items: flex-start; gap: 8px; margin: 8px 0 0; font-weight: 600; color: var(--ink); font-size: .9375rem; line-height: 1.4; }
.field.has-error .field-error { display: flex; }
.field-error::before { content: "!"; flex: none; width: 20px; height: 20px; margin-top: 0; background: var(--hazard); color: var(--black); font: 800 .8125rem/20px var(--font); text-align: center; border-radius: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; }
.consent input { flex: none; appearance: none; width: 24px; height: 24px; margin: 10px 0 0; border: 2px solid var(--ctl); border-radius: 2px; background: #FFFFFF; display: grid; place-content: center; cursor: pointer; }
.consent input::after { content: ""; width: 12px; height: 7px; border-left: 3px solid #FFFFFF; border-bottom: 3px solid #FFFFFF; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--black); border-color: var(--black); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.consent label { font-weight: 400; color: var(--ink-2); padding: 10px 0; margin: 0; font-size: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 8px; }
.form-actions .btn { width: 100%; }
.form-status { margin: 16px 0 0; font-weight: 600; color: var(--ink); min-height: 1.4em; }
.form-status.bad { display: flex; gap: 8px; align-items: flex-start; border-left: 4px solid var(--black); background: var(--canvas); padding: 12px 14px; }
.form-status.bad::before { content: "!"; flex: none; width: 20px; height: 20px; background: var(--hazard); color: var(--black); font: 800 .8125rem/20px var(--font); text-align: center; border-radius: 2px; }
.success { border-left: 4px solid var(--black); background: var(--canvas); padding: 22px 18px; }
.success h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.375rem; margin-bottom: 6px; }
.success h2 { font-size: 1.75rem; margin: 0 0 12px; }
.success p { margin: 0; font-size: 1.125rem; color: var(--ink); }
.success:focus { outline: none; }

/* Footer */
/* Footer (direction C): black, wordmark with the slash, the two guide-only lines, the links */
.site-footer { background: var(--black); color: var(--on-dark-2); padding: var(--s6) 0; font-size: .875rem; }
.site-footer .wrap { display: grid; gap: 20px; }
.site-footer .logo img { height: 23px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #FFFFFF; text-decoration-color: var(--on-dark-2); }
.footer-nav a:hover { text-decoration-color: #FFFFFF; }
.site-footer p { margin: 0 0 4px; max-width: 60ch; color: var(--on-dark-2); }
.footer-copy p:last-child { margin-bottom: 0; }

/* Privacy page */
.page-head { position: relative; background: var(--black); overflow: hidden; isolation: isolate; padding: 44px 0 40px; }
.page-head::after, .page-head::before { display: none; }
@media (min-width: 760px) { .page-head::after, .page-head::before { display: block; } }
.page-head::after { content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 38%; background: var(--chevrons) no-repeat 40% 50% / 130px auto, var(--black-deep); clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%); }
.page-head::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: calc(38% + 10px); background: var(--brand); clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%); }
.page-head h1 { color: #FFFFFF; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.25rem); line-height: 1; }
.page-head p { color: var(--on-dark-2); margin: 14px 0 0; }
.prose { background: var(--surface); padding: 40px 0 72px; }
.prose .wrap > * { max-width: 68ch; }
.prose h2 { font-size: 1.375rem; margin: 36px 0 10px; letter-spacing: 0; }
.prose ul { list-style: none; margin: 0 0 1em; }
.prose ul li { position: relative; padding: 4px 0 4px 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 17px; height: 11px; background: var(--chevrons) no-repeat center / contain; }
.prose mark { background: var(--hazard); color: var(--black); padding: 1px 6px; font-weight: 700; border-radius: 2px; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; }

/* 640 and up */
@media (min-width: 640px) {
  .form-panel { padding: 32px 28px 32px; }
  .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .row-2 .field { display: flex; flex-direction: column; }
  .row-2 .field .help { flex: 1 0 auto; }
  .form-actions .btn { width: auto; min-width: 240px; }
  .spots { gap: 72px; }
}

/* 900 and up: two-column layouts, the hero slab moves to the right */
@media (min-width: 900px) {
  .btn.sm { padding: 0 20px; }
  .hero:has(.hero-grid) { --slant: 90px; }
  .hero-visual::before, .hero-visual::after { display: none; }
  .hero:has(.hero-grid)::before, .hero:has(.hero-grid)::after { content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 52%; clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
  .hero:has(.hero-grid)::before { width: calc(52% + 12px); background: var(--brand); }
  .hero:has(.hero-grid)::after { background: var(--chevrons) no-repeat 30% 12% / 190px auto, var(--black-deep); }
  .hero-grid { grid-template-columns: 1fr 1.18fr; gap: 24px; align-items: center; padding-top: 72px; padding-bottom: 80px; min-height: 600px; }
  .hero-visual { padding: 0; }
  .hero-visual .phone { right: -2%; bottom: -34px; width: 26%; max-width: 190px; }
  .band { padding: 88px 0; }
  .stages { grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
  .stage { grid-template-columns: 1fr; row-gap: 14px; padding: 0; align-content: start; }
  .stage::before { width: 100%; height: 22px; margin-top: 0; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 0 100%, 13px 50%); }
  .stage h3 { font-size: 1.125rem; }
  .spot { grid-template-columns: 5fr 7fr; gap: 56px; }
  .spot.rev .spot-text { order: 2; }
  .trust { grid-template-columns: 4fr 8fr; gap: 56px; }
  .register-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
  .register-text { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: 1fr 1.3fr; }
  .hero:has(.hero-grid)::before, .hero:has(.hero-grid)::after { width: 58%; }
  .hero:has(.hero-grid)::before { width: calc(58% + 12px); }
  .band { padding: 104px 0; }
}

/* ---------- Six pages (added 2026-10-09) ---------- */

.btn.dark { background: var(--black); border-color: var(--black); color: #FFFFFF; }
.btn.dark:hover { background: #2A2D33; border-color: #2A2D33; }
.btn.dark:focus-visible { box-shadow: 0 0 0 2px #FFFFFF; }
.more { margin-top: 32px; }
.more-link { margin: 32px 0 0; }

/* Home: the six stages by name only, the three teams as short links */
.stages-short .stage { padding: 8px 0; }
.stages-short .stage h3 { margin: 0; }


/* Page head with the stage gauge in it (How it works): no slash graphic, the gauge needs the dark ground */
.page-head.plain::before, .page-head.plain::after { display: none !important; }
.page-head.plain { padding-bottom: 56px; }
.page-head .lede { margin: 14px 0 0; max-width: 62ch; }
.page-head.plain .stages { margin-top: 36px; }


/* Register page */
.register-text .side-title { font-size: 1.5rem; margin-bottom: 14px; }
.next-steps { counter-reset: ns; border-top: 4px solid var(--black); }
.next-steps li { counter-increment: ns; position: relative; padding: 14px 0 14px 48px; border-bottom: 1px solid var(--line-2); }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 10px; font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--ink); }
.next-steps strong { display: block; color: var(--ink); }
.next-steps li.done::before { content: "\2713"; }
.next-steps span { display: block; }
.small-note { margin: 18px 0 0; font-size: .9375rem; color: var(--ink-3); }

/* ---------- Back office (/admin/) ---------- */
.admin-header .admin-label { display: none; color: var(--on-dark-2); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .875rem; }
.admin-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.admin-actions[hidden] { display: none !important; }
.new-count { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; background: var(--hazard); color: var(--black); font-weight: 700; font-size: .9375rem; border-radius: 2px; white-space: nowrap; }
.new-count.zero { background: transparent; color: var(--on-dark-2); border: 1px solid var(--dark-line-2); }
.admin-actions .who { display: none; color: var(--on-dark-2); font-size: .9375rem; }
.admin-main { min-height: 70vh; padding: 28px 0 72px; }
.admin-note { color: var(--ink-3); }
.signin-panel { max-width: 28rem; margin: 24px auto 0; }
.panel-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; margin-bottom: 12px; }
.panel-help { margin-bottom: 20px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: #FFFFFF; color: var(--ink); border: 2px solid var(--black); border-radius: 2px; font: 600 1rem/1 var(--font); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--black); color: #FFFFFF; }
.chip .chip-n { display: inline-block; min-width: 22px; padding: 2px 6px; background: var(--inset); color: var(--ink); font-size: .8125rem; text-align: center; border-radius: 2px; }
.chip[aria-pressed="true"] .chip-n { background: var(--hazard); color: var(--black); }
.list-status { margin: 16px 0; color: var(--ink-3); font-weight: 600; }
.leads { display: grid; gap: 16px; }
.lead { background: var(--surface); border: 1px solid var(--line-2); border-top: 4px solid var(--black); padding: 16px; }
.lead-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.lead-company { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; overflow-wrap: anywhere; }
.lead-name { margin: 4px 0 0; color: var(--ink-2); }
.lead-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lead-date { color: var(--ink-3); font-size: .9375rem; white-space: nowrap; }
.badge { display: inline-block; padding: 3px 10px; font-weight: 700; font-size: .875rem; border-radius: 2px; }
.badge.new { background: var(--hazard); color: var(--black); }
.badge.contacted { background: var(--black); color: #FFFFFF; }
.badge.not-a-fit { background: var(--inset); color: var(--ink); border: 1px solid var(--line-2); }
.lead-body { display: grid; gap: 20px; }
.facts { display: grid; grid-template-columns: 8.5rem 1fr; gap: 8px 12px; margin: 0; align-content: start; }
.facts dt { color: var(--ink-3); font-size: .9375rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .need { white-space: pre-wrap; }
.facts .none { color: var(--ink-3); }
.lead-edit { background: var(--canvas); border: 1px solid var(--line); padding: 14px; }
.lead-edit .field { margin-bottom: 14px; }
.lead-edit .field select, .lead-edit .field textarea { min-height: 44px; }
.lead-edit .field textarea { min-height: 84px; }
.save-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.save-msg { margin: 0; font-weight: 600; color: var(--ink); }
.save-msg.bad { border-left: 4px solid var(--black); padding-left: 10px; }
.updated { margin: 12px 0 0; font-size: .875rem; color: var(--ink-3); }

@media (min-width: 640px) {
  .admin-header .admin-label { display: inline; margin-left: 20px; }
  .admin-actions .who { display: inline; }
  .lead { padding: 20px 24px; }
}

@media (min-width: 900px) {
  .lead-body { grid-template-columns: 1fr 1fr; gap: 32px; }
  .admin-main { padding: 40px 0 96px; }
  .page-head.plain .stages { margin-top: 44px; }
}
.page-head.plain .stage p { margin: 0; }
.page-head.plain .closing { margin: 32px 0 0; color: #FFFFFF; }
.page-head:not(.plain) p { max-width: 44ch; }
#denied-title { text-transform: none; font-family: var(--font); font-weight: 700; font-size: 1.375rem; line-height: 1.25; letter-spacing: 0; }


/* register form: "What would you use?" */
.slices-field { border: 0; padding: 0; min-width: 0; }
.slices-field legend { display: block; padding: 0; font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.slice-groups { display: grid; gap: 16px; }
.slice-group { border-top: 2px solid var(--black); padding-top: 8px; }
.group-name { margin: 0 0 4px; font-weight: 700; color: var(--ink); font-size: .9375rem; text-transform: uppercase; letter-spacing: .04em; }
.field label.slice-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 4px 0; font-weight: 400; color: var(--ink-2); cursor: pointer; }
.slice-opt input { flex: none; appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--ctl); border-radius: 2px; background: #FFFFFF; display: grid; place-content: center; cursor: pointer; }
.slice-opt input::after { content: ""; width: 12px; height: 7px; border-left: 3px solid #FFFFFF; border-bottom: 3px solid #FFFFFF; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.slice-opt input:checked { background: var(--black); border-color: var(--black); }
.slice-opt input:checked::after { opacity: 1; }
.slice-opt input:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.slice-opt .opt-name { flex: 0 1 auto; }

/* back office: interest by function */
.slice-counts { background: var(--surface); border: 1px solid var(--line-2); border-top: 4px solid var(--black); padding: 14px 16px 16px; margin: 0 0 20px; }
.slice-counts-h { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; line-height: 1.1; }
.slice-counts-note { margin: 4px 0 10px; color: var(--ink-3); font-size: .9375rem; }
.slice-count-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.slice-count-list li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; background: var(--canvas); border: 1px solid var(--line-2); border-radius: 2px; font-size: .9375rem; color: var(--ink); }
.slice-count-list li.soon { border-style: dashed; color: var(--ink-2); }
.slice-count-list .n { min-width: 22px; padding: 1px 6px; background: var(--black); color: #FFFFFF; font-weight: 700; font-size: .8125rem; text-align: center; border-radius: 2px; }
.interest-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.interest-list li { padding: 2px 8px; background: var(--canvas); border: 1px solid var(--line-2); border-radius: 2px; font-size: .875rem; color: var(--ink); }
.interest-list li.soon { border-style: dashed; color: var(--ink-2); }

/* One website sign-in; shares the ScaffTRK header, type and form controls. */
.signin-main { padding: 48px 0 64px; background: var(--canvas); min-height: 65vh; }
.signin-layout { display: grid; gap: 32px; align-items: start; }
.signin-intro { max-width: 36rem; }
.signin-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; color: var(--ink-2); margin-bottom: 16px; }
.signin-intro h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.06; margin: 0 0 24px; }
.signin-intro > p:not(.signin-eyebrow) { max-width: 29rem; }
.signin-card { width: 100%; max-width: 32rem; margin: 0; }
.signin-card .panel-title { font-size: 1.5rem; line-height: 1.2; }
.signin-card .form-actions .btn { width: 100%; min-width: 0; }
.signin-reset { margin: -6px 0 24px; font-size: .9375rem; }
.signin-destinations { display: grid; gap: 12px; margin: 24px 0; }
.signin-destinations .btn { width: 100%; min-height: 58px; white-space: normal; text-align: left; justify-content: flex-start; }
.signin-card [hidden] { display: none !important; }
.signin-card .form-status:empty { margin: 0; min-height: 0; }
@media (min-width: 900px) { .signin-main { padding: 80px 0 96px; } .signin-layout { grid-template-columns: 1.1fr 1fr; gap: 64px; } .signin-intro { padding-top: 32px; } }

/* Brand name keeps its own casing inside uppercase headings */
.brand-name { text-transform: none; }

/* 404 and enquire: footer sits at the bottom of a short page */
body[data-page="not-found"], body[data-page="enquire"], body[data-page="sign-in"], body[data-page="register"] { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body[data-page="not-found"] main, body[data-page="enquire"] main { flex: 1 0 auto; display: flex; flex-direction: column; }
body[data-page="sign-in"] main, body[data-page="register"] main { flex: 1 0 auto; }
body[data-page="not-found"] main .prose { flex: 1 0 auto; }

/* ---------- Side columns (2026-10-25): "On this page" lists and key facts beside Features, FAQ, Register and Privacy ----------
   Phones and tablets keep one column: the side column is hidden under 1024px (Features keeps its list as a row of buttons).
   Text is built from the pages' own words; no photos. */
.side-layout { display: grid; gap: 24px; }
.side-col { display: none; }
.side-col.show-mobile { display: block; }
.toc-title, .side-col .side-title { margin: 0 0 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: 1.125rem; line-height: 1.1; color: var(--ink); }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: #FFFFFF; color: var(--ink); border: 2px solid var(--black); border-radius: 2px; font-weight: 600; text-decoration: none; }
.toc a:hover { background: var(--black); color: #FFFFFF; }
.prose .toc li { padding: 0; }
.prose .toc li::before { display: none; }
.facts-list { margin: 0; border-top: 4px solid var(--black); }
.facts-list > div { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.facts-list dt { font-weight: 700; color: var(--ink); }
.facts-list dd { margin: 0; font-size: .9375rem; line-height: 1.5; }
.prose .wrap > .side-layout { max-width: none; }
.prose .side-main > * { max-width: 68ch; }

@media (min-width: 1024px) {
  .side-layout { grid-template-columns: minmax(0, 1fr) 232px; gap: 48px; align-items: start; }
  .side-col, .side-col.show-mobile { display: block; order: 2; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
  .side-main { order: 1; min-width: 0; }
  .toc ul { display: block; border-top: 4px solid var(--black); }
  .toc a { display: block; min-height: 40px; padding: 9px 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; font-weight: 500; line-height: 1.3; }
  .toc a:hover { background: none; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
}

/* Register: key facts as a third column once there is room (1200+); between 900 and 1199 they sit under the steps */
@media (min-width: 900px) and (max-width: 1199px) {
  .register-grid { grid-template-areas: "text form" "facts form"; grid-template-rows: auto 1fr; }
  .register-text { grid-area: text; position: static; }
  .form-panel { grid-area: form; }
  .register-grid > .side-col { display: block; grid-area: facts; position: static; max-height: none; overflow: visible; }
}
@media (min-width: 1200px) {
  .register-grid { grid-template-columns: 220px minmax(0, 1fr) 232px; gap: 40px; }
  .register-grid > .side-col { display: block; order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Phone: 16px floor for small text (desktop unchanged) */
@media (max-width: 480px) {
  .hero:has(.hero-grid) .small, .help, .group-name, .facts-list dd, .site-footer, .footer-nav a, .footer-note, .signin-reset { font-size: 1rem; }
}

/* =====================================================================================================================
   Direction C components (2026-10-26, plan pl-scafftrk-website-refresh-20261026; specimen docs/design/2026-10-26-website/direction-c.html).
   Ported as designed, mobile-first, same tokens. The class inventory for the page legs is docs/design/2026-10-26-website/CLASSES.md.
   ===================================================================================================================== */

/* Header and nav, 701px and up: inline links, optional ones drop under 1001px, the button stays */
@media (min-width: 701px) {
  :root { --gutter: 32px; --h1: 4.25rem; --h2: 2.75rem; }
  .logo img { height: 26px; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav, .js .site-header.open .site-nav { display: flex; flex-direction: row; align-items: center; position: static; margin-left: auto; padding: 0; gap: 24px; background: transparent; border: 0; }
  .site-header .wrap { gap: 24px; }
  .site-nav a:not(.btn) { min-height: 44px; padding: 0; border-bottom: 0; box-shadow: none; font-size: .875rem; font-weight: 400; white-space: nowrap; }
  .site-nav a[aria-current="page"]:not(.btn) { padding-left: 0; box-shadow: none; font-weight: 600; text-decoration: underline; text-decoration-color: #FFFFFF; text-decoration-thickness: 2px; text-underline-offset: 8px; }
  .site-nav .btn { margin: 0; }
  .site-nav .btn.sm { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
  .site-footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .site-nav { gap: 16px; }
  .site-nav a.optional:not(.btn) { display: none; }
}

/* Page rhythm: every section is 48 px top and bottom; a white band alternates with the canvas */
section { padding: var(--s6) 0; }
.white { background: var(--surface); }
.hero:has(.hero-grid) { padding: 0; }
figure { margin: 0; }
small, figcaption, .small { font-size: var(--small); color: var(--ink-3); }

.eyebrow { display: block; margin-bottom: var(--s3); font-size: var(--small); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: var(--s1); background: var(--hazard); }
.section-head { max-width: 850px; margin-bottom: var(--s4); }
.section-head p { margin-bottom: 0; }
.feature-link { display: inline-block; margin-top: var(--s3); font-size: 1rem; font-weight: 600; }

/* Cards: radius 10, 1 px line, white */
.pains li h3, .audience h3, .steps li h3, .slice h3, .teaser h3 { margin: 0 0 var(--s1); font-size: var(--h3); line-height: 1.3; }

/* Hero: copy left, one product image right. The photo slot stays reserved. */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
.hero h1 { font-size: var(--h1); }
.hero .eyebrow { margin-bottom: var(--s2); }
.hero-copy p { margin: var(--s2) 0; }
.hero-copy .small { margin: var(--s2) 0; }
.hero-media { align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin-top: var(--s1); }
figure.screen { border-radius: var(--r-lg); padding: var(--s1); border: 1px solid var(--line); background: var(--surface); }
figure.screen { width: 100%; }
figure.screen img { background: var(--inset); border-radius: var(--r-md); aspect-ratio: 1440 / 900; width: 100%; }
figure.screen.phone { max-width: 220px; width: 150px; }
figure.screen.phone img { aspect-ratio: 390 / 844; }
figure.screen figcaption { padding-top: var(--s1); }
.photo-slot { display: block; margin-top: var(--s2); padding: var(--s1) var(--s2); border: 1px dashed var(--line); font-size: var(--small); color: var(--ink-3); }
.photo-slot img { display: none; }
.photo-slot[hidden] { display: none; }

/* Eight-area grid: the generated teasers (home, between the markers) */
.areas-section { padding-top: var(--s4); }
.areas-section .section-head p { margin-top: var(--s2); }
.areas-section h2 { max-width: 600px; }
.teasers-areas { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.teaser { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); text-decoration: none; color: var(--ink-2); }
.teaser h3 { text-decoration: underline; text-underline-offset: 4px; }
.teaser:hover { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.teaser:hover h3 { text-decoration-thickness: 3px; }
.teaser .tag { margin: var(--s2) 0; font-size: 1rem; font-style: normal; color: var(--ink); }
.teaser .teaser-line { margin: 0; max-width: none; font-size: .875rem; color: var(--ink-3); }

/* Problem cards */
.pains { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding: 0; margin: 0; list-style: none; }
.pains li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); }
.pains p { margin-bottom: 0; }

/* Gauge: the app's five stage chevrons, any count (auto columns). Mark the stages still to come with .next */
.gauge { list-style: none; padding: 0; margin: var(--s4) 0 var(--s3); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3) var(--s1); }
.gauge li { min-width: 0; font-size: .875rem; font-weight: 700; color: var(--ink); }
.gauge li::before { content: ""; display: block; height: 24px; margin-bottom: var(--s2); background: var(--ink); clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%, 12% 50%); }
.gauge li.next::before { background: var(--line); }
.gauge-note { max-width: 80ch; font-size: .875rem; }

/* Audience cards: Office / On site / Your customers */
.audience-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.audience { display: flex; flex-direction: column; align-items: stretch; gap: var(--s3); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.audience-copy p { max-width: 46ch; }
.media-field { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: var(--s2); background: var(--inset); border-radius: var(--r-md); }

/* Straight answers */
.trust-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: 0; margin: 0; }
.trust-list li { padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.trust-list strong { display: block; color: var(--ink); }
.trust-list span { display: block; max-width: none; margin-top: var(--s1); font-size: 1rem; color: var(--ink-2); }

/* Early access steps */
.steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: 0; margin: 0 0 var(--s3); counter-reset: step; }
.steps li { display: block; counter-increment: step; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink-2); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: var(--s2); font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ink); }
.steps p { font-size: 1rem; }

/* Closing band (the CTA partial): headline left, the one red button right */
.close { border-top: 1px solid var(--line); }
.close .wrap { display: block; }
.close h2 { max-width: 750px; }
.close .btn { margin-top: var(--s3); }

/* Slice cards: name, short benefit, count, a disclosure for the detail. Used by Features and any "what is in it" grid. */
.slice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); align-items: start; }
.slice { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); background: var(--surface); }
.slice p { margin: var(--s2) 0; font-size: 1rem; }
.slice .slice-benefit { margin: 0 0 var(--s1); color: var(--ink-2); }
.slice .slice-count { margin: 0 0 var(--s2); font-size: .875rem; font-weight: 600; color: var(--ink-3); }
.slice details { margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: 1rem; }
summary { cursor: pointer; min-height: 32px; font-weight: 600; }
details ul { padding-left: var(--s3); color: var(--ink-2); }
.slice .ticks { list-style: disc; margin: var(--s1) 0 0; }
.slice .ticks li { padding: 0; margin: var(--s1) 0; }

/* Page intro (Features and the pages that follow): eyebrow, title, lede on the canvas */
.page-intro { padding: var(--s6) 0 var(--s3); }
.page-intro h1 { font-size: var(--h2); max-width: 20ch; }
.page-intro .lede { margin: var(--s2) 0 0; }
.page-intro .more-link { margin: var(--s2) 0 0; font-size: 1rem; }

/* On-page area nav: a sticky strip of links under the header; scrolls sideways on a phone */
.area-nav { position: sticky; top: var(--header-h); z-index: 30; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-nav ul { display: flex; gap: var(--s1); margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.area-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--canvas); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.area-nav a:hover { background: var(--black); border-color: var(--black); color: #FFFFFF; }

/* Features areas: a head (name, hint, count) over a card grid */
.areas { display: grid; gap: var(--s6); }
.area { padding: 0; scroll-margin-top: calc(var(--header-h) + 76px); }
.area-head { display: grid; gap: 2px var(--s2); margin-bottom: var(--s2); }
.area-head h2 { font-size: 1.75rem; }
.area-head p { margin: 0; max-width: none; }
.area-hint { color: var(--ink-3); }
.area-count { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

@media (min-width: 701px) {
  .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero-media { margin-top: 0; }
  figure.screen { padding: var(--s2); }
  figure.screen.phone { width: 116px; }
  .areas-section .section-head { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
  .areas-section .section-head p { max-width: 34ch; margin: 0; }
  .teasers-areas, .slice-grid, .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pains, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pains { gap: var(--s3); }
  .steps { gap: var(--s2); }
  .audience-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audience-copy { min-height: 260px; }
  .media-field { height: 300px; min-height: 0; }
  .gauge { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .gauge li { font-size: 1rem; }
  .close .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
  .close .btn { margin-top: 0; }
  .area-head { grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; }
  .area-head h2 { font-size: 2rem; }
}
@media (min-width: 1001px) {
  .teasers-areas, .slice-grid, .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .audience-copy { min-height: 210px; }
}

/* L4 (2026-10-26): home hero shots, the stage explainer, the "one job, five beats" cards, the signal lists. Additions only. */
.hero-shots { display: grid; gap: var(--s2); }
figure.screen.phone.short img { aspect-ratio: 600 / 846; }
.gauge.explained li span { display: block; margin-top: 4px; font-size: .875rem; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.beats { list-style: none; display: grid; gap: var(--s2); margin: 0; padding: 0; }
.beat { display: grid; gap: var(--s3); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.beat .eyebrow { margin-bottom: var(--s1); }
.beat h3 { margin: 0 0 var(--s1); font-size: var(--h3); line-height: 1.3; }
.beat-copy p { max-width: 54ch; margin-bottom: 0; }
.beat .media-field { height: auto; min-height: 0; gap: var(--s2); }
.beat .media-field figure.screen.phone { width: 120px; }
@media (min-width: 701px) {
  .hero-shots { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .beat:not(.text-only) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--s4); }
  .beat .media-field figure.screen.phone { width: 170px; }
  .slice-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* L6 (2026-10-26): hero media rebalanced so the laptop is the dominant image with the phone overlapping its lower right edge. */
.hero:has(.hero-shots) .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-shots { position: relative; display: block; padding-bottom: var(--s3); }
.hero-shots > figure.screen:first-child { width: 86%; }
.hero-shots > figure.screen.phone { position: absolute; right: 0; bottom: 0; width: 30%; min-width: 104px; max-width: 190px; box-shadow: 0 10px 28px rgba(17, 18, 20, .18); }
@media (min-width: 701px) {
  .hero:has(.hero-shots) .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .hero-shots { display: block; }
  .hero-shots > figure.screen.phone { width: 27%; min-width: 0; }
}

/* L6: touch viewports keep every readable label at 16 px (the ui-check font floor). */
@media (max-width: 700px) {
  .nav-toggle, .nav-toggle-label, .eyebrow, .teaser-line, .gauge-note, .area-count, .slice-count, .area-hint, .gauge li, .gauge.explained li span, .area-nav a, .photo-slot, .help, .slice-benefit, .footer-note { font-size: 1rem; }
}

/* L9 (2026-10-26): critic fixes. */
/* 1. Stage gauge on phones: a vertical list, chevron bar per stage with its label beside it. */
@media (max-width: 700px) {
  .gauge { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .gauge li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--s2); align-items: start; }
  .gauge li::before { grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 24px; margin: 2px 0 0; }
  .gauge li > span { grid-column: 2; }
  .gauge.explained li span { margin-top: 4px; }
}

/* 2. "What it does" expanders: no browser triangle, a small chevron that flips when open. */
.slice summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.slice summary::marker { content: ''; }
.slice summary::-webkit-details-marker { display: none; }
.slice summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px 3px 0; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform .15s; }
.slice details[open] summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
@media (prefers-reduced-motion: reduce) { .slice summary::after { transition: none; } }

/* 3. 404: the sticky header left a canvas strip above it in full-page captures; on this short page it just sits in flow. */
body[data-page="not-found"] .site-header { position: relative; }

/* 4. Features image band */
.feature-shots { padding: 0 0 var(--s4); }
.shots-band { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); align-items: start; }
.shots-band figure.screen { max-width: none; }
.shots-band figure.screen.phone { width: 100%; max-width: 220px; justify-self: center; }
.shots-band figure.screen.phone img { aspect-ratio: 600 / 1298; }
.shots-band figure.screen.phone.short img { aspect-ratio: 600 / 846; }
@media (min-width: 701px) {
  .shots-band { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); }
  .shots-band figure.screen.phone { width: 100%; }
  .shots-band figure.screen.phone.short img { aspect-ratio: 600 / 846; }
}

/* 5. Side columns sit at the top of their row, beside the content (static, so a full-page capture cannot park them at the foot). */
@media (min-width: 1024px) {
  .side-col, .side-col.show-mobile { position: static; align-self: start; max-height: none; overflow: visible; }
}
@media (min-width: 1200px) {
  .register-grid > .side-col { position: static; align-self: start; }
  .register-grid > .register-text { align-self: start; position: static; }
}

/* 6. Home audience cards: the shot fills the card width; the phone is centred at a sensible width. */
.media-field { padding: var(--s1); }
.media-field > figure.screen:not(.phone) { width: 100%; }
@media (min-width: 701px) {
  .audience .media-field { height: auto; min-height: 0; align-items: flex-start; }
  .audience .media-field figure.screen.phone { width: 100%; max-width: 240px; }
}
.audience .media-field figure.screen.phone { width: 100%; max-width: 240px; }

/* 7. A single card in an area spans two columns so the row is not left empty. */
@media (min-width: 701px) {
  .slice-grid:has(> :only-child) > * { grid-column: span 2; }
}

/* ---------- UI review fixes (2026-11-21, pack P-15; ids R9-nn in .claude/lead/lanes/ui-review/REVIEW-R9.md) ---------- */

/* R9-03: between 701 and 899 the hero column is 295 to 390 px wide, so the headline steps down with the width and never breaks inside a word */
@media (min-width: 701px) and (max-width: 899px) {
  .hero h1 { font-size: min(var(--h1), 7.2vw); }
}

/* R9-13: the three audience cards share one height, each picture pane is the same height, and the link sits at the card foot */
.audience-copy { display: flex; flex-direction: column; flex: 1 1 auto; align-items: flex-start; }
.audience-copy .feature-link { margin-top: auto; padding-top: var(--s3); }
@media (min-width: 701px) {
  .audience .media-field { height: auto; min-height: 420px; align-items: center; }
  .audience .media-field figure.screen.phone { max-width: 200px; }
}

/* R9-16: 44 px to tap on a phone for the "What it does" toggles and the arrow links */
@media (max-width: 700px) {
  .slice summary { min-height: 44px; }
  .feature-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s1); }
  .page-intro .more-link a, .more-link a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* R9-17: the phone's 16 px floor for the four small-text classes (the card rules out-ranked the earlier floor list) */
@media (max-width: 700px) {
  .teaser .teaser-line, .slice .slice-count, .small-note, figcaption, figure.screen figcaption { font-size: 1rem; }
}

/* R9-23: the lines under the headings break evenly, never a lone last word */
.section-head p, .page-intro .lede, .gauge-note { text-wrap: balance; }

/* R9-30 and R9-34: a quiet text button (Sign in again, Change my answers) that cannot be mistaken for a place to go */
.link-btn { appearance: none; display: inline-flex; align-items: center; min-height: 44px; margin: 8px 0 0; padding: 0; background: none; border: 0; color: var(--ink); font: 600 1rem/1.2 var(--font); text-decoration: underline; text-decoration-color: var(--ink-3); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { text-decoration-color: var(--ink); }
.link-btn[hidden] { display: none !important; }

/* R9-37: paired boxes keep label, help, box and note on shared rows, so one box's note never moves its neighbour */
@media (min-width: 640px) {
  @supports (grid-template-rows: subgrid) {
    .row-2 .field { display: grid; grid-template-rows: subgrid; grid-row: span 4; align-content: start; }
    .row-2 .field > label { grid-row: 1; }
    .row-2 .field > .help { grid-row: 2; flex: none; }
    .row-2 .field > input, .row-2 .field > select, .row-2 .field > textarea { grid-row: 3; align-self: start; }
    .row-2 .field > .field-error { grid-row: 4; }
  }
}
