/* GENERATED from kit/kit.css (kit 1.5.0) by tools/build-site.js. Do not edit here. */
/* Reference-site kit: kit.css  (version in kit/VERSION)
   Shared by enterprisellm.ai and securellm.ai. Owned by the enterprisellm repo;
   securellm.ai syncs a tagged version (kit/README.md). Implements
   docs/style-guide.md: readers are executives, typically 50 or older, so big
   comfortable text, strong contrast, calm space and slow motion.

   This file never sets a color. Every color, and which theme is the default,
   comes from the site's theme.css, which must define the tokens listed in
   kit/README.md ("The theme contract"). Places where the two sites are MEANT to
   differ are marked "DIVERGE:" and listed in the README's divergence register.
   Do not edit the copy in a site's assets folder: it is overwritten by the
   build. Change kit/kit.css here, then release a new kit version. */

:root {
  /* SHARED: the same on both sites. Not theme tokens. */
  --radius: 14px;
  --ease: cubic-bezier(0.45, 0, 0.25, 1);
  --slow: 900ms;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
}
@media (max-width: 640px) { body { font-size: 17.5px; } }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.eyebrow { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.6em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; }

/* Buttons: at least 44px tall, clear labels */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 600ms var(--ease), color 600ms var(--ease), border-color 600ms var(--ease);
}
/* DIVERGE: accent-meaning. --accent is the way forward (links, buttons, the next step).
   On securellm it is a calm color; its alarm color is --alert, used only where things go wrong. */
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-quiet:hover { border-color: var(--ink-2); }
.btn[disabled] { opacity: 0.4; cursor: default; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* Image slots: filled later by Arro's get-media (data-media-query says what to look for) */
.media-slot { position: relative; overflow: hidden; background:
  radial-gradient(120% 90% at 85% 20%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%),
  radial-gradient(90% 80% at 60% 100%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 65%),
  linear-gradient(135deg, var(--surface-2), var(--bg)); }
.media-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-slot[data-review]::after {
  content: "Stock image: " attr(data-media-query);
  position: absolute; right: 14px; bottom: 12px; max-width: 70%;
  font-size: 0.8rem; color: var(--ink-3); background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px dashed var(--rule-strong); border-radius: 8px; padding: 4px 10px;
}

/* Hero */
.hero { position: relative; }
.hero .media-slot { position: absolute; inset: 0; }
/* DIVERGE: hero-veil. The veil over the hero photo comes from the theme (--hero-overlay):
   bright and open on enterprisellm, deep and heavy on securellm. */
.hero-inner { position: relative; background: var(--hero-overlay); }
.hero-inner .wrap { padding-top: 104px; padding-bottom: 112px; }
.hero h1 { max-width: 15em; }
.hero .lead { max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* The short answer */
.short-answer { background: var(--surface); border: 1px solid var(--rule); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow); }
.short-answer h2 { font-size: 1.5rem; }
.short-answer p:last-child { margin-bottom: 0; }
.short-answer .picture { color: var(--ink-2); }

/* Business questions */
.q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 40px; }
.q-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.q-card svg { width: 34px; height: 34px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.q-card h3 { font-size: 1.22rem; margin: 4px 0 0; }
.q-card p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.q-card .soon { margin-top: auto; padding-top: 8px; font-size: 0.9rem; font-weight: 700; color: var(--ink-3); }

/* Why projects stall */
.stall { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; margin-top: 36px; }
@media (max-width: 900px) { .stall { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.stat .num { font-family: var(--font-head); font-size: 5rem; line-height: 1; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.stat p { color: var(--ink); font-size: 1.1rem; }
.source { font-size: 0.92rem; color: var(--ink-3); margin: 14px 0 0; }
.chart-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px 30px 22px; box-shadow: var(--shadow); }
.chart-card h3 { font-size: 1.35rem; max-width: 26em; }
#chart-blockers.is-live 
@keyframes pf-fade { from { opacity: 0; } to { opacity: 1; } }

/* Built by people who have done it */
.built { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .built { grid-template-columns: 1fr; } }
.built .media-slot { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.built ul { padding-left: 1.2em; }
.built li { margin-bottom: 0.55em; }

/* Call to action */
.cta { background: var(--surface); border-top: 1px solid var(--rule); }
.cta-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }
.cta-side { background: var(--surface-2); border-radius: var(--radius); padding: 26px 28px; }
.cta-side h3 { font-size: 1.2rem; }
.cta-side p { color: var(--ink-2); font-size: 1rem; }

/* Footer */
.site-foot { padding: 40px 0 56px; color: var(--ink-2); font-size: 0.98rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-foot a { color: var(--ink-2); }
.theme-toggle { background: none; border: 1px solid var(--rule-strong); color: var(--ink-2); border-radius: 999px; min-height: 44px; padding: 0 16px; font: inherit; font-size: 0.95rem; cursor: pointer; }

/* Reduced motion: final states, no transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.photo-credits { font-size: 0.95rem; color: var(--ink-3); margin-top: 6px; }
.photo-credits a { color: var(--ink-3); }
.hero .media-slot img { object-position: center 40%; }

/* Alternate bands: cool light grey, so white cards stand off it */
.section.band { background: var(--band); }
.section.band + .section, .section + .section.band { border-top: 0; }


/* ── How it works: shared step badges ── */
.flow-num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); font-size: 0.95rem; font-weight: 700; transition: background-color 600ms var(--ease), color 600ms var(--ease); }
.flow-num-blank { background: transparent !important; width: 10px; }
.flow-text { display: flex; flex-direction: column; min-width: 0; }
.flow-label { font-weight: 700; line-height: 1.3; }
.flow-short { font-size: 0.95rem; color: var(--ink-3); line-height: 1.35; }

/* Home teaser: the eight steps as a compact grid that links into the page */
.flow-teaser { list-style: none; padding: 0; margin: 36px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
@media (max-width: 1000px) { .flow-teaser { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow-teaser { grid-template-columns: 1fr; } }
.flow-teaser a { display: flex; gap: 12px; align-items: flex-start; height: 100%; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; color: var(--ink); text-decoration: none; transition: border-color 600ms var(--ease); }
.flow-teaser a:hover { border-color: var(--accent); }
.flow-teaser a:hover .flow-num { background: var(--accent); color: var(--accent-ink); }

/* The How it works page: the flowchart fixed on the left, the reading on the right */
.how-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 72px; }
.flow-nav { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
.flow-nav details > summary { list-style: none; cursor: default; }
.flow-nav details > summary::-webkit-details-marker { display: none; }
.flow-nav-title { display: block; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.flow-nav-status { display: none; }
.flow-nav-list { list-style: none; padding: 0; margin: 0; position: relative; }
.flow-nav-list li { position: relative; padding-bottom: 14px; }
.flow-nav-list li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 46px; bottom: 2px; width: 2px; background: var(--rule-strong); }
.flow-nav-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; position: relative; z-index: 1; transition: border-color 600ms var(--ease), background-color 600ms var(--ease); }
.flow-nav-list a:hover { border-color: var(--accent); }
.flow-nav-list a.is-done { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }
.flow-nav-list a.is-done .flow-num { background: color-mix(in srgb, var(--accent) 25%, var(--surface-2)); color: var(--ink); }
.flow-nav-list a.is-active { border-color: var(--accent); background: var(--accent-soft); }
.flow-nav-list a.is-active .flow-num { background: var(--accent); color: var(--accent-ink); }

.how-content { max-width: 760px; }
.how-intro h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.how-thread { background: var(--accent-soft); border-radius: 12px; padding: 16px 20px; }
.step { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--rule); scroll-margin-top: 100px; }
.step h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.step:focus { outline: none; }
.step-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
@media (max-width: 700px) { .step-notes { grid-template-columns: 1fr; } }
.step-picture, .step-matters { border-radius: 12px; padding: 18px 20px; }
.step-picture { background: var(--accent-soft); }
.step-matters { background: var(--surface-2); }
.step-notes p { margin: 0; font-size: 1rem; }
.step-notes p + p { margin-top: 4px; }
.kicker { font-size: 0.95rem !important; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.how-next { margin-top: 72px; padding: 30px 32px; background: var(--surface-2); border-radius: var(--radius); }
.how-next .btn { margin: 6px 10px 0 0; }
.credits-row { padding-top: 28px; }

/* Narrow screens: the flowchart becomes a slim bar at the top that opens the list */
@media (max-width: 900px) {
  .how-layout { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .flow-nav { position: sticky; top: 76px; z-index: 4; max-height: none; overflow: visible; margin: 0 -28px; background: var(--bg); border-bottom: 1px solid var(--rule); }
  .flow-nav details > summary { cursor: pointer; padding: 12px 28px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .flow-nav-title { display: none; }
  .flow-nav-status { display: block; font-weight: 700; line-height: 1.3; }
  .flow-nav-status::before { content: "You're reading"; display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
  /* The tap target must look tappable: an outlined button, not a bare word. */
  .flow-nav details > summary::after { content: "All steps \25BE"; flex: none; font-size: 0.95rem; color: var(--accent); font-weight: 700; white-space: nowrap; border: 2px solid var(--accent); border-radius: 999px; padding: 8px 14px; }
  .flow-nav details[open] > summary::after { content: "Close \25B4"; }
  .flow-nav-list { padding: 4px 28px 18px; max-height: 60vh; overflow: auto; }
  .how-content { padding-top: 32px; }
}

/* Executive bar chart: plain HTML, one highlighted bar, values labeled */
.bars { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; gap: 16px; }
.bars li { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr auto; align-items: center; gap: 14px; }
.bar-label { font-size: 1rem; color: var(--ink); line-height: 1.3; }
.bar-track { height: 34px; background: var(--surface-2); border-radius: 0 6px 6px 0; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--chart-mute); border-radius: 0 4px 4px 0; }
/* DIVERGE: chart-emphasis. --chart-hi means "the one that matters": the opportunity on
   enterprisellm, the risk on securellm. */
.bar-hi .bar-fill { background: var(--chart-hi); }
.bar-value { font-size: 1.15rem; min-width: 3.2em; }
@media (max-width: 560px) { .bars li { grid-template-columns: 1fr auto; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }
.q-card .q-also { font-size: 0.95rem; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 4px; }
.step-link { margin-top: 16px; font-weight: 700; }

/* Risk callout: a fact the reader should worry about. Rare on enterprisellm,
   central on securellm. DIVERGE: alert-use (how often it appears is the site's call). */
.callout-risk { border-left: 6px solid var(--alert); background: var(--alert-soft); border-radius: 12px; padding: 18px 22px; color: var(--ink); }
.callout-risk .kicker { color: var(--alert-ink) !important; }

/* Explainer video: full width of the reading column, rounded like the cards.
   Captions are on by default (the <track default>); preload metadata only.
   A YouTube embed (<iframe>) gets the same frame (kit 1.5.0). */
.video-figure { margin: 8px 0 32px; }
.video-figure video, .video-figure iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--surface-2); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-figure figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--ink-3); }

/* ── Guides and question hubs (kit 1.2.0) ──
   A guide follows the style guide's nine sections. These are its pieces. */
.crumbs { font-size: 0.95rem; color: var(--ink-3); margin: 0 0 18px; }
.crumbs a { color: var(--ink-2); }
.guide { max-width: 780px; margin: 0 auto; padding-block: 56px 80px; }
.guide h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.guide > section { margin-top: 56px; }
.guide > section > h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.guide-meta { font-size: 0.95rem; color: var(--ink-3); }

/* Choices: each option says who it suits and what it gives up. */
.choices { display: grid; gap: 18px; margin-top: 18px; }
.choice { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.choice h3 { margin-bottom: 8px; }
.choice p { margin: 6px 0 0; }
.choice .best, .choice .gives { font-size: 1rem; padding-left: 1.6em; position: relative; }
.choice .best::before, .choice .gives::before { position: absolute; left: 0; font-weight: 700; }
.choice .best::before { content: "\2713"; color: var(--accent); }
.choice .gives::before { content: "\2212"; color: var(--ink-3); }
.choice .best strong, .choice .gives strong { color: var(--ink); }

/* A plain list of poor fits, each with its reason. */
.poor-fits { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.poor-fits li { background: var(--surface-2); border-radius: 12px; padding: 16px 20px; }
.poor-fits strong { display: block; }

/* A short scorecard: plain rows, big enough to read. */
.scorecard { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 1rem; }
.scorecard th, .scorecard td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--rule); }
.scorecard th { font-size: 0.95rem; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }
.scorecard td:first-child { font-weight: 700; width: 34%; }

/* Questions to take into a meeting. */
.ask-list { padding-left: 1.4em; margin-top: 14px; }
.ask-list li { margin-bottom: 0.7em; padding-left: 0.3em; }

/* Other names you may hear: the plain phrase, then the term. */
.other-names { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin-top: 14px; }
.other-names dt { font-weight: 700; }
.other-names dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .other-names { grid-template-columns: 1fr; } .other-names dd { margin-bottom: 10px; } }

/* "How we built it in Arro": always labeled. */
.built-note { border-left: 6px solid var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 18px 22px; }

/* The next step at the foot of every guide and hub (also used on How it works). */
.next-step { margin-top: 64px; padding: 30px 32px; background: var(--surface-2); border-radius: var(--radius); }
.next-step .btn { margin: 6px 10px 0 0; }

/* Question hub: its guides, ready or coming. */
.guide-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.guide-list a, .guide-list .soon-item { display: block; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 26px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.guide-list a { transition: border-color 600ms var(--ease); }
.guide-list a:hover { border-color: var(--accent); }
.guide-list .g-title { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; display: block; }
.guide-list .g-desc { display: block; color: var(--ink-2); margin-top: 6px; font-size: 1rem; }
.guide-list .g-status { display: inline-block; margin-top: 10px; font-size: 0.95rem; font-weight: 700; color: var(--accent); }
.guide-list .soon-item .g-status { color: var(--ink-3); }
.guide-list .soon-item { box-shadow: none; background: var(--surface-2); }

/* A home-page question card that has a hub becomes a link. */
a.q-card { color: var(--ink); text-decoration: none; transition: border-color 600ms var(--ease); }
a.q-card:hover { border-color: var(--accent); }
a.q-card .soon { color: var(--accent); }

/* ── Visual guide pieces (kit 1.3.0) ──
   Pictures that carry a guide's argument, so the prose can stay short. */

/* A wide photo under a guide's title. Uses a .media-slot inside. */
.guide-photo { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; max-width: 100%; }
.guide-photo .media-slot { width: 100%; height: 100%; }

/* One sentence, set large: the everyday picture's punchline. */
.pull { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.3; color: var(--ink); margin: 18px 0; padding: 6px 0 6px 24px; border-left: 6px solid var(--accent); text-wrap: balance; }

/* Funnel: a process that narrows, each row a bar (its width set inline as
   --w) with the step beside it. Bars grow slowly into place when kit.js
   sees them; without script they simply sit at full size. */
.funnel { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.funnel li { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 22px; align-items: center; }
.f-track { display: flex; justify-content: center; }
.f-bar { width: var(--w, 100%); min-width: 64px; height: 64px; border-radius: 12px; background: var(--accent-soft); border: 2px solid color-mix(in srgb, var(--accent) 45%, var(--rule)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; transition: width 1400ms var(--ease), opacity 1400ms var(--ease); }
.funnel li:last-child .f-bar { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.f-text h3 { font-size: 1.15rem; margin: 0 0 4px; }
.f-text p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.funnel.armed .f-bar { width: 64px; opacity: 0.4; }
.funnel.armed.in .f-bar { width: var(--w, 100%); opacity: 1; }
.funnel.armed.in li:nth-child(2) .f-bar { transition-delay: 250ms; }
.funnel.armed.in li:nth-child(3) .f-bar { transition-delay: 500ms; }
.funnel.armed.in li:nth-child(4) .f-bar { transition-delay: 750ms; }
.funnel.armed.in li:nth-child(5) .f-bar { transition-delay: 1000ms; }
@media (max-width: 600px) { .funnel li { grid-template-columns: 1fr; gap: 8px; } .f-track { justify-content: flex-start; } }

/* Ladder: options in order from safest to boldest, with the axis drawn under them. */
.ladder { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.ladder li { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 20px 22px; box-shadow: var(--shadow); }
.ladder li:nth-child(1) { min-height: 200px; border-color: var(--accent); }
.ladder li:nth-child(2) { min-height: 240px; }
.ladder li:nth-child(3) { min-height: 280px; }
.ladder .tag { display: inline-block; font-size: 0.95rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); margin-bottom: 10px; }
.ladder li:nth-child(1) .tag { background: var(--accent); color: var(--accent-ink); }
.ladder h3 { font-size: 1.15rem; margin: 0 0 6px; }
.ladder p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.ladder-axis { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 0.95rem; font-weight: 700; color: var(--ink-3); }
.ladder-axis::before { content: ""; order: 1; flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), var(--rule-strong)); }
.ladder-axis span:last-child { order: 2; }
@media (max-width: 700px) { .ladder { grid-template-columns: 1fr; } .ladder li { min-height: 0 !important; } }

/* Verdicts: candidates scored side by side, the score drawn as dots. */
.verdicts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.verdicts li { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.verdicts li.win { border: 2px solid var(--accent); }
.verdicts h3 { font-size: 1.1rem; margin: 0; }
.verdicts p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.dots { display: flex; gap: 6px; align-items: center; font-size: 0.95rem; color: var(--ink-3); }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--rule); }
.dots i.on { background: var(--accent); }
.dots span { margin-left: 6px; }
.verdict { align-self: flex-start; margin-top: auto; font-size: 0.95rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.win .verdict { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) { .verdicts { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .f-bar { transition: none; } }

/* Factors: a few things that multiply together, drawn as tiles joined by ×. */
.factors { display: flex; align-items: stretch; gap: 10px; margin: 22px 0 0; flex-wrap: wrap; }
.factors .factor { flex: 1 1 180px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.factors .factor b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin-bottom: 4px; }
.factors .factor span { color: var(--ink-2); font-size: 1rem; }
.factors .times { align-self: center; font-family: var(--font-head); font-size: 2rem; color: var(--accent); }
@media (max-width: 640px) { .factors { flex-direction: column; } .factors .times { align-self: flex-start; padding-left: 18px; line-height: 1; } }

/* Checks: a short yes/no test, each question numbered in a circle. */
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; counter-reset: check; }
.checks li { counter-increment: check; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 20px; }
.checks li::before { content: counter(check); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border: 2px solid var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.checks b { display: block; font-size: 1.1rem; color: var(--ink); }
.checks span { color: var(--ink-2); font-size: 1rem; }

/* Choices laid out two across, for six or more short options. */
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .choices.two { grid-template-columns: 1fr; } }

/* Poor fits two across, for short items. */
.poor-fits.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .poor-fits.two { grid-template-columns: 1fr; } }
