/* =====================================================================
   MotivationCode.com: the one stylesheet for the whole site.
   Built from MCode Design System 2.0 (Oct 2026). Every page loads this file and nothing else.

   Sections, in order:
     1. Fonts (Schibsted Grotesk, self-hosted)
     2. Tokens (colors, type, spacing, corners, shadows)
     3. Brand components (classes start with mc-)
     4. Site layout (header, sections, hero, report previews, footer)
     5. Site additions (grids, cards, quotes, FAQ, forms, embeds, tables, mobile menu)

   Rules: use tokens for every value. Before adding a class, check CLAUDE.md and this file for
   one that already does the job. New classes go in section 5 with a comment.
   ===================================================================== */

/* ============ 1. Fonts ============ */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ============ 2. Tokens ============ */

:root {
  --color-ink: #121318;
  --color-ink-muted: #4a4e5a;
  --color-ink-subtle: #5f6474;
  --color-ink-inverse: #ffffff;
  --color-surface-100: #ffffff;
  --color-surface-200: #f4f5f7;
  --color-surface-300: #e9ebf0;
  --color-surface-inverse: #121318;
  --color-brand-navy: #001a70;
  --color-brand-navy-strong: #000a46;
  --color-brand-yellow: #ffb500;
  --color-on-navy: #ffffff;
  --color-on-yellow: #121318;
  --color-on-navy-muted: #ffffffd1;
  --color-on-navy-line: #ffffff29;
  --color-border: #dfe2e8;
  --color-border-strong: #7d8394;
  --color-focus: #0073e6;
  --color-success: #4d7300;
  --color-warning: #8a5a00;
  --color-error: #be0050;
  --color-info: #001a70;
  --color-energy-high: #34b46a;
  --color-energy-mid: #f5c518;
  --color-energy-low: #c4313a;
  --color-dim-achiever: #001a70;
  --color-dim-achiever-shade: #000a46;
  --color-dim-achiever-tint: #e5ebf6;
  --color-dim-driver: #5700ff;
  --color-dim-driver-shade: #3909ac;
  --color-dim-driver-tint: #eae6ff;
  --color-dim-influencer: #ffb500;
  --color-dim-influencer-shade: #ff8b00;
  --color-dim-influencer-tint: #fff7e5;
  --color-dim-learner: #00c7bb;
  --color-dim-learner-shade: #07a096;
  --color-dim-learner-tint: #e5f9f8;
  --color-dim-optimizer: #f8485e;
  --color-dim-optimizer-shade: #be0050;
  --color-dim-optimizer-tint: #fde7ef;
  --color-dim-orchestrator: #48a3ff;
  --color-dim-orchestrator-shade: #0073e6;
  --color-dim-orchestrator-tint: #ecf6ff;
  --color-dim-relator: #98c102;
  --color-dim-relator-shade: #669700;
  --color-dim-relator-tint: #f4f9e5;
  --color-dim-visionary: #6b1e96;
  --color-dim-visionary-shade: #44135e;
  --color-dim-visionary-tint: #f0e8f4;
  --font-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-display-family: var(--font-sans);
  --text-display-size: 4.5rem;
  --text-display-line: 4.5rem;
  --text-display-weight: 800;
  --text-display-tracking: -0.03em;
  --text-h1-family: var(--font-sans);
  --text-h1-size: 3.5rem;
  --text-h1-line: 3.625rem;
  --text-h1-weight: 800;
  --text-h1-tracking: -0.03em;
  --text-h2-family: var(--font-sans);
  --text-h2-size: 2.5rem;
  --text-h2-line: 2.75rem;
  --text-h2-weight: 800;
  --text-h2-tracking: -0.025em;
  --text-h3-family: var(--font-sans);
  --text-h3-size: 1.75rem;
  --text-h3-line: 2.125rem;
  --text-h3-weight: 800;
  --text-h3-tracking: -0.02em;
  --text-h4-family: var(--font-sans);
  --text-h4-size: 1.3125rem;
  --text-h4-line: 1.75rem;
  --text-h4-weight: 600;
  --text-h4-tracking: -0.01em;
  --text-body-lg-family: var(--font-sans);
  --text-body-lg-size: 1.25rem;
  --text-body-lg-line: 1.9375rem;
  --text-body-lg-weight: 400;
  --text-body-family: var(--font-sans);
  --text-body-size: 1.0625rem;
  --text-body-line: 1.6875rem;
  --text-body-weight: 400;
  --text-body-sm-family: var(--font-sans);
  --text-body-sm-size: 0.9375rem;
  --text-body-sm-line: 1.4375rem;
  --text-body-sm-weight: 400;
  --text-caption-family: var(--font-sans);
  --text-caption-size: 0.8125rem;
  --text-caption-line: 1.125rem;
  --text-caption-weight: 500;
  --text-overline-family: var(--font-sans);
  --text-overline-size: 0.75rem;
  --text-overline-line: 1rem;
  --text-overline-weight: 600;
  --text-overline-tracking: 0.12em;
  --text-button-family: var(--font-sans);
  --text-button-size: 0.9375rem;
  --text-button-line: 1.25rem;
  --text-button-weight: 600;
  --text-data-family: var(--font-sans);
  --text-data-size: 0.875rem;
  --text-data-line: 1.25rem;
  --text-data-weight: 600;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --radius-xs: 0.125rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.625rem;
  --radius-lg: 1.125rem;
  --radius-full: 62.4375rem;
  --shadow-1: 0 1px 2px rgba(18,19,24,0.06);
  --shadow-2: 0 12px 32px rgba(18,19,24,0.10);
}

/* Type styles */
.text-display {
  font-family: var(--text-display-family);
  font-size: var(--text-display-size);
  font-weight: var(--text-display-weight);
  line-height: var(--text-display-line);
  letter-spacing: var(--text-display-tracking);
}
.text-h1 {
  font-family: var(--text-h1-family);
  font-size: var(--text-h1-size);
  font-weight: var(--text-h1-weight);
  line-height: var(--text-h1-line);
  letter-spacing: var(--text-h1-tracking);
}
.text-h2 {
  font-family: var(--text-h2-family);
  font-size: var(--text-h2-size);
  font-weight: var(--text-h2-weight);
  line-height: var(--text-h2-line);
  letter-spacing: var(--text-h2-tracking);
}
.text-h3 {
  font-family: var(--text-h3-family);
  font-size: var(--text-h3-size);
  font-weight: var(--text-h3-weight);
  line-height: var(--text-h3-line);
  letter-spacing: var(--text-h3-tracking);
}
.text-h4 {
  font-family: var(--text-h4-family);
  font-size: var(--text-h4-size);
  font-weight: var(--text-h4-weight);
  line-height: var(--text-h4-line);
  letter-spacing: var(--text-h4-tracking);
}
.text-body-lg {
  font-family: var(--text-body-lg-family);
  font-size: var(--text-body-lg-size);
  font-weight: var(--text-body-lg-weight);
  line-height: var(--text-body-lg-line);
}
.text-body {
  font-family: var(--text-body-family);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line);
}
.text-body-sm {
  font-family: var(--text-body-sm-family);
  font-size: var(--text-body-sm-size);
  font-weight: var(--text-body-sm-weight);
  line-height: var(--text-body-sm-line);
}
.text-caption {
  font-family: var(--text-caption-family);
  font-size: var(--text-caption-size);
  font-weight: var(--text-caption-weight);
  line-height: var(--text-caption-line);
}
.text-overline {
  font-family: var(--text-overline-family);
  font-size: var(--text-overline-size);
  font-weight: var(--text-overline-weight);
  line-height: var(--text-overline-line);
  letter-spacing: var(--text-overline-tracking);
  text-transform: uppercase;
}
.text-button {
  font-family: var(--text-button-family);
  font-size: var(--text-button-size);
  font-weight: var(--text-button-weight);
  line-height: var(--text-button-line);
}
.text-data {
  font-family: var(--text-data-family);
  font-size: var(--text-data-size);
  font-weight: var(--text-data-weight);
  line-height: var(--text-data-line);
}

/* ============ 3. Brand components ============ */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-surface-100);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Type ---------- */
.mc-display { font: var(--text-display-weight) var(--text-display-size)/var(--text-display-line) var(--font-sans); letter-spacing: var(--text-display-tracking); margin: 0; }
.mc-h1, h1 { font: var(--text-h1-weight) var(--text-h1-size)/var(--text-h1-line) var(--font-sans); letter-spacing: var(--text-h1-tracking); margin: 0 0 var(--space-5); }
.mc-h2, h2 { font: var(--text-h2-weight) var(--text-h2-size)/var(--text-h2-line) var(--font-sans); letter-spacing: var(--text-h2-tracking); margin: 0 0 var(--space-5); }
.mc-h3, h3 { font: var(--text-h3-weight) var(--text-h3-size)/var(--text-h3-line) var(--font-sans); letter-spacing: var(--text-h3-tracking); margin: 0 0 var(--space-3); }
.mc-h4, h4 { font: var(--text-h4-weight) var(--text-h4-size)/var(--text-h4-line) var(--font-sans); letter-spacing: var(--text-h4-tracking); margin: 0 0 var(--space-2); }
.mc-lede { font-size: var(--text-body-lg-size); line-height: var(--text-body-lg-line); color: var(--color-ink-muted); max-width: 680px; }
.mc-small { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); }
.mc-caption { font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: var(--text-caption-weight); color: var(--color-ink-subtle); }
.mc-overline { font-size: var(--text-overline-size); line-height: var(--text-overline-line); font-weight: var(--text-overline-weight); letter-spacing: var(--text-overline-tracking); text-transform: uppercase; color: var(--color-ink-muted); margin: 0 0 var(--space-3); }
.mc-data { font-size: var(--text-data-size); line-height: var(--text-data-line); font-weight: var(--text-data-weight); font-variant-numeric: tabular-nums; }
.mc-accent { color: var(--color-brand-navy); }
p { margin: 0 0 var(--space-5); max-width: 680px; }

@media (max-width: 639px) {
  .mc-display { font-size: 2.75rem; line-height: 2.875rem; }
  .mc-h1, h1 { font-size: 2.375rem; line-height: 2.625rem; }
  .mc-h2, h2 { font-size: 1.875rem; line-height: 2.125rem; }
  .mc-h3, h3 { font-size: 1.4375rem; line-height: 1.75rem; }
}

/* ---------- Links ---------- */
a { color: var(--color-brand-navy); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ---------- Layout ---------- */
.mc-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.mc-section { padding: var(--space-9) 0; }
.mc-section--soft { background: var(--color-surface-200); }
.mc-section--navy { background: var(--color-brand-navy); color: var(--color-on-navy); }
.mc-section--navy .mc-lede, .mc-section--navy .mc-overline { color: var(--color-on-navy-muted); }
.mc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); }
@media (max-width: 1023px) { .mc-grid { grid-template-columns: repeat(8, 1fr); gap: var(--space-5); } .mc-container { padding: 0 var(--space-6); } }
@media (max-width: 639px)  { .mc-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); } .mc-container { padding: 0 var(--space-4); } .mc-section { padding: var(--space-8) 0; } }

/* ---------- Buttons ---------- */
.mc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-5);
  font: var(--text-button-weight) var(--text-button-size)/var(--text-button-line) var(--font-sans);
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.mc-btn:hover { text-decoration: none; }
.mc-btn--primary { background: var(--color-brand-navy); color: var(--color-ink-inverse); }
.mc-btn--primary:hover, .mc-btn--primary:focus-visible { background: var(--color-brand-navy-strong); }
.mc-btn--primary:active { background: var(--color-brand-navy-strong); }
.mc-btn--secondary { background: transparent; color: var(--color-ink); border-color: var(--color-border-strong); }
.mc-btn--secondary:hover { border-color: var(--color-brand-navy); color: var(--color-brand-navy); background: var(--color-dim-achiever-tint); }
.mc-btn--text { padding-left: 0; padding-right: 0; color: var(--color-brand-navy); }
.mc-btn--text::after { content: "\2192"; transition: transform .15s; }
.mc-btn--text:hover::after { transform: translateX(3px); }
.mc-btn--on-navy { background: var(--color-brand-yellow); color: var(--color-on-yellow); }
.mc-btn--on-navy:hover { background: var(--color-ink-inverse); }

/* ---------- Spectrum rule ----------
   Eight equal, butted segments in Dimension order. Only the outer ends are rounded. */
:root {
  --spectrum-bg: linear-gradient(90deg,
    var(--color-dim-achiever) 0 12.5%, var(--color-dim-driver) 12.5% 25%,
    var(--color-dim-influencer) 25% 37.5%, var(--color-dim-learner) 37.5% 50%,
    var(--color-dim-optimizer) 50% 62.5%, var(--color-dim-orchestrator) 62.5% 75%,
    var(--color-dim-relator) 75% 87.5%, var(--color-dim-visionary) 87.5% 100%);
  /* On navy, the Achiever segment switches to its tint so it stays visible. */
  --spectrum-bg-on-navy: linear-gradient(90deg,
    var(--color-dim-achiever-tint) 0 12.5%, var(--color-dim-driver) 12.5% 25%,
    var(--color-dim-influencer) 25% 37.5%, var(--color-dim-learner) 37.5% 50%,
    var(--color-dim-optimizer) 50% 62.5%, var(--color-dim-orchestrator) 62.5% 75%,
    var(--color-dim-relator) 75% 87.5%, var(--color-dim-visionary) 87.5% 100%);
}
.mc-spectrum { display: block; height: 6px; width: 100%; background: var(--spectrum-bg); }
.mc-section--navy .mc-spectrum, .section--navy .mc-spectrum, .mc-spectrum--on-navy { background: var(--spectrum-bg-on-navy); }

/* Spectrum above an eyebrow: add .mc-overline--spectrum to the overline. The rule is exactly as wide
   as the eyebrow text (the trailing letter spacing is trimmed off). */
.mc-overline--spectrum { width: fit-content; }
.mc-overline--spectrum::before { content: ""; display: block; width: calc(100% - 0.12em); height: 5px; margin-bottom: var(--space-3); background: var(--spectrum-bg); }
.mc-section--navy .mc-overline--spectrum::before, .section--navy .mc-overline--spectrum::before, .mc-overline--spectrum.mc-on-navy::before { background: var(--spectrum-bg-on-navy); }

/* ---------- Cards ---------- */
.mc-card { background: var(--color-surface-100); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); box-shadow: var(--shadow-1); }
.mc-card--soft { background: var(--color-surface-200); border-color: transparent; box-shadow: none; }
a.mc-card { display: block; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.mc-card:hover { text-decoration: none; border-color: var(--color-brand-navy); box-shadow: var(--shadow-2); }

/* A real report page shown on the website */
.mc-report-preview { background: var(--color-surface-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; }

/* ---------- Section header ---------- */
.mc-section-head { max-width: 760px; margin-bottom: var(--space-7); }

/* ---------- Quote ---------- */
.mc-quote { margin: 0; max-width: 760px; }
.mc-quote p { font-size: var(--text-h3-size); line-height: var(--text-h3-line); font-weight: 500; letter-spacing: -0.01em; color: var(--color-ink); max-width: none; }
.mc-quote footer { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.mc-quote footer b { color: var(--color-ink); font-weight: 600; }
.mc-avatar { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; }

/* ---------- Form fields ---------- */
.mc-field { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.mc-label { font-size: var(--text-body-sm-size); font-weight: 600; }
.mc-input {
  font: inherit; min-height: 48px; padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-sm);
  background: var(--color-surface-100); color: var(--color-ink);
}
.mc-input:hover { border-color: var(--color-ink-muted); }
.mc-input:focus { outline: 2px solid var(--color-focus); outline-offset: 2px; border-color: var(--color-focus); }
.mc-input[aria-invalid="true"] { border-color: var(--color-error); }
.mc-help { font-size: var(--text-caption-size); color: var(--color-ink-muted); }
.mc-help--error { color: var(--color-error); font-weight: 500; }

/* ---------- Dimension colors as variables ----------
   Put data-dim="learner" on any element to set --dim, --dim-shade, --dim-tint. */
[data-dim="achiever"]     { --dim: var(--color-dim-achiever);     --dim-shade: var(--color-dim-achiever-shade);     --dim-tint: var(--color-dim-achiever-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-achiever) 50%, var(--color-surface-100)); }
[data-dim="driver"]       { --dim: var(--color-dim-driver);       --dim-shade: var(--color-dim-driver-shade);       --dim-tint: var(--color-dim-driver-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-driver) 50%, var(--color-surface-100)); }
[data-dim="influencer"]   { --dim: var(--color-dim-influencer);   --dim-shade: var(--color-dim-influencer-shade);   --dim-tint: var(--color-dim-influencer-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-influencer) 50%, var(--color-surface-100)); }
[data-dim="learner"]      { --dim: var(--color-dim-learner);      --dim-shade: var(--color-dim-learner-shade);      --dim-tint: var(--color-dim-learner-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-learner) 50%, var(--color-surface-100)); }
[data-dim="optimizer"]    { --dim: var(--color-dim-optimizer);    --dim-shade: var(--color-dim-optimizer-shade);    --dim-tint: var(--color-dim-optimizer-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-optimizer) 50%, var(--color-surface-100)); }
[data-dim="orchestrator"] { --dim: var(--color-dim-orchestrator); --dim-shade: var(--color-dim-orchestrator-shade); --dim-tint: var(--color-dim-orchestrator-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-orchestrator) 50%, var(--color-surface-100)); }
[data-dim="relator"]      { --dim: var(--color-dim-relator);      --dim-shade: var(--color-dim-relator-shade);      --dim-tint: var(--color-dim-relator-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-relator) 50%, var(--color-surface-100)); }
[data-dim="visionary"]    { --dim: var(--color-dim-visionary);    --dim-shade: var(--color-dim-visionary-shade);    --dim-tint: var(--color-dim-visionary-tint); --dim-icon-bg: color-mix(in srgb, var(--color-dim-visionary) 50%, var(--color-surface-100)); }

/* ---------- Dimension chip ---------- */
.mc-chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); background: var(--dim-tint, var(--color-surface-200)); color: var(--color-ink); font-size: var(--text-caption-size); font-weight: 600; line-height: 20px; }
.mc-chip::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--dim, var(--color-ink-subtle)); }

/* ---------- Dimension tile (the SVG tiles in icons/dimensions) ---------- */
/* Minimum 96px so the name bar stays readable. Below that, use the compact tile (icons/dimensions/compact/) with the name beside it, or .mc-chip. */
.mc-dim-tile { display: block; width: 96px; height: 96px; border-radius: var(--radius-xs); overflow: hidden; }
.mc-dim-tile--compact { width: 48px; height: 48px; }
.mc-dim-tile--lg { width: 120px; height: 120px; }

/* ---------- Motivation icon ----------
   Inline the SVG from icons/motivations (it uses currentColor) inside the wrap:
   <span class="mc-micon-wrap" data-dim="influencer"><svg class="mc-micon" ...></svg></span> */
.mc-micon-wrap { display: inline-grid; place-items: center; width: 64px; height: 64px; background: var(--dim, var(--color-ink)); color: var(--color-ink-inverse); flex: none; border-radius: var(--radius-xs); }
.mc-micon { display: block; width: 56%; height: 56%; }
.mc-micon-wrap--lg { width: 96px; height: 96px; }
.mc-micon-wrap--sm { width: 40px; height: 40px; }

/* ---------- Motivation card (report Top 5 and website) ----------
   The Motivation icon is the largest element. The Dimension tile is small and supporting. */
.mc-motivation { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-100); }
.mc-motivation__rank { font-variant-numeric: proportional-nums; }
.mc-motivation__name { font: var(--text-h4-weight) var(--text-h4-size)/var(--text-h4-line) var(--font-sans); margin: 0 0 var(--space-1); }
.mc-motivation__desc { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); margin: 0; }
.mc-motivation__dims { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* ---------- Motivational Ranking chart ----------
   Bar color shows energy, like a battery: ranks 1 to 10 energize (green), 11 to 20 are moderate (yellow),
   21 to 32 drain (red). Names only, with no Dimension tags. */
.mc-ranking { display: grid; gap: var(--space-2); }
.mc-ranking__row { display: grid; grid-template-columns: minmax(130px, 38%) 1fr 40px; align-items: center; gap: var(--space-3); font-size: var(--text-body-sm-size); }
.mc-ranking__track { height: 12px; background: var(--color-surface-300); overflow: hidden; border-radius: var(--radius-xs); }
.mc-ranking__bar { display: block; height: 100%; width: var(--value); background: var(--energy); border-radius: var(--radius-xs); }
[data-energy="high"] { --energy: var(--color-energy-high); }
[data-energy="mid"]  { --energy: var(--color-energy-mid); }
[data-energy="low"]  { --energy: var(--color-energy-low); }
.mc-ranking__value { font-size: var(--text-data-size); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Dimension tags ----------
   The smallest Dimension icon (the compact two-letter tile from icons/dimensions/compact/), used beside a
   Motivation name in tight spaces. One or two per Motivation. Not used in the ranking chart. */
.mc-dimtags { display: inline-flex; gap: 3px; }
.mc-dimtag { display: block; width: 22px; height: 22px; flex: none; border-radius: var(--radius-xs); overflow: hidden; }

/* ---------- Dimensions Map ----------
   Laid out like a periodic table, after the original MCode Report chart. Each column is one Dimension:
   its tile on top, then a square per Motivation, strongest first. The top cell is 50% of the Dimension
   color and each cell below is lighter (--mix is set per cell). The rank sits above the Motivation name, both centered, at the same
   size as the Dimension name in the tile above. The name and the rank are both 800. The rank uses the Dimension's darker shade. Text color is chosen per cell for contrast. */
.mc-dimmap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.mc-dimmap__col { display: grid; align-content: start; gap: 6px; min-width: 0; container-type: inline-size; }
.mc-dimmap__tile { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-xs); overflow: hidden; }
.mc-dimmap__cell { border-radius: var(--radius-xs); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6%; text-align: center;
  background: color-mix(in srgb, var(--dim) var(--mix, 50%), var(--color-surface-100)); color: var(--cell-text, var(--color-ink)); overflow: hidden; }
.mc-dimmap__rank { font-size: 13.6cqi; line-height: 1.15; font-weight: 800; color: var(--dim-shade); font-variant-numeric: tabular-nums; }
.mc-dimmap__name { font-size: 13.6cqi; line-height: 1.15; font-weight: 800; overflow-wrap: normal; hyphens: manual; }
@media screen and (max-width: 1023px) { .mc-dimmap { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; } }
@media screen and (max-width: 479px) { .mc-dimmap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Top 5 across the 8 Dimensions bar ----------
   Segment width follows how many of the Top 5 come from each Dimension.
   Dimensions with none show as a thin tint segment. Butted, outer ends rounded. */
.mc-top5bar { display: block; }
.mc-top5bar__label { font-size: var(--text-body-sm-size); font-weight: 600; margin-bottom: var(--space-2); }
.mc-top5bar__bar { display: flex; height: 16px; overflow: hidden; }
.mc-top5bar__seg { flex: var(--n, 0.25); background: var(--dim); }
.mc-top5bar__seg[data-empty] { background: var(--dim-tint); }
.mc-top5bar__keys { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-3); font-size: var(--text-caption-size); color: var(--color-ink-muted); }
.mc-top5bar__key { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.mc-top5bar__key::before { content: ""; width: 8px; height: 8px; background: var(--dim); }
.mc-top5bar__note { margin: var(--space-2) 0 0; font-size: var(--text-caption-size); color: var(--color-ink-subtle); }
.mc-top5bar__key b { color: var(--color-ink); }

/* ---------- Header and footer ---------- */
.mc-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-4) 0; }
.mc-header__logo img { display: block; height: 30px; width: auto; }
.mc-nav { display: flex; gap: var(--space-6); font-size: var(--text-body-sm-size); font-weight: 600; }
.mc-nav a { color: var(--color-ink); }
.mc-nav a:hover { color: var(--color-brand-navy); }
.mc-footer { background: var(--color-brand-navy-strong); color: var(--color-on-navy-muted); padding: var(--space-8) 0 var(--space-6); font-size: var(--text-body-sm-size); }
.mc-footer a { color: var(--color-ink-inverse); }
.mc-footer__legal { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--color-on-navy-line); font-size: var(--text-caption-size); }

/* ============ 4. Site layout ============ */

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
.mc-display { color: var(--color-ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--color-surface-100); border-bottom: 1px solid var(--color-border); }
.site-header .mc-header { min-height: 76px; }
.site-header .mc-header__logo img { height: 28px; }
.site-header__right { display: flex; align-items: center; gap: var(--space-5); }
.site-header .mc-nav { gap: var(--space-6); }
.site-header .mc-nav a[aria-current="page"] { color: var(--color-brand-navy); box-shadow: inset 0 -2px 0 var(--color-brand-navy); padding-bottom: var(--space-1); }
.site-header__signin { font-size: var(--text-body-sm-size); font-weight: 600; color: var(--color-ink); }
.site-header__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-sm); background: var(--color-surface-100); color: var(--color-ink); }
.site-header__menu svg { width: 20px; height: 20px; }
@media (max-width: 1100px) { .site-header .mc-nav { gap: var(--space-5); } }
@media (max-width: 1023px) {
  .site-header .mc-nav, .site-header__signin { display: none; }
  .site-header__menu { display: inline-flex; }
}
@media (max-width: 639px) {
  .site-header .mc-header { min-height: 64px; }
  .site-header .mc-header__logo img { height: 22px; }
  .site-header__demo { display: none; }
}

/* ---------- Icons (Lucide, 1.75 stroke) ---------- */
.lucide { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Section rhythm ---------- */
.section { padding: var(--space-9) 0; }
.section--soft { background: var(--color-surface-200); }
.section--navy { background: var(--color-brand-navy); color: var(--color-on-navy); }
.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .mc-lede { margin-left: auto; margin-right: auto; }
.section-head h2, .section-head h1 { margin-bottom: var(--space-4); }
.section-head .mc-lede { margin-bottom: 0; }
.mc-overline { color: var(--color-ink-muted); }
@media (max-width: 639px) { .section { padding: var(--space-8) 0; } .section-head { margin-bottom: var(--space-6); } }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6); align-items: center; }
.split > .col-5 { grid-column: span 5; }
.split > .col-6 { grid-column: span 6; }
.split > .col-7 { grid-column: span 7; }
.split > .push-1 { grid-column: 7 / span 6; }
@media (max-width: 1023px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .split > .col-5, .split > .col-6, .split > .col-7, .split > .push-1 { grid-column: 1 / -1; }
  .split .order-first-sm { order: -1; }
}

/* ---------- Hero ---------- */
.hero { padding: var(--space-9) 0 var(--space-8); }
.hero .split { align-items: center; }
.hero__copy .mc-display { margin-bottom: var(--space-5); max-width: 9.5em; }
.hero__copy .mc-lede { margin-bottom: var(--space-6); color: var(--color-ink-muted); }
.hero__note { margin-top: var(--space-5); font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.hero__visual { position: relative; padding: 0 0 var(--space-8) var(--space-9); }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); }
.hero__card { position: absolute; left: 0; bottom: 0; width: 372px; }
@media (max-width: 1023px) {
  .hero { padding: var(--space-8) 0 var(--space-8); }
  .hero__visual { padding: 0; }
  .hero__photo { aspect-ratio: 3 / 2; object-position: 50% 20%; }
  .hero__card { position: relative; width: auto; max-width: 380px; margin: calc(var(--space-9) * -1) var(--space-5) 0 var(--space-5); }
}
@media (max-width: 639px) {
  .hero { padding: var(--space-7) 0 var(--space-8); }
  .hero__card { margin: calc(var(--space-8) * -1) var(--space-4) 0 var(--space-4); }
}

/* ---------- A report page shown on the site ---------- */
.rp { background: var(--color-surface-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.rp__bar { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--color-border); font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: var(--text-caption-weight); color: var(--color-ink-subtle); }
.rp__bar b { color: var(--color-ink); font-weight: 600; }
.rp__body { padding: var(--space-5); }
.rp__title { margin: 0;  font: var(--text-h4-weight) var(--text-h4-size)/var(--text-h4-line) var(--font-sans); letter-spacing: var(--text-h4-tracking); margin: 0 0 var(--space-1); }
.rp__sub { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); margin: 0 0 var(--space-5); }
.rp__foot { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-border); font-size: var(--text-caption-size); color: var(--color-ink-subtle); }
@media (max-width: 639px) { .rp__body { padding: var(--space-4); } .rp__bar, .rp__foot { padding-left: var(--space-4); padding-right: var(--space-4); } }

/* Compact Top 5 row: the Motivation icon is the largest element */
.t5 { display: grid; gap: var(--space-2); }
.t5__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.t5__rank { font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 700; color: var(--color-ink-subtle); font-variant-numeric: tabular-nums; }
.t5__name { font-size: var(--text-body-size); line-height: var(--text-body-line); font-weight: 600; margin: 0 0 var(--space-1); letter-spacing: -0.01em; }
.t5 .mc-chip { font-size: var(--text-caption-size); }
.t5__dims { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); }

/* Top 5 across the 8 Dimensions, with a legend that wraps */
.t5bar { margin-top: var(--space-5); }
.t5bar .mc-top5bar__bar { height: 12px; }
.t5bar__legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); font-size: var(--text-caption-size); line-height: var(--text-caption-line); color: var(--color-ink-muted); }
.t5bar__legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.t5bar__legend span::before { content: ""; width: 8px; height: 8px; background: var(--dim); }
.t5bar__legend b { color: var(--color-ink); font-weight: 600; }

/* ---------- Customer strip ---------- */
.customers { padding: var(--space-7) 0 var(--space-8); }
.customers__inner { border-top: 1px solid var(--color-border); padding-top: var(--space-7); display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.customers__label { margin: 0; }
.customers__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); margin: 0; padding: 0; list-style: none; }
.customers__list li { font-size: var(--text-body-lg-size); line-height: var(--text-h4-line); font-weight: 600; letter-spacing: -0.01em; color: var(--color-ink-muted); white-space: nowrap; }
@media (max-width: 1023px) {
  .customers__inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .customers__list { justify-content: flex-start; gap: var(--space-2) var(--space-5); }
  .customers__list li { font-size: var(--text-body-size); }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.step { background: var(--color-surface-100); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.step__visual { background: var(--color-surface-100); border-bottom: 1px solid var(--color-border); padding: var(--space-5); height: 232px; display: flex; flex-direction: column; justify-content: center; }
.step__text { padding: var(--space-5) var(--space-5) var(--space-6); }
.step__num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--color-ink); color: var(--color-ink-inverse); font-size: var(--text-data-size); font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: var(--space-4); }
.step h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); margin: 0; }
@media (max-width: 1023px) { .steps { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) {
  .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .step__visual { height: auto; min-height: 232px; border-bottom: 0; border-right: 1px solid var(--color-border); }
  .step__text { align-self: center; }
}

/* Step 1: story prompt */
.story { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); }
.story__meta { display: flex; justify-content: space-between; font-size: var(--text-caption-size); font-weight: 600; color: var(--color-ink-subtle); margin-bottom: var(--space-2); }
.story__q { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); font-weight: 600; margin: 0 0 var(--space-3); }
.story__lines { display: grid; gap: var(--space-2); }
.story__lines span { height: 8px; border-radius: var(--radius-full); background: var(--color-surface-300); }
.story__lines span:nth-child(2) { width: 86%; }
.story__lines span:nth-child(3) { width: 64%; }
.story__dots { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.story__dots span { flex: 1; height: 4px; border-radius: var(--radius-full); background: var(--color-surface-300); }
.story__dots span:first-child { background: var(--color-ink); }

/* Step 2: a slice of the ranking */
.step .mc-ranking__row { grid-template-columns: minmax(0, 1.6fr) minmax(28px, 1fr) 28px; gap: var(--space-2); font-size: var(--text-caption-size); }
.photo-pair__card .mc-ranking__row { grid-template-columns: minmax(0, 1.7fr) minmax(36px, 1fr) 32px; gap: var(--space-2); }
.mc-ranking__name { line-height: var(--text-caption-line); }
.rp__sub + .mc-ranking { margin-top: 0; }
.rp__note { margin: var(--space-4) 0 0; font-size: var(--text-caption-size); line-height: var(--text-caption-line); color: var(--color-ink-subtle); }
.rp__title + .mc-ranking { margin-top: var(--space-4); }

/* Step 3: Dimension chips */
.chipset { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chipset .mc-chip[data-quiet] { background: var(--color-surface-200); color: var(--color-ink-muted); }
.chipset .mc-chip[data-quiet]::before { background: var(--color-ink-subtle); }

/* ---------- Report showcase ---------- */
.showcase__wide { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.showcase__wide .showcase__copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6); align-items: start; }
.showcase__wide .showcase__copy > div:first-child { grid-column: span 5; }
.showcase__wide .showcase__copy > div:last-child { grid-column: 7 / span 6; }
.showcase__wide .showcase__copy p { margin-bottom: 0; }
@media (max-width: 1023px) { .showcase__wide .showcase__copy { grid-template-columns: 1fr; gap: var(--space-3); } .showcase__wide .showcase__copy > div { grid-column: 1 / -1 !important; } }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-9); }
.showcase__copy h3 { margin-bottom: var(--space-3); }
.showcase__copy p { color: var(--color-ink-muted); }
.showcase__copy .mc-btn--text { margin-top: var(--space-2); }
.checks { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; gap: var(--space-3); }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); font-size: var(--text-body-size); line-height: var(--text-body-line); }
.checks .lucide { margin-top: var(--space-1); color: var(--color-brand-navy); }
.checks b { font-weight: 600; }
.cards-stack { display: grid; gap: var(--space-3); }
.cards-stack .mc-motivation { padding: var(--space-4) var(--space-5); }
@media (max-width: 1023px) { .showcase { gap: var(--space-8); } }
@media (max-width: 639px) {
  .cards-stack .mc-motivation { grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-4); }
  .cards-stack .mc-micon-wrap--lg { width: 72px; height: 72px; }
}

/* ---------- Dimension grid ---------- */
.dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.dim { background: var(--color-surface-100); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.dim .mc-dim-tile { width: 96px; height: 96px; flex: none; }
.dim h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin: 0 0 var(--space-1); }
.dim p { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); margin: 0; }
.dims__foot { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; justify-content: space-between; }
.dims__foot p { margin: 0; color: var(--color-ink-muted); }
@media (max-width: 1023px) { .dims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .dims { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } .dim { flex-direction: row; align-items: flex-start; } }

/* Larger Dimension cards on the 8 Dimensions page */
.dims--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.dims--page .dim { flex-direction: row; align-items: flex-start; gap: var(--space-5); padding: var(--space-6); }
.dims--page .mc-dim-tile { width: 112px; height: 112px; flex: none; }
.dims--page h3 { font-size: var(--text-h3-size); line-height: var(--text-h3-line); letter-spacing: var(--text-h3-tracking); margin-bottom: var(--space-2); }
.dims--page p { font-size: var(--text-body-size); line-height: var(--text-body-line); margin-bottom: var(--space-4); }
.dim__count { font-size: var(--text-caption-size); font-weight: 600; color: var(--color-ink-subtle); margin-bottom: var(--space-3); }
@media (max-width: 1023px) { .dims--page { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) {
  .dims--page .dim { flex-direction: column; padding: var(--space-5); gap: var(--space-4); }
  .dims--page .mc-dim-tile { width: 96px; height: 96px; }
}

/* Motivation chip with its icon (on the Dimension tint, icon in ink) */
.mchips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.mchip { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1); border-radius: var(--radius-full); background: var(--dim-tint); color: var(--color-ink); font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 600; }
.mchip__icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--color-surface-100); }
.mchip__icon .mc-micon { width: 16px; height: 16px; }

/* ---------- Photo with a report piece ---------- */
.photo-pair { position: relative; padding: 0 var(--space-8) var(--space-8) 0; }
.photo-pair__img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.photo-pair__img--tall { aspect-ratio: 4 / 5; }
.photo-pair__img--wide { aspect-ratio: 4 / 3; }
.photo-pair__card { position: absolute; right: 0; bottom: 0; width: 384px; }
@media (max-width: 1023px) {
  .photo-pair { padding: 0; }
  .photo-pair__img--tall, .photo-pair__img--wide { aspect-ratio: 3 / 2; }
  .photo-pair__card { position: relative; width: auto; max-width: 360px; margin: calc(var(--space-8) * -1) var(--space-5) 0 auto; }
}
@media (max-width: 639px) { .photo-pair__card { margin: calc(var(--space-7) * -1) var(--space-4) 0 var(--space-4); max-width: none; } }

/* Single Motivation card used beside a photo */
.mini-card { padding: var(--space-4); }
.mini-card .mc-motivation { border: 0; padding: 0; gap: var(--space-4); }
.mini-card .mc-motivation__name { margin-bottom: var(--space-1); }

/* ---------- Research ---------- */
.research { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6); align-items: start; }
.research__stat { grid-column: span 5; }
.research__points { grid-column: 7 / span 6; display: grid; gap: var(--space-5); }
.stat { font: var(--text-display-weight) var(--text-display-size)/1 var(--font-sans); letter-spacing: var(--text-display-tracking); color: var(--color-brand-navy); font-variant-numeric: tabular-nums; margin: 0 0 var(--space-3); }
.stat-label { font-size: var(--text-body-lg-size); line-height: var(--text-body-lg-line); color: var(--color-ink-muted); max-width: 22em; margin: 0; }
.point { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: 1px solid var(--color-border); }
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point .mc-micon-wrap--sm { width: 40px; height: 40px; }
.point h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin: 0 0 var(--space-1); }
.point p { margin: 0; color: var(--color-ink-muted); }
@media (max-width: 1023px) { .research { grid-template-columns: 1fr; gap: var(--space-7); } .research__stat, .research__points { grid-column: 1 / -1; } }

/* ---------- Closing CTA on navy ---------- */
.cta { text-align: center; }
.cta .mc-overline--spectrum { margin-inline: auto; }
.cta h2 { color: var(--color-on-navy); margin-bottom: var(--space-4); }
.cta .mc-lede { margin: 0 auto var(--space-6); color: var(--color-on-navy-muted); }
.cta .mc-overline { color: var(--color-on-navy-muted); }
.cta .actions { justify-content: center; }
.cta p { margin-left: auto; margin-right: auto; }
.mc-btn--ghost-navy { color: var(--color-on-navy); border-color: var(--color-on-navy-muted); background: transparent; }
.mc-btn--ghost-navy:hover { border-color: var(--color-on-navy); background: var(--color-brand-navy-strong); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-brand-navy-strong); color: var(--color-on-navy-muted); padding: var(--space-9) 0 var(--space-6); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
.site-footer a { color: var(--color-on-navy); }
.site-footer__top { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-6); }
.site-footer__brand img { height: 28px; width: auto; margin-bottom: var(--space-5); }
.site-footer__brand p { max-width: 300px; margin: 0; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.site-footer h4, .site-footer__heading { font-size: var(--text-overline-size); line-height: var(--text-overline-line); font-weight: var(--text-overline-weight); letter-spacing: var(--text-overline-tracking); text-transform: uppercase; color: var(--color-on-navy-muted); margin: 0 0 var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.site-footer__legal { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--color-on-navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); font-size: var(--text-caption-size); line-height: var(--text-caption-line); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--space-5); }
@media (max-width: 1023px) {
  .site-footer__top { grid-template-columns: 1fr; gap: var(--space-7); }
}
@media (max-width: 639px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-6); } }
@media (max-width: 639px) { .site-footer { padding-top: var(--space-8); } }

/* ---------- 8 Dimensions page ---------- */
.page-hero { padding: var(--space-9) 0; }
.page-hero h1 { margin-bottom: var(--space-5); max-width: 11em; }
.page-hero .mc-lede { margin-bottom: var(--space-6); }
.page-hero__photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.fact { border-top: 2px solid var(--color-ink); padding-top: var(--space-5); }
.fact__num { font: 700 var(--text-h2-size)/var(--text-h2-line) var(--font-sans); letter-spacing: var(--text-h2-tracking); font-variant-numeric: tabular-nums; margin: 0 0 var(--space-2); }
.fact h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin: 0 0 var(--space-2); }
.fact p { margin: 0; color: var(--color-ink-muted); }
.fact .fact__num { color: var(--color-ink); }
@media (max-width: 1023px) { .facts { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } }
@media (max-width: 1023px) { .page-hero { padding: var(--space-8) 0; } .page-hero__photo { max-width: 560px; } }
.map-note { margin-top: var(--space-4); }

/* Ranking rows inside report pages: keep every track shrinkable */
.rp .mc-ranking__row { grid-template-columns: minmax(0, 38%) minmax(0, 1fr) 40px; }
@media (max-width: 639px) { .rp .mc-ranking__row, .photo-pair__card .mc-ranking__row { grid-template-columns: minmax(0, 1.6fr) minmax(28px, 1fr) 30px; gap: var(--space-2); font-size: var(--text-caption-size); } }

/* Dimensions Map inside report pages */
/* (the periodic-table map uses the shared mcode.css rules) */
.mc-motivation__name .mc-motivation__rank { font-variant-numeric: proportional-nums; }

/* Dimensions Map on phones: 3 columns keep every tile at 96px or more and names unbroken */
@media (max-width: 479px) { .rp .mc-dimmap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============ 5. Site additions ============ */

/* Skip link for keyboard users */
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--color-ink); color: var(--color-ink-inverse); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: var(--space-3); text-decoration: none; }

/* Mobile menu: the menu button toggles data-open on .site-header (assets/js/site.js) */
.mc-nav__mobile { display: none; }
@media (max-width: 1023px) {
  .site-header[data-open] .mc-nav { display: flex; flex-direction: column; gap: var(--space-4); position: absolute; left: 0; right: 0; top: 100%; padding: var(--space-5) var(--space-6) var(--space-6); background: var(--color-surface-100); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-2); font-size: var(--text-body-size); }
  .site-header[data-open] .mc-nav__mobile { display: block; }
}
@media (max-width: 639px) { .site-header[data-open] .mc-nav { padding-left: var(--space-4); padding-right: var(--space-4); } }

/* Grids: <div class="grid grid--3"> holds cards, quotes or points */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--space-6); }
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid + .actions, .grid + .section-foot { margin-top: var(--space-7); }
@media (max-width: 1023px) { .grid--3, .grid--4 { --cols: 2; } }
@media (max-width: 639px) { .grid { --cols: 1; gap: var(--space-5); } }

/* Card content (the card itself is .mc-card from the brand components) */
.mc-card > :last-child { margin-bottom: 0; }
.mc-card h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin-bottom: var(--space-2); }
.mc-card p, .mc-card li { color: var(--color-ink-muted); }
.mc-card .photo { margin-bottom: var(--space-5); }
.mc-card .mc-overline { margin-bottom: var(--space-2); }
.grid > .mc-card { padding: var(--space-6); }

/* Photos: real people, natural light, 18px corners */
.photo { width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: cover; }
.photo--square { aspect-ratio: 1; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--plain { border-radius: 0; object-fit: contain; }
.media-stack { display: grid; gap: var(--space-5); }

/* Running text in a column: headings, lists and spacing */
.prose > :last-child { margin-bottom: 0; }
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.prose * + h2 { margin-top: var(--space-7); }
.prose * + h3 { margin-top: var(--space-6); }
.prose ul:not(.checks), .prose ol { margin: 0 0 var(--space-5); padding-left: 1.25em; max-width: 680px; }
.prose li { margin-bottom: var(--space-2); }
.prose img { margin: var(--space-6) 0; }
.prose .actions { margin-top: var(--space-6); }
.prose--center { margin-inline: auto; text-align: center; }
.prose--center p, .prose--center .mc-lede { margin-inline: auto; }
.prose--center .actions { justify-content: center; }
.prose--narrow { max-width: 760px; }
.callout { font-size: var(--text-body-lg-size); line-height: var(--text-body-lg-line); font-weight: 600; color: var(--color-ink); }

/* Testimonial card: real quotes only, never invented */
.quote-card { margin: 0; display: flex; flex-direction: column; gap: var(--space-5); justify-content: space-between; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-size: var(--text-body-lg-size); line-height: var(--text-body-lg-line); font-weight: 500; letter-spacing: -0.01em; color: var(--color-ink); margin-bottom: var(--space-3); max-width: none; }
.quote-card figcaption { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); }
.quote-card figcaption b { display: block; color: var(--color-ink); font-weight: 600; }
.quote-card video { width: 100%; border-radius: var(--radius-md); aspect-ratio: 1; object-fit: cover; background: var(--color-surface-300); }

/* FAQ: native details and summary, no script */
.faq { border-top: 1px solid var(--color-border); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--color-border); padding: var(--space-5) 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-5); font: var(--text-h4-weight) var(--text-h4-size)/var(--text-h4-line) var(--font-sans); letter-spacing: var(--text-h4-tracking); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--color-brand-navy); }
.faq details[open] summary::after { content: "\2212"; }
.faq__answer { padding-top: var(--space-3); color: var(--color-ink-muted); }
.faq__answer > :last-child { margin-bottom: 0; }

/* Forms: fields use .mc-field, .mc-label and .mc-input from the brand components */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); max-width: 720px; }
.form .mc-field--full, .form > .actions, .form__note, .form__status { grid-column: 1 / -1; }
.form .mc-input { width: 100%; }
textarea.mc-input { min-height: 144px; resize: vertical; }
select.mc-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-7); }
.mc-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
.mc-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--color-brand-navy); }
.form__note { font-size: var(--text-caption-size); line-height: var(--text-caption-line); color: var(--color-ink-subtle); margin: var(--space-3) 0 0; }
.form__status { margin: var(--space-4) 0 0; font-weight: 600; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-panel { background: var(--color-surface-100); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-6); box-shadow: var(--shadow-1); }
@media (max-width: 639px) { .form { grid-template-columns: minmax(0, 1fr); } .form-panel { padding: var(--space-5); } }

/* Embedded video, calendar or map */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface-300); }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--calendar { aspect-ratio: auto; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface-100); }
.embed--calendar iframe { position: static; height: 1100px; }
video.photo { display: block; background: var(--color-surface-300); }

/* Tables */
.table-wrap { overflow-x: auto; margin-bottom: var(--space-5); }
.table { width: 100%; border-collapse: collapse; font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); }
.table th { font-weight: 600; background: var(--color-surface-200); }

/* Page hero variants */
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .mc-lede, .page-hero--center p { margin-inline: auto; }
.page-hero--center .actions { justify-content: center; }
.page-hero--center .mc-overline--spectrum, .section-head--center .mc-overline--spectrum { margin-inline: auto; }
.page-hero__tile { margin-bottom: var(--space-6); }
.page-hero .prose p:not(.mc-lede) { color: var(--color-ink-muted); }

/* Split layouts: keep top-aligned when one side is long */
.split--top { align-items: start; }

/* Section footer row (a closing line and buttons under a grid) */
.section-foot { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; justify-content: space-between; }
.section-foot p { margin: 0; color: var(--color-ink-muted); }

/* Imported book covers and product shots that shouldn't be cropped */
.product-shot { width: 100%; height: auto; border-radius: var(--radius-md); }

/* Test-site notice on the 404 page */
.notice { border-left: 4px solid var(--color-brand-yellow); background: var(--color-dim-influencer-tint); padding: var(--space-4) var(--space-5); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; max-width: 680px; }

/* Spacing between blocks inside a section */
.section-close { margin-top: var(--space-7); }
.section-close h3 { font-size: var(--text-h3-size); }
.grid + .grid, .split + .split, .grid + .split, .split + .grid { margin-top: var(--space-8); }
.section-head p:not(.mc-lede) { color: var(--color-ink-muted); }
.section-head .mc-lede + p { margin-top: var(--space-4); }
.media-stack .rp, .media-stack .quote-card { width: 100%; }
.mc-card .form, .grid .form { grid-template-columns: minmax(0, 1fr); }

/* A picture on its own in a section: keep it a readable size */
.media-stack--single { max-width: 720px; margin-inline: auto; }
.media-stack--single .photo { max-height: 640px; }

/* Dimension page hero card: tile, count and the Dimension's Motivations */
.dim-hero { padding: var(--space-6); display: grid; gap: var(--space-4); justify-items: start; }
.dim-hero .dim__count { margin: var(--space-2) 0 0; }

/* ============ Review round 1 (Oct 24, 2026) ============ */

/* Large headings are navy (Shawn, Oct 24, 2026). Smaller headings stay ink. White on navy sections. */
.mc-display, h1, .mc-h1, h2, .mc-h2 { color: var(--color-brand-navy); }
.section--navy h1, .section--navy h2, .mc-section--navy h1, .mc-section--navy h2, .cta h2 { color: var(--color-on-navy); }
.rp h2, .rp h3 { color: var(--color-ink); }

/* Ranking chart break: two parallel diagonal lines where ranks are skipped */

/* Report previews sit beside or below photos, never on top of them */
.hero__visual { position: static; padding: 0; display: grid; gap: var(--space-5); }
.hero__photo { aspect-ratio: 3 / 2; object-position: 50% 30%; }
.hero__card { position: static; width: auto; margin: 0; }
.photo-pair { position: static; padding: 0; display: grid; gap: var(--space-5); }
.photo-pair__img--tall, .photo-pair__img--wide { aspect-ratio: 3 / 2; }
.photo-pair__card { position: static; width: auto; max-width: none; margin: 0; }
@media (max-width: 1023px) { .hero__card, .photo-pair__card { margin: 0; max-width: none; } }

/* Text beside a picture: text takes 5 columns and an empty column separates it from the picture */
.split > .push-2 { grid-column: 8 / span 5; }
@media (max-width: 1023px) { .split > .push-2 { grid-column: 1 / -1; } }

/* Testimonial with a portrait: the photo stays portrait-sized beside the quote */
.quote-card--portrait { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.quote-card__portrait { width: 168px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
.quote-card--portrait > div { display: flex; flex-direction: column; gap: var(--space-4); }
@media (max-width: 639px) { .quote-card--portrait { grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); } .quote-card__portrait { width: 96px; } }

/* A picture on its own stays a moderate size */
.media-stack--single { max-width: 560px; }

/* Feature cards built from a run of subheadings */
.feature-grid .mc-card h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); }

/* Breathing room between blocks (review round 1) */
.mc-container:not(.split) > * + :is(.grid, .split, .faq, .form-panel, .media-stack, figure, .rp, .dims, .steps, .facts, .table-wrap),
.mc-container:not(.split) > :is(.grid, .split, .faq, .form-panel, .media-stack, figure, .rp, .table-wrap) + * { margin-top: var(--space-7); }
.mc-container:not(.split) > .section-head + * { margin-top: 0; }
.prose > * + :is(img, figure, .grid, .split, .media-stack, .rp, video, .embed, .form, .form-panel, .table-wrap),
.prose > :is(img, figure, .grid, .split, .media-stack, .rp, video, .embed, .form, .form-panel, .table-wrap) + * { margin-top: var(--space-6); }
.mc-card > * + :is(img, figure, .rp, .checks, ul, ol, .actions) { margin-top: var(--space-4); }
:is(h2, h3, h4) + .checks { margin-top: var(--space-4); }
.quote-card + *, * + .quote-card { margin-top: var(--space-6); }
.media-stack > * + * { margin-top: 0; }
.media-stack .photo { max-height: 560px; }

/* Pictures inside running text stay a moderate size */
.prose .photo, .prose .product-shot, .mc-container:not(.split) > .photo, .mc-container:not(.split) > .product-shot { max-width: 560px; display: block; }
.prose--center .photo, .prose--center .product-shot { margin-inline: auto; }

/* Extra room between a 6-column text block and the picture beside it */

/* Long checklists run in two columns on wide screens */
.checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
@media (max-width: 639px) { .checks--cols { grid-template-columns: minmax(0, 1fr); } }

/* The Dimensions Map adapts to the width of the card it sits in */
.rp { container-type: inline-size; }
@container (max-width: 760px) { .mc-dimmap { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 12px; } }
@container (max-width: 420px) { .mc-dimmap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.mc-card > :is(img, .mc-dim-tile, figure, .rp, .photo) + * { margin-top: var(--space-4); }
.mc-container:not(.split) > :is(img, .photo, .product-shot) + * { margin-top: var(--space-6); }

/* ============ Review round 2 (Oct 24, 2026) ============ */

/* Headlines wrap evenly, with no single word left on a line */
h1, h2, .mc-display { text-wrap: balance; }
.mc-lede { text-wrap: pretty; }

/* The hero picture keeps a calm 5:4 shape */
.page-hero .page-hero__photo { aspect-ratio: 5 / 4; max-height: 520px; }
.page-hero .media-stack .rp { width: 100%; }
.page-hero .product-shot { max-height: 520px; object-fit: contain; }

/* Testimonials: left-aligned, readable line length, portrait above the quote when space is tight */
.quote-card { text-align: left; max-width: 880px; }
.quote-card blockquote p { max-width: 68ch; }
.prose--center .quote-card, .section-close .quote-card { margin-inline: auto; }
.grid .quote-card--portrait, .media-stack .quote-card--portrait { grid-template-columns: minmax(0, 1fr); }
.grid .quote-card__portrait, .media-stack .quote-card__portrait { width: 120px; }
@media (max-width: 639px) {
  .quote-card--portrait { grid-template-columns: minmax(0, 1fr); }
  .quote-card__portrait { width: 96px; }
}
.quote-card figcaption span { display: grid; gap: var(--space-1); }

/* On tablets and phones, text comes before its picture */
@media (max-width: 1023px) { .split > .col-6.media-stack { order: 2; } }

/* Cards hold their buttons at the bottom so rows line up */
.mc-card { display: flex; flex-direction: column; }
.mc-card > .actions:last-child, .mc-card > a.mc-btn:last-child { margin-top: auto; padding-top: var(--space-4); }
.mc-card > * { max-width: 100%; }
.grid > .media-stack, .grid > .rp { align-self: start; }
.actions + p, .actions + .form__note { margin-top: var(--space-4); }

/* Reading columns sit in the center of the page, with lists and headings to match */
.mc-container > .prose--narrow, .page-hero .mc-container > .prose--narrow { margin-inline: auto; }
.prose--narrow { max-width: 760px; }
.prose .checks, .prose ul, .prose ol { max-width: 680px; }
.prose--narrow > h2:not(:first-child) { margin-top: var(--space-8); }
.prose--narrow > h3:not(:first-child) { margin-top: var(--space-7); }
.prose--center .checks { text-align: left; margin-inline: auto; }

/* Embedded video stays a comfortable size */
.embed--video { max-width: 984px; margin-inline: auto; }

/* Forms on their own sit centered at a readable width */
.mc-container:not(.split) > .form-panel, .prose > .form-panel { max-width: 760px; margin-inline: auto; }

/* Customer names inside a section */
.customers--strip { padding: 0; }
.customers--strip .customers__inner { border-top: 0; padding-top: 0; }

/* Photo grids keep two across on phones so faces stay small */
@media (max-width: 639px) { .grid--4:has(> .media-stack) { --cols: 2; } }

/* Home: the step visuals size to their content */
.step__visual { height: auto; min-height: 232px; }

/* A report piece on its own in a section (not the Dimensions Map) stays a readable width */
.mc-container:not(.split) > .rp:not(:has(.mc-dimmap)) { max-width: 720px; margin-inline: auto; }

/* ---------- Review round 3 ---------- */
.mc-container:not(.split) > * + * { margin-top: var(--space-7); }
.mc-container:not(.split) > .section-head + * { margin-top: 0; }
.rp + .rp { margin-top: var(--space-7); }
.media-stack > .embed, .embed--video { width: 100%; }
.mc-overline--spectrum { min-width: 96px; }
.section-close { margin-inline: 0; }
.prose--center .section-close, .section-close.prose--center { margin-inline: auto; }
.quote-card--portrait { align-content: start; }
.quote-card--portrait figcaption { margin-top: auto; }
.grid--flex { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6); }
.grid--flex > * { flex: 0 0 calc((100% - 2 * var(--space-6)) / 3); min-width: 0; }
@media (max-width: 1023px) { .grid--flex > * { flex-basis: calc((100% - var(--space-6)) / 2); } }
@media (max-width: 639px) { .grid--flex > * { flex-basis: 100%; } }
.photo-grid .photo, .photo-grid img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.embed--calendar { min-height: 720px; }
.split--top { align-items: start; }

/* ---------- Review round 4 ---------- */
/* Quote cards: the quote sits right under the portrait; cards never stretch to fill a row */
.quote-card { justify-content: flex-start; }
.quote-card--portrait figcaption { margin-top: 0; }
.split .quote-card, .media-stack .quote-card { align-self: start; }
.grid > .quote-card, .grid > * + .quote-card { margin-top: 0; }
.grid .quote-card__portrait, .media-stack .quote-card__portrait { width: 168px; }
@media (max-width: 639px) { .grid .quote-card__portrait, .media-stack .quote-card__portrait { width: 96px; } }
.mc-container > .quote-card, .media-stack--single > .quote-card { margin-inline: auto; }
/* A heading that opens a sub-group never touches the line above it */
.section-head .mc-lede + h3, .prose p + h3, .prose ul + h3, .prose .mc-lede + h3 { margin-top: var(--space-7); }
.prose .mc-overline + h2, .prose .mc-overline + h3 { margin-top: var(--space-2); }
/* Closing lines under a grid start on the grid's left edge */
.mc-container > .section-close, .mc-container > .prose.section-close { margin-inline: 0; max-width: 720px; }
/* Phone: stacked buttons share one width */
@media (max-width: 639px) { .actions .mc-btn { width: 100%; justify-content: center; } }
/* Product shots and book covers stay a readable size */
.mc-card > img.product-shot, .media-stack > .product-shot { max-height: 520px; width: auto; max-width: 100%; margin-inline: auto; display: block; }
.grid--4 .mc-card > img.photo { aspect-ratio: auto; }
.prose .product-shot, .split .product-shot { max-height: 480px; width: auto; max-width: 100%; }

/* ---------- Dimension pages ---------- */
.sub-head { margin-top: var(--space-8); margin-bottom: var(--space-5); }
.notable { margin: 0; }
.notable .photo { aspect-ratio: 1; width: 100%; object-fit: cover; object-position: center 25%; }
.notable figcaption { margin-top: var(--space-3); font-weight: 600; color: var(--color-ink); }
.notable-credits { margin-top: var(--space-6); max-width: 880px; }
.book-cover { max-height: 440px; width: auto; max-width: 100%; box-shadow: var(--shadow-2); border-radius: var(--radius-sm); }
.split > .push-2:has(> .book-cover) { display: flex; justify-content: center; }
@media (max-width: 639px) { .notable-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pilot-card { padding: var(--space-6); display: grid; gap: var(--space-5); }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin: 0; }
.glance dt { font-size: var(--text-h3-size, 1.75rem); line-height: 1.1; font-weight: 700; color: var(--color-brand-navy); }
.glance dd { margin: var(--space-1) 0 0; color: var(--color-ink-muted); font-size: var(--text-body-sm-size); }
.section-note { margin-top: var(--space-6); color: var(--color-ink-muted); }
/* Pricing plans */
.plan { padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); }
.plan__price { font-size: 3rem; line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: var(--color-brand-navy); margin: 0; }
.plan__line { font-weight: 600; color: var(--color-ink); margin: 0; }
.plan .checks { margin: var(--space-3) 0 var(--space-4); }
.plan > .actions { margin-top: auto; }
.plan--featured { border-color: var(--color-brand-navy); box-shadow: var(--shadow-2); }
.split > .col-4 { grid-column: span 4; }
.split > .col-8 { grid-column: 5 / span 8; }
@media (max-width: 1023px) { .split > .col-4, .split > .col-8 { grid-column: 1 / -1; } }
.mc-card .plan__price, .mc-card .glance dt { color: var(--color-brand-navy); }
/* Dimension pages, round 2 */
.section .mc-container > .quote-card { margin-inline: 0; }
.trait h3 { font-size: var(--text-h4-size, 1.3125rem); line-height: 1.33; font-weight: 600; }
.prose .mc-lede { text-wrap: pretty; }
.notable .photo { filter: grayscale(1); }
.book-cover { box-shadow: none; }
@media (max-width: 639px) { .quote-card blockquote p { font-size: var(--text-body-size); line-height: var(--text-body-line); } }
/* Designed pages, round 2 */
.section-actions { margin-top: var(--space-7); }
.mc-card > .mc-icon:first-child, .mc-card > svg:first-child { margin-bottom: var(--space-2); }
h3 a, h4 a { color: inherit; text-decoration: none; }
h3 a:hover, h4 a:hover, h3 a:focus-visible, h4 a:focus-visible { color: var(--color-brand-navy); text-decoration: underline; text-underline-offset: 3px; }
.split > .cal-col { grid-column: 6 / span 7; }
@media (max-width: 1023px) { .split > .cal-col { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .demo-side { position: sticky; top: 96px; align-self: start; } }
.mini-quote { padding: var(--space-5); margin-top: var(--space-6); }
.mini-quote blockquote p { font-size: var(--text-body-size); line-height: var(--text-body-line); }
.prose h4 { margin-top: var(--space-6); }
/* Report cards never touch each other */
figure.rp { margin: 0; }
figure.rp + figure.rp, .rp + .rp { margin-top: var(--space-7); }
.grid--flex { justify-content: flex-start; }
/* Comparison articles */
.tile-pair { display: flex; gap: var(--space-5); align-items: center; margin: var(--space-5) 0 var(--space-6); }
.tile-pair__vs { font-weight: 700; color: var(--color-ink-muted); }
/* Cycle 4 shared fixes */
.section--navy a:not(.mc-btn) { color: var(--color-on-navy); text-decoration: underline; text-underline-offset: 3px; }
.grid--4 .mc-card > img.photo:not([src*="cover"]), .grid--3 .mc-card > img.photo:not([src*="cover"]) { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.fact .fact__num { margin-bottom: var(--space-3); }
.post-card { position: relative; transition: box-shadow .15s ease; }
.post-card:hover { box-shadow: var(--shadow-2); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 a { color: var(--color-brand-navy); }
.post-card__more { margin-top: auto; font-weight: 600; font-size: var(--text-body-sm-size); color: var(--color-brand-navy); text-decoration: none; }

.post-card--featured { padding-bottom: var(--space-6); }
.quote-card { align-self: start; }

/* Cycle 5 fixes */
.page-hero + .section:not(.section--soft):not(.section--navy) { padding-top: 0; }
.prose--narrow > .mc-overline:not(:first-child) { margin-top: var(--space-8); }
.prose--narrow > .mc-overline + h2, .prose--narrow > .mc-overline + h3 { margin-top: var(--space-2); }
.page-hero .split { align-items: center; }
.dim-hero { align-self: center; padding: var(--space-6); }
.understand-photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
@media (min-width: 640px) { .mc-container > .quote-card--portrait { grid-template-columns: 168px minmax(0, 1fr); align-items: start; } }
.section:not(.section--soft):not(.section--navy):not(.page-hero) + .section:not(.section--soft):not(.section--navy) { padding-top: 0; }
/* Customer logos */
.customers__list { align-items: center; justify-content: center; gap: var(--space-6) var(--space-8); }
.customers__list li { line-height: 0; }
.customers__list img { height: 36px; width: auto; max-width: 140px; object-fit: contain; opacity: .75; }
.customers__label { text-align: center; }
@media (max-width: 639px) { .customers__list { gap: var(--space-5) var(--space-6); } .customers__list img { height: 28px; max-width: 110px; } }

/* ---------- Report pieces, Oct 24 direction ---------- */
.mc-ranking__row[data-group] { margin-top: var(--space-3); }
.mc-ranking--full { gap: 3px; }
.mc-ranking--full .mc-ranking__row { font-size: 12px; line-height: 1.2; gap: var(--space-2); grid-template-columns: minmax(0, 40%) minmax(0, 1fr) 30px; }
.mc-ranking--full .mc-ranking__track { height: 8px; }
.mc-ranking--full .mc-ranking__value { font-size: 11px; }
.mc-ranking__row[data-mark] .mc-ranking__name { font-weight: 700; color: var(--color-ink); }
.mc-ranking__row[data-mark] .mc-ranking__name::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--dim); vertical-align: 1px; }
.mc-ranking:has([data-mark]) .mc-ranking__row:not([data-mark]) { opacity: .55; }
.mc-dimmap--sm, .rp .mc-dimmap--sm { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; gap: 3px; }
.mc-dimmap--sm .mc-dimmap__col { gap: 3px; }
.mc-dimmap--sm .mc-dimmap__cell { padding: 4%; gap: 1px; }
.mc-dimmap--sm .mc-dimmap__rank, .mc-dimmap--sm .mc-dimmap__name { font-size: 12.5cqi; }
@media (max-width: 639px) { .mc-ranking--full .mc-ranking__row { font-size: 11px; } }

/* ---------- Testimonial cards, Oct 24 direction ----------
   Quote first. A small round photo sits under it, beside the name and title. */
.quote-card.quote-card--portrait,
.grid .quote-card.quote-card--portrait,
.media-stack .quote-card.quote-card--portrait,
.mc-container > .quote-card.quote-card--portrait {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "quote quote" "photo cite";
  column-gap: var(--space-4); row-gap: var(--space-5); align-items: center; align-content: start;
}
.quote-card.quote-card--portrait > div { display: contents; }
.quote-card.quote-card--portrait blockquote { grid-area: quote; }
.quote-card.quote-card--portrait .quote-card__portrait,
.grid .quote-card.quote-card--portrait .quote-card__portrait,
.media-stack .quote-card.quote-card--portrait .quote-card__portrait {
  grid-area: photo; width: 56px; height: 56px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 25%;
}
.quote-card.quote-card--portrait figcaption { grid-area: cite; margin: 0; }
@media (max-width: 639px) {
  .quote-card.quote-card--portrait, .grid .quote-card.quote-card--portrait, .mc-container > .quote-card.quote-card--portrait { grid-template-columns: 48px minmax(0, 1fr); }
  .quote-card.quote-card--portrait .quote-card__portrait { width: 48px; height: 48px; }
}

/* ---------- Report piece over photo, Oct 24 direction ----------
   The card overlaps one corner and sits mostly outside the photo, so the people stay in view. */
.hero__visual { position: relative; display: block; padding: 0 0 var(--space-8) var(--space-8); }
.hero__photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 60% 35%; border-radius: var(--radius-lg); display: block; }
.hero__card { position: absolute; left: 0; bottom: 0; width: min(300px, 56%); margin: 0; }
.photo-pair { position: relative; display: block; padding: 0 var(--space-8) var(--space-8) 0; }
.photo-pair__img--tall, .photo-pair__img--wide { aspect-ratio: 5 / 4; object-position: 40% 35%; }
.photo-pair__card { position: absolute; right: 0; bottom: 0; width: min(300px, 56%); margin: 0; max-width: none; }
.hero__card .rp, .photo-pair__card .rp { box-shadow: var(--shadow-2); }
.hero__card .rp__body, .photo-pair__card .rp__body { padding: var(--space-4); }
@media (max-width: 1023px) {
  .hero__visual { padding: 0 0 0 0; max-width: 560px; }
  .hero__card { position: relative; width: auto; max-width: 300px; margin: calc(var(--space-8) * -1) 0 0 var(--space-5); }
  .photo-pair { padding: 0; max-width: 560px; }
  .photo-pair__card { position: relative; width: auto; max-width: 300px; margin: calc(var(--space-8) * -1) var(--space-5) 0 auto; }
}
.event-notice { padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
/* Video testimonials */
.video-grid { align-items: start; }
.video-card { margin: 0; display: grid; gap: var(--space-3); }
.video-card video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); background: var(--color-surface-300); display: block; }
.video-card figcaption { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); }
.video-card figcaption b { display: block; color: var(--color-ink); font-weight: 600; }
@media (max-width: 1023px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Overlap cards, compact: they hang into the empty column and below the photo, covering about a fifth of it */
@media (min-width: 1024px) {
  .hero__visual { padding: 0 0 var(--space-7) 0; }
  .hero__photo { aspect-ratio: 5 / 4; object-position: 65% 40%; }
  .hero__card { left: calc(var(--space-8) * -1); bottom: 0; width: 264px; }
  .photo-pair { padding: 0 0 var(--space-7) 0; }
  .photo-pair__card { right: calc(var(--space-8) * -1); bottom: 0; width: 264px; }
}
.hero__card .t5__dims, .photo-pair__card .t5__dims { display: none; }
.hero__card .t5__row, .photo-pair__card .t5__row { padding: var(--space-2); gap: var(--space-3); align-items: center; }
.hero__card .mc-micon-wrap, .photo-pair__card .mc-micon-wrap { width: 36px; height: 36px; }
.hero__card .t5__name, .photo-pair__card .t5__name { font-size: var(--text-body-sm-size); margin: 0; }
.hero__card .rp__title, .photo-pair__card .rp__title { font-size: var(--text-body-size); }
.hero__card .rp__sub, .photo-pair__card .rp__sub { display: none; }
@media (min-width: 1024px) { .push-1 > .photo-pair .photo-pair__card, .push-2 > .photo-pair .photo-pair__card { right: auto; left: calc(var(--space-8) * -1); } }
/* Cycle 7 polish */
.hero__visual { padding-bottom: var(--space-9); }
@media (max-width: 1023px) { .hero__visual { padding-bottom: 0; } }
h3 { text-wrap: balance; }
.photo-pair__img { object-position: 45% 40%; }
.photo-pair__card .mc-ranking__row, .hero__card .mc-ranking__row { grid-template-columns: 120px minmax(0, 1fr) 28px; gap: var(--space-2); }
.fact h3 { margin-top: var(--space-4); }
.quotes-after { margin-top: var(--space-7); }
@media (max-width: 639px) {
  .customers__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: var(--space-5) var(--space-4); }
  .customers__list img { height: 28px; }
}
.mini-quote.quote-card--portrait { grid-template-columns: 44px minmax(0, 1fr); }
.mini-quote.quote-card--portrait .quote-card__portrait { width: 44px; height: 44px; }

/* Every h1, h2 and h3 is weight 800 (Shawn, Oct 25 2026). */
:is(h1, h2, h3) { font-weight: 800 !important; }

/* Buttons (Shawn, Oct 25 2026): never underlined, every change eases in and out over 250ms,
   a 1% grow on hover, and an icon that says what the button does (added by lib/button_icons.py). */
:is(.mc-btn, .btn), :is(.mc-btn, .btn):hover, :is(.mc-btn, .btn):focus-visible { text-decoration: none !important; }
:is(.mc-btn, .btn) { transition: transform 250ms ease-in-out, background-color 250ms ease-in-out, color 250ms ease-in-out, border-color 250ms ease-in-out, box-shadow 250ms ease-in-out; }
:is(.mc-btn, .btn):hover, :is(.mc-btn, .btn):focus-visible { transform: scale(1.01); }
.mc-btn--text::after { transition: transform 250ms ease-in-out; }
.btn-icon { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { :is(.mc-btn, .btn) { transition: none; } :is(.mc-btn, .btn):hover, :is(.mc-btn, .btn):focus-visible { transform: none; } }

/* Partial Top 5 rows (fewer than 5): name plus its "Motivated to ..." line */
.t5__desc { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); margin: 0; }
.hero__card .t5__desc, .photo-pair__card .t5__desc { font-size: var(--text-caption-size); line-height: var(--text-caption-line); }


/* Step 2 wireframe: a satisfaction (Likert) scale */
.likert { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); }
.likert .story__lines { margin-bottom: var(--space-4); }
.likert__scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.likert__scale span { height: 28px; border-radius: var(--radius-sm); border: 1px solid var(--color-border-strong); background: var(--color-surface-100); }
.likert__scale span[data-on] { background: var(--color-ink); border-color: var(--color-ink); }
.likert__ends { display: flex; justify-content: space-between; margin-top: var(--space-2); font-size: var(--text-caption-size); color: var(--color-ink-subtle); }

/* A team as Dimension tiles, one per person */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.team__tile { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-xs); }

/* Customer strip label centered (Shawn, Oct 25 2026) */
.customers__label { text-align: center; }

/* Report section: the copy and the ranking chart share one soft panel */
.report-panel { background: var(--color-surface-200); border-radius: var(--radius-lg, 18px); padding: var(--space-8) var(--space-7); }
@media (max-width: 767px) { .report-panel { padding: var(--space-6) var(--space-4); } }

/* Eyebrows: heavier and darker so they read (Shawn, Oct 25 2026) */
.mc-overline { font-size: 13px; font-weight: 700; color: var(--color-ink); }
.section--navy .mc-overline, .mc-section--navy .mc-overline { color: var(--color-on-navy); }

/* Header: keep nav labels and the button on one line now the button reads "Take the assessment" */
.site-header .mc-nav a, .site-header__signin, .site-header__demo { white-space: nowrap; }
.site-header .mc-nav { gap: var(--space-5); }
@media (max-width: 1240px) { .site-header .mc-nav { gap: var(--space-4); } .site-header__right { gap: var(--space-4); } }

/* Ranking bars inside a step card stay compact, so all three step visuals are the same height */
.step__visual .mc-ranking { gap: var(--space-1); }
.step__visual .mc-ranking__row { min-height: 22px; }
.step__visual .mc-ranking__row[data-group] { margin-top: var(--space-2); }

/* "Trusted by teams at": the label spans the full row so it centers on the page */
.customers__label { max-width: none; width: 100%; text-align: center; }

/* Report pieces drawn as printed pages, slightly turned and overlapping (homepage report section) */
.rpages { display: flex; justify-content: center; align-items: flex-start; padding: var(--space-5) 0 var(--space-7); }
.rpage { margin: 0; width: min(440px, 48%); aspect-ratio: 8.5 / 11; background: var(--color-surface-100); border: 1px solid var(--color-border); border-radius: var(--radius-xs); box-shadow: var(--shadow-2); padding: var(--space-6) var(--space-5); overflow: hidden; display: flex; flex-direction: column; gap: var(--space-2); }
.rpage + .rpage { margin-left: -6%; margin-top: var(--space-7); }
.rpage--left { transform: rotate(-2.5deg); }
.rpage--right { transform: rotate(2deg); }
.rpage__brand { font-weight: 800; font-size: 13px; color: var(--color-brand-navy); letter-spacing: -0.01em; }
.rpage__title { font-size: 20px; line-height: 1.2; margin: var(--space-2) 0 0; color: var(--color-ink); }
.rpage__sub { font-size: var(--text-caption-size); color: var(--color-ink-muted); margin: 0 0 var(--space-2); }
.rpage .mc-ranking--full { gap: 2px; }
.rpage .mc-ranking--full .mc-ranking__row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 26px; font-size: 9.5px; line-height: 1.2; gap: var(--space-2); min-height: 0; }
.rpage .mc-ranking--full .mc-ranking__track { height: 6px; }
.rpage .mc-ranking--full .mc-ranking__value { font-size: 9.5px; }
.rpage .mc-dimmap { margin-top: var(--space-2); }
.report-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); margin-top: var(--space-6); }
@media (max-width: 1023px) { .report-copy { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
@media (max-width: 639px) {
  .rpages { flex-direction: column; align-items: center; }
  .rpage { width: 100%; }
  .rpage + .rpage { margin: calc(var(--space-6) * -1) 0 0; }
}

/* A short all-green ranking; as a wireframe card it has even spacing and no scores */
.mc-ranking--list { gap: var(--space-3); }
.mc-ranking--list .mc-ranking__row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 32px; }
.rank-wire { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); }
.rank-wire .mc-ranking--list .mc-ranking__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); font-size: var(--text-caption-size); color: var(--color-ink-muted); }

/* A wider single Motivation card where it sits over a photo */
.photo-pair__card--wide { width: 340px !important; }
@media (max-width: 1023px) { .photo-pair__card--wide { width: auto !important; } }
.rpage .mc-ranking--full { gap: 1px; }
.rpage .mc-ranking--full .mc-ranking__row { height: 13px; min-height: 0; padding: 0; font-size: 9px; line-height: 13px; }
.rpage .mc-ranking--full .mc-ranking__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpage { padding: var(--space-5) var(--space-5); }
.rpage .mc-ranking--full { gap: 0; }
.rpage .mc-ranking--full .mc-ranking__row { height: 12px; line-height: 12px; font-size: 8.5px; }
.rpage .mc-ranking--full .mc-ranking__track { height: 5px; }
@media (max-width: 639px) { .rpage { aspect-ratio: auto; } }
.rpages .rpage .mc-ranking--full .mc-ranking__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 22px; gap: 6px; }
.rpages .rpage .mc-ranking--full .mc-ranking__value { display: block; font-size: 8.5px; text-align: right; }
.rpage + .rpage { margin-left: -2%; }

/* ============ 6. Directory (Oct 26, 2026) ============ */
/* The Certified MCode Coach Directory: [[coach-directory]], filtered by site.js */
.dir { display: block; }
.coach__level--certified { color: var(--color-ink-muted); }
.dir__bar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-4); }
.dir__search { position: relative; display: block; }
.dir__search .lucide { position: absolute; left: var(--space-4); top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--color-ink-subtle); pointer-events: none; }
.dir__search .mc-input { width: 100%; padding-left: calc(var(--space-4) + 28px); }
.dir__select .mc-input { width: 100%; }
.dir__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.dir__chip { font: 600 var(--text-caption-size)/20px var(--font-sans); padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface-100); color: var(--color-ink); cursor: pointer; transition: all 250ms ease-in-out; }
.dir__chip:hover { border-color: var(--color-ink); }
.dir__chip[aria-pressed="true"] { background: var(--color-brand-navy); border-color: var(--color-brand-navy); color: var(--color-on-navy); }
.dir__count { margin: var(--space-6) 0 var(--space-4); font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.dir__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.dir__empty { padding: var(--space-7) 0; text-align: center; color: var(--color-ink-muted); }
.coach { background: var(--color-surface-100); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); box-shadow: var(--shadow-1); }
.coach[hidden] { display: none; }
.coach[data-level="executive"] { border-color: var(--color-brand-navy); }
.coach__top { display: flex; gap: var(--space-4); align-items: center; }
.coach__photo { width: 64px; height: 64px; border-radius: var(--radius-full); object-fit: cover; flex: none; }
.coach__photo--initials { display: grid; place-items: center; background: var(--color-surface-200); color: var(--color-brand-navy); font: 800 1.25rem/1 var(--font-sans); letter-spacing: -0.01em; }
.coach__name { font-size: var(--text-h4-size); line-height: var(--text-h4-line); margin: 0; }
.coach__level { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 600; color: var(--color-ink-muted); }
.coach__level--executive { color: var(--color-brand-navy); }
.coach__level .lucide { width: 14px; height: 14px; flex: none; }
.coach__title { margin: 0; font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink); }
.coach__loc { display: flex; gap: 6px; align-items: center; margin: 0; font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.coach__loc .lucide { width: 16px; height: 16px; flex: none; }
.coach__focus { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.coach__focus li { font-size: 12px; line-height: 18px; font-weight: 600; padding: 2px 10px; border-radius: var(--radius-full); background: var(--color-surface-200); }
.coach__link { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--color-border); display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-body-sm-size); font-weight: 600; color: var(--color-brand-navy); text-decoration: none; }
.coach__link:hover { text-decoration: underline; }
.coach__link .lucide { width: 16px; height: 16px; }
@media (max-width: 1023px) { .dir__bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dir__search { grid-column: 1 / -1; } .dir__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .dir__bar { grid-template-columns: minmax(0, 1fr); } .dir__grid { grid-template-columns: minmax(0, 1fr); } }

/* ============ 7. Conversion components (Oct 26, 2026) ============ */
/* Shorter hero for utility pages (directory, buy page) so the main tool sits near the top */
.page-hero--compact { padding: var(--space-8) 0 var(--space-7); }
/* Big numbers beside a hero headline */
.glance--hero { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 2px solid var(--color-ink); }
.glance--hero > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.glance--hero dt { font-size: var(--text-h2-size); line-height: 1; font-weight: 800; letter-spacing: var(--text-h2-tracking); font-variant-numeric: tabular-nums; }
.glance--hero dd { margin: 0; font-size: var(--text-body-size); color: var(--color-ink); }
@media (max-width: 1023px) { .glance--hero { margin-top: var(--space-6); } }

/* A numbered path: 3 or 4 steps in a row, joined by a rule */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: var(--space-6); counter-reset: none; }
.path--4 { --steps: 4; }
.path li { position: relative; padding-top: var(--space-7); }
.path li::before { content: ""; position: absolute; top: 19px; left: 48px; right: calc(var(--space-6) * -1); height: 2px; background: var(--color-border); }
.path li:last-child::before { display: none; }
.path__num { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--color-brand-navy); color: var(--color-on-navy); display: grid; place-items: center; font-weight: 800; }
.path h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin: var(--space-3) 0 var(--space-2); }
.path p { margin: 0; color: var(--color-ink-muted); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
.path__meta { display: block; margin-top: var(--space-2); font-size: var(--text-caption-size); font-weight: 600; color: var(--color-brand-navy); }
@media (max-width: 1023px) { .path, .path--4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .path li::before { display: none; } }
@media (max-width: 639px) { .path, .path--4 { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } }

/* Report tour: six report pages in a grid, each with a caption. Shows what's inside the MCode Report. */
.tour { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) var(--space-6); }
.tour__item { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.tour .rpage { width: 100%; aspect-ratio: 8.5 / 9; box-shadow: var(--shadow-2); margin: 0; }
.tour .rpage + .rpage { margin: 0; }
.tour__item h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin: 0; }
.tour__item p { margin: var(--space-1) 0 0; color: var(--color-ink-muted); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
.rpage--cover { justify-content: space-between; background: var(--color-brand-navy); border-color: var(--color-brand-navy); }
.rpage--cover .rpage__brand, .rpage--cover .rpage__title { color: var(--color-on-navy); }
.rpage__cover-name { font: 800 2rem/1.05 var(--font-sans); letter-spacing: -0.03em; color: var(--color-on-navy); margin: 0; }
.rpage__cover-sub { color: var(--color-on-navy-muted); font-size: var(--text-body-sm-size); margin: var(--space-2) 0 0; }
.rpage__lines { display: grid; gap: 6px; margin-top: var(--space-2); }
.rpage__lines b { font-size: 11px; font-weight: 700; margin-top: var(--space-2); }
.rpage__lines span { height: 6px; border-radius: var(--radius-full); background: var(--color-surface-300); }
.rpage__lines span:nth-of-type(2n) { width: 84%; }
.rpage__lines span:nth-of-type(3n) { width: 62%; }
.rpage .t5 { gap: var(--space-2); }
.rpage .t5__row { padding: var(--space-2) var(--space-3); }
.rpage .t5 .mc-micon-wrap { width: 36px; height: 36px; }
.rpage .t5__name { font-size: 13px; }
.rpage .t5 .mc-chip { font-size: 10px; padding: 0 var(--space-2); line-height: 16px; }
.rpage .checks { gap: var(--space-2); font-size: 12px; line-height: 1.35; }
.rpage .checks .lucide { width: 14px; height: 14px; margin-top: 1px; }
.rpage .mc-motivation { box-shadow: none; }
@media (max-width: 1023px) { .tour { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tour { grid-template-columns: minmax(0, 1fr); } .tour .rpage { aspect-ratio: auto; } }

/* Comparison table: rows of features, a column per option. Checks and dashes, never colors alone. */
.compare { width: 100%; border-collapse: collapse; font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
.compare th, .compare td { padding: var(--space-4) var(--space-4); border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: middle; }
.compare thead th { font-size: var(--text-h4-size); line-height: var(--text-h4-line); font-weight: 800; color: var(--color-brand-navy); border-bottom: 2px solid var(--color-ink); vertical-align: bottom; }
.compare thead th small { display: block; font-size: var(--text-body-sm-size); font-weight: 400; color: var(--color-ink-muted); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tbody th { font-weight: 400; }
.compare .lucide { color: var(--color-brand-navy); width: 22px; height: 22px; stroke-width: 2.25; }
.compare .is-no .lucide { color: var(--color-border-strong); }
.compare tfoot td { border-bottom: 0; padding-top: var(--space-5); }
.compare .is-featured { background: var(--color-surface-200); }
@media (max-width: 639px) { .compare th, .compare td { padding: var(--space-3) var(--space-2); } .compare thead th { font-size: var(--text-body-size); } .compare td:not(:first-child), .compare th:not(:first-child) { width: 26%; } }

/* Proof: big outcome numbers, each tied to a named customer */
.proof { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--space-6); }
.proof__item { border-top: 2px solid var(--color-ink); padding-top: var(--space-5); }
.proof__num { display: block; font: 800 var(--text-display-size)/1 var(--font-sans); letter-spacing: var(--text-display-tracking); color: var(--color-brand-navy); font-variant-numeric: tabular-nums; }
.proof__item h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); margin: var(--space-3) 0 var(--space-1); }
.proof__item p { margin: 0; color: var(--color-ink-muted); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
.proof__src { display: block; margin-top: var(--space-3); font-size: var(--text-caption-size); font-weight: 600; color: var(--color-ink); }
@media (max-width: 1023px) { .proof { --cols: 1 !important; gap: var(--space-5); } .proof__num { font-size: var(--text-h1-size); } }

/* Case study cards: industry, the problem, what changed, one result */
.case { display: flex; flex-direction: column; gap: var(--space-3); }
.case__result { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-border); font-weight: 700; color: var(--color-brand-navy); }

/* Icon feature rows: an icon in a soft square, a title and a line */
.features { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--space-6) var(--space-6); }
.features--2 { --cols: 2; } .features--4 { --cols: 4; }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.feature__icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--color-surface-200); display: grid; place-items: center; color: var(--color-brand-navy); }
.section--soft .feature__icon { background: var(--color-surface-100); }
.feature__icon .lucide { width: 24px; height: 24px; }
.feature h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: var(--text-h4-tracking); margin: 0 0 var(--space-1); }
.feature p { margin: 0; color: var(--color-ink-muted); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); }
@media (max-width: 1023px) { .features, .features--4 { --cols: 2; } }
@media (max-width: 639px) { .features, .features--2, .features--4 { --cols: 1; gap: var(--space-5); } }

/* A row of trust facts under a hero (research, time, customers) */
.trust-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin: var(--space-5) 0 0; padding: 0; list-style: none; font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.trust-row li { display: flex; align-items: center; gap: var(--space-2); }
.trust-row .lucide { width: 18px; height: 18px; color: var(--color-brand-navy); }

/* Plan cards: a label above the name, and a small link under the button */
.plan__badge { align-self: flex-start; font-size: var(--text-caption-size); font-weight: 700; padding: 2px var(--space-3); border-radius: var(--radius-full); background: var(--color-brand-yellow); color: var(--color-on-yellow); }
.plan__alt { margin: 0; font-size: var(--text-body-sm-size); }
.plan__alt a { color: var(--color-brand-navy); font-weight: 600; }
.plans-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-5); }
.plans-foot .mc-card { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); }
.plans-foot h3 { font-size: var(--text-h4-size); line-height: var(--text-h4-line); margin: 0 0 var(--space-1); }
.plans-foot p { margin: 0; font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
@media (max-width: 639px) { .plans-foot { grid-template-columns: minmax(0, 1fr); } }

/* Two-column FAQ for long lists */
.faq--wide { max-width: none; }
.tour .rpage { aspect-ratio: 8.5 / 10; }
.rpage--cover { padding: var(--space-6); }
.rpage--cover .rpage__cover-name { color: var(--color-on-navy); margin: 0; }
.rpage--cover .rpage__cover-sub { color: var(--color-on-navy-muted); margin: var(--space-2) 0 0; }
.rpage--cover .mc-spectrum { width: 100%; margin: 0; }
.rpage .checks li { font-size: 12px; line-height: 1.4; grid-template-columns: 14px 1fr; gap: var(--space-2); }
.rpage .mc-motivation { padding: var(--space-3); gap: var(--space-3); grid-template-columns: 48px 1fr; }
.rpage .mc-motivation .mc-micon-wrap--lg { width: 48px; height: 48px; }
.rpage .mc-motivation__name { font-size: 14px; line-height: 1.2; }
.rpage .mc-motivation__desc { font-size: 11px; line-height: 1.35; }
.tour .rpage .mc-ranking--full .mc-ranking__row { height: 9px; line-height: 9px; font-size: 7.5px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 20px; gap: 6px; }
.tour .rpage .mc-ranking--full .mc-ranking__value { display: block; font-size: 7.5px; text-align: right; }
.tour .rpage .mc-ranking--full .mc-ranking__track { height: 4px; }
.rpage--cover .rpage__cover-name { font-size: 2.25rem !important; line-height: 1.05 !important; font-weight: 800 !important; }
.rpage--cover .mc-spectrum { margin-left: 0 !important; margin-right: 0 !important; display: block; }
.rpage .t5__row { padding: 6px var(--space-3); }
.rpage .t5 .mc-micon-wrap { width: 30px; height: 30px; }
.rpage .t5 { gap: 6px; }
.rpage .checks { margin-bottom: var(--space-3); }
/* Hide a decorative picture on phones when it would push the main action down (buy page hero) */
@media (max-width: 639px) { .hide-sm { display: none !important; } }

/* Comparison table with words in every cell */
.compare--text td, .compare--text th { text-align: left !important; vertical-align: top; }
.compare--text tbody th { font-weight: 700; width: 22%; }
.compare--text td { color: var(--color-ink-muted); }
.compare--text .is-featured { color: var(--color-ink); font-weight: 600; }
@media (max-width: 639px) { .compare--text { font-size: var(--text-caption-size); } }

/* A loose cloud of Motivation chips inside a card */
.chip-cloud { display: flex; flex-wrap: wrap; gap: var(--space-2); }
/* The numbered path stacked in one column, beside text */
.path--stack { grid-template-columns: minmax(0, 1fr) !important; gap: var(--space-5); }
.path--stack li { padding: 0 0 0 64px; min-height: 40px; }
.path--stack li::before { display: block; top: 48px; bottom: calc(var(--space-5) * -1 + 8px); left: 19px; right: auto; width: 2px; height: auto; }
.path--stack h3 { margin-top: var(--space-2); }

/* Team Motivational Map sample: [[team-map]] */
.tmap { display: grid; gap: 6px; }
.tmap__row { display: grid; grid-template-columns: 76px repeat(8, minmax(0, 1fr)); gap: 6px; align-items: center; }
.tmap__who { font-size: var(--text-caption-size); font-weight: 600; color: var(--color-ink-muted); white-space: nowrap; }
.tmap__dim { display: block; }
.tmap__tile { display: block; width: 100%; height: auto; border-radius: var(--radius-xs); }
.tmap__cell { display: block; height: 28px; border-radius: var(--radius-xs); background: var(--color-surface-200); }
.tmap__cell[data-level="1"] { background: var(--dim); }
.tmap__cell[data-level="2"] { background: color-mix(in srgb, var(--dim) 55%, var(--color-surface-100)); }
.tmap__cell[data-level="3"] { background: var(--dim-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dim) 35%, transparent); }
.tmap__row--foot { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--color-border); }
.tmap__count { text-align: center; font-weight: 800; font-size: var(--text-body-sm-size); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.tmap-key { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-4); font-size: var(--text-caption-size); color: var(--color-ink-muted); }
.tmap-key span { display: inline-flex; align-items: center; gap: var(--space-2); }
.tmap-key i { display: inline-block; width: 14px; height: 14px; border-radius: var(--radius-xs); background: var(--color-ink); }
.tmap-key i.l2 { background: color-mix(in srgb, var(--color-ink) 55%, var(--color-surface-100)); }
.tmap-key i.l3 { background: var(--color-surface-300); }
@media (max-width: 639px) { .tmap__row { grid-template-columns: 56px repeat(8, minmax(0, 1fr)); gap: 3px; } .tmap__cell { height: 22px; } }
.quote-card--wide { max-width: 860px; }
.tmap__row--head { margin-bottom: 2px; }

/* The 8 Dimensions page: every Motivation, people often seen in each Dimension and a link */
.dims--full .dim { height: 100%; }
.dims--full .mchips { margin-bottom: var(--space-4); }
.dim__people { font-size: var(--text-body-sm-size) !important; line-height: var(--text-body-sm-line) !important; color: var(--color-ink-muted); margin-bottom: var(--space-3) !important; }
.tmap__count--zero { color: var(--color-ink-subtle); font-weight: 600; }
.mc-card > .mc-overline:first-child { margin-bottom: var(--space-4); }

/* Case study pages: a facts panel beside the story */
.case-facts { display: grid; gap: 0; margin: 0; border-top: 2px solid var(--color-ink); }
.case-facts > div { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.case-facts dt { font-size: var(--text-caption-size); font-weight: 700; letter-spacing: var(--text-overline-tracking); text-transform: uppercase; color: var(--color-ink-muted); }
.case-facts dd { margin: var(--space-1) 0 0; font-size: var(--text-body-size); font-weight: 600; color: var(--color-ink); }
.pullquote { margin: 0; padding: var(--space-6) 0; border-top: 2px solid var(--color-brand-navy); border-bottom: 1px solid var(--color-border); }
.pullquote p { font: 700 var(--text-h3-size)/var(--text-h3-line) var(--font-sans); letter-spacing: var(--text-h3-tracking); color: var(--color-brand-navy); margin: 0 0 var(--space-4); max-width: 28em; }
.pullquote figcaption { font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.pullquote figcaption b { color: var(--color-ink); display: block; }
.prose--start { margin-left: 0 !important; }
.proof__num, .fact__num, .plan__price { font-variant-numeric: proportional-nums; }

/* Job Fit Report sample: [[jobfit-sample]] */
.jf { display: grid; gap: var(--space-2); font-size: var(--text-caption-size); }
.jf__row { display: grid; grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)) 0.9fr; gap: var(--space-3); align-items: center; padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.jf__row--head { font-weight: 700; color: var(--color-ink-muted); border-bottom: 2px solid var(--color-ink); }
.jf__who { font-weight: 600; color: var(--color-ink); }
.jf__bar { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 6px; align-items: center; }
.jf__bar > span { height: 8px; border-radius: var(--radius-xs); background: var(--color-surface-300); position: relative; overflow: hidden; }
.jf__bar > span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value); background: var(--color-brand-navy); }
.jf__bar b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.jf__label { font-weight: 700; color: var(--color-ink-muted); }
.jf__label[data-fit="strong"] { color: var(--color-brand-navy); }
@media (max-width: 639px) { .jf__row { grid-template-columns: 1fr 1fr 1fr 1fr; } .jf__row > :last-child { grid-column: 1 / -1; } .jf__row--head > :last-child { display: none; } }

/* Pulse sample: [[pulse-sample]] */
.pl { display: grid; gap: 0; font-size: var(--text-caption-size); }
.pl__row { display: grid; grid-template-columns: 1fr 120px 40px 80px; gap: var(--space-4); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
.pl__row--head { font-weight: 700; color: var(--color-ink-muted); border-bottom: 2px solid var(--color-ink); padding-top: 0; }
.pl__who { font-weight: 600; }
.pl__spark { width: 120px; height: 28px; }
.pl__spark polyline { fill: none; stroke: var(--color-brand-navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pl__now { font-weight: 800; font-size: var(--text-body-size); text-align: right; }
.pl__status { font-weight: 700; padding: 2px var(--space-2); border-radius: var(--radius-full); text-align: center; background: var(--color-surface-200); color: var(--color-ink); }
.pl__status[data-status="at"] { background: var(--color-ink); color: var(--color-ink-inverse); }
.pl__status[data-status="watch"] { background: var(--color-brand-yellow); color: var(--color-on-yellow); }
@media (max-width: 639px) { .pl__row { grid-template-columns: 1fr 90px 28px 70px; gap: var(--space-2); } .pl__spark { width: 90px; } }
.sample-block { margin-top: var(--space-7); max-width: 880px; }
.grid + .sample-block, .sample-block + .grid { margin-top: var(--space-6); }
.sample-block + .grid { margin-top: var(--space-6); }
.sample-block:not(:last-child) { margin-bottom: var(--space-6); }
.section-head + .sample-block { margin-top: 0; }
/* A quote card marked portrait but showing only a small avatar keeps one column (no empty 168px column) */
.quote-card--portrait:not(:has(> .quote-card__portrait)) { display: flex; }
@media (max-width: 639px) { .tmap__row--foot .tmap__who { font-size: 10px; white-space: normal; line-height: 1.1; } }
/* Quote cards with the small avatar inside the caption: one column, caption pinned to the bottom, equal heights in a row */
.quote-card--portrait:not(:has(.quote-card__portrait)) { display: flex !important; flex-direction: column; justify-content: space-between; }
.quote-card.quote-card--portrait:not(:has(.quote-card__portrait)) figcaption { grid-area: auto; margin-top: auto; }
.grid > .quote-card { height: 100%; }
/* Link labels at the foot of a link card read as links: navy, left-aligned, with an arrow */
a.mc-card > .mc-btn--text, .mc-card > .mc-btn--text, .mc-card .actions .mc-btn--text { align-self: flex-start; justify-content: flex-start; color: var(--color-brand-navy); }
a.mc-card { display: flex; flex-direction: column; gap: var(--space-3); }
a.mc-card > .mc-btn--text { margin-top: auto; }
/* Comparison table: every header the same color */
.compare thead th, .compare thead th.is-featured { color: var(--color-brand-navy) !important; font-weight: 800 !important; }
/* Case result lines read as links when the card is a link */
a.case .case__result { color: var(--color-brand-navy); }
a.case .case__result::after { content: " \2192"; }
/* Pullquote: no browser indent, smaller on phones */
.pullquote blockquote { margin: 0; }
@media (max-width: 639px) { .pullquote p { font-size: 1.4375rem; line-height: 1.3; } }
/* Team map key matches the cells: the same three strengths, shown in navy */
.tmap-key i { background: var(--color-brand-navy); }
.tmap-key i.l2 { background: color-mix(in srgb, var(--color-brand-navy) 55%, var(--color-surface-100)); }
.tmap-key i.l3 { background: var(--color-dim-achiever-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-brand-navy) 35%, transparent); }
@media (max-width: 639px) { .tmap__who { font-size: 12px; } .tmap__row { grid-template-columns: 62px repeat(8, minmax(0, 1fr)); } }
/* Comparison tables on phones: word tables stack each row; check tables drop the button row */
@media (max-width: 639px) {
  .compare tfoot { display: none; }
  .compare--text thead { display: none; }
  .compare--text, .compare--text tbody, .compare--text tr, .compare--text th, .compare--text td { display: block; width: 100% !important; }
  .compare--text tr { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
  .compare--text th, .compare--text td { border: 0; padding: var(--space-1) 0; }
  .compare--text tbody th { font-size: var(--text-body-size); margin-bottom: var(--space-2); }
  .compare--text td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--color-ink); }
}
.plans-foot a.mc-card h3::after { content: " \2192"; color: var(--color-brand-navy); }
.plans-foot .feature__icon { background: var(--color-surface-200); flex: none; }
.dir__more { display: flex; justify-content: center; margin-top: var(--space-6); }
.dir__more[hidden] { display: none; }
.pullquote__cite { display: flex; align-items: center; gap: var(--space-3); }
.pullquote .sample-block, .prose .sample-block { margin: var(--space-6) 0; }
.embed + h3, .embed + p, .embed + * { margin-top: var(--space-4); }
/* Quote cards in a grid: the name sits right under the quote (cards stay equal height) */
.grid > .quote-card figcaption { margin-top: 0 !important; }
.grid > .quote-card { justify-content: flex-start !important; }
/* Team map: the "Strongest for" totals row is hidden on phones (text would fall under 13px) */
@media (max-width: 639px) { .tmap__row--foot { display: none; } }
/* A hero card holding a ranking is a little wider so names don't wrap */
.hero__card:has(.mc-ranking) { width: min(340px, 64%); }
/* Job Fit sample on phones: name, job fit and overall only */
@media (max-width: 639px) {
  .jf__row { grid-template-columns: 1fr 1.2fr 0.9fr; }
  .jf__row > :nth-child(3), .jf__row > :nth-child(4) { display: none; }
  .jf__row > :last-child { grid-column: auto; }
  .jf__row--head > :last-child { display: block; }
}
.hero__card .mc-ranking__row { grid-template-columns: minmax(0, 1.9fr) minmax(40px, 1fr) 32px; }
.quote-card--portrait:not(:has(.quote-card__portrait)) { align-items: stretch !important; }
.quote-card figcaption { justify-content: flex-start; }
.grid > .quote-card { height: auto; align-self: start; }

/* No orphans (Shawn, Nov 6 2026). Headings balance their lines. Body text avoids a single word on its last line. */
:where(h1, h2, h3, h4, h5, h6, .mc-display, .mc-overline, summary, .mc-btn, .proof__num, blockquote) { text-wrap: balance; }
:where(p, li, dd, dt, figcaption, td, th, label, .mc-help, .faq__answer) { text-wrap: pretty; }

/* Homepage tweaks (Shawn, Nov 6 2026) */
.motivation-intro { align-items: center; }
.step__num { background: var(--color-brand-navy); color: var(--color-on-navy); }
.step h3 { color: var(--color-brand-navy); }
/* The Motivational Ranking beside its copy: compact rows so the card is about as tall as the text */
.report-panel { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.report-panel .rp .rp__body { padding: var(--space-4) var(--space-5); }
.report-panel .rp .rp__sub { margin-bottom: var(--space-3); }
.report-panel .rp .mc-ranking { gap: 1px; }
.report-panel .rp .mc-ranking__row { font-size: 11px; line-height: 13px; gap: var(--space-2); grid-template-columns: minmax(0, 42%) minmax(0, 1fr) 28px; }
.report-panel .rp .mc-ranking__name { line-height: 13px; }
.report-panel .rp .mc-ranking__track { height: 6px; }
.report-panel .rp .mc-ranking__value { font-size: 10px; }

/* Header links: one underline style for the current page and for hover (Shawn, Nov 6 2026).
   No text underline. A 2px navy bar under the link, the same on hover, focus and the current page. */
.site-header .mc-nav a, .site-header__signin { text-decoration: none !important; padding-bottom: var(--space-1); box-shadow: inset 0 -2px 0 transparent; transition: color 250ms ease-in-out, box-shadow 250ms ease-in-out; }
.site-header .mc-nav a:hover, .site-header .mc-nav a:focus-visible, .site-header .mc-nav a[aria-current="page"],
.site-header__signin:hover, .site-header__signin:focus-visible { color: var(--color-brand-navy); box-shadow: inset 0 -2px 0 var(--color-brand-navy); }
@media (max-width: 1023px) { .site-header[data-open] .mc-nav a { padding-bottom: 0; } }

/* Report tour: the opening page and a closing line (Shawn, Nov 6 2026) */
.rpage__traits { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.rpage__traits li { display: grid; gap: 2px; padding-left: var(--space-3); border-left: 3px solid var(--color-brand-navy); }
.rpage__traits li:nth-child(2) { border-color: var(--color-dim-driver); }
.rpage__traits li:nth-child(3) { border-color: var(--color-dim-learner); }
.rpage__traits li:nth-child(4) { border-color: var(--color-dim-relator); }
.rpage__traits b { font-size: 13px; font-weight: 800; color: var(--color-ink); }
.rpage__traits span { font-size: 11px; line-height: 15px; color: var(--color-ink-muted); }
.tour__more { max-width: none; margin: var(--space-7) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--color-border); text-align: center; font-weight: 600; color: var(--color-ink); }

/* Testimonial rows: cards in a row share one height so names line up (Nov 6 2026) */
.grid.quotes-after, .grid:has(> .quote-card) { align-items: stretch; }

/* Report tour: the four stories page */
.rpage__stories { list-style: none; margin: var(--space-1) 0 0; padding: 0; display: grid; gap: 8px; }
.rpage__stories li { display: grid; gap: 4px; padding: 7px 10px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.rpage__stories b { font-size: 11px; line-height: 14px; font-weight: 800; color: var(--color-ink); }
.rpage__stories span { height: 4px; border-radius: 3px; background: var(--color-surface-300); }
.rpage__stories span.short { width: 60%; }

/* Report tour: your top 3 Dimensions page */
.rpage__dims3 { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.rpage__dims3 li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--dim-color, #001a70) 9%, #fff); }
.rpage__dims3 li[data-dim="achiever"] { --dim-color: var(--color-dim-achiever); } .rpage__dims3 li[data-dim="driver"] { --dim-color: var(--color-dim-driver); }
.rpage__dims3 li[data-dim="influencer"] { --dim-color: var(--color-dim-influencer); } .rpage__dims3 li[data-dim="learner"] { --dim-color: var(--color-dim-learner); }
.rpage__dims3 li[data-dim="optimizer"] { --dim-color: var(--color-dim-optimizer); } .rpage__dims3 li[data-dim="orchestrator"] { --dim-color: var(--color-dim-orchestrator); }
.rpage__dims3 li[data-dim="relator"] { --dim-color: var(--color-dim-relator); } .rpage__dims3 li[data-dim="visionary"] { --dim-color: var(--color-dim-visionary); }
.rpage__dimtile { width: 46px; height: 46px; border-radius: 2px; display: block; }
.rpage__dim3body { display: grid; gap: 4px; min-width: 0; }
.rpage__dim3body b { font-size: 12.5px; line-height: 14px; font-weight: 800; color: var(--color-ink); }
.rpage__dim3body em { font-style: normal; font-size: 9px; line-height: 11px; font-weight: 700; color: var(--color-ink-muted); margin: 2px 0 0; }
.rpage__dim3body i { display: block; height: 4px; border-radius: 3px; background: color-mix(in srgb, var(--dim-color, #001a70) 32%, #fff); }
.rpage__dim3body i.short { width: 65%; }

/* Report tour: tighter #1 Motivation sections, and Top 5 rows with definitions (Nov 6 2026) */
.tour .rpage__lines { gap: 4px; margin-top: var(--space-1); }
.tour .rpage__lines b { margin-top: 6px; }
.tour .rpage__lines span { height: 5px; }
.tour .rpage .t5 { gap: 6px; }
.tour .rpage .t5__row { padding: 6px 10px; gap: var(--space-3); }
.tour .rpage .t5 .mc-micon-wrap { width: 30px; height: 30px; }
.tour .rpage .t5__name { font-size: 12px; line-height: 15px; margin: 0 0 1px; }
.tour .rpage .t5__desc { font-size: 10.5px; line-height: 13px; }

/* Overlap cards: a tighter title (Nov 6 2026) */
.hero__card .rp__title, .photo-pair__card .rp__title { line-height: 1.25; }

/* An overline that names MCode keeps its own case, since uppercase would turn MCode into MCODE (Nov 6 2026) */
.mc-overline--brand { text-transform: none; letter-spacing: 0.02em; font-size: 0.9375rem; }

.hero__card .rp__title + .t5, .photo-pair__card .rp__title + .t5 { margin-top: var(--space-4); }

/* Same-page links glide to their section, easing in and out, and stop below the sticky header (Nov 6 2026).
   People who ask their device for reduced motion get the instant jump. */
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Icons in cards: room between the icon and the headline under it, on every card (Nov 6 2026) */
.mc-card > .feature__icon { margin-bottom: var(--space-4); }
.mc-card > .feature__icon + h3 { margin-top: 0; }

/* Dimensions Map scale: a two-headed arrow, most like you (left) to least like you (right) (Nov 6 2026) */
.dimscale { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); font-size: var(--text-body-sm-size); line-height: 1.2; font-weight: 700; color: var(--color-brand-navy); }
.dimscale__label { white-space: nowrap; }
.dimscale__line { flex: 1; height: 2px; background: var(--color-brand-navy); position: relative; margin-inline: 6px; }
.dimscale__line::before, .dimscale__line::after { content: ""; position: absolute; top: 50%; width: 9px; height: 12px; background: var(--color-brand-navy); transform: translateY(-50%); }
.dimscale__line::before { left: -6px; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.dimscale__line::after { right: -6px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.fact > h3:first-child { margin-top: 0; }

/* Quote cards in a row share one height, site-wide (Nov 6 2026). Overrides the earlier align-self: start. */
.grid > .quote-card { align-self: stretch; height: auto; }
/* Compact ranking outside the homepage's report panel (assessment page, Nov 6 2026) */
.rank-compact .rp .rp__body { padding: var(--space-4) var(--space-5); }
.rank-compact .rp .rp__sub { margin-bottom: var(--space-3); }
.rank-compact .rp .mc-ranking { gap: 1px; }
.rank-compact .rp .mc-ranking__row { font-size: 11px; line-height: 13px; gap: var(--space-2); grid-template-columns: minmax(0, 42%) minmax(0, 1fr) 28px; }
.rank-compact .rp .mc-ranking__name { line-height: 13px; }
.rank-compact .rp .mc-ranking__track { height: 6px; }
.rank-compact .rp .mc-ranking__value { font-size: 10px; }

/* Nov 6 2026 (assessment page round 2, applied site-wide) */
/* Sample Top Motivation rows: a name that wraps to two lines keeps tight lines */
.t5__name { line-height: 1.3; }
.hero__card .t5__name, .photo-pair__card .t5__name { line-height: 1.25; }
/* Comparison tables: room between the column heading and its subtitle, and above the first row */
.compare thead th { padding-bottom: var(--space-5); }
.compare thead th small { margin-top: var(--space-2); }
/* Compact 32-row ranking (homepage and assessment page): a little more air per row */
.report-panel .rp .mc-ranking, .rank-compact .rp .mc-ranking { gap: 3px; }
.report-panel .rp .mc-ranking__row, .rank-compact .rp .mc-ranking__row { font-size: 11.5px; line-height: 16px; }
.report-panel .rp .mc-ranking__name, .rank-compact .rp .mc-ranking__name { line-height: 16px; }
.report-panel .rp .mc-ranking__track, .rank-compact .rp .mc-ranking__track { height: 7px; }
/* Icons inside white cards on a gray section keep their gray tile (Nov 6 2026) */
.section--soft .mc-card .feature__icon { background: var(--color-surface-200); }

/* ---------- Blog posts (Nov 11 2026) ---------- */
.post-hero { padding: var(--space-9) 0 0; }
.post-hero h1 { margin: var(--space-3) 0 var(--space-4); text-wrap: balance; }
.post-hero .mc-overline a { color: inherit; text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0; color: var(--color-ink-muted); font-size: var(--text-body-sm-size); }
.post-cover { max-width: 1040px; margin: var(--space-7) auto 0; }
.post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.section--post { padding-top: var(--space-8); }
.post-body { font-size: 1.125rem; line-height: 1.7; }
.post-body > p, .post-body li { max-width: 680px; }
.post-body h2 { margin-top: var(--space-8); scroll-margin-top: 96px; }
.post-body h3 { margin-top: var(--space-7); scroll-margin-top: 96px; }
.post-body a:not(.mc-btn) { color: var(--color-brand-navy); text-decoration: underline; text-underline-offset: 2px; }
.post-body blockquote { margin: var(--space-6) 0; padding: var(--space-2) 0 var(--space-2) var(--space-5); border-left: 4px solid var(--color-brand-yellow); font-size: 1.25rem; }
.post-body hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-7) 0; }
.post-figure { margin: var(--space-6) 0; }
.post-figure img { max-width: 100%; height: auto; border-radius: var(--radius-md); display: block; margin: 0; }
.post-figure figcaption { margin-top: var(--space-2); font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.post-callout { margin: var(--space-6) 0; padding: var(--space-5) var(--space-6); background: var(--color-surface-200); border-radius: var(--radius-lg); }
.post-callout > :last-child { margin-bottom: 0; }
.post-callout h3 { margin-top: var(--space-2); }
.post-promo { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-6); align-items: center; margin: var(--space-7) 0; padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-100); }
.post-promo img { width: 140px; height: auto; margin: 0; border-radius: var(--radius-xs); box-shadow: var(--shadow-2); }
.post-promo h3, .post-promo__title { margin: var(--space-2) 0; font: var(--text-h4-weight) var(--text-h4-size)/var(--text-h4-line) var(--font-sans); color: var(--color-ink); }
.post-promo p { margin: 0 0 var(--space-4); }
@media (max-width: 639px) { .post-promo { grid-template-columns: 1fr; } .post-promo img { width: 120px; } }
.post-table { font-size: var(--text-body-sm-size); }
.post-card { display: flex; flex-direction: column; }
.post-card__topic { margin: var(--space-4) 0 0; font-size: var(--text-caption-size); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-ink-muted); }
.post-card__topic + h3 { margin-top: var(--space-2); }
.post-card__date { margin-top: auto; padding-top: var(--space-3); font-size: var(--text-caption-size); color: var(--color-ink-muted); }
.topic-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-6); }
.topic-chip { font: inherit; font-size: var(--text-body-sm-size); font-weight: 600; padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface-100); color: var(--color-ink); cursor: pointer; }
.topic-chip:hover { border-color: var(--color-brand-navy); }
.topic-chip.is-active { background: var(--color-brand-navy); border-color: var(--color-brand-navy); color: #fff; }
.post-page main { overflow-x: clip; }
.post-grid { align-items: stretch; }
.post-callout--case { border-left: 4px solid var(--color-brand-navy); }
.post-cite { margin-top: calc(var(--space-4) * -1); font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
/* Mirror Moment case study (Nov 11 2026) */
.mm-ideas { margin-top: var(--space-7); max-width: 1040px; }
.mm-ladder { list-style: none; padding: 0; margin: var(--space-6) auto var(--space-4); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2); max-width: 1040px; counter-reset: none; }
.mm-ladder li { background: var(--color-surface-100); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); font-weight: 700; color: var(--color-brand-navy); }
.mm-ladder li:nth-child(2) { margin-top: calc(var(--space-3) * -1); } .mm-ladder li:nth-child(3) { margin-top: calc(var(--space-3) * -2); }
.mm-ladder li:nth-child(4) { margin-top: calc(var(--space-3) * -3); } .mm-ladder li:nth-child(5) { margin-top: calc(var(--space-3) * -4); background: var(--color-brand-navy); color: #fff; }
.mm-ladder span { display: block; font-size: var(--text-caption-size); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-ink-muted); }
.mm-ladder li:nth-child(5) span { color: var(--color-on-navy-muted); }
.mm-ladder { align-items: end; padding-top: var(--space-6); }
@media (max-width: 639px) { .mm-ladder { grid-template-columns: 1fr; } .mm-ladder li { margin-top: 0 !important; } }
.mm-prompt { font: 700 var(--text-h3-size)/var(--text-h3-line) var(--font-sans); color: var(--color-brand-navy); padding: var(--space-5) var(--space-6); background: var(--color-surface-200); border-radius: var(--radius-lg); }
.watch-video { max-width: 960px; margin: var(--space-7) auto 0; }
/* Testimonials page (Nov 11 2026) */
.t-videos { margin-bottom: var(--space-6); }
.t-video { margin: 0; }
.t-video figcaption { margin-top: var(--space-4); display: flex; flex-direction: column; font-size: var(--text-body-sm-size); color: var(--color-ink-muted); }
.t-video figcaption b { color: var(--color-ink); }
.t-grid { columns: 3 300px; column-gap: var(--space-6); }
.t-grid > .quote-card { break-inside: avoid; display: block; width: 100%; margin: 0 0 var(--space-6); }
.t-grid > .quote-card[hidden], .t-videos > [hidden] { display: none; }
/* Footer with the old site's five columns (Nov 11 2026) */
.site-footer__top { grid-template-columns: 3fr 10fr; }
.site-footer__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); }
.site-footer__social { display: flex !important; flex-wrap: wrap; gap: var(--space-2) var(--space-4) !important; margin-top: var(--space-5) !important; }
@media (max-width: 1023px) { .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .site-footer__top { grid-template-columns: 1fr; } }
/* Footer: MCode details on top, five link columns below (Shawn, Nov 11 2026) */
.site-footer__brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-6); padding-bottom: var(--space-7); margin-bottom: var(--space-7); border-bottom: 1px solid var(--color-on-navy-line); }
.site-footer__about { max-width: 640px; }
.site-footer__about img { height: 28px; width: auto; margin-bottom: var(--space-4); display: block; }
.site-footer__about p { margin: 0; max-width: none; }
.site-footer__social { display: flex !important; gap: var(--space-3) !important; margin: 0 !important; }
.site-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--color-on-navy-line); color: var(--color-on-navy); transition: background .15s ease, border-color .15s ease; }
.site-footer__social a:hover, .site-footer__social a:focus-visible { background: rgba(255,255,255,.08); border-color: var(--color-on-navy-muted); }
.site-footer__social .lucide { width: 18px; height: 18px; }
/* Four footer columns, a quarter of the width each (Nov 16 2026). */
.site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 1023px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Directory: premium listing for Executive Coaches, photos and social icons for every coach (Nov 12, 2026) */
.dir__group { margin-top: var(--space-6); }
.dir__group[hidden] { display: none; }
.dir__group + .dir__group { margin-top: var(--space-7); }
.dir__group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-5); }
.dir__group-title { font-size: var(--text-h3-size); line-height: var(--text-h3-line); margin: 0; }
.dir__group-sub { margin: 0; color: var(--color-ink-muted); font-size: var(--text-body-sm-size); }
.dir__count { margin-bottom: 0; }
.coach__photo { width: 72px; height: 72px; }
.coach__foot { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.coach__foot .coach__link { margin: 0; padding: 0; border: 0; min-width: 0; }
.coach__foot .coach__link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coach__social { display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.coach__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-brand-navy); transition: background .15s ease, border-color .15s ease; }
.coach__social a:hover, .coach__social a:focus-visible { background: var(--color-surface-200); border-color: var(--color-brand-navy); }
.coach__social .lucide { width: 16px; height: 16px; }
/* Premium listing */
.dir__grid--exec { gap: var(--space-5); }
.coach--exec { position: relative; background: var(--color-brand-navy); border-color: var(--color-brand-navy); color: var(--color-on-navy); padding: var(--space-5); box-shadow: var(--shadow-2, var(--shadow-1)); overflow: hidden; }
.coach--exec .coach__top { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.coach--exec .coach__photo { width: 120px; height: 120px; border: 3px solid var(--color-on-navy); }
.coach--exec .coach__name { color: var(--color-on-navy); font-size: var(--text-h3-size); line-height: var(--text-h3-line); }
.coach--exec .coach__level { display: none; }
.coach--exec .coach__title { color: var(--color-on-navy); }
.coach--exec .coach__loc, .coach--exec .coach__loc .lucide { color: var(--color-on-navy-muted); }
.coach--exec .coach__focus li { background: rgba(255,255,255,.12); color: var(--color-on-navy); }
.coach--exec .coach__foot { border-top-color: var(--color-on-navy-line); }
.coach--exec .coach__link { color: var(--color-on-navy); }
.coach--exec .coach__social a { color: var(--color-on-navy); border-color: var(--color-on-navy-line); }
.coach--exec .coach__social a:hover, .coach--exec .coach__social a:focus-visible { background: rgba(255,255,255,.1); border-color: var(--color-on-navy-muted); }
.coach__badge { position: absolute; top: var(--space-5); right: var(--space-5); display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px; border-radius: var(--radius-full); background: var(--color-brand-yellow); color: var(--color-on-yellow, var(--color-brand-navy)); font: 700 12px/18px var(--font-sans); }
.coach__badge .lucide { width: 14px; height: 14px; }
@media (min-width: 1024px) { .dir__grid:not(.dir__grid--exec) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dir__group--exec { position: relative; }

/* MCode vs. comparison pages (Nov 12, 2026): pages/comparisons/mcode-vs-*.html */
.page-hero .mc-overline a { color: inherit; text-decoration: none; }
.page-hero .mc-overline a:hover { text-decoration: underline; }
@media (min-width: 640px) { .compare--vs thead th { text-align: left !important; } .compare--vs tbody th { width: 20%; } .compare--vs td { width: 40% !important; } }
.comp-cards .mc-card { display: flex; flex-direction: column; gap: var(--space-3); }
.comp-cards .mc-card h3 { margin: 0; font-size: var(--text-h4-size); line-height: var(--text-h4-line); }
.comp-cards .mc-card p { margin: 0; }
.comp-cards .feature__icon { margin-bottom: var(--space-1); }
.comp-related { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.comp-related .dir__chip { display: inline-block; text-decoration: none; }
.comp-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.comp-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px var(--space-3); padding: var(--space-5); text-decoration: none; color: var(--color-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.comp-link:hover { border-color: var(--color-brand-navy); box-shadow: var(--shadow-2); }
.comp-link__vs { grid-column: 1; font-size: var(--text-caption-size); font-weight: 600; color: var(--color-ink-muted); }
.comp-link__name { grid-column: 1; font-weight: 800; font-size: var(--text-h4-size); line-height: var(--text-h4-line); color: var(--color-brand-navy); }
.comp-link .lucide { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--color-brand-navy); }
.compare--text tbody th a { color: var(--color-brand-navy); }
@media (max-width: 1023px) { .comp-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .comp-links { grid-template-columns: minmax(0, 1fr); } }

/* Cookie notice (Nov 12, 2026): a bar along the bottom. The page gets matching bottom padding so the bar never covers
   the last links or a focused control. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--color-surface-100); border-top: 1px solid var(--color-border); box-shadow: 0 -8px 24px rgba(18,19,24,.08); }
.consent[hidden] { display: none; }
.consent__inner { max-width: 1200px; margin: 0 auto; padding: var(--space-4) var(--space-5); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); flex-wrap: wrap; }
.consent__inner p { margin: 0; flex: 1 1 420px; font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink); }
.consent__inner a { color: var(--color-brand-navy); }
.consent__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
body.has-consent { padding-bottom: 140px; }
@media (max-width: 639px) { body.has-consent { padding-bottom: 220px; } .consent__actions { width: 100%; } .consent__actions .mc-btn { flex: 1; } }
.site-footer__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.site-footer__cookies:hover { text-decoration: underline; }

/* SIMA client logos inside the history page's article (Nov 16, 2026) */
.prose .customers--strip { margin: var(--space-6) 0; padding: var(--space-5) var(--space-5) var(--space-6); background: var(--color-surface-200); border-radius: var(--radius-md); }
.prose .customers__list { padding: 0; margin: 0; list-style: none; justify-content: flex-start; gap: var(--space-4) var(--space-6); }
.prose .customers__list li { margin: 0; padding: 0; }
.prose .customers__list li::before { content: none; }
/* The Accelerator's two sizes, side by side and centered (Nov 16, 2026) */
.plans-pair { max-width: 880px; margin-left: auto; margin-right: auto; }
.section-note--center { text-align: center; margin: var(--space-6) auto 0; max-width: 720px; }

/* MCode Express report sample ([[express-report]], Nov 16 2026): three Dimension tiles, Motivations against their contrast, nine sections. */
.xr__dims { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.xr__dims li { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); font-weight: 600; color: var(--color-ink); }
.xr__dims li span { display: flex; align-items: baseline; gap: var(--space-2); }
.xr__dims b { font-weight: 700; color: var(--color-ink-subtle); }
.xr__tile { display: block; width: 100%; max-width: 96px; height: auto; aspect-ratio: 1; border-radius: var(--radius-xs); }
.xr__label { margin: 0 0 var(--space-3); font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 700; color: var(--color-ink); }
.xr__pairs { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; gap: var(--space-3); }
.xr__pairs:last-child, .xr__sections:last-child { margin-bottom: 0; }
.xr__pair { display: flex; align-items: center; gap: var(--space-3); }
.xr__rule { flex: 1; min-width: var(--space-4); height: 1px; background: var(--color-border); }
.xr__far { font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 600; color: var(--color-ink-subtle); }
.xr__poles { display: flex; justify-content: space-between; gap: var(--space-3); margin: var(--space-1) 0 0; font-size: var(--text-caption-size); line-height: var(--text-caption-line); color: var(--color-ink-muted); }
.xr__poles span:last-child { text-align: right; }
.xr__sections { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.xr__sections li { padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xs); font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 600; color: var(--color-ink); }
@media (max-width: 639px) { .xr__sections { grid-template-columns: repeat(2, 1fr); } }
.xr .rp__sub { margin-bottom: var(--space-4); }

/* Billing period after a plan price, on the same line and much smaller ($200/mo., Nov 16 2026). */
.plan__per { font-size: var(--text-body-size); font-weight: 600; letter-spacing: 0; margin-left: 2px; }

/* MCode Express question wireframes ([[express-pick]], [[express-rank]], Nov 16 2026). */
.xpick, .xrank { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.xpick li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.xpick li[data-on] { border-color: var(--color-ink); }
.xpick__box { flex: none; width: 14px; height: 14px; border-radius: var(--radius-xs); border: 1px solid var(--color-border-strong); }
.xpick li[data-on] .xpick__box { background: var(--color-ink); border-color: var(--color-ink); }
.xpick__line { flex: 1; height: 8px; border-radius: var(--radius-full); background: var(--color-surface-300); }
.xpick li:nth-child(2) .xpick__line { flex: 0 1 78%; }
.xpick li:nth-child(4) .xpick__line { flex: 0 1 64%; }
.xrank li { display: flex; align-items: center; gap: var(--space-3); }
.xrank b { width: 20px; font-size: var(--text-caption-size); font-weight: 700; color: var(--color-ink-subtle); }

/* A plan card with an icon and a badge: the badge sits beside the icon so names line up across cards (Nov 16 2026). */
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.plan__head .plan__badge { align-self: center; }

/* Small pictures on the homepage "What a Motivation is" cards ([[motivation-idea]], Nov 16 2026). */
.idea { background: var(--color-surface-200); border-radius: var(--radius-md); padding: var(--space-5); margin-bottom: var(--space-5); height: 184px; display: flex; flex-direction: column; justify-content: center; }
.idea ol, .idea ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.idea__label { font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 600; color: var(--color-ink-muted); }
.idea__time li { display: grid; grid-template-columns: 76px auto; align-items: center; gap: var(--space-3); position: relative; }
.idea__time li + li::before { content: ""; position: absolute; left: 30px; top: calc(var(--space-3) * -1); height: var(--space-3); border-left: 1px solid var(--color-border-strong); }
.idea__stories li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: var(--space-3); }
.idea__line { height: 8px; border-radius: var(--radius-full); background: var(--color-surface-300); }
.idea__stories li:nth-child(2) .idea__line { width: 80%; }
.idea__stories li:nth-child(3) .idea__line { width: 62%; }
.idea__result { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-4) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.idea__flow li { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: var(--space-3); }
.idea__flow .idea__label { text-align: right; }
@media (max-width: 1023px) { .idea { height: auto; } }

/* MCode Express and MCode Premium plan cards: the name leads, the price follows (Shawn, Nov 16 2026). */
.plan--name h3 { font-size: var(--text-h2-size); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--color-brand-navy); margin: 0; }
.plan--name .plan__price { font-size: var(--text-h4-size); line-height: var(--text-h4-line); letter-spacing: 0; }
@media (max-width: 639px) { .plan--name h3 { font-size: var(--text-h3-size); } }
/* Price on top, name beneath (Shawn, Nov 16 2026). The badge sits in the top right corner, so both cards start at the same height. */
.plan--name { position: relative; }
.plan--name .plan__price { order: -1; }
/* Same line as the price: the card padding is --space-6 in a grid, and the 31px pill is centered on the 28px price line. */
.plan--name > .plan__badge { position: absolute; top: calc(var(--space-6) - 2px); right: var(--space-6); margin: 0; }
/* The navy outline follows the pointer: Express has it on load, and whichever card is hovered takes it. */
.plan--name { transition: border-color .25s ease, box-shadow .25s ease; }
.grid > .plan--name:hover { border-color: var(--color-brand-navy); box-shadow: var(--shadow-2); }
.grid:has(> .plan--name:hover) > .plan--featured.plan--name:not(:hover) { border-color: var(--color-border); box-shadow: var(--shadow-1); }

/* Homepage outcomes (Nov 16 2026): six cards, each naming where it shows up in Express and Premium. */
.outcome__where { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-border); font-size: var(--text-caption-size); line-height: var(--text-caption-line); color: var(--color-ink-muted); }
.outcome__where b { color: var(--color-ink); font-weight: 600; }
.mc-card > p + .outcome__where { margin-top: auto; }
/* Premium report pieces in a compact grid, each with a "what it lets you do" caption. */
.rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); align-items: start; }
.rgrid__item { display: flex; flex-direction: column; gap: var(--space-3); }
.rgrid__cap { margin: 0; font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); }
.rgrid__cap b { color: var(--color-ink); }
@media (max-width: 1023px) { .rgrid { grid-template-columns: minmax(0, 1fr); } }
/* Thrive and struggle conditions ([[conditions-sample]]). */
.cond__head { margin-bottom: var(--space-4); }
/* Thrive list on top, struggle list beneath, each full width (Nov 16 2026). */
.cond__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.cond__label { margin: 0 0 var(--space-3); font-size: var(--text-caption-size); line-height: var(--text-caption-line); font-weight: 700; color: var(--color-ink); }
.cond__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.cond__list li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--color-ink-muted); }
.cond__list .lucide { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--color-dim-relator); }
.cond__list--no .lucide { color: var(--color-dim-optimizer); }
.cond { display: block; }

/* Premium report grid: all four cards the same size (Nov 16 2026). */
.rgrid { grid-auto-rows: 1fr; align-items: stretch; }
.rgrid__item > .rp { flex: 1; display: flex; flex-direction: column; }
.rgrid__item > .rp > .rp__body { flex: 1; }
.rgrid .mc-ranking--full { gap: 1px; }
.rgrid .mc-ranking--full .mc-ranking__row { font-size: 11px; line-height: 12px; }
.rgrid .mc-ranking--full .mc-ranking__name, .rgrid .mc-ranking--full .mc-ranking__value { line-height: 12px; }
.rgrid .mc-ranking--full .mc-ranking__track { height: 7px; }
