/* ═══════════════════════════════════════════════════════════════════════
   CHECKBOX — React marketing pages (who-its-for, adhd, organizations,
   industries/food-safety, developers, story).

   Complements marketing-nav.css (header/footer). Mirrors the static
   landings' visual system: black canvas, Geist stack, hand-written lime
   labels, generous radii, neutral surfaces with hairlines, accent only
   as glyph/kicker. Class prefix mkp- keeps it inert elsewhere.
   ═══════════════════════════════════════════════════════════════════════ */

/* Same webfonts the static landings load (landing.css/coach.css @import) —
   identical URL so the browser cache is shared across the whole site. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&family=Geist+Mono:wght@400;500;600;700&family=Caveat:wght@500;600;700&display=swap');

.mk-page { background: var(--mk-bg); color: var(--mk-text); font-family: var(--mk-font); min-height: 100dvh; -webkit-font-smoothing: antialiased; }
/* Anchor navigation must never land headings under the fixed pill bar
   (+ context bar when present). */
.mk-page [id] { scroll-margin-top: 110px; }
body:has(.mk-ctx) .mk-page [id] { scroll-margin-top: 156px; }
.mk-page ::selection { background: var(--mk-cy); color: var(--mk-on-cy); }

/* ── Type ────────────────────────────────────────────────────────────── */

.mkp-hand { font-family: 'Caveat', cursive; font-size: 24px; line-height: 1; color: var(--mk-cy); display: inline-block; }
.mkp-kicker { font-family: var(--mk-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mk-text-3); }
.mkp-h1 { margin: 18px 0 0; font-size: clamp(38px, 4.6vw, 62px); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.mkp-h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.mkp-h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.mkp-lead { margin: 22px 0 0; max-width: 56ch; font-size: 17.5px; font-weight: 500; line-height: 1.62; letter-spacing: -.01em; color: var(--mk-text-2); text-wrap: pretty; }
.mkp-body { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--mk-text-2); }
.mkp-accent { color: var(--mk-cy); }

/* ── Layout ──────────────────────────────────────────────────────────── */

.mkp-hero { padding: 176px 24px 72px; }
.mkp-hero--ctx { padding-top: 232px; }
.mkp-section { padding: 72px 24px; }
.mkp-section--tight { padding: 48px 24px; }
.mkp-wrap { max-width: 1040px; margin: 0 auto; }
.mkp-wrap--narrow { max-width: 780px; }
.mkp-center { text-align: center; }
.mkp-center .mkp-lead { margin-left: auto; margin-right: auto; }
.mkp-divider { border: 0; border-top: 1px solid var(--mk-line); max-width: 1040px; margin: 0 auto; }

/* ── CTAs ────────────────────────────────────────────────────────────── */

.mkp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.mkp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 26px; border-radius: var(--mk-r-pill); font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; transition: background var(--mk-dur) var(--mk-ease), transform .14s var(--mk-ease); white-space: nowrap; }
.mkp-btn:active { transform: scale(.97); }
.mkp-btn--primary { background: var(--mk-cy); color: var(--mk-on-cy); }
.mkp-btn--primary:hover { background: var(--mk-cy-2); }
.mkp-btn--secondary { background: var(--mk-surface); color: var(--mk-text); border-color: var(--mk-line); }
.mkp-btn--secondary:hover { background: var(--mk-surface-2); }
.mkp-note { margin-top: 22px; font-size: 13.5px; font-weight: 500; color: var(--mk-text-3); }
.mkp-mono-note { font-family: var(--mk-mono); font-size: 10px; letter-spacing: .14em; color: var(--mk-text-3); text-transform: uppercase; }

/* ── Cards & grids ───────────────────────────────────────────────────── */

.mkp-grid { display: grid; gap: 14px; margin-top: 44px; }
.mkp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mkp-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .mkp-grid--2, .mkp-grid--3 { grid-template-columns: 1fr; } }
.mkp-card { background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mkp-card--link { text-decoration: none; color: inherit; transition: border-color var(--mk-dur) var(--mk-ease), transform var(--mk-dur) var(--mk-ease); }
.mkp-card--link:hover { border-color: rgba(255,255,255,.14); transform: translateY(-2px); }
.mkp-icon-well { width: 44px; height: 44px; border-radius: var(--mk-r-pill); background: var(--mk-surface-2); border: 1px solid var(--mk-line); display: inline-flex; align-items: center; justify-content: center; color: var(--mk-cy); flex: 0 0 auto; }
.mkp-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mkp-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: var(--mk-r-pill); background: var(--mk-surface); border: 1px solid var(--mk-line); font-size: 12.5px; font-weight: 600; color: var(--mk-text-2); text-decoration: none; }
.mkp-chip svg { color: var(--mk-cy); }
.mkp-arrow-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--mk-text); text-decoration: none; margin-top: 4px; }
.mkp-arrow-link:hover { color: var(--mk-cy); }

/* ── Checklist rows (product-true demonstration) ─────────────────────── */

.mkp-rows { margin-top: 26px; border: 1px solid var(--mk-line); border-radius: 22px; background: var(--mk-surface); overflow: hidden; }
.mkp-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; }
.mkp-row + .mkp-row { border-top: 1px solid rgba(255,255,255,.04); }
.mkp-row-check { width: 22px; height: 22px; border-radius: 7px; background: #000; border: 1px solid var(--mk-line); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 1px; }
.mkp-row-check svg { stroke: var(--mk-cy); }
.mkp-row-title { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; color: var(--mk-text); }
.mkp-row-sub { font-size: 13px; line-height: 1.5; color: var(--mk-text-3); margin-top: 2px; }

/* ── Timeline (story) ────────────────────────────────────────────────── */

.mkp-timeline { margin-top: 48px; display: flex; flex-direction: column; }
.mkp-tl { display: grid; grid-template-columns: 92px 20px 1fr; gap: 0 18px; }
.mkp-tl-year { font-family: var(--mk-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--mk-text-3); text-align: right; padding-top: 3px; }
.mkp-tl-rail { position: relative; display: flex; justify-content: center; }
.mkp-tl-rail::before { content: ''; position: absolute; top: 26px; bottom: -6px; width: 1px; background: var(--mk-line); }
.mkp-tl:last-child .mkp-tl-rail::before { display: none; }
.mkp-tl-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--mk-cy); margin-top: 6px; flex: 0 0 auto; }
.mkp-tl-body { padding-bottom: 40px; }
.mkp-tl-body .mkp-h3 { margin-bottom: 6px; }
@media (max-width: 640px) { .mkp-tl { grid-template-columns: 58px 16px 1fr; gap: 0 12px; } .mkp-tl-year { font-size: 10.5px; } }

/* ── Quote block ─────────────────────────────────────────────────────── */

.mkp-quote { margin: 48px 0 0; padding: 28px 30px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 26px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.5; color: var(--mk-text); }
.mkp-quote footer { margin-top: 12px; font-size: 12.5px; font-weight: 500; color: var(--mk-text-3); }

/* ═══ Creative rebuild (v2) — product-scene primitives ═══════════════════
   Faithful DOM recreations of shipped surfaces, one dominant idea per
   viewport. Static-first: every scene reads fully without JS or motion. */

.mkp-scene { display: flex; align-items: center; gap: 44px 64px; flex-wrap: wrap; }
.mkp-scene--flip { flex-direction: row-reverse; }
.mkp-scene-copy { flex: 1 1 360px; min-width: min(320px, 100%); }
.mkp-scene-vis { flex: 1 1 380px; min-width: min(300px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mkp-scene-vis > * { width: 100%; max-width: 440px; }

/* Task-card recreation (mirrors the shipped card anatomy). */
.mkp-task { display: flex; align-items: flex-start; gap: 13px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 20px; padding: 15px 17px; }
.mkp-task-check { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 8px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 2px 4px rgba(0,0,0,.85); margin-top: 1px; }
.mkp-task-body { flex: 1 1 auto; min-width: 0; }
.mkp-task-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mkp-task-title { font-size: 15px; font-weight: 650; letter-spacing: -.015em; color: var(--mk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkp-task-time { font-family: var(--mk-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: var(--mk-text-2); white-space: nowrap; }
.mkp-task-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.mkp-task-plan { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--mk-text-2); }
.mkp-task-plan svg { color: var(--mk-cy); }
.mkp-req { width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--mk-surface-2); border: 1px solid var(--mk-line); color: var(--mk-cy); }

/* Vertical condition chain with day labels and upward causality. */
.mkp-chain { display: flex; flex-direction: column; gap: 5px; }
.mkp-chain-day { font-family: var(--mk-mono); font-size: 9px; font-weight: 600; letter-spacing: .16em; color: var(--mk-text-2); text-align: center; padding: 7px 0 2px; }
.mkp-chain-cell { display: flex; align-items: center; gap: 11px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 14px; padding: 9px 13px; }
.mkp-chain-cell--anchor { border-color: rgba(255,255,255,.16); background: var(--mk-surface-2); }
.mkp-chain-check { width: 17px; height: 17px; flex: 0 0 auto; border-radius: 6px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 2px 4px rgba(0,0,0,.85); }
.mkp-chain-name { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--mk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkp-chain-time { font-family: var(--mk-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .07em; color: var(--mk-text-2); white-space: nowrap; }
.mkp-chain-up { text-align: center; color: var(--mk-text-3); font-size: 12px; line-height: 1; padding: 1px 0; }

/* Coach building real objects. */
.mkp-cb { background: var(--mk-bg-soft, #060709); border: 1px solid var(--mk-line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mkp-cb-line { display: flex; align-items: center; gap: 8px; max-width: 94%; border-radius: 14px; padding: 10px 13px; font-size: 13.5px; font-weight: 550; }
.mkp-cb-line--user { align-self: flex-end; background: var(--mk-surface-2); border: 1px solid var(--mk-line); color: var(--mk-text); }
.mkp-cb-line--coach { align-self: flex-start; background: var(--mk-surface); border: 1px solid var(--mk-line); color: var(--mk-text-2); }
.mkp-cb-line--coach svg { color: var(--mk-cy); flex: 0 0 auto; }
.mkp-cb-obj { display: flex; align-items: center; gap: 10px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 12px; padding: 8px 12px; }
.mkp-cb-type { font-family: var(--mk-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .12em; color: var(--mk-cy); flex: 0 0 74px; }
.mkp-cb-name { flex: 1 1 auto; min-width: 0; font-size: 12px; font-weight: 600; color: var(--mk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkp-cb-ok { color: var(--mk-cy); flex: 0 0 auto; display: inline-flex; }
.mkp-cb-approve { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding: 10px 13px; border-radius: 12px; background: var(--mk-surface-2); border: 1px solid var(--mk-line); }
.mkp-cb-approve span:first-child { font-size: 12px; font-weight: 500; color: var(--mk-text-2); }
.mkp-cb-approve-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--mk-r-pill); background: var(--mk-cy); border: 1px solid #353a42; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 5px rgba(0,0,0,.5); color: var(--mk-on-cy); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* Opened Checkbox: the context is already attached. */
.mkp-open { background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mkp-open-rows { display: flex; flex-direction: column; gap: 7px; }
.mkp-open-row { display: flex; align-items: center; gap: 9px; background: var(--mk-surface-2); border-radius: 12px; padding: 9px 12px; font-size: 12.5px; font-weight: 550; color: var(--mk-text); }
.mkp-open-row svg { color: var(--mk-cy); flex: 0 0 auto; }
.mkp-open-row .dim { color: var(--mk-text-2); font-weight: 500; margin-left: auto; font-family: var(--mk-mono); font-size: 9.5px; letter-spacing: .06em; }

/* Score / streak meter (real reward surface, adult treatment). */
.mkp-meter { background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 22px; padding: 20px; display: flex; align-items: center; gap: 18px; }
.mkp-meter-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mkp-meter-streak { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--mk-text); }
.mkp-meter-streak svg { color: var(--mk-cy); }
.mkp-meter-sub { font-size: 12.5px; font-weight: 500; color: var(--mk-text-2); }
.mkp-meter-week { display: flex; gap: 5px; margin-top: 4px; }
.mkp-meter-day { width: 20px; height: 20px; border-radius: 7px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 2px 4px rgba(0,0,0,.85); display: inline-flex; align-items: center; justify-content: center; color: var(--mk-cy); }
.mkp-meter-score { flex: 0 0 auto; text-align: right; }
.mkp-meter-num { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--mk-text); line-height: 1; }
.mkp-meter-lab { font-family: var(--mk-mono); font-size: 9px; font-weight: 600; letter-spacing: .14em; color: var(--mk-text-2); }

/* Miss → corrective action → history (never labeled Second Chance). */
.mkp-fail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; margin-top: 40px; }
.mkp-fail-card { background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 20px; padding: 16px; }
.mkp-fail-num { font-family: var(--mk-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; color: var(--mk-text-2); margin-bottom: 10px; }
.mkp-state { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--mk-r-pill); border: 1px solid var(--mk-line); font-family: var(--mk-mono); font-size: 9.5px; letter-spacing: .07em; color: var(--mk-text-2); white-space: nowrap; }
.mkp-field { display: flex; flex-direction: column; gap: 2px; background: var(--mk-surface-2); border-radius: 11px; padding: 8px 11px; margin-top: 7px; }
.mkp-field-label { font-family: var(--mk-mono); font-size: 8px; font-weight: 600; letter-spacing: .12em; color: var(--mk-text-3); }
.mkp-field-value { font-size: 12.5px; font-weight: 550; color: var(--mk-text); line-height: 1.45; }
.mkp-hrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; background: var(--mk-surface-2); border-radius: 11px; margin-top: 7px; }
.mkp-hrow-what { font-size: 12.5px; font-weight: 600; color: var(--mk-text); }
.mkp-hrow-ok { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mk-mono); font-size: 9.5px; letter-spacing: .07em; color: var(--mk-cy); }

/* Sharing on the user's terms. */
.mkp-share { margin-top: 24px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mkp-share-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; background: var(--mk-surface-2); border-radius: 13px; }
.mkp-share-who { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 999px; background: #000; border: 1px solid var(--mk-line); display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; color: var(--mk-text-2); }
.mkp-share-what { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mkp-share-name { font-size: 13px; font-weight: 650; color: var(--mk-text); }
.mkp-share-scope { font-size: 11.5px; font-weight: 500; color: var(--mk-text-2); }
.mkp-share-chip { font-family: var(--mk-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .1em; color: var(--mk-text-2); border: 1px solid var(--mk-line); border-radius: var(--mk-r-pill); padding: 4px 9px; white-space: nowrap; }

/* Large statement + founder close + clinical note. */
.mkp-statement { margin: 40px 0 0; font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.14; color: var(--mk-text); text-wrap: balance; }
.mkp-statement .mkp-accent { color: var(--mk-cy); }
.mkp-sig { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; }
.mkp-sig-name { font-family: 'Caveat', cursive; font-size: 30px; color: var(--mk-text); }
.mkp-sig-role { font-family: var(--mk-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; color: var(--mk-text-2); text-transform: uppercase; }
.mkp-clinical { max-width: 640px; margin: 0 auto; text-align: center; font-size: 12.5px; font-weight: 500; line-height: 1.6; color: var(--mk-text-3); }

/* Authentic artifact gallery (story). Slots render only when the asset exists. */
.mkp-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 44px; }
.mkp-artifact { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.mkp-artifact a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--mk-line); background: #0a0a0a; }
.mkp-artifact img { width: 100%; height: auto; display: block; filter: grayscale(.2) contrast(1.02); transition: transform .35s var(--mk-ease), filter .35s var(--mk-ease); }
.mkp-artifact a:hover img { transform: scale(1.025); filter: grayscale(0); }
.mkp-artifact--wide { grid-column: 1 / -1; }
.mkp-artifact-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mkp-artifact-date { font-family: var(--mk-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; color: var(--mk-cy); white-space: nowrap; }
.mkp-artifact-what { font-size: 13px; font-weight: 550; color: var(--mk-text-2); text-align: right; }

/* Story hero artifact (paper on black). */
.mkp-paper { margin: 0 auto; max-width: 380px; }
.mkp-paper img { width: 100%; height: auto; display: block; border-radius: 6px; transform: rotate(-1.4deg); filter: grayscale(1) contrast(1.04) brightness(.94); opacity: .92; box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); -webkit-mask-image: radial-gradient(150% 125% at 50% 36%, #000 55%, transparent 97%); mask-image: radial-gradient(150% 125% at 50% 36%, #000 55%, transparent 97%); }

/* Documented-timeline drawer (supporting, not the narrative). */
.mkp-drawer { margin-top: 48px; border: 1px solid var(--mk-line); border-radius: 20px; background: var(--mk-surface); }
.mkp-drawer summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: 14px; font-weight: 650; color: var(--mk-text); }
.mkp-drawer summary::-webkit-details-marker { display: none; }
.mkp-drawer summary .chev { color: var(--mk-text-3); transition: transform .25s var(--mk-ease); }
.mkp-drawer[open] summary .chev { transform: rotate(180deg); }
.mkp-drawer-rows { padding: 4px 20px 16px; display: flex; flex-direction: column; }
.mkp-drawer-row { display: flex; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.04); }
.mkp-drawer-when { font-family: var(--mk-mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--mk-cy); flex: 0 0 118px; }
.mkp-drawer-what { font-size: 13px; font-weight: 500; color: var(--mk-text-2); }

/* ADHD hero: one painful task, the chain revealed behind it. */
.mkp-pain { position: relative; margin: 0 auto; max-width: 420px; padding-top: 8px; }
.mkp-pain-behind { display: flex; flex-direction: column; gap: 5px; opacity: .55; transform: scale(.965); transform-origin: top center; }
.mkp-pain-front { margin-top: 10px; box-shadow: 0 18px 44px rgba(0,0,0,.55); }
.mkp-pain-note { margin-top: 12px; text-align: center; }

.mkp-uen-line { margin-top: 26px; font-family: var(--mk-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-cy); }

/* Horizontal causal flow strip (doors, pipelines). */
.mkp-flow { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.mkp-flow-cell { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 14px; padding: 11px 13px; }
.mkp-flow-type { font-family: var(--mk-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .14em; color: var(--mk-cy); white-space: nowrap; }
.mkp-flow-cell > span:last-child { font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; color: var(--mk-text); line-height: 1.35; }
.mkp-flow-arrow { align-self: center; color: var(--mk-text-3); font-size: 14px; flex: 0 0 auto; }
@media (max-width: 640px) {
  .mkp-flow { flex-direction: column; }
  .mkp-flow-arrow { transform: rotate(90deg); margin: -2px 0; }
}

/* Door sections (who-its-for): one cinematic doorway per audience. */
.mkp-door { border-top: 1px solid var(--mk-line); }
.mkp-door-label { font-family: var(--mk-mono); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mk-cy); }
.mkp-door-h { margin: 14px 0 0; font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; color: var(--mk-text); }

/* Developer evidence pipeline. */
.mkp-pipe { display: flex; flex-direction: column; gap: 6px; max-width: 560px; margin: 44px auto 0; }
.mkp-pipe-cell { display: flex; align-items: center; gap: 12px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 14px; padding: 12px 15px; }
.mkp-pipe-num { font-family: var(--mk-mono); font-size: 9px; font-weight: 600; letter-spacing: .12em; color: var(--mk-cy); flex: 0 0 20px; }
.mkp-pipe-name { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 650; color: var(--mk-text); }
.mkp-pipe-sub { font-family: var(--mk-mono); font-size: 9px; font-weight: 500; letter-spacing: .08em; color: var(--mk-text-2); white-space: nowrap; }
.mkp-pipe-down { text-align: center; color: var(--mk-text-3); font-size: 13px; line-height: 1; }

/* Code block (real request), paired with a state readout. */
.mkp-code { background: #0a0c0e; border: 1px solid var(--mk-line); border-radius: 18px; padding: 18px 20px; overflow-x: auto; }
.mkp-code pre { margin: 0; font-family: var(--mk-mono); font-size: 12px; line-height: 1.65; color: var(--mk-text-2); }
.mkp-code .tok { color: var(--mk-cy); }
.mkp-code .str { color: var(--mk-text); }

/* Pipeline fork: the satisfied path is the protagonist, the not-satisfied
   path stays discreet but visible (observation vs. evidence semantics). */
.mkp-pipe-fork { display: flex; gap: 14px; align-items: flex-start; }
.mkp-pipe-branch { flex: 1 1 58%; display: flex; flex-direction: column; gap: 6px; }
.mkp-pipe-branch--quiet { flex: 1 1 42%; }
.mkp-pipe-branch--quiet .mkp-pipe-cell { padding: 9px 12px; }
.mkp-pipe-branch--quiet .mkp-pipe-name { font-size: 12px; color: var(--mk-text); }
.mkp-pipe-verdict { font-family: var(--mk-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .16em; color: var(--mk-cy); text-align: center; }
.mkp-pipe-branch--quiet .mkp-pipe-verdict { color: var(--mk-text-2); }
/* Hierarchy comes from size, width and the lime verdict on the satisfied
   path — never from washing the branch out: NOT SATISFIED is a valid
   pipeline outcome, not a disabled option (AA on both branches). */
@media (max-width: 560px) { .mkp-pipe-fork { flex-direction: column; } .mkp-pipe-branch { width: 100%; } }

/* Artifact viewer (accessible lightbox — progressive enhancement). */
.mkp-viewer { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 18px; }
.mkp-viewer[hidden] { display: none; }
.mkp-viewer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.86); }
html.mkp-viewer-open { overflow: hidden; }
.mkp-viewer-dialog { position: relative; width: min(920px, 96vw); max-height: 94vh; display: flex; flex-direction: column; gap: 10px; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 20px; padding: 14px 16px 16px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.mkp-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mkp-viewer-label { font-family: var(--mk-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; color: var(--mk-cy); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkp-viewer-actions { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.mkp-viewer-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 13px; border-radius: var(--mk-r-pill); background: var(--mk-surface-2); border: 1px solid var(--mk-line); color: var(--mk-text); font-family: var(--mk-font); font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none; }
.mkp-viewer-btn:hover { border-color: rgba(255,255,255,.16); }
.mkp-viewer-btn:focus-visible { outline: 2px solid var(--mk-cy); outline-offset: 2px; }
.mkp-viewer-close { width: 32px; padding: 0; }
.mkp-viewer-stage { overflow: auto; border-radius: 12px; background: #0a0a0a; display: flex; align-items: flex-start; justify-content: center; min-height: 200px; }
.mkp-viewer-stage img { max-width: 100%; height: auto; display: block; cursor: zoom-in; }
.mkp-viewer-stage.zoomed { align-items: flex-start; justify-content: flex-start; }
.mkp-viewer-stage.zoomed img { max-width: none; width: auto; cursor: zoom-out; }
.mkp-viewer-cap { font-size: 12.5px; font-weight: 500; color: var(--mk-text-2); text-align: center; }


/* ═══════════════════════════════════════════════════════════════════════
   REDESIGN 2026-08-07 — React marketing routes on the editorial system
   These routes now build from /css/editorial.css + /css/product.css. Only
   what is specific to a route lives here; the older .mkp- components stay
   for surfaces that have not been rebuilt.
   ═══════════════════════════════════════════════════════════════════════ */

/* The first chapter of a page clears the fixed pill bar. */
.mkp-hero-ed { padding-top: 168px; }
body:has(.mk-ctx) .mkp-hero-ed { padding-top: 216px; }
@media (max-width: 900px) { .mkp-hero-ed { padding-top: 124px; } }

/* A real product stage under an illustration: the scene explains the idea,
   the stage proves the product does it. */
.mkp-door-stage { margin-top: 20px; }

/* Artifact figures — real scans and photographs. These keep their frame
   because they are documents, not editorial line art. */
.mkp-artifact { margin: 0; }
.mkp-artifact img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--mk-line); }
.mkp-artifact figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--mk-text-3); }

/* Code — a real payload the reader can select and copy, never a picture. */
.mkp-code {
  margin: 0; padding: 18px 20px; overflow-x: auto;
  background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: 22px;
  font-family: var(--mk-mono); font-size: 12.5px; line-height: 1.65; color: var(--mk-text-2);
  -webkit-overflow-scrolling: touch;
}
.mkp-code b { color: var(--mk-text); font-weight: 600; }
.mkp-code .tok { color: var(--mk-cy); }

/* A commission/ROI figure computed in the DOM, so it stays selectable,
   translatable and screen-readable. */
.mkp-calc { display: grid; gap: 0; margin-top: 30px; }
.mkp-calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--mk-line); }
.mkp-calc__label { font-size: 15px; color: var(--mk-text-2); }
.mkp-calc__value { font-size: 17px; font-weight: 650; letter-spacing: -.02em; color: var(--mk-text); font-variant-numeric: tabular-nums; }
.mkp-calc__row--total .mkp-calc__label { color: var(--mk-text); font-weight: 600; }
.mkp-calc__row--total .mkp-calc__value { font-size: 27px; font-weight: 800; letter-spacing: -.035em; color: var(--mk-cy); }

/* ── /adhd — the chain, stated once ─────────────────────────────────── */

/* The panorama runs wider than the text column so its seven scenes stay
   legible; below 1024px the continuous line carries the story alone. */
.mkp-frieze { max-width: 1560px; margin: clamp(30px, 4vw, 48px) auto 0; }
.mkp-chain-rail { margin-top: clamp(30px, 4vw, 48px); max-width: 720px; }
/* A statement, held on its own line — the alternative to a caps banner. */
.mkp-standard { margin-top: clamp(40px, 5vw, 64px); max-width: 30ch; color: var(--mk-text); }

/* The shipped corrective-action sheet, assembled from real fields. */
.mkp-recover { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.mkp-recover-title { font-size: 15px; font-weight: 700; letter-spacing: -.018em; color: var(--mk-text); }

/* ── /organizations · /developers — the single journey ──────────────── */

.mkp-journey, .mkp-pipeline { margin-top: clamp(34px, 4vw, 52px); max-width: 780px; }
.mkp-journey-stage { margin-top: 16px; max-width: 520px; }

/* Two panes of real code side by side: the call and what comes back. */
.mkp-code-tabs { margin-top: clamp(30px, 3.4vw, 44px); }
.mkp-code-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .mkp-code-split { grid-template-columns: 1fr; } }

/* ── /story — a visual essay ────────────────────────────────────────── */

/* Archival scans keep a frame: they are documents, not editorial line art,
   and the frame is what says "this is a real page someone wrote". */
.mkp-paper--narrow { max-width: 320px; }
.mkp-artifact--second { margin-top: 20px; }
.mkp-gloss { display: block; margin-top: 5px; font-size: 12px; color: var(--mk-text-3); }
.mkp-timeline { margin-top: clamp(56px, 6vw, 84px); }

/* ── /partners — questions and answers, no accordion theatre ────────── */

.mkp-faq { margin: clamp(30px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.mkp-faq__q { margin: 0; font-size: 16.5px; font-weight: 650; letter-spacing: -.018em; color: var(--mk-text); }
.mkp-faq__a { margin: 8px 0 0; max-width: 54ch; font-size: 14.5px; line-height: 1.62; color: var(--mk-text-2); }
@media (max-width: 820px) { .mkp-faq { grid-template-columns: 1fr; gap: 26px; } }
