/* The front door at / for visitors who are signed out (public/welcome.html),
   as the owner composed it (13 October 2026): a few words over the app's
   own pages, which turn by themselves; Personalized Fit as two orders of
   the same six roles and four diagrams of how it learns; three small
   working parts of the app (decide Today's roles, choose a fact to see
   its words, move an application in the Tracker); then the questions.
   White, light always, the system font and the brand blue.

   CSS only: no script runs on this page (test/landing.test.js). Choices
   are radio buttons and checkboxes read with :has(), counters are
   registered integers, and every animation runs from a state towards the
   page's own styles, so a browser without the feature, or a visitor who
   asks for less motion, sees the finished page. The roles, logos, Fits
   and reasons are real: six roles from RoleRadr's own list, ordered by
   the model in src/ranking.js trained on 40 example choices. In Chrome a
   var() inside a keyframe's timing function is ignored, so a count's
   steps(var(--steps)) sits on the element. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-mono-variable.woff2") format("woff2");
}

/* Fit counts up in fives: a registered integer animates. */
@property --n {
  syntax: "<integer>";
  inherits: false;
  initial-value: 0;
}

:root {
  color-scheme: light;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --display: var(--font);
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ink: #1c1c1e;
  --ink-2: #3a3a3c;
  --ink-3: #66666b;
  --ink-4: #707075;
  --line: #e6e8ec;
  --line-2: #d6dae1;
  --side: #f6f7f9;
  --blue: #2459d3;
  --blue-strong: #1d4bb8;
  --blue-tint: rgba(36, 89, 211, 0.08);
  --select: #eef3fd;
  --amber: #a35500;
  --lift: 0 1px 2px rgba(16, 24, 40, 0.05), 0 24px 60px -28px rgba(16, 24, 40, 0.28);
  /* Clear of a phone's notch when it is on its side. */
  --gutter: max(clamp(20px, 5vw, 96px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1480px;
  --edge: max(var(--gutter), (100% - var(--max)) / 2);
  /* Motion: one curve to arrive, one to move between places. */
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --glide: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #fff; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid rgba(36, 89, 211, 0.75); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The bar's wordmark and the buttons. */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 21px/1 var(--font); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink); font: 600 15.5px/1 var(--font);
  transition: background-color 150ms, border-color 150ms;
}
.button:hover { text-decoration: none; background: var(--side); }
.button-primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-strong); border-color: var(--blue-strong); }
.note { color: var(--ink-3); font-size: 14.5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.tag { color: var(--blue); font-weight: 600; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0; }

/* The foot. */
.foot {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px;
  margin-top: 40px; padding: 28px var(--edge) 40px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 13.5px;
}
.foot p:first-child { color: var(--ink-2); font-weight: 600; }
.foot p:nth-child(2) { flex: 1 1 22rem; }
.foot a { color: var(--ink-3); font-weight: 500; }
/* A thumb's size on a touch screen, without moving the line. */
@media (pointer: coarse), (max-width: 759px) {
  .foot a { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
}

/* ------------------------------------------------------------------
   The list that learns. Six real roles from RoleRadr's own list, in the
   order Newest first, then, after a click on "Best fit first", in the
   order a model trained on 40 example choices gives them, with the Fit
   and the reason the model gave. The page's own styles are the end: the
   Fit order. The loop starts from Newest first.
   ------------------------------------------------------------------ */
.demo {
  --row: 66px;
  --loop: 15s;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--lift);
  overflow: hidden;
  font-size: 15px;
  isolation: isolate;
}
.demo-head { padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.demo-head h3 { font-size: 22px; line-height: 1.2; }
.demo-count { margin-top: 3px; color: var(--ink-3); font-size: 13.5px; }
/* The order, in plain words (the app sorts in Jobs' column of filters;
   words never click). */
.sort { position: relative; display: inline-grid; }
.sort > span { grid-area: 1 / 1; white-space: nowrap; }
.sort-new { opacity: 0; }
.demo-list { position: relative; }
.demo-rows { position: relative; height: calc(6 * var(--row)); padding: 0; list-style: none; }
/* The chosen row's tint lies over the rows (multiplied, so the words stay
   crisp), and rows that rise pass over the ones that fall. */
.demo-pick {
  position: absolute; inset: 0 0 auto; z-index: 3; height: var(--row);
  background: #e8effc; box-shadow: inset 3px 0 var(--blue); mix-blend-mode: multiply; pointer-events: none;
}
.demo-row {
  position: absolute; inset: 0 0 auto; z-index: 1; height: var(--row); background: #fff;
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 76px; align-items: center; gap: 14px;
  padding: 0 22px;
  translate: 0 calc(var(--to) * var(--row));
}
.demo-row::after { content: ""; position: absolute; inset: auto 22px 0 72px; border-bottom: 1px solid var(--line); }
.demo-row::before { content: ""; position: absolute; inset: 0; border-radius: 4px; box-shadow: 0 10px 28px -10px rgba(16, 24, 40, 0.28); opacity: 0; }
.r-citi, .r-barclays, .r-abn, .r-vlk { z-index: 2; }
.logo {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo.is-fit img { width: 70%; height: 70%; object-fit: contain; }
.logo.is-small img { width: 52%; height: 52%; object-fit: contain; }
.logo.is-dutch { overflow: visible; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 2.5px var(--amber); }
.logo.is-dutch img { border-radius: 50%; }
/* An invented company's first letter, as the app draws a company without
   a logo (the Tracker's parts: Clement, 25 October 2026). */
.logo.is-letter { background: var(--side); color: var(--ink-3); font-size: 14px; font-weight: 600; line-height: 1; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.demo-text { min-width: 0; }
.demo-title { display: block; overflow: hidden; color: var(--ink); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.demo-sub { display: block; overflow: hidden; color: var(--ink-3); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.demo-sub b { color: var(--amber); font-weight: 600; }
.demo-when { display: grid; justify-items: end; }
.demo-when > * { grid-area: 1 / 1; }
.demo-date { opacity: 0; color: var(--ink-3); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.demo-fit { display: grid; justify-items: end; gap: 6px; }
.demo-fit-n { --n: var(--fit); counter-reset: fit var(--n); color: var(--ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-fit-n::before { content: "Fit " counter(fit); }
.demo-bar { width: 52px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.demo-bar i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(calc(var(--fit) / 100)); }
.demo-foot { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 16px 22px 18px; border-top: 1px solid var(--line); background: var(--side); }
.demo-foot > * { grid-column: 2; }
.demo-foot .logo { grid-column: 1; grid-row: 1 / span 2; }
.demo-foot-name { grid-row: 1; font-weight: 600; }
.demo-foot-fit { grid-row: 2; color: var(--ink-2); font-size: 14px; }
.demo-foot-fit strong { color: var(--ink); }
.demo-learn { grid-area: 1 / 1 / span 2 / span 2; align-self: center; opacity: 0; color: var(--ink-3); font-size: 14px; }
.demo-learn strong { color: var(--ink); font-weight: 600; }

/* The roles: where each stands newest first (--from) and by Fit (--to). */
.r-citi { --from: 1; --to: 0; --fit: 90; --steps: 18; }
.r-barclays { --from: 2; --to: 1; --fit: 90; --steps: 18; }
.r-kpmg { --from: 3; --to: 5; --fit: 15; --steps: 3; }
.r-abn { --from: 4; --to: 3; --fit: 80; --steps: 16; }
.r-vlk { --from: 5; --to: 2; --fit: 85; --steps: 17; }

/* The loop. Beats, as shares of --loop: rows arrive (0–5), newest first
   held (to 30), the order's words turn to best fit first (30–32), rows
   glide to their places (33–43), Fit counts up (40–48), the top role's
   Fit and reason (46–52), held (to 93), then out (93–98). */
.demo.is-live .demo-row {
  animation:
    demo-place var(--loop) var(--glide) calc(var(--from) * 45ms) infinite both,
    demo-in var(--loop) var(--out) calc(var(--from) * 45ms) infinite both;
}
.demo.is-live .demo-date { animation: demo-date var(--loop) linear infinite both; }
.demo.is-live :is(.r-citi, .r-barclays, .r-abn, .r-vlk)::before { animation: demo-lift var(--loop) linear calc(var(--from) * 45ms) infinite both; }
.demo.is-live .demo-fit { animation: demo-fitin var(--loop) linear calc(var(--to) * 45ms) infinite both; }
/* In fives: the steps are set here, as a var() inside a keyframe isn't. */
.demo.is-live .demo-fit-n { animation: demo-count var(--loop) steps(var(--steps), end) calc(var(--to) * 45ms) infinite both; }
.demo.is-live .demo-bar i { animation: demo-bar var(--loop) linear calc(var(--to) * 45ms) infinite both; }
.demo.is-live .sort-new { animation: demo-sort-new var(--loop) linear infinite both; }
.demo.is-live .sort-fit { animation: demo-sort-fit var(--loop) linear infinite both; }
.demo.is-live .demo-pick { animation: demo-pick var(--loop) linear infinite both; }
.demo.is-live .demo-foot-name,
.demo.is-live .demo-foot-fit,
.demo.is-live .demo-foot .logo { animation: demo-foot var(--loop) var(--out) infinite both; }
.demo.is-live .demo-learn { animation: demo-learn var(--loop) linear infinite both; }

@keyframes demo-place {
  0%, 33% { translate: 0 calc(var(--from) * var(--row)); }
  43%, 100% { translate: 0 calc(var(--to) * var(--row)); }
}
@keyframes demo-lift {
  0%, 33% { opacity: 0; }
  37%, 39% { opacity: 1; }
  43%, 100% { opacity: 0; }
}
@keyframes demo-in {
  0% { opacity: 0; transform: translateY(10px); }
  5%, 93% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes demo-date {
  0%, 31% { opacity: 1; }
  34%, 100% { opacity: 0; }
}
@keyframes demo-fitin {
  0%, 40% { opacity: 0; transform: translateX(6px); }
  44%, 100% { opacity: 1; transform: none; }
}
@keyframes demo-count {
  0%, 40% { --n: 0; }
  48%, 100% { --n: var(--fit); }
}
@keyframes demo-bar {
  0%, 40% { transform: scaleX(0); animation-timing-function: var(--out); }
  50%, 100% { transform: scaleX(calc(var(--fit) / 100)); }
}
@keyframes demo-sort-new {
  0%, 30% { opacity: 1; }
  32%, 100% { opacity: 0; }
}
@keyframes demo-sort-fit {
  0%, 30% { opacity: 0; }
  32%, 100% { opacity: 1; }
}
@keyframes demo-pick {
  0%, 4% { opacity: 0; }
  7%, 32% { opacity: 1; }
  34%, 43% { opacity: 0; }
  47%, 93% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes demo-foot {
  0%, 45% { opacity: 0; transform: translateY(8px); }
  51%, 93% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}
@keyframes demo-learn {
  0%, 4% { opacity: 0; }
  8%, 38% { opacity: 1; }
  42%, 100% { opacity: 0; }
}
/* A part of the page that arrives as it scrolls into view, where the
   browser follows scrolling with animations. */
@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 700px) {
  .demo { --row: 62px; font-size: 14.5px; }
  .demo-head, .demo-foot { padding-inline: 16px; }
  .demo-row { gap: 12px; padding: 0 16px; grid-template-columns: 34px minmax(0, 1fr) 64px; }
  .demo-row::after { inset: auto 16px 0 62px; }
  .logo { width: 34px; height: 34px; }
}

@property --choices { syntax: "<integer>"; inherits: false; initial-value: 40; }

:root {
  /* What lifts off the page without floating over it, as in the app: an open application. */
  --paper: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 36px -14px rgba(0, 0, 0, 0.22);
  --mark: #fdf0c4;
  --mark-line: #f1d98a;
  --mark-lit: #f8dc78;
  --mark-line-lit: #d9ad1f;
}

/* ---- The bar: the brand, the page's places, the way in -------------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.top {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  min-height: 68px; padding-inline: var(--edge); background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
}
.top .brand { justify-self: start; }
.top-pages { display: flex; gap: 2px; }
.top-pages a { padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color 150ms, color 150ms; }
.top-pages a:hover { background: var(--side); color: var(--ink); text-decoration: none; }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.top .button { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.button-ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.button-ghost:hover { background: var(--side); }
.button-dark { border-color: var(--ink); background: var(--ink); color: #fff; }
.button-dark:hover { border-color: #000; background: #000; }
.button-outline { border-color: var(--line-2); background: #fff; }
/* A hairline under the bar once the page has scrolled. */
@supports (animation-timeline: scroll()) {
  .top { animation: bar-line linear both; animation-timeline: scroll(root); animation-range: 0 80px; }
  @keyframes bar-line { from { box-shadow: 0 1px 0 rgba(16, 24, 40, 0); } to { box-shadow: 0 1px 0 var(--line); } }
}
/* The menu, where the places don't fit. */
.top-menu { display: none; position: relative; }
.top-menu summary {
  display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 10px;
  list-style: none; cursor: pointer;
}
.top-menu summary::-webkit-details-marker { display: none; }
.top-menu summary:hover { background: var(--side); }
.top-menu summary i { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 200ms var(--out); }
.top-menu[open] summary i:first-child { transform: translateY(3.5px) rotate(45deg); }
.top-menu[open] summary i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.top-menu-list {
  position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 220px; padding: 6px;
  border: 1px solid var(--line-2); border-radius: 14px; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 18px 40px -16px rgba(0, 0, 0, 0.28);
  animation: menu-in 220ms var(--out) both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.top-menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px; color: var(--ink); font-size: 16px; font-weight: 500; }
.top-menu-list a:hover { background: var(--side); text-decoration: none; }
@media (max-width: 1100px) {
  .top-pages { display: none; }
  .top { grid-template-columns: minmax(0, 1fr) auto; }
  .top-menu { display: block; }
}
@media (max-width: 760px) {
  .top .button-ghost { display: none; }
}

/* ---- The hero: few words, then the app's pages ------------------------ */
.hero { padding: clamp(24px, 3vw, 56px) var(--edge) 0; text-align: center; }
/* New, in blue words before its line: no pill and no tinted tag (owner,
   22 October 2026: "pill shape stuff is what makes it look like ai"). */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2); font-size: 15px; font-weight: 500;
}
.hero h1 { max-width: 13em; margin: 22px auto 16px; font-size: clamp(40px, 3.6vw + 10px, 76px); line-height: 1.02; }
.lede { color: var(--ink-3); font-size: clamp(18px, 0.5vw + 14px, 22px); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.cta .button { min-width: 168px; min-height: 48px; font-size: 16px; }
.hero .note { margin-top: 14px; color: var(--ink-3); font-size: 14px; }
.on-small { display: none; }
@media (max-width: 760px) { .on-small { display: block; margin-top: 4px; } }
.hero-copy > * { animation: rise 900ms var(--out) both; }
.hero-copy > :nth-child(2) { animation-delay: 70ms; }
.hero-copy > :nth-child(3) { animation-delay: 140ms; }
.hero-copy > :nth-child(4) { animation-delay: 210ms; }
.hero-copy > :nth-child(5) { animation-delay: 280ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* The pages, one after another every four seconds; a tab shows one and
   stops the turning. Today first, without :has(). */
.showcase { max-width: 1320px; margin: clamp(36px, 4vw, 64px) auto 0; animation: rise 1100ms var(--out) 260ms both; }
.sc-tabs { display: inline-flex; gap: 4px; margin: 0 0 18px; padding: 0; border: 0; }
.sc-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; color: var(--ink-3); font-size: 15px; font-weight: 500; cursor: pointer; transition: color 150ms, background-color 150ms; }
.sc-tab .i { width: 19px; height: 19px; }
.i { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sc-tab input, .sc-auto { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.sc-tab:hover { color: var(--ink); background: var(--side); }
.sc-tab:has(input:focus-visible) { outline: 3px solid rgba(36, 89, 211, 0.75); outline-offset: 1px; }
.sc-stage { position: relative; margin: 0; perspective: 2000px; }
.sc-frame {
  position: relative; display: grid; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 18px; background: #fff; box-shadow: var(--lift);
  transform-origin: 50% 0;
}
.sc-shot { grid-area: 1 / 1; opacity: 0; }
.sc-shot img { display: block; width: 100%; height: auto; }
/* The first page's picture: a phone, which never shows it, fetches the phone's picture in its place. */
.sc-shot picture { display: contents; }
.s-today { opacity: 1; }
.sc-phone {
  position: absolute; right: -3%; bottom: -6%; width: 15%; min-width: 150px; height: auto;
  border: 1px solid var(--line-2); border-radius: 26px; background: #fff;
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 40px 70px -30px rgba(16, 24, 40, 0.45);
  animation: phone-in 1200ms var(--out) 700ms both, float 7s ease-in-out 1900ms infinite;
}
@keyframes phone-in { from { opacity: 0; transform: translateY(40px); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.sc-caps { display: grid; margin-top: 18px; color: var(--ink-3); font-size: 15px; }
.sc-caps > span { grid-area: 1 / 1; opacity: 0; }
.cap-today { opacity: 1; }
.k-today { color: var(--blue); }
/* A chosen page. */
.showcase:has(.sc-tab input:checked) :is(.sc-shot, .sc-caps > span) { opacity: 0; }
.showcase:has(.sc-tab input:checked) .sc-tab { color: var(--ink-3); }
.showcase:has(#p-today:checked) :is(.s-today, .cap-today),
.showcase:has(#p-jobs:checked) :is(.s-jobs, .cap-jobs),
.showcase:has(#p-tracker:checked) :is(.s-tracker, .cap-tracker),
.showcase:has(#p-companies:checked) :is(.s-companies, .cap-companies) { opacity: 1; animation: show 420ms var(--out) both; }
.showcase:has(#p-today:checked) .k-today, .showcase:has(#p-jobs:checked) .k-jobs,
.showcase:has(#p-tracker:checked) .k-tracker, .showcase:has(#p-companies:checked) .k-companies { color: var(--blue); }
@keyframes show { from { opacity: 0; transform: scale(1.012); } }
/* Turning by itself. */
.showcase:has(#p-auto:checked) :is(.s-today, .cap-today) { animation: page-1 16s var(--glide) infinite both; }
.showcase:has(#p-auto:checked) :is(.s-jobs, .cap-jobs) { animation: page-2 16s var(--glide) infinite both; }
.showcase:has(#p-auto:checked) :is(.s-tracker, .cap-tracker) { animation: page-3 16s var(--glide) infinite both; }
.showcase:has(#p-auto:checked) :is(.s-companies, .cap-companies) { animation: page-4 16s var(--glide) infinite both; }
.showcase:has(#p-auto:checked) .k-today { animation: tab-1 16s linear infinite both; }
.showcase:has(#p-auto:checked) .k-jobs { animation: tab-2 16s linear infinite both; }
.showcase:has(#p-auto:checked) .k-tracker { animation: tab-3 16s linear infinite both; }
.showcase:has(#p-auto:checked) .k-companies { animation: tab-4 16s linear infinite both; }
@keyframes page-1 { 0% { opacity: 1; transform: none; } 22% { opacity: 1; transform: scale(1.006); } 25%, 97% { opacity: 0; } 100% { opacity: 1; transform: none; } }
@keyframes page-2 { 0%, 22% { opacity: 0; transform: scale(1.012); } 25% { opacity: 1; transform: none; } 47% { opacity: 1; transform: scale(1.006); } 50%, 100% { opacity: 0; } }
@keyframes page-3 { 0%, 47% { opacity: 0; transform: scale(1.012); } 50% { opacity: 1; transform: none; } 72% { opacity: 1; transform: scale(1.006); } 75%, 100% { opacity: 0; } }
@keyframes page-4 { 0%, 72% { opacity: 0; transform: scale(1.012); } 75% { opacity: 1; transform: none; } 97% { opacity: 1; transform: scale(1.006); } 100% { opacity: 0; } }
@keyframes tab-1 { 0%, 23.9% { color: var(--blue); } 24%, 98.9% { color: var(--ink-3); } 99%, 100% { color: var(--blue); } }
@keyframes tab-2 { 0%, 23.9% { color: var(--ink-3); } 24%, 48.9% { color: var(--blue); } 49%, 100% { color: var(--ink-3); } }
@keyframes tab-3 { 0%, 48.9% { color: var(--ink-3); } 49%, 73.9% { color: var(--blue); } 74%, 100% { color: var(--ink-3); } }
@keyframes tab-4 { 0%, 73.9% { color: var(--ink-3); } 74%, 98.9% { color: var(--blue); } 99%, 100% { color: var(--ink-3); } }
@supports (animation-timeline: view()) {
  .sc-frame { animation: straighten linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
}
@keyframes straighten { from { transform: rotateX(22deg) scale(0.92); } }
/* A phone sees the app as a phone shows it. */
@media (max-width: 700px) {
  .sc-tabs, .sc-frame, .sc-caps { display: none; }
  .sc-phone { position: static; display: block; width: min(320px, 80vw); margin: 0 auto; animation: phone-in 1000ms var(--out) 300ms both; }
}

/* ---- The film (Clement approved it, 26 October 2026) ---------------- */
/* One role carried from To decide to an offer: 17 s, silent and
   seamless, WebM first and the MP4 after it. It loads only from 700 px
   and without Reduce motion (the sources' media); otherwise its poster
   rests. A phone has the hero's own picture, so the section stays away
   there (the film's small type would be unreadable). */
.film, .launch { padding: clamp(24px, 3vw, 48px) var(--edge) 0; }
.film h2, .launch h2 { font-size: clamp(30px, 2vw + 12px, 48px); line-height: 1.08; }
/* A white margin inside the frame, on top of the film's own (its app
   keeps 60 px from its edges, fading out before them): the film once sat
   against the border (Clement, 26 October 2026: "border too close"). */
.film-frame {
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: clamp(12px, 1.6vw, 24px);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--lift);
}
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 699px) {
  .film { display: none; }
}
/* The launch film (Clement approved it, 12 November 2026): 29 s with
   music, by Project Campaign Videos. It plays only when pressed, with the
   browser's own controls, and loads nothing before (preload none), so it
   stays on a phone and under Reduce motion. The Worker answers its byte
   ranges (src/ranges.js), without which Safari never starts it. */
.launch .film-frame video { background: #fff; }

/* ---- By hand, then by RoleRadr -------------------------------------- */
/* The owner's words (22 October 2026): no Premium to pay for, no job
   descriptions copied into a sheet, every step kept for you. The sheet's
   rows type in by hand, then the same four arrive in the Tracker, done;
   with Reduce motion both rest, whole. */
.handwork {
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); align-items: center;
  gap: clamp(28px, 4vw, 64px) clamp(32px, 4vw, 72px);
  padding: clamp(80px, 9vw, 140px) var(--edge) clamp(48px, 6vw, 88px);
}
.hw-copy h2 { font-size: clamp(30px, 2vw + 12px, 48px); line-height: 1.08; }
.hw-copy p { max-width: 32rem; margin-top: 16px; color: var(--ink-3); font-size: 17.5px; line-height: 1.55; }
.hw-show { display: grid; grid-template-columns: minmax(0, 1.08fr) auto minmax(0, 1fr); align-items: center; gap: 14px; margin: 0; }
.hw-arrow { width: 26px; height: 26px; color: var(--ink-4); }
.sheet, .rr { border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: var(--lift); overflow: hidden; }
/* The sheet: letters and numbers in grey, gridlines, words typed by hand. */
.sh-name { padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--ink-3); font: 500 12px/1.2 var(--mono); }
.sh-grid { display: grid; }
.sh-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.05fr); }
.sh-n, .sh-c { min-height: 30px; padding: 7px 7px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; color: var(--ink-2); font-size: 12px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.sh-n, .sh-head .sh-c { background: var(--side); color: var(--ink-4); text-align: center; }
.sh-n { padding-inline: 0; }
.r1 .sh-c { color: var(--ink); font-weight: 600; }
.sh-c.is-mark { background: #fdf0c4; }
.sh-c.is-grey { color: var(--ink-4); font-style: italic; }
.is-caret { position: relative; box-shadow: inset 0 0 0 2px var(--blue); }
.is-caret::after { content: ""; position: absolute; top: 7px; bottom: 7px; left: 9px; width: 1.5px; background: var(--ink); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* RoleRadr: the same four under their stages, each row in two sides (the
   role and its company; the step it waits on and its date), as the
   Tracker draws them. */
.rr-head { padding: 12px 16px 2px; }
.rr-head b { font: 600 16px/1.3 var(--display); }
.rr-stage { padding: 12px 16px 2px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.rr-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 16px; }
.rr-row:last-child { padding-bottom: 14px; }
.rr-row .logo { width: 28px; height: 28px; }
.rr-main { min-width: 0; }
.rr-main b, .rr-main span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rr-main b { font-size: 13px; font-weight: 600; }
.rr-main span { color: var(--ink-3); font-size: 12px; }
.rr-side { display: grid; justify-items: end; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rr-side b { color: var(--ink); font-weight: 500; }
.rr-side span { color: var(--ink-3); }
.hw-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin: 8px 0 0; padding: 36px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hw-points li { display: grid; align-content: start; gap: 6px; }
.hw-points .i { width: 22px; height: 22px; margin-bottom: 6px; color: var(--ink-2); }
.hw-points li { grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; }
.hw-points .i { margin: 0; }
.hw-points b { font-size: 16px; font-weight: 600; }
.hw-points span { color: var(--ink-3); font-size: 15px; line-height: 1.5; }
/* The loop (12 s): the sheet's rows type in, one after another; the sheet
   steps back; the Tracker's four rise in, done; then it begins again. */
.sheet .r2 { animation: type-2 12s linear infinite both; }
.sheet .r3 { animation: type-3 12s linear infinite both; }
.sheet .r4 { animation: type-4 12s linear infinite both; }
.sheet .r5 { animation: type-5 12s linear infinite both; }
.sheet { animation: sheet-dim 12s var(--glide) infinite both; }
.rr :is(.q1, .rr-stage:has(+ .q1)) { animation: rise-1 12s var(--out) infinite both; }
.rr :is(.q2, .rr-stage:has(+ .q2)) { animation: rise-2 12s var(--out) infinite both; }
.rr :is(.q3, .rr-stage:has(+ .q3)) { animation: rise-3 12s var(--out) infinite both; }
.rr :is(.q4, .rr-stage:has(+ .q4)) { animation: rise-4 12s var(--out) infinite both; }
@keyframes type-2 { 0%, 2% { clip-path: inset(0 100% 0 0); } 9%, 96% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type-3 { 0%, 9% { clip-path: inset(0 100% 0 0); } 16%, 96% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type-4 { 0%, 16% { clip-path: inset(0 100% 0 0); } 23%, 96% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type-5 { 0%, 23% { clip-path: inset(0 100% 0 0); } 30%, 96% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes sheet-dim { 0%, 30% { opacity: 1; } 38%, 92% { opacity: 0.55; } 100% { opacity: 1; } }
@keyframes rise-1 { 0%, 33% { opacity: 0; transform: translateY(10px); } 40%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes rise-2 { 0%, 37% { opacity: 0; transform: translateY(10px); } 44%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes rise-3 { 0%, 41% { opacity: 0; transform: translateY(10px); } 48%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes rise-4 { 0%, 45% { opacity: 0; transform: translateY(10px); } 52%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@supports (animation-timeline: view()) {
  .hw-copy, .hw-points { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
}
@media (max-width: 1100px) {
  .handwork { grid-template-columns: minmax(0, 1fr); }
  .hw-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hw-show { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hw-show > div { width: 100%; }
  .hw-arrow { transform: rotate(90deg); }
  /* A phone's sheet keeps three columns, so their words fit. */
  .sh-row { grid-template-columns: 24px minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr); }
  .sh-row > :nth-child(5) { display: none; }
  .hw-points { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
}

/* ---- Personalized Fit ----------------------------------------------- */
.fit { margin-top: clamp(72px, 8vw, 128px); padding: clamp(64px, 7vw, 112px) var(--edge) clamp(56px, 6vw, 96px); border-top: 1px solid var(--line); }
.fit-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); gap: 20px 64px; align-items: end; }
.fit-head .eyebrow { grid-column: 1 / -1; }
.fit h2 { font-size: clamp(32px, 2.2vw + 12px, 54px); line-height: 1.05; }
.fit-sub { color: var(--ink-3); font-size: 16.5px; }

/* The two orders, linked role by role. */
.compare { --row: 64px; margin-top: clamp(40px, 5vw, 64px); }
.compare-stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(72px, 9vw, 168px) minmax(0, 1fr); align-items: end; }
.col { border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: var(--lift); overflow: hidden; }
.col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px 14px; border-bottom: 1px solid var(--line); }
.col-head b { font: 700 18px/1.2 var(--display); }
.col-head span { color: var(--ink-3); font-size: 13px; }
.col-fit .col-head span { color: var(--blue); }
.col-rows { position: relative; isolation: isolate; margin: 0; padding: 0; list-style: none; }
.cr { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: var(--row); padding: 0 20px; }
.cr + .cr { box-shadow: inset 0 1px var(--line); }
.cr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--select); opacity: 0; }
.cr .logo { width: 34px; height: 34px; }
.cr-text { min-width: 0; }
.cr-title, .cr-sub { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cr-title { font-size: 14.5px; font-weight: 600; }
.cr-sub { color: var(--ink-3); font-size: 12.5px; }
.cr-sub b { color: var(--amber); font-weight: 600; }
.cr-end { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.col-fit .cr-end { display: grid; justify-items: end; gap: 6px; }
.cr-fit { --n: var(--fit); counter-reset: fit var(--n); color: var(--ink); font-size: 14px; font-weight: 600; }
.cr-fit::before { content: "Fit " counter(fit); }
.cr-bar { width: 48px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.cr-bar i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(calc(var(--fit) / 100)); }
.links { display: block; width: 100%; height: calc(6 * var(--row)); margin-bottom: 1px; overflow: visible; }
.ln { fill: none; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ln.up { stroke: var(--blue); }
.ln.down { stroke: var(--ink-4); }
.compare figcaption { display: grid; grid-template-columns: minmax(0, 1fr) clamp(72px, 9vw, 168px) minmax(0, 1fr); margin-top: 18px; }
.compare .cap { grid-column: 1; max-width: 34rem; color: var(--ink-3); font-size: 14px; }
.compare .why { grid-column: 3; grid-row: 1; display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-size: 14px; }
.compare .why .logo { flex: none; width: 28px; height: 28px; }
.compare .why strong { color: var(--ink); }
/* The two orders play on a loop (14 s): the newest-first list, then each
   link drawn in turn with its role landing and its Fit counting up, the
   reason, a long hold on the finished orders, then again. The page enters
   with a short rise as it scrolls in. */
.compare { --loop: 14s; }
.col-new .cr { animation: left-in var(--loop) var(--out) infinite both; }
@keyframes left-in { 0% { opacity: 0; transform: translateY(8px); } 5%, 100% { opacity: 1; transform: none; } }
.compare .why { animation: why var(--loop) var(--out) infinite both; }
@keyframes why { 0%, 47% { opacity: 0; transform: translateY(6px); } 52%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@supports (animation-timeline: view()) {
  .compare-stage { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 25%; }
}

/* The four diagrams. */
.steps-title { margin-top: clamp(64px, 7vw, 104px); font-size: clamp(22px, 0.8vw + 14px, 28px); }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step { padding: 40px 48px 44px 0; }
.step:nth-child(even) { padding: 40px 0 44px 48px; border-left: 1px solid var(--line); }
.step:nth-child(n + 3) { border-top: 1px solid var(--line); }
.step h4 { margin: 28px 0 10px; font: 700 21px/1.3 var(--display); }
.step h4 .mono { margin-right: 8px; color: var(--blue); font-size: 13px; font-weight: 600; }
.step > p { max-width: 36rem; color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.viz { position: relative; height: 252px; padding: 24px 26px; border-radius: 12px; background: var(--side); overflow: hidden; }
.viz-key { position: absolute; right: 16px; bottom: 12px; color: var(--ink-4); font-size: 12px; }
.viz svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.viz-labels { isolation: isolate; }
.label-row { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 44px; padding: 0 14px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.label-row::before { content: ""; position: absolute; inset: 2px 0; z-index: -1; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06); opacity: 0; }
.label-row b { color: var(--ink); font-size: 12.5px; font-weight: 600; }
.l1 svg { color: var(--blue); fill: var(--blue); }
.l2 svg { color: var(--ink); }
.l3 svg { color: var(--ink-3); }
.l4, .l4 b { color: var(--ink-4); }
.l4 b { font-weight: 500; }
.viz-hash { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 32px; align-items: center; }
.feats { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.feats li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 6px; border-radius: 5px; color: var(--ink-2); white-space: nowrap; }
.feats i { color: var(--ink-4); font-style: normal; }
.buckets {
  position: relative; display: grid; grid-template: repeat(16, 1fr) / repeat(16, 1fr);
  width: 176px; height: 176px; border: 1px solid var(--line-2); border-radius: 4px; background-color: #fff;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 11px 11px;
}
.buckets i { border-radius: 1px; background: var(--blue); }
.b1 { grid-area: 7 / 15; } .b2 { grid-area: 4 / 11; } .b3 { grid-area: 13 / 7; }
.b4 { grid-area: 11 / 5; } .b5 { grid-area: 11 / 6; } .b6 { grid-area: 5 / 2; }
.viz-weights { display: grid; align-content: start; gap: 6px; }
.w { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 3.6em; align-items: center; gap: 14px; height: 26px; font-size: 12.5px; }
.w span { overflow: hidden; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.w b { color: var(--ink); font-weight: 600; text-align: right; }
.w i { position: relative; height: 10px; }
.w i::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: 50%; border-left: 1px solid var(--line-2); }
.w i::before { content: ""; position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.w1 i::before, .w2 i::before { left: 50%; width: calc(var(--len) * 50%); background: var(--blue); transform-origin: left; }
.w4 i::before, .w5 i::before, .w6 i::before { right: 50%; width: calc(var(--len) * 50%); background: var(--ink-4); transform-origin: right; }
.w3 i::before { left: 50%; width: 6%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.w1 { --len: 0.6; } .w2 { --len: 0.41; } .w4 { --len: 0.4; } .w5 { --len: 0.42; } .w6 { --len: 0.88; }
.w3 b { color: var(--ink-4); }
.viz-blend { display: grid; align-content: start; gap: 22px; padding-top: 24px; }
.formula { color: var(--ink); font-size: 14px; }
.meter { position: relative; height: 6px; margin: 18px 6px 0; border-radius: 3px; background: var(--line); }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 3px; background: var(--blue); transform-origin: left; transform: scaleX(0.57); }
.meter-pos { position: absolute; inset: 0; transform: translateX(57%); }
.meter-dot { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.meter span { position: absolute; top: -22px; color: var(--ink-3); font-size: 12px; translate: -50% 0; }
.meter .t0 { left: 0; translate: 0 0; } .meter .t1 { left: 25%; } .meter .t2 { left: 70%; }
.meter .t1::after, .meter .t2::after { content: ""; position: absolute; left: 50%; top: 18px; height: 14px; border-left: 1px solid var(--ink-4); }
.meter-read { color: var(--ink-2); font-size: 13.5px; }
.c-count { counter-reset: choices var(--choices); }
.c-count::before { content: counter(choices) " choices, c = 0.57"; }

/* Each diagram plays on its own loop. */
/* 01: each step, its label and its weight, in turn. */
.l1::before { animation: label-1 8s var(--out) infinite both; }
.l2::before { animation: label-2 8s var(--out) infinite both; }
.l3::before { animation: label-3 8s var(--out) infinite both; }
.l4::before { animation: label-4 8s var(--out) infinite both; }
.l1 b { animation: value-1 8s var(--out) infinite both; }
.l2 b { animation: value-2 8s var(--out) infinite both; }
.l3 b { animation: value-3 8s var(--out) infinite both; }
.l4 b { animation: value-4 8s var(--out) infinite both; }
@keyframes label-1 { 0%, 4% { opacity: 0; } 8%, 20% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes label-2 { 0%, 24% { opacity: 0; } 28%, 40% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes label-3 { 0%, 44% { opacity: 0; } 48%, 60% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes label-4 { 0%, 64% { opacity: 0; } 68%, 80% { opacity: 1; } 85%, 100% { opacity: 0; } }
@keyframes value-1 { 0%, 6% { opacity: 0; transform: translateX(-6px); } 10%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes value-2 { 0%, 26% { opacity: 0; transform: translateX(-6px); } 30%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes value-3 { 0%, 46% { opacity: 0; transform: translateX(-6px); } 50%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes value-4 { 0%, 66% { opacity: 0; transform: translateX(-6px); } 70%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* 02: each feature to its bucket, in turn (the Citi role's real buckets;
   a cell here is 16 of the 4,096). */
.f1 { animation: feat-1 9s linear infinite both; } .b1 { animation: cell-1 9s var(--out) infinite both; }
.f2 { animation: feat-2 9s linear infinite both; } .b2 { animation: cell-2 9s var(--out) infinite both; }
.f3 { animation: feat-3 9s linear infinite both; } .b3 { animation: cell-3 9s var(--out) infinite both; }
.f4 { animation: feat-4 9s linear infinite both; } .b4 { animation: cell-4 9s var(--out) infinite both; }
.f5 { animation: feat-5 9s linear infinite both; } .b5 { animation: cell-5 9s var(--out) infinite both; }
.f6 { animation: feat-6 9s linear infinite both; } .b6 { animation: cell-6 9s var(--out) infinite both; }
@keyframes feat-1 { 0%, 2% { background: transparent; } 4%, 13% { background: #fff; color: var(--ink); } 16%, 100% { background: transparent; } }
@keyframes feat-2 { 0%, 15% { background: transparent; } 17%, 26% { background: #fff; color: var(--ink); } 29%, 100% { background: transparent; } }
@keyframes feat-3 { 0%, 28% { background: transparent; } 30%, 39% { background: #fff; color: var(--ink); } 42%, 100% { background: transparent; } }
@keyframes feat-4 { 0%, 41% { background: transparent; } 43%, 52% { background: #fff; color: var(--ink); } 55%, 100% { background: transparent; } }
@keyframes feat-5 { 0%, 54% { background: transparent; } 56%, 65% { background: #fff; color: var(--ink); } 68%, 100% { background: transparent; } }
@keyframes feat-6 { 0%, 67% { background: transparent; } 69%, 78% { background: #fff; color: var(--ink); } 81%, 100% { background: transparent; } }
@keyframes cell-1 { 0%, 3% { opacity: 0; transform: scale(3); } 8%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes cell-2 { 0%, 16% { opacity: 0; transform: scale(3); } 21%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes cell-3 { 0%, 29% { opacity: 0; transform: scale(3); } 34%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes cell-4 { 0%, 42% { opacity: 0; transform: scale(3); } 47%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes cell-5 { 0%, 55% { opacity: 0; transform: scale(3); } 60%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes cell-6 { 0%, 68% { opacity: 0; transform: scale(3); } 73%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
/* 03: the weights grow; "placement" grows a little, then L1 takes it
   back to exactly zero. */
.w1 i::before { animation: bar 8s var(--out) 0ms infinite both; }
.w2 i::before { animation: bar 8s var(--out) 90ms infinite both; }
.w4 i::before { animation: bar 8s var(--out) 270ms infinite both; }
.w5 i::before { animation: bar 8s var(--out) 360ms infinite both; }
.w6 i::before { animation: bar 8s var(--out) 450ms infinite both; }
.w3 i::before { animation: bar-zero 8s var(--out) 180ms infinite both; }
.w b { animation: bar-value 8s linear infinite both; }
@keyframes bar { 0%, 4% { transform: scaleX(0); } 22%, 88% { transform: none; } 96%, 100% { transform: scaleX(0); } }
@keyframes bar-zero { 0%, 4% { transform: scaleX(0); } 20% { transform: scaleX(1); } 38%, 100% { transform: scaleX(0); } }
@keyframes bar-value { 0%, 12% { opacity: 0; } 20%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
/* 04: how far your model may move the order as your choices add up:
   nothing under 10, then at most 0.25, then 0.57 at 40 (20 of each). */
.meter-fill { animation: meter-fill 9s var(--glide) infinite both; }
.meter-pos { animation: meter-dot 9s var(--glide) infinite both; }
.c-count { animation: choices 9s linear infinite both; }
.c-count::before { animation: c-words 9s linear infinite both; }
@keyframes meter-fill { 0%, 30% { transform: scaleX(0); } 40%, 52% { transform: scaleX(0.25); } 64%, 92% { transform: scaleX(0.57); } 100% { transform: scaleX(0); } }
@keyframes meter-dot { 0%, 30% { transform: translateX(0%); } 40%, 52% { transform: translateX(25%); } 64%, 92% { transform: translateX(57%); } 100% { transform: translateX(0%); } }
@keyframes choices {
  0% { --choices: 0; animation-timing-function: steps(9, end); }
  28% { --choices: 9; }
  30% { --choices: 9; animation-timing-function: steps(3, end); }
  38% { --choices: 12; }
  52% { --choices: 12; animation-timing-function: steps(28, end); }
  64%, 100% { --choices: 40; }
}
@keyframes c-words {
  0%, 29% { content: counter(choices) " choices, usual order"; }
  30%, 63% { content: counter(choices) " choices, c = 0.25"; }
  64%, 100% { content: counter(choices) " choices, c = 0.57"; }
}

/* ---- The rest: three working parts --------------------------------- */
.more { display: grid; padding: 0 var(--edge) clamp(40px, 5vw, 80px); }
.feature { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 96px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.feature:nth-child(even) { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr); }
.feature:nth-child(even) .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(26px, 1.4vw + 12px, 38px); line-height: 1.12; }
.feature-text p { max-width: 30rem; margin-top: 12px; color: var(--ink-3); font-size: 17px; }
.feature fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.feature legend { padding: 0; }
.feature label { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.feature input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
@supports (animation-timeline: view()) {
  .feature-text { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
}

/* Every choice in the working parts rings while it has the keyboard's focus. */
.td-act:has(input:focus-visible), .fd-fact:has(input:focus-visible), .tk-step:has(input:focus-visible) { outline: 3px solid rgba(36, 89, 211, 0.75); outline-offset: -3px; border-radius: 8px; }
/* "In turn", each part's first choice, has no label of its own: the part is ringed while it has the focus. */
.sc-tabs:has(.sc-auto:focus-visible), .fd-facts:has(.fd-auto:focus-visible), .tk-path:has(.tk-auto:focus-visible) { outline: 3px solid rgba(36, 89, 211, 0.75); outline-offset: 2px; border-radius: 10px; }

/* 1: Today's To decide, as the app has it since the rebuild (Clement, 11
   November 2026): every role one row in two sides (the role, then its
   company and city; its pay with the posting's own period, then its
   age), a bookmark to save it and an × to set it aside. A decided role
   leaves the list; the count beside "To decide" falls and the counts
   under the list rise; once none is left, "All decided". Each row is one
   group of three radios: still to decide (checked, unseen), Save and Not
   for me. The form's reset button is the way back. The counts are CSS
   counters, so "To decide" stands after the rows in the page and leads
   the list by its order. */
.today-demo {
  width: 100%; max-width: 640px; min-height: 400px; justify-self: center; margin: 0;
  border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: var(--lift);
  counter-reset: left saved out;
}
.td-list { display: flex; flex-direction: column; padding: 0 0 14px !important; }
.td-head { order: -1; display: flex; align-items: center; gap: 8px; min-height: 64px; margin: 0; padding: 14px 14px 6px 22px; }
.td-head b { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.td-left { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.td-left::before { content: counter(left); }
/* Undo, a sign beside To decide while there is a choice to take back. */
.td-undo {
  display: none; place-items: center; width: 34px; height: 34px; margin: 0 0 0 auto; padding: 0;
  border: 0; border-radius: 8px; background: none; color: var(--ink-3); cursor: pointer;
  transition: background-color 150ms, color 150ms;
}
.td-undo:hover { background: var(--side); color: var(--ink); }
.td-undo .i { width: 17px; height: 17px; }
.today-demo:has(.sv:checked, .nf:checked) .td-undo { display: grid; }
/* A row: it leaves by closing up, sliding the way it went. */
.td-row {
  display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows 320ms var(--out), opacity 220ms, translate 320ms var(--out), visibility 0s 320ms;
}
.td-in {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; column-gap: 14px;
  min-height: 0; overflow: hidden; padding: 0 12px 0 22px;
}
.td-in > * { margin-block: 10px; }
.td-row .logo { width: 36px; height: 36px; }
.td-main { min-width: 0; }
.td-main b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; }
.td-main span { display: block; color: var(--ink-3); font-size: 14px; }
.td-side { display: grid; justify-items: end; color: var(--ink-3); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.td-pay b { color: var(--ink); font-weight: 500; }
.td-acts { display: flex; }
.td-act { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--ink-4); transition: background-color 150ms, color 150ms; }
.td-act:hover { background: var(--side); color: var(--ink); }
.td-act .i { width: 18px; height: 18px; }
.td-row:has(.keep:checked) { counter-increment: left; }
.td-row:has(.sv:checked) { counter-increment: saved; grid-template-rows: 0fr; opacity: 0; translate: 24px 0; visibility: hidden; }
.td-row:has(.nf:checked) { counter-increment: out; grid-template-rows: 0fr; opacity: 0; translate: -24px 0; visibility: hidden; }
.td-row:has(.keep:checked) { transition-delay: 0s; }
/* Where they went: a count for each, shown once it has one. */
.td-counts { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 10px 22px 0; color: var(--ink-3); font-size: 14px; }
.td-counts i { color: var(--ink); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.c-saved i::before { content: counter(saved); }
.c-out i::before { content: counter(out); }
.today-demo:not(:has(.sv:checked)) .c-saved, .today-demo:not(:has(.nf:checked)) .c-out { display: none; }
.td-done { display: none; margin: 0; padding: 18px 22px 6px; color: var(--ink); font-size: 15px; font-weight: 600; }
.today-demo:not(:has(.keep:checked)) .td-done { display: block; animation: read-in 340ms var(--out) both; }
@keyframes read-in { from { opacity: 0; transform: translateY(-4px); } }

/* 2: the facts beside their words, as a role's page has them since the
   rebuild: Type and Place first, then every fact in its place, each a
   name and its value; what the posting doesn't give in grey ("Not
   stated"); a work permit as an amber line under the title. A fact whose
   words the posting shows is a choice that lights them. Until one is
   chosen, each lights in turn. */
.facts-demo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: var(--lift); overflow: hidden;
}
.fd-posting { padding: 26px 30px 28px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.fd-role { display: flex; align-items: center; gap: 12px; }
.fd-role .logo { width: 38px; height: 38px; }
.fd-role b { display: block; color: var(--ink); font: 600 19px/1.25 var(--display); }
.fd-role span span { color: var(--ink-3); font-size: 14px; }
.fd-warn { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; color: var(--amber); font-size: 14px; }
.fd-warn .i { width: 16px; height: 16px; flex: none; }
.fd-head { margin: 16px 0 6px; color: var(--ink); font-size: 15px; font-weight: 600; }
.fd-posting ul { margin: 0; padding-left: 1.1em; }
.fd-posting li + li { margin-top: 4px; }
.fd-note { margin-top: 8px; }
.fd-posting mark { padding: 0 2px; border-radius: 3px; background: var(--mark); color: inherit; transition: background-color 200ms; }
.fd-facts { display: grid; align-content: start; gap: 2px; padding: 22px 16px 24px 4px !important; }
.fd-fact { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 10px; margin: 0; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.4; transition: background-color 200ms; }
.fd-fact span { color: var(--ink-3); }
.fd-fact b { color: var(--ink); font-weight: 500; text-decoration: underline transparent 2px; text-underline-offset: 3px; transition: text-decoration-color 200ms; }
.fd-fact.is-quiet b { color: var(--ink-3); font-weight: 400; }
label.fd-fact:hover { background: var(--side); }
label.fd-fact:hover b, .fd-fact:has(input:checked) b { text-decoration-color: var(--mark-line-lit); }
.facts-demo:has(#f-start:checked) .m-start, .facts-demo:has(#f-hours:checked) .m-hours,
.facts-demo:has(#f-pay:checked) .m-pay, .facts-demo:has(#f-lang:checked) .m-lang { background: var(--mark-lit); }
/* Until a fact is chosen, each lights in turn with its words. */
.facts-demo:has(#f-none:checked) :is(.m-pay, .x-pay) { animation: lit-1 12s linear infinite; }
.facts-demo:has(#f-none:checked) :is(.m-hours, .x-hours) { animation: lit-2 12s linear infinite; }
.facts-demo:has(#f-none:checked) :is(.m-start, .x-start) { animation: lit-3 12s linear infinite; }
.facts-demo:has(#f-none:checked) :is(.m-lang, .x-lang) { animation: lit-4 12s linear infinite; }
@keyframes lit-1 { 0%, 1% { background: var(--lit-off); } 2%, 23% { background: var(--lit-on); } 24.5%, 100% { background: var(--lit-off); } }
@keyframes lit-2 { 0%, 26% { background: var(--lit-off); } 27%, 48% { background: var(--lit-on); } 49.5%, 100% { background: var(--lit-off); } }
@keyframes lit-3 { 0%, 51% { background: var(--lit-off); } 52%, 73% { background: var(--lit-on); } 74.5%, 100% { background: var(--lit-off); } }
@keyframes lit-4 { 0%, 76% { background: var(--lit-off); } 77%, 98% { background: var(--lit-on); } 99.5%, 100% { background: var(--lit-off); } }
.fd-posting mark { --lit-off: var(--mark); --lit-on: var(--mark-lit); }
.fd-fact { --lit-off: transparent; --lit-on: var(--side); }

/* 3: the Tracker, as the app has it since the rebuild: applications
   under their stages, the furthest along first, each row in two sides
   (the role, then its company and city; the step it waits on, then that
   step's date); a stage nobody stands at is left out. The Grachtwerk Bank
   internship is open, lifted as a sheet, on its line of steps (the usual
   plan): ink once done, ringed in blue where it waits, grey ahead. Its
   circles are choices: one moves it to that step, under its stage. One
   number says where it stands (--s, the step, 1 to 6; --st, its stage, 1
   Saved to 5 Offer); every part reads it. Until a step is chosen it moves
   by itself; without the animation (or with Reduce motion) it rests at
   First interview. */
@property --s { syntax: "<integer>"; inherits: true; initial-value: 4; }
.track-demo { --s: 4; --st: calc(var(--s) - clamp(0, var(--s) - 4, 1)); border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: var(--lift); }
.track-demo:has(#s-saved:checked) { --s: 1; }
.track-demo:has(#s-applied:checked) { --s: 2; }
.track-demo:has(#s-test:checked) { --s: 3; }
.track-demo:has(#s-interview:checked) { --s: 4; }
.track-demo:has(#s-second:checked) { --s: 5; }
.track-demo:has(#s-offer:checked) { --s: 6; }
.track-demo:has(#s-auto:checked) { animation: tk-auto 18s steps(1, end) infinite; }
@keyframes tk-auto { 0% { --s: 1; } 16.6% { --s: 2; } 33.3% { --s: 3; } 50% { --s: 4; } 66.6% { --s: 5; } 83.3%, 100% { --s: 6; } }
.g1 { --g: 1; } .g2 { --g: 2; } .g3 { --g: 3; } .g4 { --g: 4; } .g5 { --g: 5; }
.tk-stage, .tk-waits > span, .tk-step { --here: clamp(0, 1 - (var(--st) - var(--g, 0)) * (var(--st) - var(--g, 0)), 1); }
.tk-list { display: flex; flex-direction: column; padding: 4px 0 14px; }
/* Each stage's heading with how many stand there, the furthest along
   first; Saved and Offer only while the internship stands there. */
.tk-stage { display: flex; gap: 8px; margin: 0; padding: 16px 22px 4px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.tk-stage.is-zero { overflow: hidden; max-height: calc(var(--here) * 44px); padding-block: calc(var(--here) * 16px) calc(var(--here) * 4px); opacity: var(--here); }
.tk-stage.g5 { order: 10; } .tk-stage.g4 { order: 20; } .tk-stage.g3 { order: 30; } .tk-stage.g2 { order: 40; } .tk-stage.g1 { order: 50; }
.o-interview { order: 22; } .o-test { order: 32; } .o-applied { order: 42; }
.tk-n { display: inline-grid; color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.tk-n > span { grid-area: 1 / 1; }
.tk-n .n-b { opacity: var(--here); }
.tk-n .n-a { opacity: calc(1 - var(--here)); }
/* A row in two sides, no line between rows. */
.tk-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; margin: 0; padding: 10px 22px; }
.tk-row .logo { width: 36px; height: 36px; }
.tk-main { min-width: 0; }
.tk-main b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.tk-main span { display: block; color: var(--ink-3); font-size: 14px; }
.tk-side { display: grid; justify-items: end; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.tk-side b { color: var(--ink); font-weight: 500; }
.tk-side span { color: var(--ink-3); }
/* The open internship: a sheet lifted off the list, at its stage. */
.tk-row.is-moving {
  order: calc(61 - var(--st) * 10); align-items: start;
  margin: 6px 10px; padding: 16px 12px 16px;
  border-radius: 14px; background: #fff; box-shadow: var(--paper);
}
.tk-waits > span { grid-area: 1 / 1; display: grid; justify-items: end; opacity: var(--now-w); }
.tk-waits > .w1 { --i: 1; } .tk-waits > .w2 { --i: 2; } .tk-waits > .w3 { --i: 3; } .tk-waits > .w4 { --i: 4; } .tk-waits > .w5 { --i: 5; } .tk-waits > .w6 { --i: 6; }
.tk-waits > span { --now-w: clamp(0, 1 - (var(--s) - var(--i)) * (var(--s) - var(--i)), 1); }
.tk-path { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 16px 0 4px !important; }
.p1 { --i: 1; } .p2 { --i: 2; } .p3 { --i: 3; } .p4 { --i: 4; } .p5 { --i: 5; } .p6 { --i: 6; }
.tk-step { --d: calc(var(--s) - var(--i)); --done: clamp(0, var(--d), 1); --now: clamp(0, 1 - var(--d) * var(--d), 1); position: relative; display: grid; justify-items: start; align-content: start; gap: 2px; min-width: 0; padding-right: 8px; border-radius: 8px; cursor: pointer; }
/* The line to the next step: ink once this one is done. */
.tk-step::after { content: ""; position: absolute; top: 10px; left: 22px; right: 0; height: 2px; background: color-mix(in srgb, var(--ink) calc(var(--done) * 100%), #e5e5ea); }
.p6::after { display: none; }
.tk-node { position: relative; z-index: 1; width: 22px; height: 22px; margin-bottom: 8px; border: 2px solid #c7c7cc; border-radius: 50%; background: #fff; }
.tk-node i { position: absolute; inset: -2px; border-radius: 50%; }
/* Done: filled in ink, a tick in it. */
.tk-node .nd { background: var(--ink); opacity: var(--done); }
.tk-node .nd::after { content: ""; position: absolute; top: 6px; left: 6px; width: 8px; height: 4px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); }
/* Where it waits: ringed in blue, a dot at its heart, its name in ink. */
.tk-node .nn { border: 2px solid var(--blue); opacity: var(--now); }
.tk-node .nn::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--blue); }
.tk-name { color: color-mix(in srgb, var(--ink) calc(var(--now) * 100%), var(--ink-3)); font-size: 13.5px; font-weight: calc(400 + var(--now) * 200); line-height: 1.3; }
.tk-when { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tk-step:hover .tk-node { border-color: var(--ink-3); }
.tk-note { grid-column: 2 / -1; display: flex; gap: 14px; margin: 10px 0 0; color: var(--ink); font-size: 14px; }
.tk-note span { color: var(--ink-3); }

/* ---- Questions ------------------------------------------------------ */
.faq { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 24px clamp(32px, 5vw, 96px); padding: clamp(56px, 6vw, 104px) var(--edge); border-top: 1px solid var(--line); }
.faq-head h2 { font-size: clamp(30px, 2vw + 12px, 48px); line-height: 1.08; }
.faq-head p { margin-top: 14px; color: var(--ink-3); font-size: 16px; }
.faq-head a { font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px 0; color: var(--ink); font: 600 clamp(17px, 0.3vw + 15px, 19px)/1.35 var(--display);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin: 6px 6px 0 0;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform 240ms var(--out);
}
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq summary:hover { color: var(--blue); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq-a { max-width: 44rem; padding: 0 40px 24px 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.faq-a a { font-weight: 600; }
/* Opening glides where the browser can size to the answer. */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 360ms var(--out), content-visibility 360ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@supports (animation-timeline: view()) {
  .faq-head, .faq-list { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 25%; }
}
@media (max-width: 1100px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Smaller windows ----------------------------------------------- */
@media (max-width: 1100px) {
  .fit-head { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-text { order: 0; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step:nth-child(even) { padding: 32px 0 36px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .compare-stage { grid-template-columns: minmax(0, 1fr); }
  .col-new, .links { display: none; }
  .compare figcaption { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .compare .why { grid-column: 1; grid-row: 1; }
  .compare .cap { grid-row: 2; }
  .cr { padding: 0 14px; }
  .facts-demo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .viz { height: auto; min-height: 236px; padding: 18px 16px 34px; }
  .viz-hash { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .buckets { width: 144px; height: 144px; background-size: 9px 9px; }
  .w { grid-template-columns: minmax(0, 1fr) 30% 3.2em; gap: 8px; font-size: 12px; }
}

/* ---- Phones: the audit's fixes (owner, 13 October 2026) ------------- */
/* Two orders on a phone: one list that turns from newest first to best
   fit first by itself (the narrow screen can't hold both side by side). */
.fit-phone { display: none; }
.r-nfr { --from: 0; --to: 4; --fit: 35; --steps: 7; }
/* The weights' words stay readable. */
.w .mono { font-size: 1em; }
/* Fingers need room. */
@media (pointer: coarse) {
  .td-act, .td-undo { width: 44px; height: 44px; }
  .tk-step { min-height: 44px; }
  .sc-tab { height: 44px; }
  .foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .faq summary { padding-block: 20px; }
}
@media (max-width: 760px) {
  .compare { display: none; }
  .fit-phone { display: block; margin-top: 28px; }
  /* A phone: the internship's steps run down its row, as in the app. */
  .tk-path { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); margin: 14px 0 0 !important; }
  .tk-step { grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-items: start; padding: 2px 0 12px; }
  .tk-node { grid-row: 1 / span 2; margin: 0; }
  .tk-step::after { top: 26px; bottom: -2px; left: 10px; right: auto; width: 2px; height: auto; }
  .tk-note { grid-column: 1 / -1; }
  .facts-demo { display: flex; flex-direction: column; }
  /* A phone: the facts first, two by two, each a name over its value, as in the app. */
  .fd-facts { order: -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 14px 10px 12px !important; border-bottom: 1px solid var(--line) !important; }
  .fd-fact { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 44px; }
  .fd-fact span { font-size: 13px; }
  /* Rows: the pay and age under the company, the signs at the end. */
  .td-in { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 0 6px 0 16px; column-gap: 12px; }
  .td-in > * { margin-block: 8px; }
  .td-main { grid-column: 2; grid-row: 1; }
  .td-side { grid-column: 2; grid-row: 2; display: flex; gap: 10px; margin-top: -6px; }
  .td-acts { grid-column: 3; grid-row: 1 / span 2; }
  .td-row .logo { grid-row: 1 / span 2; }
  .td-head { padding-left: 16px; padding-right: 6px; }
  .td-counts, .td-done { padding-inline: 16px; }
  .tk-stage { padding-inline: 16px; }
  .tk-stage.is-zero { padding-inline: 16px; }
  .tk-row { grid-template-columns: 36px minmax(0, 1fr); padding-inline: 16px; }
  .tk-row .logo { grid-row: 1 / span 2; align-self: start; }
  .tk-side { grid-column: 2; justify-items: start; text-align: left; display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 2px; }
  .tk-waits { display: grid !important; justify-items: start; }
  .tk-waits > span { justify-items: start; display: flex; gap: 8px; }
  .tk-row.is-moving { margin-inline: 6px; padding-inline: 10px; }
  .fd-posting { padding: 20px 18px 22px; font-size: 14.5px; }
  .w { font-size: 12px; }
  .viz-key { font-size: 12px; }
  .feature { padding-block: 40px; }
  .faq-a { padding-right: 8px; }
}
@media (max-width: 480px) {
  .cta { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
}
@media (pointer: coarse) {
  .top .button { min-height: 44px; }
  /* The wordmark answers a 44 px tap without moving the bar. */
  .brand { padding: 8px 0; margin: -8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The two orders' loop, role by role in the order they land: each link
   drawn, its role landing beside it with its Fit counting up in fives,
   and its place in the newest-first list lit as it leaves; then each
   role's Fit, as the model gave it. */
.ln-0 { animation: ln-0 var(--loop) var(--glide) infinite both; }
@keyframes ln-0 { 0%, 8% { stroke-dashoffset: 1; opacity: 1; } 13%, 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cf-0 { animation: cf-0 var(--loop) var(--out) infinite both; }
@keyframes cf-0 { 0%, 12% { opacity: 0; transform: translateX(-14px); } 15%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.cf-0 .cr-fit { animation: count-0 var(--loop) steps(var(--steps), end) infinite both; }
@keyframes count-0 { 0%, 12% { --n: 0; } 17%, 100% { --n: var(--fit); } }
.cf-0 .cr-bar i { animation: bar-0 var(--loop) var(--out) infinite both; }
@keyframes bar-0 { 0%, 12% { transform: scaleX(0); } 18%, 100% { transform: scaleX(calc(var(--fit) / 100)); } }
.cl-1::before { animation: cl-1 var(--loop) linear infinite both; }
@keyframes cl-1 { 0%, 8% { opacity: 0; } 9%, 13% { opacity: 1; } 15%, 100% { opacity: 0; } }
.ln-1 { animation: ln-1 var(--loop) var(--glide) infinite both; }
@keyframes ln-1 { 0%, 14% { stroke-dashoffset: 1; opacity: 1; } 19%, 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cf-1 { animation: cf-1 var(--loop) var(--out) infinite both; }
@keyframes cf-1 { 0%, 18% { opacity: 0; transform: translateX(-14px); } 21%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.cf-1 .cr-fit { animation: count-1 var(--loop) steps(var(--steps), end) infinite both; }
@keyframes count-1 { 0%, 18% { --n: 0; } 23%, 100% { --n: var(--fit); } }
.cf-1 .cr-bar i { animation: bar-1 var(--loop) var(--out) infinite both; }
@keyframes bar-1 { 0%, 18% { transform: scaleX(0); } 24%, 100% { transform: scaleX(calc(var(--fit) / 100)); } }
.cl-2::before { animation: cl-2 var(--loop) linear infinite both; }
@keyframes cl-2 { 0%, 14% { opacity: 0; } 15%, 19% { opacity: 1; } 21%, 100% { opacity: 0; } }
.ln-2 { animation: ln-2 var(--loop) var(--glide) infinite both; }
@keyframes ln-2 { 0%, 20% { stroke-dashoffset: 1; opacity: 1; } 25%, 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cf-2 { animation: cf-2 var(--loop) var(--out) infinite both; }
@keyframes cf-2 { 0%, 24% { opacity: 0; transform: translateX(-14px); } 27%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.cf-2 .cr-fit { animation: count-2 var(--loop) steps(var(--steps), end) infinite both; }
@keyframes count-2 { 0%, 24% { --n: 0; } 29%, 100% { --n: var(--fit); } }
.cf-2 .cr-bar i { animation: bar-2 var(--loop) var(--out) infinite both; }
@keyframes bar-2 { 0%, 24% { transform: scaleX(0); } 30%, 100% { transform: scaleX(calc(var(--fit) / 100)); } }
.cl-5::before { animation: cl-5 var(--loop) linear infinite both; }
@keyframes cl-5 { 0%, 20% { opacity: 0; } 21%, 25% { opacity: 1; } 27%, 100% { opacity: 0; } }
.ln-3 { animation: ln-3 var(--loop) var(--glide) infinite both; }
@keyframes ln-3 { 0%, 26% { stroke-dashoffset: 1; opacity: 1; } 31%, 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cf-3 { animation: cf-3 var(--loop) var(--out) infinite both; }
@keyframes cf-3 { 0%, 30% { opacity: 0; transform: translateX(-14px); } 33%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.cf-3 .cr-fit { animation: count-3 var(--loop) steps(var(--steps), end) infinite both; }
@keyframes count-3 { 0%, 30% { --n: 0; } 35%, 100% { --n: var(--fit); } }
.cf-3 .cr-bar i { animation: bar-3 var(--loop) var(--out) infinite both; }
@keyframes bar-3 { 0%, 30% { transform: scaleX(0); } 36%, 100% { transform: scaleX(calc(var(--fit) / 100)); } }
.cl-4::before { animation: cl-4 var(--loop) linear infinite both; }
@keyframes cl-4 { 0%, 26% { opacity: 0; } 27%, 31% { opacity: 1; } 33%, 100% { opacity: 0; } }
.ln-4 { animation: ln-4 var(--loop) var(--glide) infinite both; }
@keyframes ln-4 { 0%, 32% { stroke-dashoffset: 1; opacity: 1; } 37%, 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cf-4 { animation: cf-4 var(--loop) var(--out) infinite both; }
@keyframes cf-4 { 0%, 36% { opacity: 0; transform: translateX(-14px); } 39%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.cf-4 .cr-fit { animation: count-4 var(--loop) steps(var(--steps), end) infinite both; }
@keyframes count-4 { 0%, 36% { --n: 0; } 41%, 100% { --n: var(--fit); } }
.cf-4 .cr-bar i { animation: bar-4 var(--loop) var(--out) infinite both; }
@keyframes bar-4 { 0%, 36% { transform: scaleX(0); } 42%, 100% { transform: scaleX(calc(var(--fit) / 100)); } }
.cl-0::before { animation: cl-0 var(--loop) linear infinite both; }
@keyframes cl-0 { 0%, 32% { opacity: 0; } 33%, 37% { opacity: 1; } 39%, 100% { opacity: 0; } }
.ln-5 { animation: ln-5 var(--loop) var(--glide) infinite both; }
@keyframes ln-5 { 0%, 38% { stroke-dashoffset: 1; opacity: 1; } 43%, 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cf-5 { animation: cf-5 var(--loop) var(--out) infinite both; }
@keyframes cf-5 { 0%, 42% { opacity: 0; transform: translateX(-14px); } 45%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.cf-5 .cr-fit { animation: count-5 var(--loop) steps(var(--steps), end) infinite both; }
@keyframes count-5 { 0%, 42% { --n: 0; } 47%, 100% { --n: var(--fit); } }
.cf-5 .cr-bar i { animation: bar-5 var(--loop) var(--out) infinite both; }
@keyframes bar-5 { 0%, 42% { transform: scaleX(0); } 48%, 100% { transform: scaleX(calc(var(--fit) / 100)); } }
.cl-3::before { animation: cl-3 var(--loop) linear infinite both; }
@keyframes cl-3 { 0%, 38% { opacity: 0; } 39%, 43% { opacity: 1; } 45%, 100% { opacity: 0; } }
.f-nfr { --fit: 35; --steps: 7; }
.f-citi { --fit: 90; --steps: 18; }
.f-barclays { --fit: 90; --steps: 18; }
.f-kpmg { --fit: 15; --steps: 3; }
.f-abn { --fit: 80; --steps: 16; }
.f-vlk { --fit: 85; --steps: 17; }
