/* ============================================================================
   MARKUP CONTRACTS changed in round D1 (landing/site page builders copy these)
   1. (round G) The "N / 8" counter is gone: .cl-carousel__bar holds <div class="cl-carousel__dashes"> with a control-mode .cl-dashes (atoms.css, js/dashes.js keeps it in step; data-dashes-for="#trackId"). Previous/Next are laptop only.
   1a. Carousel: the counter and Previous/Next sit ABOVE the track, in .cl-carousel__top beside the section head, so a card and its controls share a screen.
        <section class="cl-carousel"> <div class="cl-site-sec__in"><div class="cl-carousel__top"> <div class="cl-site-head">..</div> <div class="cl-carousel__bar"><div class="cl-carousel__nav"> prev | count | next </div></div></div></div>
          <div class="cl-carousel__viewport"><div class="cl-carousel__track" tabindex="0" role="group" aria-label="..."> <div class="cl-carousel__slide" role="group" aria-roledescription="slide" aria-label="1 of 8">card</div> ... </div></div>
          <div class="cl-site-sec__in"> <div class="cl-carousel__cta"> CTA </div></div></section>
      Track is a div role=group (not ul/li). Prev/Next use aria-disabled (never disabled), so focus stays on the button at the ends.
      Feature card: the panel is clipped at --cl-mini-panel-max-height (280) with a fade when it overflows; the card carries
      <button class="cl-button cl-button--text cl-button--sm cl-feature-card__more" aria-expanded="false" aria-controls="{panelId}" data-more hidden>See more</button> (JS un-hides it).
      The page-level stopgap .cl-carousel__track{position:relative} is no longer needed.
   1b. Header CTA label (round G9): <span class="cl-site-header__cta-short">Start free</span><span class="cl-site-header__cta-full">full label</span> inside .cl-site-header__cta; short below 600, full from 600.
   2. Consent banner: copy is one sentence; actions are Accept | Reject | Choose (Choose is an <a class="cl-link cl-consent__choose">). JS (js/organisms-site.js 7) shows it on first visit only,
      sets --cl-consent-height on <html>, and at >=150% text turns it into a full-width sheet with focus moved in and the page made inert.
   3. Header: logo never shrinks; the header CTA is hidden under a 23.5rem container (so at 150-200% text only logo + Menu remain); keep the CTA in the menu sheet.
   4. Footer: all <details class="cl-site-footer__group"> are closed on phones by default (do not add [open]); JS opens them all from 840.
   5. Intent dialog: nothing pre-selected, radios are required; add <p class="cl-intent__err" data-intent-err hidden> and <div class="cl-intent__done" data-intent-done hidden> (see parts) for the confirmation.
   6. Mechanism row (.cl-mechanism, molecules.css): no separator glyph; the gap separates the tags and the visually-hidden ", then" keeps the order for readers (.cl-mechanism__sep is display:none).
   7. Hero: optional scene slot  <div class="cl-hero__scene" aria-hidden="true">illustration</div>  (or the existing .cl-hero__horizon svg). It sits behind/beside, in a reserved lane under
      the copy and card (phone: full width at the bottom; laptop: the right 52% at the bottom); the glass card never overlaps it.
   8. Menu links (#anchors): the sheet closes and focus moves to the target heading (JS). Targets need an id; JS adds tabindex=-1.
   ============================================================================ */
/* ============================================================================
   Career Leap WEBSITE organisms: the large blocks the public landing and About pages are assembled from.
   Layer: cl.organisms (declared in tokens.css). Built only from atoms, molecules, illustration kit and tokens.
   Owner: website organisms builder. App organisms live in css/organisms-app.css (another builder).
   RESPONSIVE MODEL: every organism root is a size container (container-type: inline-size) and its layout changes with
   @container at the token breakpoints (medium 600, expanded 840, large 1200). So the same markup is the 393 phone
   composition in a 393 frame and the 1470 laptop composition in a 1470 frame, in a real browser or in the docs page.
   Mobile is the base; the laptop rules re-compose (columns, order, sizes), they do not just stretch.
   NOTE on fixed/top-layer: a size container is a containing block for position: fixed. The menu sheet and the intent-test
   sheet are therefore native <dialog> (top layer, focus trap, Esc, inert page), and the sticky header's dialog sits OUTSIDE
   the header's container child.
   No data-state mirrors here (docs-only, css/docs-specimens.css). Product JS: js/organisms-site.js.
   ============================================================================ */
@layer cl.organisms {

/* ---- 0. Shared: roots, section head, pen budget, previews ---------------------------------------------------- */
.cl-site-header__bar, .cl-hero, .cl-engine, .cl-carousel, .cl-journeys, .cl-research, .cl-why, .cl-offer-sec,
.cl-founder, .cl-faq, .cl-cta-band, .cl-mech-grid, .cl-site-footer, .cl-consent { container-type: inline-size; }

.cl-site-sec { padding-block: var(--cl-section-md); }                 /* 48 phone, 80 from 840 (tokens.css) */
.cl-site-sec__in { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: calc(var(--cl-layout-content-max) + 2 * var(--cl-layout-margin)); margin-inline: auto;
  padding-inline: max(var(--cl-layout-margin), var(--cl-layout-safe-area-left), var(--cl-layout-safe-area-right)); display: grid; gap: var(--cl-stack-xl); min-width: 0; }
.cl-site-head { display: grid; gap: var(--cl-space-12); max-width: var(--cl-layout-reading-measure); min-width: 0; }
.cl-site-head > * { margin: 0; }
/* Single-column sections on a laptop sit on a centred 720 reading measure instead of a left half-column (round E1 ruling 18).
   --cl-layout-site-measure is the comp token (720: about 75 characters at 17 px). */
@container (min-width: 840px) {
  .cl-site-sec__in > .cl-site-head:only-child, .cl-site-sec__in--measure > * { inline-size: 100%; max-inline-size: var(--cl-layout-site-measure); margin-inline: auto; }
}
.cl-site-head__eyebrow { color: var(--cl-color-primary-text); }
.cl-site-head__title { font-size: var(--cl-type-heading-2-size); line-height: var(--cl-type-heading-2-line-height); font-weight: var(--cl-type-heading-2-weight); letter-spacing: var(--cl-type-heading-2-tracking); text-wrap: balance; }
.cl-site-head__lede { font-size: var(--cl-type-body-long-size); line-height: var(--cl-type-body-long-line-height); color: var(--cl-color-on-surface-muted); }
.cl-site-sec--tint { background: var(--cl-color-surface); border-block: var(--cl-border-width-1) solid var(--cl-color-divider); }
.cl-site-sec [id] { scroll-margin-top: var(--cl-scroll-padding-top); }

/* Non-interactive look-alike controls inside product previews (widgets): never a second primary, never a dead tap target. */
.cl-widget .cl-button[data-preview] { pointer-events: none; cursor: default; }
.cl-widget .cl-button[data-preview]::after { display: none; }

/* ---- 1. Website header (sticky) + menu sheet -------------------------------------------------------------------- */
.cl-site-header { position: sticky; top: 0; z-index: var(--cl-z-bar); padding-top: var(--cl-layout-safe-area-top);
  background: var(--cl-color-surface-glass-fallback); border-block-end: var(--cl-border-width-1) solid var(--cl-color-divider); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .cl-site-header { background: var(--cl-color-surface-glass-bar); -webkit-backdrop-filter: var(--cl-glass-filter); backdrop-filter: var(--cl-glass-filter); }
}
.cl-site-header__inner { --_ibs: var(--cl-size-target-min); display: flex; align-items: center; gap: var(--cl-space-8); min-height: var(--cl-top-bar-height-mobile);
  width: 100%; max-width: calc(var(--cl-layout-content-max) + 2 * var(--cl-layout-margin)); margin-inline: auto;
  padding-inline: max(var(--cl-layout-margin), var(--cl-layout-safe-area-left), var(--cl-layout-safe-area-right)); }
.cl-site-logo { display: inline-flex; align-items: center; gap: var(--cl-space-8); min-height: var(--cl-size-target-min); flex: 0 0 auto; min-width: max-content;
  color: var(--cl-color-on-surface); text-decoration: none; white-space: nowrap; font-size: var(--cl-font-size-16); line-height: var(--cl-type-body-line-height); font-weight: var(--cl-font-weight-semibold); border-radius: var(--cl-radius-8); }
.cl-site-logo__mark { flex: none; width: var(--cl-size-icon-24); height: var(--cl-size-icon-24); border-radius: var(--cl-radius-999); background: var(--cl-gradient-brand); }
.cl-site-header__spacer { flex: 1 1 auto; }
.cl-site-header__cta { flex: 0 1 auto; --_px: var(--cl-space-12); min-width: 0; }   /* 12 not 20: "See my Career Leap" must fit beside logo + menu at 360 */
.cl-site-header__menu { flex: none; }
.cl-site-header__nav, .cl-site-header__signin { display: none; }
/* Header CTA label: a short label below 600 (the container is the header bar), the full label from 600 up. Markup: <a class="cl-button cl-button--sm cl-site-header__cta"><span class="cl-site-header__cta-short">Start free</span><span class="cl-site-header__cta-full">Show me how far I could go</span></a>. Both spans are real text; only one is displayed, so a screen reader reads one name. */
.cl-site-header__cta-short { display: inline; }
.cl-site-header__cta-full { display: none; }
@container (min-width: 600px) { .cl-site-header__cta-short { display: none; } .cl-site-header__cta-full { display: inline; } }
.cl-site-nav__link, .cl-site-header__signin { white-space: nowrap; }
/* Large text: the fit is expressed in rem, so it follows the reader's size. Under 23.5rem of bar (376px at 100%, 752px at 200%: logo + CTA + a 48 Menu need 376) only logo + Menu remain; the CTA lives in the menu sheet. */
@container (width < 23.5rem) { .cl-site-header__cta { display: none; } }
@container (width < 12rem) { .cl-site-logo > span:last-child { display: none; } }
.cl-menu-sheet__head { --_ibs: var(--cl-size-target-min); }
.cl-site-nav { display: flex; gap: var(--cl-space-4); margin: 0; padding: 0; list-style: none; }
.cl-site-nav__link { display: inline-flex; align-items: center; min-height: var(--cl-size-target-min); padding-inline: var(--cl-space-12); border-radius: var(--cl-radius-8);
  color: var(--cl-color-on-surface); text-decoration: none; font-size: var(--cl-font-size-16); line-height: var(--cl-type-body-line-height); font-weight: var(--cl-font-weight-medium); }
.cl-site-nav__link[aria-current="page"], .cl-site-nav__link[aria-current="true"] { font-weight: var(--cl-font-weight-semibold); text-decoration: underline; text-decoration-thickness: var(--cl-border-width-2); text-underline-offset: var(--cl-space-8); }
@media (hover: hover) and (pointer: fine) {
  .cl-site-nav__link:hover { background: color-mix(in srgb, var(--cl-color-state-layer-on-surface) calc(var(--cl-opacity-state-hover) * 100%), transparent); }
}
.cl-site-nav__link:active { background: color-mix(in srgb, var(--cl-color-state-layer-on-surface) calc(var(--cl-opacity-state-pressed) * 100%), transparent); }
.cl-site-logo:focus-visible, .cl-site-nav__link:focus-visible, .cl-menu-sheet__link:focus-visible, .cl-site-footer a:focus-visible, .cl-site-footer summary:focus-visible, .cl-carousel__track:focus-visible {
  outline: var(--cl-border-width-2) solid var(--cl-color-focus-ring); outline-offset: var(--cl-border-width-2);
  box-shadow: 0 0 0 calc(var(--cl-border-width-2) * 3) var(--cl-color-focus-halo); }
@container (min-width: 1200px) {   /* nav + Sign in + CTA need ~930px; below 1200 (iPad, landscape phone) the Menu button stays (round D1) */
  .cl-site-header__inner { min-height: var(--cl-top-bar-height-desktop); gap: var(--cl-space-16); }
  .cl-site-header__menu { display: none; }
  .cl-site-header__nav { display: block; margin-inline-start: var(--cl-space-24); }
  .cl-site-header__signin { display: inline-flex; }
  .cl-site-header__cta { --_px: var(--cl-button-padding-inline-sm); }
}
/* One primary per viewport: while a section's primary CTA is on screen the header CTA goes tonal (js/organisms-site.js sets data-cta="quiet"). */
.cl-site-header[data-cta="quiet"] .cl-site-header__cta, .cl-site-header[data-cta-state="quiet"] .cl-site-header__cta {   /* data-cta-state="quiet" is written in the markup when a hero CTA exists, so the header CTA is secondary at first paint; the observer keeps it */ --_bg: var(--cl-color-secondary-container); --_fg: var(--cl-color-on-secondary-container); --_bd: var(--cl-color-secondary-outline); --_sl: var(--cl-color-state-layer-on-secondary); }

.cl-menu-sheet { position: fixed; inset: 0; z-index: var(--cl-z-menu); width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--cl-color-background); color: var(--cl-color-on-surface); overflow: auto; overscroll-behavior: contain; }
.cl-menu-sheet:not([open]) { display: none; }
.cl-menu-sheet::backdrop { background: var(--cl-color-scrim); }
.cl-menu-sheet__in { display: grid; align-content: start; gap: var(--cl-space-24); min-height: 100%; box-sizing: border-box;
  padding: calc(var(--cl-layout-safe-area-top) + var(--cl-space-8)) max(var(--cl-layout-margin), var(--cl-layout-safe-area-right)) calc(var(--cl-layout-safe-area-bottom) + var(--cl-space-24)) max(var(--cl-layout-margin), var(--cl-layout-safe-area-left)); }
.cl-menu-sheet__head { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--cl-top-bar-height-mobile) - var(--cl-space-8)); }
.cl-menu-sheet__list { margin: 0; padding: 0; list-style: none; display: grid; }
.cl-menu-sheet__list li + li { border-block-start: var(--cl-border-width-1) solid var(--cl-color-divider); }
.cl-menu-sheet__link { display: flex; align-items: center; justify-content: space-between; min-height: var(--cl-size-control-56); color: var(--cl-color-on-surface); text-decoration: none;
  font-size: var(--cl-type-heading-3-size); line-height: var(--cl-type-heading-3-line-height); font-weight: var(--cl-type-title-weight); border-radius: var(--cl-radius-8); }
.cl-menu-sheet__link .cl-icon { color: var(--cl-color-on-surface-muted); }
.cl-menu-sheet__foot { display: grid; gap: var(--cl-space-12); margin-block-start: auto; }

/* ---- 2. Hero ------------------------------------------------------------------------------------------------------ */
.cl-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--cl-gradient-hero); }
.cl-hero__in { display: grid; gap: var(--cl-stack-xl); width: 100%; max-width: calc(var(--cl-layout-content-max) + 2 * var(--cl-layout-margin)); margin-inline: auto; box-sizing: border-box;
  padding: var(--cl-space-32) max(var(--cl-layout-margin), var(--cl-layout-safe-area-left), var(--cl-layout-safe-area-right)) calc(100cqi * 120 / 393 + var(--cl-space-32)); min-width: 0; }   /* the bottom padding is the horizon's height + 32: glass never touches art */
.cl-hero__copy { display: grid; gap: var(--cl-space-16); min-width: 0; align-content: start; }
.cl-hero__copy > * { margin: 0; }
.cl-hero__title { font-size: var(--cl-type-display-size); line-height: var(--cl-type-display-line-height); font-weight: var(--cl-type-display-weight); letter-spacing: var(--cl-type-display-tracking); text-wrap: balance; }
.cl-hero__sub { font-size: var(--cl-type-body-long-size); line-height: var(--cl-type-body-long-line-height); }
.cl-hero__product { font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }
.cl-hero__cta { display: grid; gap: var(--cl-space-12); justify-items: stretch; margin-block-start: var(--cl-space-8); }
.cl-hero__support { margin: 0; font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }
.cl-authority { margin: 0; padding: var(--cl-space-16) 0 0; list-style: none; display: grid; gap: var(--cl-space-8); border-block-start: var(--cl-border-width-1) solid var(--cl-color-divider);
  font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }
.cl-authority li { display: flex; gap: var(--cl-space-8); align-items: center; }
.cl-authority li::before { content: ""; flex: none; width: var(--cl-space-8); height: var(--cl-space-8); margin-block-start: var(--cl-space-8); border-radius: var(--cl-radius-999); background: var(--cl-color-highlight); }
.cl-hero__visual { position: relative; display: grid; min-width: 0; }
.cl-hero-card { padding: var(--cl-space-20); display: grid; gap: var(--cl-space-16); color: var(--cl-color-on-surface); position: relative; }
.cl-hero-card__head { display: flex; flex-wrap: wrap; gap: var(--cl-space-8); align-items: center; }
.cl-hero-card__block { display: grid; gap: var(--cl-space-4); }
.cl-hero-card__label { margin: 0; color: var(--cl-color-on-surface-muted); }
.cl-hero-card__q { margin: 0; font-size: var(--cl-type-title-size); line-height: var(--cl-type-title-line-height); font-weight: var(--cl-type-title-weight); }
.cl-hero-card__tests { display: flex; flex-wrap: wrap; gap: var(--cl-space-8); margin: 0; padding: 0; list-style: none; }
.cl-hero-card__tests li { padding: var(--cl-space-4) var(--cl-space-12); border: var(--cl-border-width-1) solid var(--cl-color-border-strong); border-radius: var(--cl-radius-999);
  font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); font-weight: var(--cl-font-weight-medium); }
.cl-hero__pen { position: absolute; inset-inline-end: var(--cl-space-24); inset-block-end: var(--cl-space-20); width: var(--cl-space-48); pointer-events: none; z-index: var(--cl-z-pinned); }   /* the one pen mark of the visual */
@media (hover: hover) and (pointer: fine) { .cl-site-footer__links a:hover { text-decoration: underline; text-underline-offset: var(--cl-space-4); } }
.cl-hero__scene { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: -1; aspect-ratio: 393 / 120; pointer-events: none; }
.cl-hero__scene > svg, .cl-hero__scene > img { display: block; width: 100%; height: 100%; }
.cl-hero__horizon { -webkit-mask-image: linear-gradient(to bottom, transparent, black 35%); mask-image: linear-gradient(to bottom, transparent, black 35%); position: absolute; inset-inline: 0; inset-block-end: 0; z-index: -1; width: 100%; height: auto; aspect-ratio: 393 / 120; pointer-events: none; }
@container (min-width: 840px) {
  .cl-hero__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--cl-space-64); align-items: start; padding-block: var(--cl-space-64) calc(52cqi * 120 / 393 + var(--cl-space-32)); }   /* the lane under copy and card is exactly the scene's height + 32: the glass card never overlaps art */
  .cl-hero__cta { justify-items: start; }
  .cl-hero__visual { padding-block-start: var(--cl-space-24); }
  .cl-hero__scene { inset-inline-start: auto; width: 52cqi; }
  .cl-hero__horizon { inset-inline-start: auto; width: 52cqi; aspect-ratio: 393 / 120;   /* the horizon peeks in from the right edge under the card, never behind text */
    -webkit-mask-image: linear-gradient(to right, transparent, black 35%), linear-gradient(to bottom, transparent, black 35%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, black 35%), linear-gradient(to bottom, transparent, black 35%); mask-composite: intersect; }
}

/* ---- 3. Hybrid engine strip -------------------------------------------------------------------------------------- */
.cl-engine__list { display: grid; gap: var(--cl-space-8); margin: 0; padding: 0; list-style: none; }
.cl-engine__item { display: grid; gap: var(--cl-space-8); align-content: start; padding: var(--cl-space-16); border: var(--cl-border-width-1) solid var(--cl-color-border); border-radius: var(--cl-radius-16); background: var(--cl-color-surface-raised); }
.cl-engine__item > * { margin: 0; }
.cl-engine__tag { justify-self: start; }
.cl-engine__label { font-size: var(--cl-type-label-lg-size); line-height: var(--cl-type-label-lg-line-height); font-weight: var(--cl-font-weight-semibold); letter-spacing: var(--cl-type-eyebrow-tracking); text-transform: var(--cl-type-eyebrow-transform); }
.cl-engine__text { font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }
.cl-engine__plus { display: grid; place-items: center; min-height: var(--cl-space-24); color: var(--cl-color-on-surface-muted); font-size: var(--cl-type-title-size); font-weight: var(--cl-font-weight-semibold); }
@container (min-width: 840px) {
  .cl-engine__list { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--cl-space-16); align-items: stretch; }
  .cl-engine__item { padding: var(--cl-space-24); }
  .cl-engine__plus { align-self: center; min-width: var(--cl-space-24); }
}

/* ---- 4. Carousel (v3 spec) ---------------------------------------------------------------------------------------- */
.cl-carousel { --cl-carousel-peek: 24px; --cl-carousel-gap: var(--cl-space-16); --_edge: var(--cl-layout-margin); }
.cl-carousel__top { display: grid; gap: var(--cl-space-16); }
/* phone: the counter and Prev/Next sit directly above the track (not below a 900px card), so a card and its controls share a screen (round D1 ruling 3) */
.cl-carousel__viewport { position: relative; min-width: 0; }
.cl-carousel__track { position: relative; display: flex; align-items: stretch; gap: var(--cl-carousel-gap); margin: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: var(--cl-space-8) var(--_edge); scroll-padding-inline: var(--_edge); border-radius: var(--cl-radius-16); }
.cl-carousel__track::-webkit-scrollbar { display: none; }
.cl-carousel__track:focus-visible { outline-offset: calc(var(--cl-border-width-2) * -1); }   /* inset: an edge-to-edge track's ring is never cut at the screen edges */
.cl-carousel__nav .cl-icon-button[aria-disabled="true"] { --_bg: var(--cl-color-surface-disabled); --_fg: var(--cl-color-on-surface-disabled); cursor: not-allowed; }
.cl-carousel__slide { flex: 0 0 calc(100cqi - 2 * var(--_edge) - var(--cl-carousel-peek) - var(--cl-carousel-gap)); scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; display: flex; }
.cl-carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--cl-space-16); }
.cl-carousel__nav { display: none; align-items: center; gap: var(--cl-space-8); }   /* prev / next are for a laptop; on a phone swiping and the dashes do the job (round G ask 11) */
.cl-carousel__dashes { display: flex; align-items: center; min-block-size: var(--cl-size-target-min); }
.cl-carousel__cta { display: grid; gap: var(--cl-space-12); justify-items: stretch; }
.cl-carousel__cta p { margin: 0; font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); color: var(--cl-color-on-surface-muted); }
@media (prefers-reduced-motion: reduce) { .cl-carousel__track { scroll-behavior: auto; } }
@container (min-width: 840px) {
  .cl-carousel__viewport { --_edge: max(var(--cl-layout-margin), calc((100cqi - var(--cl-layout-content-max)) / 2)); --cl-carousel-gap: var(--cl-space-24); }
  .cl-carousel__slide { flex-basis: clamp(20rem, 32cqi, 30rem); }          /* 2.75 cards in 1470, 2.5 at 1200, 2.2 at 840 */ /* lint-allow: fluid size between a rem floor and ceiling, scales with text and container; no token */
  .cl-carousel__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .cl-carousel__bar { justify-content: flex-start; gap: var(--cl-space-24); }
  .cl-carousel__nav { display: inline-flex; }
  .cl-carousel__cta { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--cl-space-16); }
}

/* ---- 5. Feature card + output strip ----------------------------------------------------------------------------- */
.cl-feature-card { display: flex; flex-direction: column; gap: var(--cl-space-16); width: 100%; box-sizing: border-box; padding: var(--cl-inset-lg); min-width: 0;
  border: var(--cl-border-width-1) solid var(--cl-color-border); border-radius: var(--cl-radius-20); background: var(--cl-color-surface-raised); color: var(--cl-color-on-surface); box-shadow: var(--cl-elevation-1); }
.cl-feature-card > * { margin: 0; }
.cl-feature-card__label { color: var(--cl-color-primary-text); }
.cl-feature-card__title { font-size: var(--cl-type-heading-4-size); line-height: var(--cl-type-heading-4-line-height); font-weight: var(--cl-type-heading-4-weight); letter-spacing: var(--cl-type-heading-4-tracking); text-wrap: balance; }
.cl-feature-card__body { font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }
.cl-feature-card__panel { flex: 0 0 auto; display: grid; align-content: start; min-width: 0; }   /* never grows: any spare card height sits BELOW See more, in front of the mechanism footer */
.cl-feature-card .cl-mechanism { margin-block-start: auto; }
/* Clipped preview (round E1 ruling 14): the crop is at a ROW boundary, not a pixel height. Closed = widget head + the first rows group, 3 rows; no fade,
   no half-drawn button. "See more" is the next element, directly under the last visible row. */
.cl-feature-card__panel[data-clip]:not([data-clip="open"]) .cl-widget > :not(.cl-widget__head):nth-child(n+3) { display: none; }
.cl-feature-card__panel[data-clip]:not([data-clip="open"]) .cl-widget > :nth-child(2) > :nth-child(n+4) { display: none; }
.cl-feature-card__more { justify-self: start; }
.cl-output { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--cl-space-12); align-items: start; padding: var(--cl-space-12) var(--cl-space-16); border-inline-start: var(--cl-space-4) solid var(--cl-color-highlight);
  border-radius: var(--cl-radius-4) var(--cl-radius-12) var(--cl-radius-12) var(--cl-radius-4); background: var(--cl-color-surface); }
.cl-output__label { margin: 0; padding-block-start: var(--cl-space-2); color: var(--cl-color-on-surface); font-weight: var(--cl-font-weight-semibold); }
.cl-output__text { margin: 0; min-inline-size: 0; font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); }
@container (max-width: 24rem) { .cl-output { grid-template-columns: minmax(0, 1fr); row-gap: var(--cl-space-4); } }   /* large text: label above text, never a 3-character column (round E1 ruling 21) */ /* lint-allow: container query cannot read custom properties; text-size test in rem (follows the user's font size, not a device width); no --cl-breakpoint-* equals it */
@container (min-width: 840px) { .cl-feature-card { padding: var(--cl-inset-xl); gap: var(--cl-space-20); } }

/* ---- 6. The eight product widgets (real mini-UI, tokens only) ---------------------------------------------------- */
.cl-widget { display: grid; gap: var(--cl-space-12); align-content: start; padding: var(--cl-space-16); border: var(--cl-border-width-1) solid var(--cl-color-border); border-radius: var(--cl-radius-12); background: var(--cl-color-surface); color: var(--cl-color-on-surface); min-width: 0; }
.cl-widget > * { margin: 0; }
.cl-widget__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--cl-space-4) var(--cl-space-8); }
.cl-widget__title { margin: 0; font-size: var(--cl-type-heading-4-size); line-height: var(--cl-type-heading-4-line-height); font-weight: var(--cl-type-heading-4-weight); letter-spacing: var(--cl-type-heading-4-tracking); text-transform: none; text-transform: var(--cl-type-eyebrow-transform); }
.cl-widget__sub { margin: 0; color: var(--cl-color-on-surface-muted); }
.cl-widget__rows { display: grid; margin: 0; }
.cl-widget__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--cl-space-4) var(--cl-space-12); padding-block: var(--cl-space-8); }
.cl-widget__row + .cl-widget__row { border-block-start: var(--cl-border-width-1) solid var(--cl-color-divider); }
.cl-widget__row dt { margin: 0; font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); color: var(--cl-color-on-surface-muted); }
.cl-widget__row dd { margin: 0; font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); font-weight: var(--cl-font-weight-semibold); }
.cl-widget__blank { display: inline-block; min-width: 6ch; border-block-end: var(--cl-border-width-2) dashed var(--cl-color-border-strong); }
.cl-widget__list { display: grid; gap: var(--cl-space-8); margin: 0; padding: 0; list-style: none; }
.cl-widget__li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--cl-space-12); align-items: center; padding: var(--cl-space-8) var(--cl-space-12); border: var(--cl-border-width-1) solid var(--cl-color-border); border-radius: var(--cl-radius-8); background: var(--cl-color-surface-raised); }
.cl-widget__n { display: grid; place-items: center; width: var(--cl-size-icon-24); height: var(--cl-size-icon-24); border-radius: var(--cl-radius-999); background: transparent; color: var(--cl-color-primary-text); box-shadow: inset 0 0 0 var(--cl-border-width-1) var(--cl-color-primary-text); font-size: var(--cl-type-caption-size); line-height: var(--cl-type-caption-line-height); font-weight: var(--cl-font-weight-semibold); font-variant-numeric: tabular-nums; }
.cl-widget__li-main { display: grid; gap: var(--cl-space-2); min-width: 0; }
.cl-widget__li-main strong { font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); font-weight: var(--cl-font-weight-semibold); }
.cl-widget__li-main span { font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); color: var(--cl-color-on-surface-muted); }
.cl-widget__pills { display: flex; flex-wrap: wrap; gap: var(--cl-space-8); margin: 0; padding: 0; list-style: none; }
.cl-widget__pills li { padding: var(--cl-space-4) var(--cl-space-12); border: var(--cl-border-width-1) solid var(--cl-color-border-strong); border-radius: var(--cl-radius-999); font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); font-weight: var(--cl-font-weight-medium); }
.cl-widget__actions { display: flex; flex-wrap: wrap; gap: var(--cl-space-8); }
.cl-widget__note { display: flex; gap: var(--cl-space-8); align-items: center; font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); font-weight: var(--cl-font-weight-semibold); }
.cl-widget__note .cl-icon { flex: none; margin-block-start: var(--cl-space-2); }
.cl-widget__draft { padding: var(--cl-space-12) var(--cl-space-16); border-inline-start: var(--cl-space-4) solid var(--cl-color-primary); background: var(--cl-color-surface-raised); border-radius: var(--cl-radius-4) var(--cl-radius-8) var(--cl-radius-8) var(--cl-radius-4); font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); }
.cl-widget__timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cl-widget__tl { position: relative; display: flex; flex-wrap: wrap; gap: var(--cl-space-4) var(--cl-space-12); align-items: baseline; padding: var(--cl-space-4) 0 var(--cl-space-8) var(--cl-space-24); font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); }
.cl-widget__tl::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: var(--cl-space-8); width: var(--cl-space-12); height: var(--cl-space-12); border-radius: var(--cl-radius-999); background: var(--cl-color-primary); }
.cl-widget__tl::after { content: ""; position: absolute; inset-inline-start: calc(var(--cl-space-4) + var(--cl-space-2) - var(--cl-border-width-1)); inset-block: var(--cl-space-24) 0; width: var(--cl-border-width-2); background: var(--cl-color-border-strong); }
.cl-widget__tl:last-child::after { display: none; }
.cl-widget__tl[data-next]::before { background: var(--cl-color-surface); border: var(--cl-border-width-2) dashed var(--cl-color-border-strong); box-sizing: border-box; }
.cl-widget__tl strong { font-weight: var(--cl-font-weight-semibold); }
.cl-widget__tl span { color: var(--cl-color-on-surface-muted); }
.cl-widget .cl-evidence { min-height: 0; padding: var(--cl-space-8) 0; }
.cl-widget .cl-expert { padding: var(--cl-space-12); }
.cl-widget .cl-provenance { margin-block-start: var(--cl-space-4); }

/* ---- 7. Journey road --------------------------------------------------------------------------------------------- */
.cl-journeys__switch { margin: 0; padding: 0; border: 0; min-width: 0; }
.cl-journeys__grid { display: grid; gap: var(--cl-space-16); }
@container (max-width: 839px) {      /* phone: the segmented switch shows one road at a time */
  .cl-journeys:has(.cl-journeys__switch input[value="a"]:checked) .cl-journey[data-j="b"],
  .cl-journeys:has(.cl-journeys__switch input[value="b"]:checked) .cl-journey[data-j="a"] { display: none; }
}
.cl-journey { display: grid; gap: var(--cl-space-16); align-content: start; padding: var(--cl-inset-lg); box-sizing: border-box; min-width: 0;
  border: var(--cl-border-width-1) solid var(--cl-color-border); border-radius: var(--cl-radius-20); background: var(--cl-color-surface-raised); }
.cl-journey > * { margin: 0; }
.cl-journey__persona { color: var(--cl-color-primary-text); }
.cl-journey__trigger { font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }   /* a plain persona line; the page adds the SIMULATED / research tag (the left bar is gone, round G9) */
.cl-journey__promise { font-size: var(--cl-type-heading-3-size); line-height: var(--cl-type-heading-3-line-height); font-weight: var(--cl-type-heading-3-weight); letter-spacing: var(--cl-type-heading-3-tracking); text-wrap: balance; }
.cl-journey .cl-step__node { position: relative; }
.cl-journey .cl-steps { counter-reset: jr; }
.cl-journey .cl-step { counter-increment: jr; }
.cl-journey .cl-step__node::before { content: counter(jr); font-size: var(--cl-type-caption-size); line-height: 1; font-weight: var(--cl-font-weight-semibold); color: var(--cl-color-on-surface); font-variant-numeric: tabular-nums; }
.cl-journey .cl-step__title { color: var(--cl-color-on-surface); }
.cl-journey .cl-step__body { display: grid; gap: var(--cl-space-4); justify-items: start; }
.cl-journey__cta { justify-self: stretch; }
.cl-journeys__line { margin: 0; font-size: var(--cl-type-heading-2-size); line-height: var(--cl-type-heading-2-line-height); font-weight: var(--cl-type-heading-2-weight); letter-spacing: var(--cl-type-heading-2-tracking); text-wrap: balance; }
@container (min-width: 840px) {
  .cl-journeys__switch { display: none; }
  .cl-journeys__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cl-space-24); }
  .cl-journey { padding: var(--cl-inset-xl); }
  .cl-journey__cta { justify-self: start; }
}

/* ---- 8. Research fragments / quote block ------------------------------------------------------------------------- */
.cl-research__lead { align-self: start; }   /* the lead quote is a .cl-quote--pull; this only places it */
.cl-research__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--cl-space-24); min-width: 0; }
/* atoms .cl-tag is flex:none + nowrap; in the organisms a tag may shrink and wrap (long tags at 200% text / 360 px, round D1) */
.cl-hero .cl-tag, .cl-site-sec .cl-tag, .cl-cta-band .cl-tag { flex: 0 1 auto; min-inline-size: 0; max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; text-align: start; }
.cl-research__frags { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--cl-space-24); margin: 0; padding: 0; list-style: none; align-content: start; }
.cl-research__transition { margin: 0; max-width: var(--cl-layout-reading-measure); font-size: var(--cl-type-body-long-size); line-height: var(--cl-type-body-long-line-height); color: var(--cl-color-on-surface-muted); }
@container (min-width: 840px) {
  .cl-research__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--cl-space-48); align-items: start; }
}

/* ---- 9. Why different (3 columns) ----------------------------------------------------------------------------------- */
.cl-why__cols { display: grid; gap: var(--cl-space-24); margin: 0; padding: 0; list-style: none; }
.cl-why__col { display: grid; gap: var(--cl-space-12); align-content: start; padding-block-start: var(--cl-space-16); border-block-start: var(--cl-border-width-2) solid var(--cl-color-border-strong); }
.cl-why__col > * { margin: 0; }
.cl-why__col h3 { font-size: var(--cl-type-heading-4-size); line-height: var(--cl-type-heading-4-line-height); font-weight: var(--cl-type-heading-4-weight); letter-spacing: var(--cl-type-heading-4-tracking); }
.cl-why__col p { font-size: var(--cl-type-body-long-size); line-height: var(--cl-type-body-long-line-height); color: var(--cl-color-on-surface-muted); }
.cl-why__tag { justify-self: start; }
.cl-why__diff { display: grid; gap: var(--cl-space-12); max-width: var(--cl-layout-reading-measure); }
.cl-why__diff > * { margin: 0; }
.cl-why__diff blockquote { font-size: var(--cl-type-heading-2-size); line-height: var(--cl-type-heading-2-line-height); font-weight: var(--cl-type-heading-2-weight); letter-spacing: var(--cl-type-heading-2-tracking); text-wrap: balance; }
.cl-why__diff p { font-size: var(--cl-type-body-long-size); line-height: var(--cl-type-body-long-line-height); color: var(--cl-color-on-surface-muted); }
@container (min-width: 840px) {
  .cl-why__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cl-space-32); }
}

/* ---- 10. Offer card + intent-test sheet ------------------------------------------------------------------------------- */
.cl-offer-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--cl-space-24); min-width: 0; }
.cl-offer { display: grid; gap: var(--cl-space-20); padding: var(--cl-inset-lg); box-sizing: border-box; min-width: 0;
  border: var(--cl-border-width-1) solid var(--cl-color-border-strong); border-radius: var(--cl-radius-28); background: var(--cl-color-surface-raised); box-shadow: var(--cl-elevation-2); color: var(--cl-color-on-surface); }
.cl-offer > * { margin: 0; }
.cl-offer__name { font-size: var(--cl-type-heading-4-size); line-height: var(--cl-type-heading-4-line-height); font-weight: var(--cl-type-heading-4-weight); }
.cl-offer__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--cl-space-8) var(--cl-space-16); }
.cl-offer__sub { margin: 0 0 var(--cl-space-8); font-weight: var(--cl-font-weight-semibold); }
.cl-offer__list { display: grid; gap: var(--cl-space-8); margin: 0; padding: 0; list-style: none; }
.cl-offer__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--cl-space-12); align-items: center; font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); }
.cl-offer__list .cl-icon { margin-block-start: var(--cl-space-2); color: var(--cl-color-primary-text); }
.cl-offer__cols { display: grid; gap: var(--cl-space-20); }
.cl-offer__human > .cl-tag { justify-self: start; }
.cl-offer__human { display: grid; gap: var(--cl-space-8); padding: var(--cl-space-16); border-radius: var(--cl-radius-16); background: var(--cl-color-surface); border: var(--cl-border-width-1) dashed var(--cl-color-border-strong); }
.cl-offer__human > * { margin: 0; }
.cl-offer__reassure { display: flex; gap: var(--cl-space-8); align-items: center; font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }
.cl-offer__reassure .cl-icon { flex: none; margin-block-start: var(--cl-space-2); }
@container (min-width: 840px) {
  .cl-offer-sec__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--cl-space-64); align-items: start; }
  .cl-offer { padding: var(--cl-space-40); }
  .cl-offer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cl-space-24); align-items: start; }
}
.cl-intent { position: fixed; inset: auto 0 0 0; z-index: var(--cl-z-menu); width: 100%; max-width: var(--cl-sheet-max-width); max-height: 92%; margin-inline: auto; margin-block: auto 0; padding: 0; border: 0;
  border-radius: var(--cl-sheet-radius-top) var(--cl-sheet-radius-top) 0 0; background: var(--cl-color-surface-overlay); color: var(--cl-color-on-surface); overflow: auto; box-shadow: var(--cl-elevation-4); }
.cl-intent:not([open]) { display: none; }
.cl-intent::backdrop { background: var(--cl-color-scrim); }
.cl-intent__in { display: grid; gap: var(--cl-space-16); padding: var(--cl-space-24) var(--cl-space-24) calc(var(--cl-space-24) + var(--cl-layout-safe-area-bottom)); }
.cl-intent__in > * { margin: 0; }
.cl-intent__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--cl-space-12); }
.cl-intent__head h2 { margin: 0; font-size: var(--cl-type-heading-3-size); line-height: var(--cl-type-heading-3-line-height); font-weight: var(--cl-type-heading-3-weight); }
.cl-intent__err { color: var(--cl-color-on-error-container); background: var(--cl-color-error-container); padding: var(--cl-space-8) var(--cl-space-12); border-radius: var(--cl-radius-8); }
.cl-intent__done { display: grid; gap: var(--cl-space-16); }
.cl-intent__done h2 { margin: 0; outline-offset: var(--cl-space-4); }
.cl-intent fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--cl-space-8); min-width: 0; }
@container (min-width: 840px) { .cl-intent__in { padding: var(--cl-space-32); } }
@media (min-width: 840px) { .cl-intent { inset: 0; margin: auto; max-height: 90%; border-radius: var(--cl-radius-28); } }

/* ---- 11. Founder block ------------------------------------------------------------------------------------------------ */
.cl-founder__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--cl-space-24); min-width: 0; }
.cl-founder__photo { display: grid; gap: var(--cl-space-8); min-width: 0; margin: 0; }
.cl-founder__photo .cl-il-slot { border-radius: var(--cl-radius-12); overflow: hidden; }
.cl-founder__photo svg { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.cl-founder__copy { display: grid; gap: var(--cl-space-16); min-width: 0; align-content: start; }
.cl-founder__copy > * { margin: 0; }
.cl-founder__statement { display: grid; gap: var(--cl-space-12); max-width: var(--cl-layout-reading-measure); }
.cl-founder__statement p { margin: 0; font-size: var(--cl-type-body-long-size); line-height: var(--cl-type-body-long-line-height); }
.cl-founder__sig { margin: 0; font-family: var(--cl-font-family-sans); font-style: italic; font-weight: var(--cl-font-weight-medium); font-size: var(--cl-font-size-20); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface); }   /* Inter, not the handwriting font: Kalam is illustration annotations only (BRIEF) */
.cl-founder__who { margin: 0; font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); color: var(--cl-color-on-surface-muted); }
@container (min-width: 840px) {
  .cl-founder__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--cl-space-64); align-items: start; }
  .cl-founder__photo { position: sticky; inset-block-start: calc(var(--cl-top-bar-height-desktop) + var(--cl-space-24)); }
}

/* ---- 12. FAQ accordion ------------------------------------------------------------------------------------------------ */
.cl-faq__list { display: grid; gap: var(--cl-space-8); min-width: 0; }
.cl-faq__list .cl-disclosure > summary { min-height: var(--cl-size-control-56); font-weight: var(--cl-font-weight-semibold); }
.cl-faq__list .cl-disclosure__body { font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); }
.cl-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--cl-space-24); min-width: 0; }
@container (min-width: 840px) { .cl-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--cl-space-64); align-items: start; } }

/* ---- 13. Final CTA band ------------------------------------------------------------------------------------------------- */
.cl-cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--cl-gradient-hero); }
.cl-cta-band__in { display: grid; gap: var(--cl-space-24); width: 100%; max-width: calc(var(--cl-layout-content-max) + 2 * var(--cl-layout-margin)); margin-inline: auto; box-sizing: border-box;
  padding: var(--cl-section-md) max(var(--cl-layout-margin), var(--cl-layout-safe-area-left), var(--cl-layout-safe-area-right)) calc(var(--cl-section-md) + 32cqi); min-width: 0; }   /* bottom lane holds the corner art: it never sits behind text */
.cl-cta-band__copy { display: grid; gap: var(--cl-space-12); max-width: var(--cl-layout-reading-measure); }
.cl-cta-band__copy > * { margin: 0; }
.cl-cta-band__title { font-size: var(--cl-type-heading-1-size); line-height: var(--cl-type-heading-1-line-height); font-weight: var(--cl-type-heading-1-weight); letter-spacing: var(--cl-type-heading-1-tracking); text-wrap: balance; }
.cl-cta-band__act { display: grid; gap: var(--cl-space-12); justify-items: stretch; align-content: start; }
.cl-cta-band__act p { margin: 0; font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); color: var(--cl-color-on-surface-muted); }
.cl-cta-band__corner { -webkit-mask-image: linear-gradient(to right, black 55%, transparent), linear-gradient(to top, black 60%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, black 55%, transparent), linear-gradient(to top, black 60%, transparent); mask-composite: intersect;   /* bleeds out at its inner edges: no hard vertical cut (illustration rule) */
  position: absolute; z-index: -1; inset-block-end: 0; inset-inline-start: 0; width: clamp(8rem, 40cqi, var(--cl-grid-min-track)); height: auto; pointer-events: none; } /* lint-allow: fluid size between a rem floor and ceiling, scales with text and container; no token */
@container (min-width: 840px) {
  .cl-cta-band__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--cl-space-64); align-items: center; padding-block: var(--cl-section-lg); }
  .cl-cta-band__in { padding-block-end: var(--cl-section-lg); }
  .cl-cta-band__act { padding-inline-start: 0; }
  .cl-cta-band__act { justify-items: start; }
  .cl-cta-band__corner { inset-inline-start: auto; inset-inline-end: 0; width: clamp(10rem, 16cqi, var(--cl-grid-min-track)); transform: scaleX(-1); } /* lint-allow: fluid size between a rem floor and ceiling, scales with text and container; no token */
}

/* ---- 14. Behavioural-science mechanism grid (About) --------------------------------------------------------------------- */
.cl-mech-grid__list { display: grid; margin: 0; padding: 0; list-style: none; border-block-start: var(--cl-border-width-1) solid var(--cl-color-border); }
.cl-mech-grid__item { display: grid; gap: var(--cl-space-8); padding-block: var(--cl-space-20); border-block-end: var(--cl-border-width-1) solid var(--cl-color-border); min-width: 0; }
.cl-mech-grid__item > * { margin: 0; }
.cl-mech-grid__name { display: flex; align-items: center; gap: var(--cl-space-12); font-size: var(--cl-type-heading-4-size); line-height: var(--cl-type-heading-4-line-height); font-weight: var(--cl-type-heading-4-weight); }
.cl-mech-grid__n { flex: none; display: grid; place-items: center; width: var(--cl-size-control-40); height: var(--cl-size-control-40); border-radius: var(--cl-radius-999); background: transparent; color: var(--cl-color-primary-text); box-shadow: inset 0 0 0 var(--cl-border-width-1) var(--cl-color-primary-text);
  font-size: var(--cl-type-caption-size); line-height: var(--cl-type-caption-line-height); font-weight: var(--cl-font-weight-semibold); font-variant-numeric: tabular-nums; }
.cl-mech-grid__text { font-size: var(--cl-type-body-long-size); line-height: var(--cl-type-body-long-line-height); color: var(--cl-color-on-surface-muted); max-width: var(--cl-layout-reading-measure); }
@container (min-width: 840px) {
  .cl-mech-grid__item { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--cl-space-48); align-items: start; padding-block: var(--cl-space-32); }
}

/* ---- 15. Website footer + consent banner ---------------------------------------------------------------------------------- */
.cl-site-footer { background: var(--cl-color-surface); border-block-start: var(--cl-border-width-1) solid var(--cl-color-divider); color: var(--cl-color-on-surface); }
.cl-site-footer__in { display: grid; gap: var(--cl-space-16); width: 100%; max-width: calc(var(--cl-layout-content-max) + 2 * var(--cl-layout-margin)); margin-inline: auto; box-sizing: border-box;
  padding: var(--cl-space-24) max(var(--cl-layout-margin), var(--cl-layout-safe-area-left), var(--cl-layout-safe-area-right)) calc(var(--cl-space-24) + var(--cl-layout-safe-area-bottom)); }
.cl-site-footer__groups { display: grid; margin: 0; }
.cl-site-footer__group { border-block-end: var(--cl-border-width-1) solid var(--cl-color-divider); }
.cl-site-footer__group > summary { display: flex; align-items: center; justify-content: space-between; min-height: var(--cl-size-control-56); list-style: none; cursor: pointer;
  font-size: var(--cl-font-size-16); line-height: var(--cl-type-body-line-height); font-weight: var(--cl-font-weight-semibold); }
.cl-site-footer__group > summary::-webkit-details-marker { display: none; }
.cl-site-footer__group > summary::marker { content: ""; }
.cl-site-footer__group[open] > summary .cl-icon { transform: rotate(180deg); }
.cl-site-footer__links { display: grid; margin: 0; padding: 0 0 var(--cl-space-12); list-style: none; }
.cl-site-footer__links a { text-decoration: none; display: flex; align-items: center; min-height: var(--cl-size-target-min); color: var(--cl-color-on-surface); font-size: var(--cl-type-body-size); line-height: var(--cl-type-body-line-height); border-radius: var(--cl-radius-4); }
.cl-site-footer__meta { display: grid; gap: var(--cl-space-16); padding-block-start: var(--cl-space-8); }
.cl-site-footer__meta > * { margin: 0; }
.cl-site-footer__lang { display: grid; gap: var(--cl-space-8); max-width: 20rem; } /* lint-allow: component measure in rem so it follows text size (menu, panel, column or frame width); no layout token holds this value */
.cl-site-footer__small { font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); color: var(--cl-color-on-surface-muted); }
@container (min-width: 840px) {
  .cl-site-footer__in { padding-block: var(--cl-space-48) var(--cl-space-32); gap: var(--cl-space-32); }
  .cl-site-footer__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--cl-space-32); }
  .cl-site-footer__group { border-block-end: 0; }
  .cl-site-footer__group > summary { min-height: var(--cl-size-target-min); pointer-events: none; cursor: default; }
  .cl-site-footer__group > summary .cl-icon { display: none; }
  .cl-site-footer__links { padding-block-end: 0; }
  .cl-site-footer__meta { grid-template-columns: auto 1fr auto; align-items: center; column-gap: var(--cl-space-32); padding-block-start: var(--cl-space-24); border-block-start: var(--cl-border-width-1) solid var(--cl-color-divider); }
  .cl-site-footer__lang { grid-auto-flow: column; align-items: center; max-width: none; }
}
.cl-consent { position: fixed; inset: auto 0 0 0; z-index: var(--cl-z-action-bar); box-sizing: border-box; background: var(--cl-color-surface-overlay); color: var(--cl-color-on-surface);
  border-block-start: var(--cl-border-width-1) solid var(--cl-color-border-strong); box-shadow: var(--cl-elevation-3);
  padding: var(--cl-space-8) max(var(--cl-layout-margin), var(--cl-layout-safe-area-left), var(--cl-layout-safe-area-right)) calc(var(--cl-space-8) + var(--cl-layout-safe-area-bottom)); }
/* The banner reserves its measured height (js sets --cl-consent-height on <html>) so the footer and any focused control are never hidden behind it (WCAG 2.4.11) */
html { scroll-padding-bottom: calc(var(--cl-scroll-padding-bottom) + var(--cl-consent-height, 0px)); }
body:has(.cl-consent:not([hidden])) { padding-block-end: var(--cl-consent-height, 0px); }
.cl-consent__in { display: grid; gap: var(--cl-space-8); width: 100%; max-width: var(--cl-layout-content-max); margin-inline: auto; }
.cl-consent__in > * { margin: 0; }
.cl-consent:not(.cl-consent--sheet) .cl-consent__title { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* compact bar: the name stays for AT, the sentence is the visible copy (<= 20% of a 393x695 screen) */
.cl-consent__title { font-size: var(--cl-type-title-size); line-height: var(--cl-type-title-line-height); font-weight: var(--cl-type-title-weight); }
.cl-consent__text { font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); color: var(--cl-color-on-surface-muted); }
.cl-consent__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cl-space-8); align-items: center; }
.cl-consent__actions .cl-button { --_px: var(--cl-space-8); --_h: var(--cl-button-height-sm); min-inline-size: 0; }   /* compact bar: one short message, two small buttons, Settings as a link; at most about 25% of a phone's first screen (round G9) */
.cl-consent__choose { display: inline-flex; align-items: center; justify-content: center; min-block-size: var(--cl-size-target-min); text-align: center; }
/* >= 150% text: a decision, not decoration. Full-width sheet, one column, focus moved in and the page inert (js/organisms-site.js 7). */
.cl-consent--sheet { max-block-size: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
.cl-consent--sheet .cl-consent__actions { grid-template-columns: minmax(0, 1fr); }
.cl-consent--sheet .cl-consent__title { position: static; inline-size: auto; block-size: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; }
@container (min-width: 840px) {
  .cl-consent__in { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--cl-space-48); align-items: center; }
  .cl-consent__copy { display: grid; gap: var(--cl-space-4); }
  .cl-consent__actions { display: flex; align-items: center; gap: var(--cl-space-16); }
  .cl-consent__actions .cl-button { min-width: calc(var(--cl-space-96) + var(--cl-space-32)); }
  .cl-consent:not(.cl-consent--sheet) .cl-consent__title { position: static; inline-size: auto; block-size: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; }
}

/* ---- Forced colors / high contrast ---------------------------------------------------------------------------------------- */
/* ---- Glass (round G ask 5): site cards over the canvas glow. Lite fill on phones, blur from 600. ---- */
.cl-feature-card, .cl-journey, .cl-engine__item, .cl-offer { background: var(--cl-color-surface-glass-lite); border-color: var(--cl-glass-border); box-shadow: var(--cl-glass-shadow); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  @media (min-width: 600px) { .cl-feature-card, .cl-journey, .cl-engine__item, .cl-offer { background: var(--cl-color-surface-glass); -webkit-backdrop-filter: var(--cl-glass-filter); backdrop-filter: var(--cl-glass-filter); } }   /* cards drop the blur on phones: at most 6 blurred layers per viewport */
}

@media (forced-colors: active) {
  .cl-feature-card, .cl-widget, .cl-journey, .cl-offer, .cl-engine__item, .cl-consent, .cl-site-header { border: var(--cl-border-width-1) solid CanvasText; }
  .cl-output { border-inline-start-color: Highlight; }
}
@media (prefers-reduced-motion: reduce) { .cl-site-footer__group[open] > summary .cl-icon { transition: none; } }

}

/* ============================================================================
   LOGO (round G6). The official lockup, used by the site header, menu sheet, footer, app bar, side nav and quiz bar.
   Two images swap with the theme, so the site's own Light/Dark toggle is honoured (not only the system setting).
   MARKUP (copy it; paths are relative to the page, so ../assets/brand/ from site/ and app/):
     <a class="cl-logo" href="./" aria-label="Career Leap, home">
       <img class="cl-logo__img cl-logo__img--on-light" src="../assets/brand/lockup-transparent-black-h32.png" srcset="../assets/brand/lockup-transparent-black-h32@2x.png 2x" width="107" height="32" alt="Career Leap">
       <img class="cl-logo__img cl-logo__img--on-dark"  src="../assets/brand/lockup-transparent-white-h32.png" srcset="../assets/brand/lockup-transparent-white-h32@2x.png 2x" width="107" height="32" alt="">
     </a>
   Sizes: default 32 tall. --sm 24 tall (phone bars; use the h24 files, width 80 height 24). --fluid 24 below 600 and 32 from 600 (use the h32 files).
   The link keeps a 48 px hit area (min-block-size). Optional third image .cl-logo__mark (the mountain, 24) shows instead of the lockup in the 80 px landscape rail.
   Clear space and minimum sizes: system/brand.html. Never recolour, never put glass behind it.
   ============================================================================ */
@layer cl.organisms {
.cl-logo { display: inline-flex; align-items: center; flex: none; min-block-size: var(--cl-size-target-min); min-inline-size: var(--cl-size-target-min); color: var(--cl-color-on-surface); text-decoration: none; border-radius: var(--cl-radius-8); }
.cl-logo__img { display: block; inline-size: auto; block-size: var(--_h, var(--cl-size-icon-24)); max-inline-size: none; }
.cl-logo { --_h: calc(var(--cl-size-icon-24) + var(--cl-space-8)); }   /* 32 */
.cl-logo--sm { --_h: var(--cl-size-icon-24); }
.cl-logo--fluid { --_h: var(--cl-size-icon-24); }
@media (min-width: 600px) { .cl-logo--fluid { --_h: calc(var(--cl-size-icon-24) + var(--cl-space-8)); } }
.cl-logo__mark { display: none; inline-size: var(--cl-size-icon-24); block-size: var(--cl-size-icon-24); }
.cl-logo__img--on-dark { display: none; }
:root[data-theme="dark"] .cl-logo__img--on-light { display: none; }
:root[data-theme="dark"] .cl-logo__img--on-dark { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cl-logo__img--on-light { display: none; }
  :root:not([data-theme="light"]) .cl-logo__img--on-dark { display: inline; }
}
.cl-site-footer__in > .cl-logo { justify-self: start; }
.cl-logo:focus-visible { outline: var(--cl-border-width-2) solid var(--cl-color-focus-ring); outline-offset: var(--cl-border-width-2); box-shadow: 0 0 0 calc(var(--cl-border-width-2) * 3) var(--cl-color-focus-halo); }
@media (max-height: 480px) { :root .cl-side-nav .cl-logo .cl-logo__img { display: none; } .cl-side-nav .cl-logo__mark { display: block; } }   /* landscape rail is 80 wide: the mountain stands in for the lockup (selector outweighs the theme swap above) */
:root .cl-side-nav--collapsed .cl-logo .cl-logo__img { display: none; }
.cl-side-nav--collapsed .cl-logo__mark { display: block; }
}

/* ============================================================================
   PROBLEM TABS (round H). The landing's four problems, four relievers: one product frame whose state switches per problem
   (coachlms.org pattern). Phone: a scrolling tab strip above the stage, swipe on the stage, dashes below.
   Laptop (840+): tabs as a list on the left, the stage on the right. js/problem-tabs.js runs the ARIA tabs pattern.
   MARKUP:
     <div class="cl-problem-tabs">
       <div class="cl-tabs-wrap cl-problem-tabs__nav"><div class="cl-tabs" role="tablist" aria-label="Four problems">
         <button class="cl-tab" role="tab" id="pt-t1" aria-controls="pt-p1" aria-selected="true">Your shortlist</button> ...
       </div></div>
       <div class="cl-problem-tabs__stage">
         <div class="cl-problem-tabs__panel" role="tabpanel" id="pt-p1" aria-labelledby="pt-t1" tabindex="0">
           <p class="cl-problem-tabs__problem">her question, in her voice</p>
           <div class="cl-widget cl-glass"> the ILLUSTRATIVE product state </div>
           <p class="cl-problem-tabs__relief"><svg class="cl-icon">check</svg> one relief line</p>
         </div> ... (other panels carry hidden)
         <div class="cl-dashes cl-problem-tabs__dashes" aria-hidden="true"> one span.cl-dashes__dash per tab </div>
       </div>
     </div>
   ============================================================================ */
@layer cl.organisms {
.cl-problem-tabs { display: grid; gap: var(--cl-space-16); min-width: 0; }
.cl-problem-tabs__stage { display: grid; gap: var(--cl-space-16); min-width: 0; touch-action: pan-y; background: var(--cl-gradient-content-glow); border-radius: var(--cl-radius-20); }   /* pan-y: vertical scrolling stays native, horizontal drags reach the swipe handler */
.cl-problem-tabs__panel { display: grid; gap: var(--cl-space-16); min-width: 0; align-content: start; }
.cl-problem-tabs__panel:focus-visible { outline: var(--cl-border-width-2) solid var(--cl-color-focus-ring); outline-offset: var(--cl-border-width-2); border-radius: var(--cl-radius-8); }
.cl-problem-tabs__problem { margin: 0; max-inline-size: var(--cl-layout-reading-measure); font-size: var(--cl-type-title-size); line-height: var(--cl-type-title-line-height); font-weight: var(--cl-type-title-weight); color: var(--cl-color-on-surface); text-wrap: balance; }
.cl-problem-tabs__relief { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--cl-space-8); align-items: start; max-inline-size: var(--cl-layout-reading-measure); color: var(--cl-color-on-surface); }
.cl-problem-tabs__relief .cl-icon { color: var(--cl-color-primary-text); margin-block-start: var(--cl-space-2); }
.cl-problem-tabs__dashes { justify-self: center; }
.cl-problem-tabs .cl-widget__row dd .cl-tag { font-weight: var(--cl-font-weight-semibold); }
.cl-problem-tabs__gap { text-decoration: underline; text-decoration-color: var(--cl-color-highlight); text-decoration-thickness: var(--cl-border-width-2); text-underline-offset: var(--cl-space-4); }   /* the one gap, marked with the pen */
@media (min-width: 840px) {
  .cl-problem-tabs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--cl-space-32); align-items: start; }
  .cl-problem-tabs__nav { border-block-end: 0; contain: none; }
  .cl-problem-tabs__nav .cl-tabs { flex-direction: column; overflow: visible; padding: 0; gap: var(--cl-space-4); }
  .cl-problem-tabs__nav .cl-tab { justify-content: flex-start; white-space: normal; text-align: start; min-height: calc(var(--cl-size-target-min) + var(--cl-space-8)); }
  .cl-problem-tabs__nav .cl-tab::after { inset-inline: 0 auto; inset-block: var(--cl-space-8); width: calc(var(--cl-border-width-2) * 1.5); height: auto; border-radius: var(--cl-radius-999); }
  .cl-problem-tabs__nav .cl-tab[aria-selected="true"] { background: var(--cl-color-surface-glass-lite); box-shadow: var(--cl-glass-shadow); }
  .cl-problem-tabs__dashes { display: none; }
  .cl-problem-tabs__stage { padding: var(--cl-space-24); }
}
@media (forced-colors: active) { .cl-problem-tabs__nav .cl-tab[aria-selected="true"] { border: var(--cl-border-width-2) solid Highlight; } }
}

/* ============================================================================
   ROUND H LANDING ORGANISMS (content/WEBSITE-COPY-MASTER.md; recipe in DESIGN.md "Landing page").
   .cl-hero--statement  the hero as a statement: title, subtitle, CTA, micro line, alone on the first screen
   .cl-cost             the cost section: head, the .cl-gap diagram, the stakes line, the dignity line, one research quote
   .cl-gap              the compounding-gap diagram: inline SVG drawn from tokens (themes itself), no numbers, ILLUSTRATIVE tag
   .cl-problems         a section head over .cl-problem-tabs
   .cl-widget__lock     a lock line inside a product frame
   .cl-founder__verify  an unverified credential, visibly flagged: the tag on its own line
   ============================================================================ */
@layer cl.organisms {
/* 1 Hero as a statement: title, subtitle, CTA, micro line, alone on the first screen (superfocus.me pattern). */
.cl-hero--statement .cl-hero__in { grid-template-columns: minmax(0, 1fr); align-content: center; min-block-size: calc(100svh - var(--cl-size-target-min) - var(--cl-space-16)); }   /* lint-allow: first screen minus the 64 px site header (48 target + 16), so the CTA sits inside it */
.cl-hero--statement .cl-hero__copy { gap: var(--cl-space-20); max-inline-size: var(--cl-layout-site-measure); }
.cl-hero--statement .cl-hero__sub { color: var(--cl-color-on-surface-muted); }
@container (min-width: 840px) {
  .cl-hero--statement .cl-hero__in { grid-template-columns: minmax(0, 1fr); }
  .cl-hero--statement .cl-hero__horizon { width: 40cqi; }   /* lint-allow: corner art width in container units, same lane rule as the organism */
}

/* 2 The cost: question, the compounding-gap diagram, the stakes, the absolution, one research voice. */
.cl-cost__grid { display: grid; gap: var(--cl-space-24); min-width: 0; }
.cl-cost__words { display: grid; gap: var(--cl-space-20); min-width: 0; max-inline-size: var(--cl-layout-reading-measure); }
.cl-cost__words > p { margin: 0; }
.cl-cost__stakes { font-size: var(--cl-type-heading-2-size); line-height: var(--cl-type-heading-2-line-height); font-weight: var(--cl-font-weight-regular); letter-spacing: var(--cl-type-heading-2-tracking); }   /* the locked stakes line is the statement of the section: heading-2 size, regular weight, about 36 characters a phone line */
.cl-cost__dignity { font-size: var(--cl-type-title-size); line-height: var(--cl-type-title-line-height); font-weight: var(--cl-type-title-weight); text-wrap: balance; }
@container (min-width: 840px) {
  .cl-cost__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--cl-space-64); align-items: center; }
  .cl-cost__grid > .cl-site-head { grid-column: 1 / -1; }
}
.cl-cost { container-type: inline-size; }

/* The compounding-gap diagram: inline SVG drawn from tokens, so it themes itself. No numbers; ILLUSTRATIVE. */
.cl-gap { display: grid; gap: var(--cl-space-12); margin: 0; min-width: 0; max-inline-size: calc(var(--cl-space-64) * 7); }   /* 448: the labels stay near caption size on a laptop */
.cl-gap__head { display: flex; }
.cl-gap__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cl-gap__wedge { fill: color-mix(in oklab, var(--cl-color-highlight) 55%, transparent); }
.cl-gap__low { fill: none; stroke: var(--cl-color-on-surface-muted); stroke-width: 2; stroke-linecap: round; }
.cl-gap__high { fill: none; stroke: var(--cl-color-primary-text); stroke-width: 3; stroke-linecap: round; }
.cl-gap__bracket { fill: none; stroke: var(--cl-color-on-surface); stroke-width: 1.5; stroke-linecap: round; }
.cl-gap__dot { fill: var(--cl-color-on-surface); }
.cl-gap__label { fill: var(--cl-color-on-surface); font-family: var(--cl-font-family-sans); font-size: var(--cl-type-caption-size); font-weight: var(--cl-font-weight-semibold); }
.cl-gap__label--high { fill: var(--cl-color-primary-text); }
.cl-gap__label--muted { fill: var(--cl-color-on-surface-muted); font-weight: var(--cl-font-weight-regular); }
.cl-gap__cap { display: grid; gap: var(--cl-space-8); }
.cl-gap__cap-h { font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); color: var(--cl-color-on-surface-muted); }
.cl-gap__strands { display: flex; flex-wrap: wrap; gap: var(--cl-space-8); margin: 0; padding: 0; list-style: none; }
.cl-gap__strands li { padding: var(--cl-space-4) var(--cl-space-12); border: var(--cl-border-width-1) solid var(--cl-color-border-strong); border-radius: var(--cl-radius-999); background: var(--cl-color-surface-raised); font-size: var(--cl-type-body-small-size); line-height: var(--cl-type-body-small-line-height); }

/* 3 Problem tabs: the section head sits over the organism. */
.cl-problems { display: grid; gap: var(--cl-space-24); }
.cl-widget__lock { display: flex; align-items: center; gap: var(--cl-space-8); }

/* 6 Founder: the unverified credential stays visibly flagged, the tag on its own line (round G ruling). */
.cl-founder__verify { display: grid; gap: var(--cl-space-8); justify-items: start; }
.cl-founder__verify > p { margin: 0; max-inline-size: 30ch; }   /* lint-allow: reading measure for small print, in ch so it follows the text size */
.cl-founder__verify .cl-tag { white-space: nowrap; }
}
