/* =========================================================
   Learning Rewired Lab — The Method
   File: /assets/css/method.css
   Self-contained: renders correctly with or without global.css.
   ========================================================= */

:root {
  --m-ink: #07111f;
  --m-ink-800: #10243d;
  --m-slate: #475569;
  --m-slate-500: #64748b;
  --m-slate-400: #94a3b8;
  --m-line: #e6ebf1;
  --m-mist: #f8fafc;
  --m-frost: #fbfdfe;
  --m-cyan: #16b8d9;
  --m-cyan-700: #0789a2;
  --m-teal: #14b8a6;
  --m-teal-700: #0f766e;
  --m-mint: #6ee7d8;
  --m-gold: #f4c95d;
  --m-gold-700: #9a6a04;
  --m-blue: #2563eb;
  --m-shadow-card: 0 18px 50px rgba(15, 23, 42, .05);
}

.method-page { margin: 0; background: #fff; color: var(--m-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
/* Resets are scoped to the experience only — the shared site header and
   footer must keep their own styling from global.css. */
.m-scope, .m-scope *, .m-scope *::before, .m-scope *::after { box-sizing: border-box; }
.m-scope button { font: inherit; }
.m-scope input, .m-scope textarea, .m-scope select { font: inherit; color: inherit; }
.m-scope textarea { resize: vertical; }
.m-scope :focus-visible { outline: 2px solid var(--m-cyan-700); outline-offset: 3px; border-radius: 4px; }

/* The experience is self-contained: site chrome steps out of the way. */
body.method-running #site-header,
body.method-running #site-footer,
body.method-running .lrl-mobile-bottom-nav,
body.method-running .m-context { display: none !important; }

/* ---------- type ---------- */
.m-kicker { margin: 0; font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; color: var(--m-cyan-700); }
.m-kicker--slate { color: var(--m-slate-400); }
.m-kicker--gold { color: var(--m-gold-700); }
.m-kicker--mint { color: var(--m-mint); }
.m-display { margin: 26px 0 0; font-size: clamp(38px, 6.4vw, 72px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; color: var(--m-ink); max-width: 20ch; text-wrap: balance; }
.m-h2 { margin: 14px 0 10px; font-size: clamp(27px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.038em; line-height: 1.06; color: var(--m-ink); max-width: 26ch; text-wrap: balance; }
.m-h3 { margin: 0 0 6px; font-size: 18px; font-weight: 850; letter-spacing: -.02em; color: var(--m-ink); }
.m-h4 { margin: 0 0 10px; font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: var(--m-slate-400); }
.m-lede { margin: 0 0 32px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: var(--m-slate); max-width: 62ch; text-wrap: pretty; }
.m-note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--m-slate-500); }
.m-fine { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--m-slate-400); }
.m-quiet { color: var(--m-slate-400); font-size: 13px; max-width: 42ch; }

.m-scope a { color: var(--m-cyan-700); text-decoration: none; border-bottom: 1px solid rgba(7, 137, 162, .34); }
.m-scope a:hover { color: var(--m-ink); border-bottom-color: rgba(7, 17, 31, .4); }

/* ---------- entry ---------- */
.m-entry { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 6vw, 90px); overflow: hidden; }
.m-entry__atmos { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 18% 8%, rgba(22, 184, 217, .13), transparent 62%), radial-gradient(50% 50% at 88% 92%, rgba(110, 231, 216, .12), transparent 60%); }
.m-entry__ticks { position: absolute; left: 0; right: 0; top: 0; height: 22px; opacity: .5; pointer-events: none; background-image: repeating-linear-gradient(to right, rgba(7, 17, 31, .16) 0 1px, transparent 1px 44px); }
.m-entry__inner { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; }
.m-brandrow { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(36px, 8vh, 86px); }
.m-brandmark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--m-line); border-radius: 11px; font-size: 13px; font-weight: 900; letter-spacing: -.04em; color: var(--m-cyan-700); }
.m-brandrow span:last-child { white-space: nowrap; font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; color: var(--m-slate-500); }
.m-badge { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(22, 184, 217, .34); border-radius: 999px; padding: 7px 14px; background: rgba(22, 184, 217, .08); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: var(--m-cyan-700); }
.m-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--m-cyan); display: block; }
.m-entry__support { margin: 26px 0 0; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6; color: var(--m-slate); max-width: 56ch; text-wrap: pretty; }
.m-entry__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--m-line); max-width: 64ch; }
.m-entry__facts span { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--m-slate-500); }

/* ---------- buttons ---------- */
.m-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 13px; border: 1px solid transparent; background: var(--m-cyan-700); color: #fff; font-size: 15.5px; font-weight: 850; cursor: pointer; text-decoration: none; box-shadow: 0 12px 26px rgba(7, 137, 162, .28); transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.m-btn:hover { background: #066e84; color: #fff; border-bottom-color: transparent; }
.m-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.m-btn--ghost { background: #fff; color: var(--m-ink); border: 1px solid #d8e0ea; box-shadow: 0 6px 16px rgba(15, 23, 42, .05); }
.m-btn--ghost:hover { background: #fff; border-color: var(--m-cyan); color: var(--m-cyan-700); }
.m-btn--dark { background: var(--m-ink); color: #fff; box-shadow: 0 10px 24px rgba(7, 17, 31, .18); }
.m-btn--dark:hover { background: var(--m-ink-800); }
.m-btn--block { width: 100%; }
.m-linkbtn { background: none; border: 0; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--m-slate-500); cursor: pointer; border-bottom: 1px solid rgba(15, 23, 42, .2); }
.m-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.m-entry__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 38px; }

/* ---------- experience chrome ---------- */
.m-shell { display: none; }
body.method-running .m-shell { display: block; }
body.method-running .m-entry { display: none; }
.m-bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--m-line); }
.m-bar__row { max-width: 1180px; margin: 0 auto; padding: 14px clamp(16px, 4vw, 34px); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.m-bar__mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--m-line); border-radius: 10px; font-size: 12px; font-weight: 900; letter-spacing: -.04em; color: var(--m-cyan-700); }
.m-bar__title { font-size: 11.5px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; color: var(--m-ink); }
.m-bar__spacer { flex: 1 1 auto; }
.m-save { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--m-slate-400); }
.m-save__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--m-teal); display: block; }
.m-exit { background: none; border: 1px solid var(--m-line); border-radius: 999px; padding: 9px 16px; min-height: 40px; font-size: 12.5px; font-weight: 800; color: var(--m-slate); cursor: pointer; }
.m-exit:hover { border-color: var(--m-cyan); color: var(--m-cyan-700); }

.m-seq { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 34px) 12px; display: flex; gap: 4px; overflow-x: auto; }
.m-seq__item { flex: 1 1 128px; min-width: 108px; text-align: left; background: none; border: 0; padding: 6px 2px 0; color: var(--m-slate-400); cursor: default; }
.m-seq__item[data-state="done"] { color: var(--m-cyan-700); cursor: pointer; }
.m-seq__item[data-state="current"] { color: var(--m-ink); }
.m-seq__num { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; opacity: .62; }
.m-seq__label { display: block; font-size: 12.5px; font-weight: 850; letter-spacing: .02em; margin-top: 3px; }
.m-seq__rule { display: block; height: 2px; margin-top: 8px; border-radius: 2px; background: currentColor; opacity: .28; }
.m-seq__item[data-state="done"] .m-seq__rule, .m-seq__item[data-state="current"] .m-seq__rule { opacity: .9; }

.m-main { max-width: 1180px; margin: 0 auto; padding: clamp(26px, 5vw, 56px) clamp(16px, 4vw, 34px) 120px; }
.m-stage { animation: m-fade .4s both; }

/* ---------- surfaces ---------- */
.m-panel { background: #fff; border: 1px solid var(--m-line); border-radius: 24px; padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--m-shadow-card); }
.m-panel--tint { background: var(--m-frost); box-shadow: none; }
.m-panel--dark { position: relative; overflow: hidden; border: 0; border-radius: 26px; background: linear-gradient(135deg, var(--m-ink), var(--m-ink-800)); color: #fff; }
.m-panel--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(64% 54% at 90% 4%, rgba(22, 184, 217, .26), transparent 62%); }
.m-panel--dark > * { position: relative; }
.m-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.m-col { display: flex; flex-direction: column; gap: 18px; }
.m-grow { flex: 1 1 380px; }
.m-grow--wide { flex: 1 1 460px; }
.m-grow--narrow { flex: 1 1 300px; }
.m-stack { display: flex; flex-direction: column; gap: 12px; }

/* ---------- chips + fields ---------- */
.m-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.m-chip { min-height: 40px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--m-line); background: #fff; color: var(--m-slate); font-size: 13.5px; font-weight: 800; cursor: pointer; transition: all .18s; }
.m-chip:hover { border-color: rgba(22, 184, 217, .5); color: var(--m-cyan-700); }
.m-chip[aria-pressed="true"] { border-color: rgba(22, 184, 217, .55); background: rgba(22, 184, 217, .1); color: var(--m-cyan-700); box-shadow: 0 6px 16px rgba(22, 184, 217, .14); }
.m-field { display: block; }
.m-field + .m-field { margin-top: 22px; }
.m-label { display: block; font-size: 18px; font-weight: 850; letter-spacing: -.02em; color: var(--m-ink); margin-bottom: 6px; }
.m-label--small { font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: var(--m-slate-400); margin-bottom: 8px; }
.m-hint { display: block; font-size: 14px; line-height: 1.55; color: var(--m-slate-500); margin-bottom: 12px; }
.m-input, .m-textarea, .m-select { width: 100%; padding: 14px 15px; border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-mist); font-size: 15.5px; line-height: 1.55; }
.m-input:focus, .m-textarea:focus { background: #fff; }
.m-input--error { border-color: #c2410c; background: rgba(194, 65, 12, .04); }
.m-error { margin: 0; font-size: 13.5px; font-weight: 750; color: #c2410c; }
.m-check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--m-slate); }
.m-check input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: #0789a2; }

.m-radios { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0 0 18px; }
.m-radio { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--m-line); border-radius: 13px; background: #fff; cursor: pointer; }
.m-radio[data-on="true"] { border-color: rgba(22, 184, 217, .5); background: rgba(22, 184, 217, .06); }
.m-radio input { margin: 3px 0 0; accent-color: #0789a2; }
.m-radio strong { display: block; font-size: 14px; font-weight: 850; color: var(--m-ink); }
.m-radio small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--m-slate-500); margin-top: 2px; }

/* ---------- research question ---------- */
.m-question { width: 100%; padding: 16px; border: 1px solid rgba(110, 231, 216, .34); border-radius: 16px; background: rgba(7, 17, 31, .4); color: #fff; font-size: clamp(16px, 1.6vw, 19px); font-weight: 750; line-height: 1.45; letter-spacing: -.015em; }
.m-onDark { color: rgba(226, 242, 247, .72); font-size: 13.5px; line-height: 1.6; margin: 12px 0 16px; }
.m-ghostdark { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; min-height: 40px; padding: 9px 16px; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.m-echo { margin: 0 0 30px; font-size: 14px; line-height: 1.6; color: var(--m-slate-400); max-width: 62ch; border-left: 2px solid var(--m-line); padding-left: 14px; }

/* ---------- evidence ---------- */
.m-composer { position: sticky; top: 116px; }
.m-tallies { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.m-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, .12); background: rgba(15, 23, 42, .05); color: var(--m-slate); font-size: 10.5px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.m-pill[data-zero="true"] { opacity: .45; }
.m-pill[data-cls="measured"] { color: var(--m-cyan-700); background: rgba(22, 184, 217, .1); border-color: rgba(22, 184, 217, .42); }
.m-pill[data-cls="observed"] { color: var(--m-teal-700); background: rgba(20, 184, 166, .1); border-color: rgba(20, 184, 166, .36); }
.m-pill[data-cls="assumed"] { color: var(--m-gold-700); background: rgba(244, 201, 93, .16); border-color: rgba(244, 201, 93, .46); }
.m-pill[data-cls="unknown"] { color: var(--m-slate-500); background: transparent; border-color: rgba(15, 23, 42, .2); }
.m-pill--support { color: var(--m-teal-700); background: rgba(110, 231, 216, .22); border-color: rgba(20, 184, 166, .4); }
.m-pill--complicate { color: var(--m-gold-700); background: rgba(244, 201, 93, .18); border-color: rgba(244, 201, 93, .5); }
.m-pill--missing { color: var(--m-slate-500); background: transparent; border-color: rgba(15, 23, 42, .2); }

.m-mark { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(15, 23, 42, .14); background: rgba(15, 23, 42, .05); color: var(--m-slate); font-size: 13px; line-height: 1; }
.m-mark--sm { flex-basis: 26px; width: 26px; height: 26px; font-size: 12px; }
.m-mark[data-cls="measured"] { color: var(--m-cyan-700); background: rgba(22, 184, 217, .1); border-color: rgba(22, 184, 217, .42); }
.m-mark[data-cls="observed"] { color: var(--m-teal-700); background: rgba(20, 184, 166, .1); border-color: rgba(20, 184, 166, .36); }
.m-mark[data-cls="assumed"] { color: var(--m-gold-700); background: rgba(244, 201, 93, .16); border-color: rgba(244, 201, 93, .46); }
.m-mark[data-cls="unknown"] { color: var(--m-slate-500); background: transparent; border-color: rgba(15, 23, 42, .2); }

.m-ecard { background: #fff; border: 1px solid var(--m-line); border-left: 3px solid rgba(15, 23, 42, .14); border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, .05); animation: m-rise .45s both; }
.m-ecard[data-cls="measured"] { border-left-color: rgba(22, 184, 217, .55); }
.m-ecard[data-cls="observed"] { border-left-color: rgba(20, 184, 166, .5); }
.m-ecard[data-cls="assumed"] { border-left-color: rgba(244, 201, 93, .7); }
.m-ecard[data-cls="unknown"] { border-left-color: rgba(15, 23, 42, .2); }
.m-ecard__body { display: flex; align-items: flex-start; gap: 14px; }
.m-ecard__text { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--m-ink); text-wrap: pretty; }
.m-ecard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 7px; }
.m-source { font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--m-slate-400); }
.m-ecard__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.m-minibtn { white-space: nowrap; background: none; border: 1px solid var(--m-line); border-radius: 999px; min-height: 36px; padding: 7px 13px; font-size: 12px; font-weight: 800; color: var(--m-slate-500); cursor: pointer; }
.m-minibtn:hover { border-color: rgba(15, 23, 42, .3); color: var(--m-ink); }
.m-minibtn--dark { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.m-minibtn--dark:hover { background: var(--m-ink-800); border-color: var(--m-ink-800); color: #fff; }
.m-inlineselect { border: 1px solid var(--m-line); border-radius: 9px; padding: 7px 9px; background: #fff; font-size: 12.5px; font-weight: 750; min-height: 36px; }
.m-empty { border: 1px dashed rgba(15, 23, 42, .16); border-radius: 22px; padding: 40px 26px; text-align: center; background: var(--m-frost); }
.m-empty strong { display: block; font-size: 15.5px; color: var(--m-ink); margin-bottom: 6px; }

.m-flag { margin-top: 18px; padding: 18px 20px; border-radius: 18px; animation: m-rise .5s both; }
.m-flag strong { display: block; font-size: 15.5px; font-weight: 850; letter-spacing: -.015em; color: var(--m-ink); }
.m-flag p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--m-slate); }
.m-flag--gold { background: rgba(244, 201, 93, .13); border: 1px solid rgba(244, 201, 93, .4); }
.m-flag--cyan { background: rgba(22, 184, 217, .08); border: 1px solid rgba(22, 184, 217, .34); }

/* ---------- hypothesis ---------- */
.m-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 12px; }
.m-cat { display: flex; flex-direction: column; }
.m-cat__main { text-align: left; cursor: pointer; padding: 20px; border-radius: 20px 20px 0 0; border: 1px solid var(--m-line); border-bottom: 0; background: #fff; height: 100%; box-shadow: 0 10px 30px rgba(15, 23, 42, .04); transition: all .18s; }
.m-cat__main:hover { border-color: rgba(22, 184, 217, .4); }
.m-cat__main[aria-pressed="true"] { border-color: rgba(22, 184, 217, .55); background: rgba(22, 184, 217, .06); box-shadow: 0 14px 34px rgba(22, 184, 217, .14); }
.m-cat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m-cat__name { font-size: 15.5px; font-weight: 850; letter-spacing: -.018em; color: var(--m-ink); text-align: left; }
.m-cat__desc { display: block; margin-top: 7px; font-size: 13.5px; line-height: 1.5; color: var(--m-slate-500); text-align: left; }
.m-tag { padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; background: var(--m-ink); color: #fff; }
.m-tag--contrib { background: rgba(244, 201, 93, .22); color: var(--m-gold-700); }
.m-cat__contrib { cursor: pointer; padding: 12px 20px; min-height: 44px; border-radius: 0 0 20px 20px; border: 1px solid var(--m-line); border-top: 1px dashed var(--m-line); background: #fff; color: var(--m-slate-500); font-size: 12.5px; font-weight: 800; text-align: left; }
.m-cat__contrib[aria-pressed="true"] { background: rgba(244, 201, 93, .14); color: var(--m-gold-700); }
.m-cat__contrib[disabled] { opacity: .5; cursor: not-allowed; background: rgba(22, 184, 217, .06); border-color: rgba(22, 184, 217, .55); }

.m-link { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--m-line); border-left: 1px solid var(--m-line); border-radius: 18px; padding: 14px 16px; }
.m-link[data-link="supports"] { border-left: 3px solid var(--m-mint); box-shadow: 0 10px 26px rgba(15, 23, 42, .06); }
.m-link[data-link="complicates"] { border-left: 3px solid rgba(244, 201, 93, .9); box-shadow: 0 10px 26px rgba(15, 23, 42, .06); }
.m-link__body { display: flex; align-items: center; gap: 12px; flex: 1 1 300px; min-width: 0; }
.m-link__text { display: block; font-size: 15px; line-height: 1.45; color: var(--m-ink); }
.m-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.m-seg__btn { min-height: 40px; padding: 8px 13px; border-radius: 10px; border: 1px solid var(--m-line); background: #fff; color: var(--m-slate); font-size: 12.5px; font-weight: 800; cursor: pointer; transition: all .16s; }
.m-seg__btn:hover { border-color: rgba(15, 23, 42, .35); }
.m-seg__btn[aria-pressed="true"] { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }

/* ---------- challenge ---------- */
.m-challenge { background: #fff; border: 1px solid var(--m-line); border-left: 3px solid rgba(244, 201, 93, .8); border-radius: 24px; padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--m-shadow-card); animation: m-rise .55s both; }
.m-trace { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 7px; background: rgba(15, 23, 42, .05); font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--m-slate-500); }
.m-challenge h3 { margin: 0 0 10px; font-size: clamp(18.5px, 2.1vw, 24px); font-weight: 850; letter-spacing: -.025em; line-height: 1.24; color: var(--m-ink); max-width: 40ch; text-wrap: pretty; }
.m-challenge p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--m-slate); max-width: 62ch; text-wrap: pretty; }
.m-followup { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--m-line); font-size: 14px; line-height: 1.55; color: var(--m-slate); }
.m-followup button { background: none; border: 0; padding: 0; font-size: 14px; font-weight: 850; color: var(--m-cyan-700); cursor: pointer; border-bottom: 1px solid rgba(7, 137, 162, .4); }

/* ---------- systems map ---------- */
.m-map__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.m-map__meta { font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: rgba(226, 242, 247, .6); }
.m-maprow { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); opacity: 0; transform: translateY(8px); transition: opacity .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1); }
.m-maprow[data-shown="true"] { opacity: 1; transform: none; }
.m-maprow:last-child { border-bottom: 0; }
.m-maprow__top { display: flex; align-items: center; gap: 14px; }
.m-maprow__glyph { flex: 0 0 16px; width: 16px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .5); }
.m-maprow__label { flex: 1 1 auto; font-size: 16px; font-weight: 800; letter-spacing: -.015em; color: #fff; }
.m-state { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: rgba(226, 242, 247, .5); font-size: 10.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.m-state[data-state="supported"] { background: var(--m-mint); border-color: var(--m-mint); color: var(--m-ink); }
.m-state[data-state="contributor"] { background: rgba(244, 201, 93, .9); border-color: rgba(244, 201, 93, .9); color: var(--m-ink-800); }
.m-state[data-state="investigate"] { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .34); color: #e2f2f7; }
.m-why { margin: 8px 0 0 30px; font-size: 13px; line-height: 1.55; color: rgba(226, 242, 247, .66); max-width: 54ch; animation: m-fade .5s both; }
.m-legend { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.m-legend__row { display: flex; align-items: flex-start; gap: 10px; }
.m-legend__glyph { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(15, 23, 42, .14); font-size: 11px; color: var(--m-ink); }
.m-legend__glyph[data-state="supported"] { background: rgba(110, 231, 216, .35); }
.m-legend__glyph[data-state="contributor"] { background: rgba(244, 201, 93, .28); }
.m-legend__row strong { display: block; font-size: 13.5px; font-weight: 850; color: var(--m-ink); }
.m-legend__row small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--m-slate-500); }
.m-insight { background: rgba(22, 184, 217, .07); border: 1px solid rgba(22, 184, 217, .34); border-radius: 22px; padding: 24px; animation: m-rise .6s both; }
.m-insight p:first-child { margin: 0; font-size: clamp(17px, 1.9vw, 21px); font-weight: 850; letter-spacing: -.025em; line-height: 1.3; color: var(--m-ink); text-wrap: pretty; }
.m-insight p:last-child { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--m-slate); }

/* ---------- finding ---------- */
.m-finding { max-width: 900px; }
.m-finding__head { margin: 18px 0 16px; font-size: clamp(28px, 4.4vw, 52px); font-weight: 900; letter-spacing: -.042em; line-height: 1.04; color: var(--m-ink); text-wrap: balance; animation: m-rise .7s both; }
.m-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.m-stat { flex: 1 1 190px; border: 1px solid var(--m-line); border-radius: 18px; padding: 18px 20px; background: #fff; }
.m-stat__k { display: block; font-size: 10.5px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: var(--m-slate-400); }
.m-stat__v { display: block; margin-top: 8px; font-size: 17px; font-weight: 850; letter-spacing: -.02em; color: var(--m-ink); }
.m-stat__n { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.45; color: var(--m-slate-500); }
.m-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.m-dimchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--m-line); background: transparent; color: var(--m-slate-400); font-size: 13px; font-weight: 800; }
.m-dimchip[data-state="supported"] { background: rgba(110, 231, 216, .28); border-color: rgba(15, 23, 42, .14); color: var(--m-ink); }
.m-dimchip[data-state="contributor"] { background: rgba(244, 201, 93, .2); border-color: rgba(15, 23, 42, .14); color: var(--m-ink); }
.m-dimchip[data-state="investigate"] { background: #fff; border-color: rgba(15, 23, 42, .14); color: var(--m-ink); }
.m-ready { margin: 0 0 24px; font-size: clamp(18px, 2vw, 23px); font-weight: 850; letter-spacing: -.028em; color: var(--m-ink); }

/* ---------- access ---------- */
.m-form { display: flex; flex-direction: column; gap: 16px; }
.m-success { border: 1px solid rgba(20, 184, 166, .34); background: rgba(20, 184, 166, .09); border-radius: 24px; padding: clamp(22px, 2.6vw, 30px); animation: m-rise .5s both; }
.m-success__title { margin: 14px 0 8px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; letter-spacing: -.03em; color: var(--m-ink); }
.m-steps { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.m-steps li { display: flex; gap: 12px; align-items: flex-start; }
.m-steps__n { flex: 0 0 24px; height: 24px; border-radius: 8px; background: rgba(20, 184, 166, .16); color: var(--m-teal-700); font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.m-steps strong { display: block; font-size: 14.5px; font-weight: 850; letter-spacing: -.015em; color: var(--m-ink); }
.m-steps small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--m-slate); }
.m-divide { border-top: 1px solid rgba(20, 184, 166, .28); padding-top: 18px; margin-top: 20px; }
.m-linkbox { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.m-linkbox code { flex: 1 1 260px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 12px 13px; border: 1px solid var(--m-line); border-radius: 12px; background: #fff; font-size: 12.5px; color: var(--m-slate); }
.m-seg-list { display: flex; flex-direction: column; gap: 8px; }
.m-seg-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--m-line); font-size: 13px; }
.m-seg-row span:first-child { color: var(--m-slate-500); font-weight: 700; }
.m-seg-row span:last-child { color: var(--m-ink); font-weight: 800; text-align: right; }
.m-tagchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.m-tagchip { padding: 5px 10px; border-radius: 7px; background: rgba(15, 23, 42, .05); font-size: 11.5px; font-weight: 800; color: var(--m-slate); }
.m-statusnote { display: flex; gap: 10px; align-items: flex-start; }
.m-statusnote span:last-child { flex: 1 1 auto; font-size: 12.5px; line-height: 1.5; color: var(--m-slate); }
.m-statustag { flex: 0 0 auto; padding: 3px 8px; border-radius: 6px; font-size: 9.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; background: rgba(15, 23, 42, .06); color: var(--m-slate-500); }
.m-statustag[data-tone="live"] { background: rgba(20, 184, 166, .14); color: var(--m-teal-700); }
.m-statustag[data-tone="sim"] { background: rgba(244, 201, 93, .2); color: var(--m-gold-700); }

/* ---------- brief ---------- */
.m-brief { max-width: 860px; }
.m-brief__head { padding-bottom: 26px; border-bottom: 2px solid var(--m-ink); }
.m-brief__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--m-slate-400); }
.m-brief__q { margin: 18px 0 0; font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; color: var(--m-ink); text-wrap: balance; }
.m-brief__tools { display: flex; flex-wrap: wrap; gap: 9px; padding: 20px 0; border-bottom: 1px solid var(--m-line); }
.m-brief section { padding: 30px 0; border-bottom: 1px solid var(--m-line); }
.m-brief section:last-of-type { border-bottom: 0; }
.m-brief__lead { margin: 0 0 12px; font-size: clamp(21px, 2.6vw, 30px); font-weight: 850; letter-spacing: -.032em; line-height: 1.2; color: var(--m-ink); text-wrap: pretty; }
.m-brief p { font-size: 16px; line-height: 1.62; color: var(--m-slate); text-wrap: pretty; }
.m-defrow { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.m-defrow dt, .m-defrow > span:first-child { flex: 0 0 190px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--m-slate-500); }
.m-defrow dd, .m-defrow > span:last-child { flex: 1 1 260px; margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--m-ink); }
.m-brief__ev { display: flex; gap: 13px; align-items: flex-start; padding: 13px 0 13px 13px; border-bottom: 1px solid #f1f5f9; border-left: 3px solid rgba(15, 23, 42, .14); }
.m-brief__ev[data-cls="measured"] { border-left-color: rgba(22, 184, 217, .5); }
.m-brief__ev[data-cls="observed"] { border-left-color: rgba(20, 184, 166, .45); }
.m-brief__ev[data-cls="assumed"] { border-left-color: rgba(244, 201, 93, .7); }
.m-mapline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 9px; border-bottom: 1px solid var(--m-mist); }
.m-mapline__label { flex: 0 0 130px; font-size: 15px; font-weight: 850; letter-spacing: -.015em; color: var(--m-ink); }
.m-mapline__why { flex: 1 1 240px; font-size: 13px; line-height: 1.5; color: var(--m-slate-500); }
.m-statechip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--m-line); background: transparent; color: var(--m-slate-400); font-size: 10.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.m-statechip[data-state="supported"] { background: rgba(110, 231, 216, .3); border-color: rgba(15, 23, 42, .16); color: var(--m-ink); }
.m-statechip[data-state="contributor"] { background: rgba(244, 201, 93, .22); border-color: rgba(15, 23, 42, .16); color: var(--m-ink); }
.m-statechip[data-state="investigate"] { border-color: rgba(15, 23, 42, .16); color: var(--m-ink); }
.m-ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.m-ol li { display: flex; gap: 14px; }
.m-ol__n { flex: 0 0 28px; height: 28px; border-radius: 9px; background: var(--m-ink); color: #fff; font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.m-ol strong { display: block; font-size: 16.5px; font-weight: 850; letter-spacing: -.02em; color: var(--m-ink); }
.m-ol span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--m-slate); }
.m-path { border-radius: 26px; padding: clamp(22px, 3vw, 36px); }
.m-path--primary { position: relative; overflow: hidden; background: linear-gradient(135deg, #07111f, #10243d); box-shadow: 0 24px 60px rgba(7, 17, 31, .18); }
.m-path--primary h4 { margin: 12px 0 8px; font-size: clamp(23px, 2.8vw, 32px); font-weight: 900; letter-spacing: -.034em; color: #fff; }
.m-path--primary p { color: rgba(226, 242, 247, .84); max-width: 52ch; }
.m-path--primary .m-path__why { color: rgba(226, 242, 247, .66); font-size: 14px; }
.m-path--secondary { border: 1px solid var(--m-line); background: #fff; }
.m-path--secondary h4 { margin: 10px 0 8px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 900; letter-spacing: -.03em; color: var(--m-ink); }
.m-path__why { margin: 0 0 20px; font-size: 14px; line-height: 1.55; }
.m-brief__footer { padding: 26px 0 0; border-top: 1px solid var(--m-line); }

/* ---------- link states ---------- */
.m-linkstate { min-height: 70vh; display: flex; align-items: center; padding: clamp(28px, 6vw, 80px) 0; }
.m-linkstate__inner { max-width: 640px; margin: 0 auto; }

/* ---------- context (marketing copy under the entry, hidden in-flow) ---------- */
.m-context { border-top: 1px solid var(--m-line); background: var(--m-mist); padding: 76px 0 86px; }
.m-context__inner { max-width: 1220px; margin: 0 auto; padding: 0 26px; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 900px) { .m-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .m-cards { grid-template-columns: 1fr; } }
.m-card { background: #fff; border: 1px solid var(--m-line); border-radius: 20px; padding: 26px 24px; }
.m-card span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 900; font-size: 14px; color: var(--m-cyan-700); background: rgba(22, 184, 217, .1); border: 1px solid rgba(22, 184, 217, .26); }
.m-card h3 { margin: 16px 0 0; font-size: 19px; font-weight: 850; letter-spacing: -.024em; color: var(--m-ink); }
.m-card p { margin: 9px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--m-slate); }

/* ---------- motion ---------- */
@keyframes m-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }
.m-anim-1 { animation: m-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.m-anim-2 { animation: m-rise .8s .08s cubic-bezier(.2, .7, .2, 1) both; }
.m-anim-3 { animation: m-rise .8s .16s cubic-bezier(.2, .7, .2, 1) both; }
.m-anim-4 { animation: m-rise .8s .24s cubic-bezier(.2, .7, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .m-scope *, .m-scope *::before, .m-scope *::after {
    animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important;
  }
  .m-maprow { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .m-composer { position: static; }
  .m-defrow dt, .m-defrow > span:first-child { flex: 0 0 100%; }
  .m-mapline__label { flex: 0 0 100%; }
}
@media (max-width: 640px) {
  .m-main { padding-bottom: 96px; }
  .m-seq { gap: 2px; }
  .m-seq__item { min-width: 92px; }
  .m-seq__label { font-size: 11.5px; }
  .m-link { flex-direction: column; align-items: stretch; }
  .m-seg { display: grid; grid-template-columns: 1fr 1fr; }
  .m-seg__btn { width: 100%; }
  .m-btn { width: 100%; }
  .m-actions .m-quiet { order: 3; }
  .m-brief__tools .m-minibtn { flex: 1 1 auto; white-space: normal; }
}

/* ---------- print ---------- */
@media print {
  .m-noprint, .m-bar, .m-seq, .m-brief__tools { display: none !important; }
  .m-scope { color: #000; }
  .m-main { padding: 0; }
  .m-brief { max-width: none; }
  .m-path--primary { background: #fff !important; box-shadow: none !important; border: 1px solid #000; }
  .m-path--primary h4, .m-path--primary p, .m-path--primary .m-path__why { color: #000 !important; }
  .m-brief section { break-inside: avoid; }
}
