:root {
  --red: #e52e40;
  --red-dark: #c92435;
  --red-soft: #fff1f3;
  --ink: #171717;
  --muted: #6d6d6d;
  --soft: #f6f5f3;
  --soft-2: #efeeeb;
  --line: #deddd9;
  --line-dark: #c9c7c1;
  --white: #fff;
  --green: #167b4b;
  --green-soft: #e9f7ef;
  --amber: #9a6508;
  --amber-soft: #fff4da;
  --blue: #315e9b;
  --blue-soft: #edf4ff;
  --dark: #151515;
  --dark-2: #202020;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 1000; padding: 10px 14px; background: #fff; border: 1px solid var(--line); }
.skip-link:focus { left: 12px; }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-pad { padding: 104px 0; }
.eyebrow { margin: 0 0 16px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.eyebrow-light { color: #ff8995; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { margin-bottom: 26px; font-size: clamp(48px, 6.6vw, 88px); line-height: .98; font-weight: 720; max-width: 780px; }
h2 { margin-bottom: 22px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; font-weight: 700; }
h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.15; }
p { color: var(--muted); line-height: 1.7; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; backdrop-filter: blur(16px); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.035); }
.nav-wrap { width: min(1280px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand img { width: 178px; height: auto; }
.desktop-nav { display: flex; gap: 30px; align-items: center; }
.desktop-nav a, .text-link { color: #313131; text-decoration: none; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .text-link:hover { color: var(--red); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }

.button { display: inline-flex; min-height: 48px; padding: 0 20px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--red-surface); border-radius: 4px; background: var(--red-surface); color: white; text-decoration: none; font-size: 14px; font-weight: 750; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(229,46,64,.23); outline-offset: 3px; }
.button-small { min-height: 40px; padding: 0 15px; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line-dark); }
.button-ghost:hover { background: var(--soft); border-color: #aaa7a0; }
.button-light { background: white; color: var(--ink); border-color: white; }
.button-light:hover { background: #f3f3f3; border-color: #f3f3f3; }
.inline-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.hero { padding-top: 86px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(440px, .97fr); gap: 72px; align-items: center; }
.hero-lead { max-width: 735px; font-size: 19px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: #555; font-size: 12px; font-weight: 650; }
.trust-strip span::before { content: "✓"; color: var(--red); margin-right: 7px; font-weight: 900; }

.product-frame { border: 1px solid #d8d7d3; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 28px 70px rgba(35,28,23,.12); }
.frame-top { min-height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #e6e5e1; background: #fbfbfa; }
.frame-brand { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.mini-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 5px; background: var(--red); color: #fff; font-size: 9px; font-weight: 900; }
.status-dot { color: var(--green); font-size: 11px; font-weight: 800; }
.status-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; background: #20a268; }
.frame-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 22px 18px; }
.frame-heading h2 { margin: 4px 0 0; font-size: 24px; }
.mini-label { color: #91908a; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.deadline { padding: 7px 9px; border: 1px solid #dfddd7; border-radius: 999px; color: #6d6c67; font-size: 10px; font-weight: 800; }
.status-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 0 22px 20px; border: 1px solid #e6e4df; border-radius: 7px; overflow: hidden; }
.status-grid div { padding: 13px 10px; text-align: center; border-right: 1px solid #e6e4df; background: #fbfbfa; }
.status-grid div:last-child { border-right: 0; }
.status-grid strong { display: block; margin-bottom: 2px; font-size: 20px; }
.status-grid span { color: #8a8984; font-size: 9px; }
.team-list { padding: 0 22px 18px; display: grid; gap: 8px; }
.team-row { min-width: 0; padding: 11px 11px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border: 1px solid #ebeae7; border-radius: 7px; }
.team-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: #f1efec; font-size: 11px; font-weight: 900; }
.team-row strong, .team-row small { display: block; }
.team-row strong { font-size: 12px; }
.team-row small { margin-top: 3px; color: #999791; font-size: 9px; }
.pill { display: inline-flex; padding: 5px 7px; border-radius: 999px; background: #f1f0ed; color: #6e6d68; font-size: 8px; font-weight: 850; white-space: nowrap; }
.pill-green { color: var(--green); background: var(--green-soft); }
.pill-amber { color: var(--amber); background: var(--amber-soft); }
.pill-blue { color: var(--blue); background: var(--blue-soft); }
.frame-footer { min-height: 54px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e6e5e1; background: #fbfbfa; color: #77756f; font-size: 10px; }
.mock-button { padding: 8px 10px; border: 0; border-radius: 4px; background: #deddd8; color: #9b9993; font-size: 9px; font-weight: 800; }

.proof-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfbfa; }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid div { padding: 28px 24px; border-right: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong { display: block; font-size: 28px; letter-spacing: -.04em; }
.proof-grid span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.section-heading { max-width: 790px; margin-bottom: 48px; }
.section-heading.narrow { max-width: 850px; }
.section-heading p:last-child { max-width: 720px; font-size: 17px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step-card { min-height: 300px; padding: 28px; position: relative; border: 1px solid var(--line); background: white; }
.step-number { display: block; margin-bottom: 54px; color: var(--red); font-size: 12px; font-weight: 850; }
.step-card p { max-width: 320px; }
.line-icon { position: absolute; right: 26px; bottom: 20px; color: #c6c3bd; font-size: 33px; font-weight: 300; }

.tinted { background: var(--soft); }
.feature-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: 90px; align-items: center; }
.feature-copy > p:not(.eyebrow) { max-width: 650px; font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; font-weight: 650; }
.check-list li::before { content: "✓"; color: var(--red); font-weight: 900; }
.practice-visual { padding: 26px; border: 1px solid #d3d1cb; background: #fff; }
.practice-head { padding-bottom: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.practice-stage { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 13px; padding: 18px 0; color: #8d8a84; }
.practice-stage.current { color: var(--ink); }
.stage-dot { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d8d6d0; border-radius: 50%; font-size: 10px; font-weight: 850; }
.practice-stage.current .stage-dot { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.practice-stage strong, .practice-stage small { display: block; }
.practice-stage strong { font-size: 13px; }
.practice-stage small { margin-top: 4px; color: #999790; font-size: 10px; line-height: 1.45; }
.practice-stage > span:last-child { font-size: 9px; font-weight: 800; }
.stage-line { width: 1px; height: 14px; margin: -8px 0 -8px 13px; background: #d9d7d2; }
.reset-band { margin-top: 13px; padding: 16px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; background: var(--red-soft); border: 1px solid #ffd6db; color: var(--red-dark); }
.reset-band > span { font-size: 22px; }
.reset-band strong, .reset-band small { display: block; }
.reset-band strong { font-size: 12px; }
.reset-band small { margin-top: 3px; color: #96616a; font-size: 9px; }

.feature-cards { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-cards article { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 40px; border: 1px solid #d5d3cd; border-radius: 50%; color: var(--red); font-size: 16px; }
.feature-cards p { font-size: 14px; }

.dark-section { background: var(--dark); color: #fff; }
.dark-section p { color: #b8b8b8; }
.debrief-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(450px,.9fr); gap: 84px; align-items: center; }
.debrief-copy h2 { max-width: 660px; }
.debrief-copy > p:not(.eyebrow) { max-width: 640px; font-size: 17px; }
.question-list { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid #3c3c3c; }
.question-list span { padding: 15px 0; border-bottom: 1px solid #3c3c3c; color: #e2e2e2; font-size: 13px; line-height: 1.5; }
.analytics-card { padding: 24px; border: 1px solid #3c3c3c; background: var(--dark-2); }
.analytics-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #393939; font-size: 11px; font-weight: 800; }
.analytics-top span:last-child { color: #999; }
.chart-area { padding: 24px 0 8px; }
.chart-labels { display: flex; justify-content: space-between; margin-bottom: 15px; color: #7e7e7e; font-size: 9px; }
.bar-row { display: grid; grid-template-columns: 66px 1fr 62px; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 10px; }
.bar-track { height: 7px; background: #313131; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: var(--red); }
.bar-row strong { text-align: right; font-size: 9px; }
.insight-box { margin-top: 18px; padding: 16px; border-left: 3px solid var(--red); background: #292929; }
.insight-box span, .insight-box strong { display: block; }
.insight-box span { margin-bottom: 6px; color: #ff9ba5; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.insight-box strong { font-size: 12px; line-height: 1.55; }

.discipline-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.discipline-grid article { min-height: 190px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discipline-grid h3 { font-size: 18px; }
.discipline-grid p { margin-bottom: 0; font-size: 13px; }

.course-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 90px; align-items: start; }
.course-copy p:not(.eyebrow) { font-size: 17px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.course-tags span { padding: 8px 10px; border: 1px solid #d4d2cc; font-size: 11px; font-weight: 700; }
.format-table { border-top: 1px solid var(--ink); }
.format-row { display: grid; grid-template-columns: minmax(145px,.65fr) minmax(0,1.35fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.format-row strong { font-size: 13px; }
.format-row span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.format-header { padding: 12px 0; }
.format-header span { color: #9b9993; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.methodology-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); gap: 88px; align-items: start; }
.body-large { max-width: 700px; font-size: 17px; }
.method-list { margin-top: 28px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 20px; }
.method-list span { padding-left: 16px; position: relative; color: #4d4c48; font-size: 12px; line-height: 1.5; }
.method-list span::before { content: ""; width: 5px; height: 5px; position: absolute; left: 0; top: .55em; border-radius: 50%; background: var(--red); }
.method-stats { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line); }
.method-stats div { min-height: 170px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-stats strong { display: block; margin-bottom: 15px; font-size: 33px; letter-spacing: -.04em; }
.method-stats span { color: var(--muted); font-size: 11px; line-height: 1.5; }

.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.comparison-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; }
.comparison-table th { color: #7a7872; background: #fbfbfa; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table td:nth-child(2) { color: var(--red-dark); }

.faq-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 90px; align-items: start; }
.faq-intro p:not(.eyebrow) { font-size: 15px; }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 21px 34px 21px 0; position: relative; cursor: pointer; list-style: none; font-size: 15px; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--red); font-size: 22px; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { margin: -2px 42px 22px 0; font-size: 13px; }

.feedback-section { padding-top: 0; }
.feedback-card { padding: 58px 64px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(240px,.65fr); gap: 60px; align-items: center; background: var(--red-surface); color: white; }
.feedback-card h2 { margin-bottom: 16px; font-size: clamp(36px,4vw,52px); }
.feedback-card p { margin-bottom: 0; color: #ffe4e7; font-size: 16px; }
.feedback-card p strong { color: white; }
.feedback-actions { display: grid; gap: 16px; justify-items: start; }
.text-link-light { color: white; text-underline-offset: 4px; font-size: 13px; font-weight: 750; }

.closing { padding-top: 36px; }
.closing-inner { max-width: 1000px; text-align: center; }
.closing h2 { font-size: clamp(36px,4.4vw,57px); }
.centered { justify-content: center; }

.site-footer { padding: 60px 0 26px; border-top: 1px solid var(--line); background: #faf9f7; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 50px; }
.footer-brand img { width: 165px; }
.footer-brand p { max-width: 260px; margin-top: 14px; font-size: 12px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-grid strong { margin-bottom: 5px; font-size: 12px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 12px; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { margin-top: 46px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #999791; font-size: 10px; }

@media (max-width: 1050px) {
  .nav-wrap { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero-grid, .feature-split, .debrief-grid, .course-grid, .methodology-grid, .faq-grid { grid-template-columns: 1fr; gap: 54px; }
  .product-frame, .practice-visual, .analytics-card { max-width: 720px; width: 100%; }
  .feature-cards, .discipline-grid { grid-template-columns: repeat(2,1fr); }
  .feedback-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container, .nav-wrap { width: min(100% - 30px, var(--max)); }
  .section-pad { padding: 74px 0; }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 148px; }
  .hide-mobile { display: none; }
  .button-small { min-height: 38px; padding: 0 11px; font-size: 12px; }
  .hero { padding-top: 56px; padding-bottom: 70px; }
  h1 { font-size: clamp(46px, 15vw, 66px); }
  h2 { font-size: clamp(34px, 10vw, 46px); }
  .hero-lead { font-size: 17px; }
  .hero-grid { gap: 42px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid div:nth-child(2) { border-right: 0; }
  .proof-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-grid, .feature-cards, .discipline-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 250px; }
  .status-grid { grid-template-columns: repeat(2,1fr); }
  .status-grid div:nth-child(2) { border-right: 0; }
  .status-grid div:nth-child(-n+2) { border-bottom: 1px solid #e6e4df; }
  .team-row { grid-template-columns: 34px 1fr; }
  .team-row .pill { grid-column: 2; justify-self: start; }
  .method-list, .method-stats { grid-template-columns: 1fr; }
  .format-row { grid-template-columns: 1fr; gap: 6px; }
  .feedback-card { padding: 42px 28px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .brand img { width: 126px; }
  .button-small span { display: none; }
  .button-small { padding: 0 10px; }
  .hero-actions .button { width: 100%; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .proof-grid strong { font-size: 24px; }
  .frame-heading { align-items: flex-start; }
  .feedback-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* === WordPress integration === */
html { color-scheme: light; }
html[data-mm-theme="dark"] { color-scheme: dark; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
/* WordPress makes the admin bar non-fixed on phones <=600px. Keeping a 46px sticky offset there creates a blank gap after the toolbar scrolls away. */
@media screen and (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
.primary-nav .desktop-nav, .primary-nav ul.desktop-nav { margin: 0; padding: 0; list-style: none; }
.primary-nav ul.desktop-nav { display: flex; }
.primary-nav li { margin: 0; }
.custom-logo { width: 178px; height: auto; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 4px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 17px; height: 1px; background: currentColor; }
.mobile-nav { padding: 12px 24px 20px; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav li { margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 650; }
.mobile-nav .mobile-product-link { color: var(--red); }
.theme-toggle { width: 40px; height: 40px; padding: 0; display: inline-grid; grid-template-columns: 1fr 1fr; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; overflow: hidden; }
.theme-toggle span { display: grid; place-items: center; width: 100%; height: 100%; }
.theme-toggle-moon { opacity: .45; }
html[data-mm-theme="dark"] .theme-toggle-sun { opacity: .4; }
html[data-mm-theme="dark"] .theme-toggle-moon { opacity: 1; }

/* Homepage additions */
.market-preview { border: 1px solid #d8d7d3; background: #fff; box-shadow: 0 28px 70px rgba(35,28,23,.12); }
.market-preview-top { min-height: 54px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #e6e5e1; background: #fbfbfa; }
.market-preview-top strong { margin-right: auto; font-size: 13px; }
.market-preview-body { padding: 26px; }
.market-kpis { margin: 18px 0 22px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.market-kpis div { padding: 16px; border-right: 1px solid var(--line); }
.market-kpis div:last-child { border-right: 0; }
.market-kpis span, .market-kpis strong { display: block; }
.market-kpis span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.market-kpis strong { margin-top: 5px; font-size: 19px; }
.decision-stack { border-top: 1px solid var(--line); }
.decision-stack > div { padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.decision-stack span { color: var(--muted); }
.market-note { margin-top: 18px; padding: 15px; border-left: 3px solid var(--red); background: var(--red-soft); }
.market-note span, .market-note strong { display: block; }
.market-note span { margin-bottom: 5px; color: var(--red-dark); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.market-note strong { font-size: 11px; line-height: 1.55; }
.home-decision-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.home-decision-grid span { min-height: 110px; padding: 22px; display: flex; align-items: flex-end; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 750; }
.dual-audience { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.dual-audience article { min-height: 420px; padding: 42px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); background: var(--white); }
.dual-audience article p:not(.eyebrow) { font-size: 16px; }
.dual-audience article .button { margin-top: auto; }

/* Generic content pages */
.page-hero { padding-bottom: 72px; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-hero-inner { max-width: 950px; }
.page-hero h1 { max-width: 950px; }
.page-content { padding-top: 82px; }
.prose { max-width: 850px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 64px; font-size: clamp(30px,3.6vw,46px); }
.prose h3 { margin-top: 38px; font-size: 24px; }
.prose h4 { margin-top: 30px; font-size: 18px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.78; }
.prose a { color: var(--red-dark); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose blockquote { margin: 42px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--red); color: var(--ink); font-size: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 34px 0; }
.prose th, .prose td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.prose img { margin: 34px 0; height: auto; }
.prose .wp-block-button__link { border-radius: 4px; background: var(--red); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.post-card { padding: 30px; border: 1px solid var(--line); }
.post-card h2 { font-size: 30px; }
.post-card h2 a { text-decoration: none; }

/* Dark mode is visual only: content remains server-rendered and crawlable. */
html[data-mm-theme="dark"] {
  --ink: #f3f1ed;
  --muted: #aaa8a2;
  --soft: #1c1c1b;
  --soft-2: #252523;
  --line: #3b3a37;
  --line-dark: #55524c;
  --white: #111110;
  --red-soft: #2d181c;
  --green-soft: #142820;
  --amber-soft: #2b2415;
  --blue-soft: #182331;
}
html[data-mm-theme="dark"] body { background: #111110; color: var(--ink); }
html[data-mm-theme="dark"] .site-header { background: rgba(17,17,16,.94); }
html[data-mm-theme="dark"] .desktop-nav a,
html[data-mm-theme="dark"] .text-link { color: #dedbd5; }
html[data-mm-theme="dark"] .product-frame,
html[data-mm-theme="dark"] .practice-visual,
html[data-mm-theme="dark"] .step-card,
html[data-mm-theme="dark"] .comparison-wrap,
html[data-mm-theme="dark"] .market-preview,
html[data-mm-theme="dark"] .dual-audience article,
html[data-mm-theme="dark"] .post-card { background: #171716; border-color: var(--line); }
html[data-mm-theme="dark"] .frame-top,
html[data-mm-theme="dark"] .frame-footer,
html[data-mm-theme="dark"] .market-preview-top,
html[data-mm-theme="dark"] .proof-bar,
html[data-mm-theme="dark"] .site-footer,
html[data-mm-theme="dark"] .comparison-table th,
html[data-mm-theme="dark"] .mobile-nav { background: #151514; }
html[data-mm-theme="dark"] .status-grid div { background: #1b1b19; }
html[data-mm-theme="dark"] .status-grid,
html[data-mm-theme="dark"] .status-grid div,
html[data-mm-theme="dark"] .team-row,
html[data-mm-theme="dark"] .frame-top,
html[data-mm-theme="dark"] .frame-footer,
html[data-mm-theme="dark"] .practice-visual,
html[data-mm-theme="dark"] .market-preview-top { border-color: var(--line); }
html[data-mm-theme="dark"] .team-avatar,
html[data-mm-theme="dark"] .pill { background: #292825; color: #d3d0c9; }
html[data-mm-theme="dark"] .pill-green { background: var(--green-soft); color: #79d5a8; }
html[data-mm-theme="dark"] .pill-amber { background: var(--amber-soft); color: #e6bd68; }
html[data-mm-theme="dark"] .pill-blue { background: var(--blue-soft); color: #8eb2df; }
html[data-mm-theme="dark"] .button-ghost { color: var(--ink); }
html[data-mm-theme="dark"] .comparison-table td,
html[data-mm-theme="dark"] .comparison-table th { border-color: var(--line); }
html[data-mm-theme="dark"] .comparison-table th { color: #aaa7a0; }
html[data-mm-theme="dark"] .format-row span,
html[data-mm-theme="dark"] .method-list span { color: var(--muted); }
html[data-mm-theme="dark"] .footer-grid a { color: var(--muted); }
html[data-mm-theme="dark"] .theme-toggle,
html[data-mm-theme="dark"] .menu-toggle { color: var(--ink); }
html[data-mm-theme="dark"] .page-hero { background: #171716; }
html[data-mm-theme="dark"] .prose th { background: #1c1c1b; }
html[data-mm-theme="dark"] .market-note { background: var(--red-soft); }
html[data-mm-theme="dark"] .dark-section { background: #090909; }

@media (max-width: 1050px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .dual-audience, .post-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .theme-toggle { width: 38px; height: 38px; }
  .nav-actions { gap: 8px; }
  .market-kpis { grid-template-columns: 1fr; }
  .market-kpis div { border-right: 0; border-bottom: 1px solid var(--line); }
  .market-kpis div:last-child { border-bottom: 0; }
  .home-decision-grid { grid-template-columns: 1fr; }
  .dual-audience article { min-height: 340px; padding: 28px; }
  .page-hero { padding-top: 60px; padding-bottom: 52px; }
  .page-content { padding-top: 58px; }
}


/* Actual printable report examples */
.report-showcase { overflow: hidden; }
.report-heading { max-width: 840px; }
.report-preview-grid { display: grid; gap: 30px; }
.report-preview-card {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(420px, 1.16fr);
  gap: 58px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.report-preview-card-reverse .report-preview-copy { order: 2; }
.report-preview-card-reverse .report-paper-link { order: 1; }
.report-preview-copy { min-width: 0; min-height: 470px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.report-kicker { display: block; margin-bottom: 18px; color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.report-preview-copy h3 { max-width: 480px; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.report-preview-copy p { max-width: 525px; font-size: 15px; }
.report-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.report-links > span { color: var(--muted); font-size: 11px; font-weight: 650; }
.report-paper-link { min-width: 0; display: block; text-decoration: none; }
.report-paper {
  height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d7d5cf;
  background: white;
  box-shadow: 0 22px 45px rgba(24,22,19,.11);
  transition: transform .18s ease, box-shadow .18s ease;
}
.report-paper::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.94));
  pointer-events: none;
}
.report-paper img { width: 100%; height: auto; }
.report-paper-link:hover .report-paper { box-shadow: 0 28px 58px rgba(24,22,19,.16); transform: translateY(-2px); }
.report-callout {
  margin-top: 28px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.report-callout-label { display: block; margin-bottom: 8px; color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.report-callout strong { display: block; max-width: 340px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.report-use-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.report-use-grid span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.report-use-grid b { color: var(--ink); }

html[data-mm-theme="dark"] .report-preview-card { background: #171716; }
html[data-mm-theme="dark"] .report-paper { border-color: #45433f; box-shadow: 0 22px 45px rgba(0,0,0,.28); }
html[data-mm-theme="dark"] .report-paper::after { background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(17,17,16,.86)); }

@media (max-width: 980px) {
  .report-preview-card { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .report-preview-card-reverse .report-preview-copy,
  .report-preview-card-reverse .report-paper-link { order: initial; }
  .report-preview-copy { min-height: 0; }
  .report-paper { height: 500px; }
  .report-callout { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 700px) {
  .report-preview-card { padding: 20px; }
  .report-paper { height: 390px; }
  .report-use-grid { grid-template-columns: 1fr; }
  .report-callout { padding: 24px 0; }
}

/* Instructor guide showcase */
.guide-showcase-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(280px,.65fr); gap:72px; align-items:center; }
.guide-showcase-copy { max-width:700px; }
.guide-cover-link { display:block; max-width:380px; justify-self:end; text-decoration:none; }
.guide-cover-frame { background:var(--mm-surface,#fff); border:1px solid var(--border); padding:14px; box-shadow:0 18px 50px rgba(0,0,0,.08); transition:transform .2s ease, box-shadow .2s ease; }
.guide-cover-frame img { width:100%; height:auto; display:block; }
@media (hover:hover) and (pointer:fine) { .guide-cover-link:hover .guide-cover-frame { transform:translateY(-3px); box-shadow:0 22px 58px rgba(0,0,0,.11); } }
@media (max-width:820px) { .guide-showcase-grid { grid-template-columns:1fr; gap:34px; } .guide-cover-link { justify-self:start; max-width:330px; } }

/* Account shortcodes */
.mm-auth-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(35, 28, 23, .06);
}
.mm-auth-card .eyebrow { margin-bottom: 14px; }
.mm-auth-card h2 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 48px); }
.mm-auth-card > .mm-auth-intro,
.mm-auth-card > h2 + p { max-width: 560px; margin-bottom: 0; }

.mm-auth-form,
.mm-auth-card #loginform { display: grid; gap: 17px; margin-top: 26px; }
.mm-auth-form p,
.mm-auth-card #loginform p { margin: 0; }
.mm-auth-field,
.mm-auth-card #loginform p:not(.login-remember):not(.login-submit) { display: grid; gap: 7px; }
.mm-auth-form label,
.mm-auth-card #loginform label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}
.mm-field-optional { margin-left: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.mm-auth-form input[type="text"],
.mm-auth-form input[type="email"],
.mm-auth-form input[type="password"],
.mm-auth-card #loginform input[type="text"],
.mm-auth-card #loginform input[type="password"] {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.mm-auth-form input:focus,
.mm-auth-card #loginform input[type="text"]:focus,
.mm-auth-card #loginform input[type="password"]:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 46, 64, .14);
}
.mm-auth-field small { margin-top: -1px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.mm-auth-submit-row,
.mm-auth-card #loginform .login-submit { margin-top: 3px !important; }
.mm-auth-submit,
.mm-auth-card #loginform .button-primary {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--red-surface);
  border-radius: 4px;
  background: var(--red-surface);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
}
.mm-auth-submit:hover,
.mm-auth-card #loginform .button-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.mm-auth-submit:focus-visible,
.mm-auth-card #loginform .button-primary:focus-visible { outline: 3px solid rgba(229,46,64,.23); outline-offset: 3px; }
.mm-auth-card #loginform .login-remember { display: flex; align-items: center; gap: 8px; }
.mm-auth-card #loginform .login-remember label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mm-auth-card #loginform input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--red); }
.mm-auth-errors {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid #ffd2d8;
  border-left: 3px solid var(--red);
  border-radius: 4px;
  background: var(--red-soft);
}
.mm-auth-errors strong { display: block; margin-bottom: 5px; color: var(--red-dark); font-size: 13px; }
.mm-auth-errors p { margin: 3px 0 0; color: var(--red-dark); font-size: 13px; line-height: 1.5; }
.mm-auth-switch { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.mm-auth-switch a { color: var(--red); font-weight: 750; }
.mm-auth-note { margin: 12px 0 0; color: var(--muted); font-size: 12px !important; line-height: 1.55 !important; }
.mm-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

html[data-mm-theme="dark"] .mm-auth-card { background: #171716; border-color: var(--line); box-shadow: 0 18px 55px rgba(0,0,0,.22); }
html[data-mm-theme="dark"] .mm-auth-form input[type="text"],
html[data-mm-theme="dark"] .mm-auth-form input[type="email"],
html[data-mm-theme="dark"] .mm-auth-form input[type="password"],
html[data-mm-theme="dark"] .mm-auth-card #loginform input[type="text"],
html[data-mm-theme="dark"] .mm-auth-card #loginform input[type="password"] { background: #111110; border-color: var(--line-dark); color: var(--ink); }
html[data-mm-theme="dark"] .mm-auth-errors { border-color: #5b252d; }

@media (max-width: 600px) {
  .mm-auth-card { padding: 26px 20px; border-radius: 8px; }
  .mm-auth-card h2 { font-size: clamp(30px, 10vw, 40px); }
  .mm-auth-submit,
  .mm-auth-card #loginform .button-primary { width: 100%; }
}


/* v1.4.0 content pages */
.how-step-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.how-step-grid article { padding:28px; min-height:270px; border:1px solid var(--line); background:var(--white); }
.how-step-grid article > span { display:block; margin-bottom:44px; color:var(--red); font-size:12px; font-weight:850; letter-spacing:.08em; }
.decision-detail-grid { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.decision-detail-grid > div { min-height:150px; padding:22px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.decision-detail-grid strong,.decision-detail-grid span { display:block; }
.decision-detail-grid span { margin-top:8px; color:var(--muted); font-size:13px; line-height:1.55; }
.format-explainer-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.format-explainer { padding:38px; border:1px solid var(--line); background:var(--white); }
.format-explainer h2 { font-size:clamp(30px,3vw,42px); }
.dark-section { background:var(--dark); color:#fff; }
.dark-section p { color:#c8c6c1; }
.classroom-flow-grid { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:72px; align-items:start; }
.classroom-flow { margin:0; padding:0; list-style:none; border-top:1px solid #3a3a38; }
.classroom-flow li { display:grid; grid-template-columns:38px 1fr; gap:16px; padding:20px 0; border-bottom:1px solid #3a3a38; }
.classroom-flow li > span { width:30px; height:30px; display:grid; place-items:center; border:1px solid #555; border-radius:50%; color:#ff8995; font-size:11px; font-weight:800; }
.classroom-flow strong { color:#fff; }
.classroom-flow p { margin:5px 0 0; font-size:13px; }
.how-outcome-stack { border-top:1px solid var(--line); }
.how-outcome-stack > div { padding:18px 0; display:flex; justify-content:space-between; gap:28px; border-bottom:1px solid var(--line); }
.how-outcome-stack span { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.how-outcome-stack strong { text-align:right; font-size:13px; }
.method-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:72px; align-items:start; }
.method-toc { position:sticky; top:110px; display:grid; gap:0; border-top:1px solid var(--line); }
.method-toc strong,.method-toc a { padding:12px 0; border-bottom:1px solid var(--line); }
.method-toc strong { font-size:12px; }
.method-toc a { color:var(--muted); text-decoration:none; font-size:12px; }
.method-toc a:hover { color:var(--red); }
.method-page-content { min-width:0; }
.method-block { padding:0 0 72px; margin-bottom:72px; border-bottom:1px solid var(--line); scroll-margin-top:110px; }
.method-block:last-child { margin-bottom:0; }
.method-block h2 { max-width:820px; }
.method-block > p:not(.eyebrow),.method-card-grid p { max-width:850px; font-size:16px; }
.method-card-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:28px; }
.method-card-grid article { padding:24px; border:1px solid var(--line); background:var(--soft); }
.method-callout { margin-top:28px; padding:22px 24px; display:grid; grid-template-columns:180px 1fr; gap:24px; border-left:3px solid var(--red); background:var(--red-soft); }
.method-callout span { color:var(--muted); font-size:14px; line-height:1.6; }
.method-note { padding:18px 20px; border:1px solid var(--line); background:var(--soft); }
.independent-grid { display:grid; grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr); gap:72px; align-items:center; }
.independent-photo-wrap { max-width:520px; justify-self:start; }
.independent-photo-wrap img { width:100%; height:auto; object-fit:contain; filter:drop-shadow(0 18px 30px rgba(0,0,0,.08)); }
.independent-copy > p:not(.eyebrow) { font-size:16px; }
html[data-mm-theme="dark"] .how-step-grid article,
html[data-mm-theme="dark"] .format-explainer { background:#171716; }
html[data-mm-theme="dark"] .method-card-grid article,
html[data-mm-theme="dark"] .method-note { background:#171716; }
html[data-mm-theme="dark"] .method-callout { background:#2a171a; }
@media (max-width:980px) {
  .how-step-grid { grid-template-columns:repeat(2,1fr); }
  .classroom-flow-grid,.method-layout,.independent-grid { grid-template-columns:1fr; gap:42px; }
  .method-toc { position:static; grid-template-columns:repeat(2,1fr); }
  .method-toc strong { grid-column:1/-1; }
  .independent-photo-wrap { max-width:420px; }
}
@media (max-width:700px) {
  .how-step-grid,.decision-detail-grid,.format-explainer-grid,.method-card-grid { grid-template-columns:1fr; }
  .method-callout { grid-template-columns:1fr; gap:8px; }
  .how-outcome-stack > div { display:grid; gap:6px; }
  .how-outcome-stack strong { text-align:left; }
}

/* v1.4.1 homepage routing + early-access feedback */
.proof-grid.proof-grid-three { grid-template-columns: repeat(3, 1fr); }
.mm-home-contact { padding-top: 0; }
.home-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.home-contact-card > div { max-width: 760px; }
.home-contact-card h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); }
.home-contact-card p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.home-contact-card .button { flex: 0 0 auto; white-space: nowrap; }
html[data-mm-theme="dark"] .home-contact-card { background: #171716; }
@media (max-width: 760px) {
  .proof-grid.proof-grid-three { grid-template-columns: 1fr; }
  .home-contact-card { display: grid; gap: 24px; padding: 28px 24px; }
  .home-contact-card .button { width: 100%; white-space: normal; text-align: center; }
}


/* v1.4.2 on-site feedback email composer */
.mm-home-contact { padding-top: 20px; }
.contact-layout { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); gap:64px; align-items:start; }
.contact-intro { padding-top:30px; }
.contact-intro h2 { margin:0 0 14px; font-size:clamp(34px,4vw,52px); }
.contact-intro p:not(.eyebrow) { max-width:520px; color:var(--muted); font-size:15px; line-height:1.7; }
.email-composer-card { overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--white); box-shadow:0 18px 48px rgba(21,20,18,.08); }
.email-composer-bar { min-height:46px; padding:0 16px; display:flex; align-items:center; gap:8px; border-bottom:1px solid var(--line); background:var(--soft); }
.email-composer-bar > span { width:9px; height:9px; border-radius:50%; background:#d1cec8; }
.email-composer-bar strong { margin-left:8px; color:var(--muted); font-size:11px; letter-spacing:.04em; text-transform:uppercase; }
.email-composer-form { display:block; }
.email-row { min-height:52px; margin:0; padding:0 20px; display:grid; grid-template-columns:72px minmax(0,1fr); align-items:center; border-bottom:1px solid var(--line); }
.email-row > span { color:var(--muted); font-size:12px; font-weight:750; }
.email-row strong { font-size:13px; font-weight:700; }
.email-row input { width:100%; min-width:0; padding:14px 0; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:14px; box-shadow:none; }
.email-row input::placeholder,.email-message textarea::placeholder { color:#a6a29b; opacity:1; }
.email-row:focus-within { box-shadow:inset 3px 0 0 var(--red); }
.email-message { display:block; margin:0; }
.email-message textarea { width:100%; min-height:210px; padding:20px; resize:vertical; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:14px; line-height:1.65; }
.email-message:focus-within { box-shadow:inset 3px 0 0 var(--red); }
.email-composer-footer { padding:14px 16px 14px 20px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-top:1px solid var(--line); background:var(--soft); }
.email-composer-footer > span { color:var(--muted); font-size:11px; line-height:1.4; }
.email-composer-footer .button { flex:0 0 auto; }
.mm-feedback-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.feedback-status { margin:16px 20px 0; padding:11px 13px; border:1px solid var(--line); font-size:12px; line-height:1.5; }
.feedback-status-success { background:#edf7ef; border-color:#cbe5d0; color:#245c31; }
.feedback-status-error { background:var(--red-soft); border-color:#efc6cb; color:var(--red-dark); }
html[data-mm-theme="dark"] .email-composer-card { background:#171716; border-color:var(--line); box-shadow:0 18px 48px rgba(0,0,0,.22); }
html[data-mm-theme="dark"] .email-composer-bar,html[data-mm-theme="dark"] .email-composer-footer { background:#111110; }
html[data-mm-theme="dark"] .feedback-status-success { background:#132117; border-color:#264c31; color:#a9d9b5; }
@media (max-width:900px) { .contact-layout { grid-template-columns:1fr; gap:28px; } .contact-intro { padding-top:0; } }
@media (max-width:600px) {
  .email-row { grid-template-columns:58px minmax(0,1fr); padding:0 14px; }
  .email-message textarea { min-height:190px; padding:16px 14px; }
  .email-composer-footer { align-items:stretch; flex-direction:column; padding:14px; }
  .email-composer-footer .button { width:100%; text-align:center; }
  .email-composer-footer > span { order:2; }
}

/* v1.4.3 About page */
.mm-about-hero .page-hero-inner { max-width: 900px; }
.mm-about-hero .hero-actions { margin-top: 28px; }
.about-purpose-grid {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 80px;
  align-items: start;
}
.about-purpose-grid h2 { max-width: 560px; }
.about-purpose-copy { max-width: 760px; }
.about-purpose-copy p { margin-top: 0; font-size: 17px; line-height: 1.75; }
.about-purpose-copy p + p { margin-top: 22px; }
.compact-heading { max-width: 760px; margin-bottom: 34px; }
.about-principle-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-principle-grid article { min-height: 270px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.about-principle-grid article > span { display: block; margin-bottom: 54px; color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.about-principle-grid h3 { margin: 0 0 10px; font-size: 23px; }
.about-principle-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.independent-grid.independent-grid-compact { grid-template-columns: 270px minmax(0,1fr); gap: 64px; align-items: center; }
.independent-photo-wrap.independent-photo-compact { width: 100%; max-width: 270px; margin: 0; justify-self: center; }
.independent-photo-compact img { width: 100%; height: auto; display: block; object-fit: contain; filter: drop-shadow(0 14px 24px rgba(0,0,0,.07)); }
.mm-about-next { padding-top: 84px; padding-bottom: 84px; }
.about-next-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 72px; align-items: start; }
.about-next-grid h2 { max-width: 520px; }
.about-next-links { border-top: 1px solid var(--line-dark); }
.about-next-links a { display: grid; grid-template-columns: 150px 1fr 20px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-dark); color: var(--ink); text-decoration: none; }
.about-next-links span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.about-next-links strong { font-size: 14px; line-height: 1.45; }
.about-next-links b { color: var(--red); font-size: 20px; font-weight: 500; transition: transform .15s ease; }
.about-next-links a:hover b { transform: translateX(3px); }
html[data-mm-theme="dark"] .about-principle-grid article { background: #171716; }

@media (max-width: 900px) {
  .about-purpose-grid, .about-next-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-principle-grid { grid-template-columns: 1fr; }
  .about-principle-grid article { min-height: 0; }
  .about-principle-grid article > span { margin-bottom: 28px; }
  .independent-grid.independent-grid-compact { grid-template-columns: 220px minmax(0,1fr); gap: 42px; }
  .independent-photo-wrap.independent-photo-compact { max-width: 220px; }
}
@media (max-width: 660px) {
  .independent-grid.independent-grid-compact { grid-template-columns: 1fr; gap: 28px; }
  .independent-photo-wrap.independent-photo-compact { max-width: 190px; justify-self: start; }
  .about-next-links a { grid-template-columns: 1fr 20px; gap: 6px 14px; }
  .about-next-links span { grid-column: 1; }
  .about-next-links strong { grid-column: 1; }
  .about-next-links b { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* v1.4.6 homepage LinkedIn CTA */
.mm-linkedin-cta { padding-bottom: 24px; }
.linkedin-cta-card {
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.linkedin-cta-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--inverse-surface);
  color: var(--inverse-text);
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
}
.linkedin-cta-copy .eyebrow { margin-bottom: 6px; }
.linkedin-cta-copy h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); }
.linkedin-cta-copy p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.linkedin-cta-button { white-space: nowrap; }
html[data-mm-theme="dark"] .linkedin-cta-card { background: #171716; }
html[data-mm-theme="dark"] .linkedin-cta-mark { background: #f4f1eb; color: #171716; }
@media (max-width: 760px) {
  .mm-linkedin-cta { padding-bottom: 10px; }
  .linkedin-cta-card { grid-template-columns: 46px minmax(0,1fr); gap: 18px; padding: 24px; }
  .linkedin-cta-mark { width: 46px; height: 46px; font-size: 21px; }
  .linkedin-cta-button { grid-column: 1 / -1; width: 100%; text-align: center; white-space: normal; }
}


/* ========================================================================
   Markup Markets Studio — premium interactive redesign
   Red / paper / ink brand system. Existing auth and WordPress integrations
   remain intact; this layer focuses on presentation and progressive motion.
   ======================================================================== */
:root {
  --red: #e33445;
  --red-dark: #bd2635;
  --red-soft: #f9dfe1;
  --ink: #171411;
  --muted: #6d665f;
  --paper: #f3ede3;
  --paper-deep: #e9dfd1;
  --paper-bright: #fbf7f0;
  --soft: #eee6db;
  --soft-2: #e6dccd;
  --line: #d5cbbd;
  --line-dark: #b8ac9e;
  --white: #fbf7f0;
  --dark: #171411;
  --dark-2: #211d19;
  --green: #2b7754;
  --green-soft: #dfeee5;
  --amber: #9b6816;
  --amber-soft: #f5ead2;
  --blue: #3a5f80;
  --blue-soft: #e2e9ee;
  --max: 1220px;
  --mm-scroll-y: 0px;
  --mm-scroll-progress: 0;
  --inverse-surface: #171411;
  --inverse-surface-2: #211d19;
  --inverse-text: #fffaf5;
  --inverse-muted: #c6bcb4;
  --accent-on-dark: #ff8d99;
  --accent-text: #bd2635;
  --red-surface: #bd2635;
  --control-active-bg: #171411;
  --control-active-text: #fffaf5;
}

body {
  background: var(--paper-bright);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(58px, 7.4vw, 108px); line-height: .88; }
h2 { font-size: clamp(42px, 5vw, 70px); line-height: .96; }
h3 { font-size: clamp(24px, 2.1vw, 31px); line-height: 1.04; }
.eyebrow { color: var(--red); font-size: 11px; letter-spacing: .19em; font-weight: 850; }
.hero-lead { font-size: clamp(18px, 1.55vw, 21px); }
.section-pad { padding: clamp(82px, 9vw, 138px) 0; }
.container { width: min(var(--max), calc(100% - 56px)); }

.site-header { background: rgba(251,247,240,.87); border-bottom-color: rgba(23,20,17,.06); backdrop-filter: blur(22px) saturate(125%); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 14px 42px rgba(52,40,29,.07); }
.nav-wrap { min-height: 82px; }
.desktop-nav a, .text-link { color: var(--ink); font-size: 13px; letter-spacing: .01em; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-8px; height:1px; background:var(--red); transition:right .28s ease; }
.desktop-nav a:hover::after { right:0; }
.button { border-radius: 999px; padding: 0 23px; min-height: 48px; box-shadow: none; }
.button-large { min-height: 56px; padding: 0 29px; font-size: 14px; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(227,52,69,.16); }
.button-ghost { background: rgba(251,247,240,.4); border-color: var(--line-dark); }
.button-dark-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.button-dark-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); box-shadow:none; }
.theme-toggle { background: rgba(255,255,255,.35); border-color: var(--line); }

.mm-studio-hero { position: relative; min-height: calc(100vh - 82px); display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 78% 16%, rgba(227,52,69,.09), transparent 32%), linear-gradient(180deg, #f8f2e9 0%, #f3ecdf 100%); }
.mm-studio-hero::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.34; background-image: radial-gradient(rgba(23,20,17,.12) .55px, transparent .55px); background-size: 9px 9px; mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); }
.mm-studio-hero-grid { position: relative; z-index: 2; display:grid; grid-template-columns:minmax(0, .92fr) minmax(480px,1.08fr); gap: clamp(52px,7vw,104px); align-items:center; }
.mm-studio-hero-copy h1 { max-width: 750px; }
.mm-studio-hero-copy h1 em { color: var(--red); font-style: italic; font-weight: 400; }
.mm-studio-hero-copy .hero-lead { max-width: 680px; }
.mm-signal-row { display:flex; flex-wrap:wrap; gap:16px 30px; margin-top:36px; padding-top:24px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.mm-signal-row b { color:var(--ink); font-weight:850; margin-right:4px; }
.mm-ambient { position:absolute; border:1px solid rgba(227,52,69,.16); border-radius:50%; pointer-events:none; }
.mm-ambient-one { width:420px; height:420px; right:-130px; top:60px; transform: translateY(calc(var(--mm-scroll-y) * .05)); }
.mm-ambient-two { width:210px; height:210px; left:-90px; bottom:50px; transform: translateY(calc(var(--mm-scroll-y) * -.03)); }
.mm-scroll-cue { position:absolute; z-index:3; bottom:28px; left:50%; transform:translateX(-50%); display:grid; justify-items:center; gap:8px; color:var(--muted); font-size:9px; letter-spacing:.18em; text-transform:uppercase; text-decoration:none; }
.mm-scroll-cue i { width:1px; height:42px; background:linear-gradient(var(--red), transparent); transform-origin:top; animation:mm-scroll-pulse 1.8s ease-in-out infinite; }
@keyframes mm-scroll-pulse { 0%,100%{transform:scaleY(.4);opacity:.5} 50%{transform:scaleY(1);opacity:1} }

.mm-demo-shell, .mm-control-room { border:1px solid rgba(73,56,42,.24); border-radius:18px; overflow:hidden; background:rgba(255,252,246,.93); box-shadow:0 42px 90px rgba(52,38,25,.18), 0 4px 0 rgba(23,20,17,.03); transform: rotate(.35deg); }
.mm-demo-chrome, .mm-control-top { min-height:54px; padding:0 18px; display:flex; align-items:center; gap:7px; border-bottom:1px solid var(--line); background:rgba(236,226,213,.58); }
.mm-demo-chrome strong { margin-left:8px; font-size:12px; }
.mm-demo-live { margin-left:auto; color:var(--red); font-size:9px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.mm-demo-dot { width:8px; height:8px; border-radius:50%; background:#c6b9aa; }
.mm-demo-dot:first-child { background:var(--red); }
.mm-demo-body { padding:28px; }
.mm-demo-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.mm-demo-heading h2 { margin:5px 0 0; font-family:Inter, sans-serif; font-size:25px; font-weight:760; letter-spacing:-.035em; }
.mm-segment-switch { display:flex; flex-wrap:wrap; gap:7px; margin:23px 0; }
.mm-segment-switch button, .mm-choice-row button, .mm-control-tabs button { border:1px solid var(--line); background:transparent; color:var(--muted); border-radius:999px; padding:9px 12px; cursor:pointer; font-size:10px; font-weight:800; transition:.2s ease; }
.mm-segment-switch button:hover, .mm-choice-row button:hover, .mm-control-tabs button:hover { border-color:var(--red); color:var(--red-dark); }
.mm-segment-switch button.is-active, .mm-choice-row button.is-active, .mm-control-tabs button.is-active { background:var(--control-active-bg); border-color:var(--control-active-bg); color:var(--control-active-text); }
.mm-range-row { display:grid; gap:9px; padding:16px 0; border-top:1px solid var(--line); }
.mm-range-row > span { display:flex; justify-content:space-between; gap:15px; align-items:center; font-size:12px; }
.mm-range-row b { font-weight:760; }
.mm-range-row output { color:var(--red-dark); font-size:12px; font-weight:850; }
.mm-range-row input[type="range"] { width:100%; accent-color:var(--red); }
.mm-demo-outcomes { display:grid; grid-template-columns:repeat(3,1fr); margin-top:13px; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.mm-demo-outcomes div { padding:14px; border-right:1px solid var(--line); }
.mm-demo-outcomes div:last-child { border-right:0; }
.mm-demo-outcomes span, .mm-demo-outcomes strong { display:block; }
.mm-demo-outcomes span { color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.08em; }
.mm-demo-outcomes strong { margin-top:5px; font-size:12px; }
.mm-market-message { margin-top:15px; padding:15px 16px; border-left:3px solid var(--red); background:rgba(227,52,69,.07); }
.mm-market-message span { color:var(--red-dark); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.11em; }
.mm-market-message p { margin:5px 0 0; color:var(--ink); font-size:11px; line-height:1.55; }
.mm-demo-disclaimer { margin:13px 0 0; color:#8b8178; font-size:9px; line-height:1.5; }

.mm-ticker { overflow:hidden; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); background:var(--red-surface); color:#fff; }
.mm-ticker > div { min-width:max-content; display:flex; align-items:center; gap:28px; padding:15px 0; animation:mm-ticker 28s linear infinite; font-size:10px; font-weight:850; letter-spacing:.14em; }
.mm-ticker b { opacity:.55; font-weight:400; }
@keyframes mm-ticker { from{transform:translateX(0)} to{transform:translateX(-25%)} }

.mm-story-section { background:var(--paper-bright); }
.mm-story-grid { display:grid; grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr); gap:clamp(70px,10vw,150px); align-items:start; }
.mm-story-sticky { position:sticky; top:135px; }
.mm-story-sticky p:not(.eyebrow) { max-width:510px; font-size:17px; }
.mm-story-cards { display:grid; gap:18px; }
.mm-story-card { min-height:390px; padding:34px; position:relative; display:flex; flex-direction:column; justify-content:flex-end; border:1px solid var(--line); background:linear-gradient(145deg,#f9f4ec,#eee4d6); transition:transform .35s ease, box-shadow .35s ease; }
.mm-story-card:hover { transform:translateY(-6px) rotate(-.3deg); box-shadow:0 28px 70px rgba(61,46,32,.12); }
.mm-story-card > span { position:absolute; top:28px; left:30px; color:var(--red); font-size:10px; font-weight:900; }
.mm-story-icon { position:absolute; right:30px; top:22px; font-family:Georgia,serif; color:rgba(227,52,69,.55); font-size:52px; }
.mm-story-card h3 { max-width:520px; font-size:clamp(32px,3vw,46px); }
.mm-story-card p { max-width:530px; font-size:15px; }

.mm-poll-section { background:var(--inverse-surface); color:var(--inverse-text); }
.mm-poll-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(60px,9vw,130px); align-items:center; }
.mm-poll-section h2 { color:#fff; }
.mm-poll-section p { color:#bfb7ae; }
.mm-poll-card { border-top:1px solid rgba(255,255,255,.38); }
.mm-poll-card button { width:100%; min-height:76px; padding:0; display:grid; grid-template-columns:minmax(150px, .58fr) 1fr 48px; gap:20px; align-items:center; border:0; border-bottom:1px solid rgba(255,255,255,.22); background:transparent; color:#fff; cursor:pointer; text-align:left; }
.mm-poll-card button span { font-size:15px; font-weight:750; }
.mm-poll-card button i { height:4px; position:relative; overflow:hidden; background:rgba(255,255,255,.14); }
.mm-poll-card button i b { width:var(--poll); height:100%; display:block; background:var(--red); transition:width .5s cubic-bezier(.2,.8,.2,1); }
.mm-poll-card button em { font-style:normal; color:#bfb7ae; font-size:11px; text-align:right; }
.mm-poll-card button.is-selected span { color:#ff8c98; }
.mm-poll-response { margin:20px 0 0; font-size:11px; }
.mm-privacy-note { font-size:10px !important; }

.mm-audience-section { background:var(--paper); }
.mm-audience-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.mm-audience-grid article { min-height:540px; padding:42px; display:flex; flex-direction:column; align-items:flex-start; border:1px solid var(--line); background:var(--paper-bright); }
.mm-audience-grid article.is-accent { background:var(--red-surface); border-color:var(--red-surface); color:#fff; }
.mm-audience-grid article.is-accent p, .mm-audience-grid article.is-accent li { color:#ffe2e5; }
.mm-audience-grid article h3 { margin-top:50px; font-size:clamp(36px,3.5vw,52px); }
.mm-card-index { font-size:9px; font-weight:900; letter-spacing:.16em; }
.mm-audience-grid ul { list-style:none; padding:0; margin:20px 0 32px; display:grid; gap:10px; color:var(--muted); font-size:13px; }
.mm-audience-grid li::before { content:"↳"; color:var(--red); margin-right:9px; }
.mm-audience-grid .is-accent li::before { color:#fff; }
.mm-audience-grid .button { margin-top:auto; }

.mm-linkedin-cta { background:var(--paper-bright); }
.linkedin-cta-card { padding:42px 46px; display:grid; grid-template-columns:auto 1fr auto; gap:26px; align-items:center; border:1px solid var(--inverse-surface); background:var(--inverse-surface); color:var(--inverse-text); border-radius:18px; box-shadow:0 28px 70px rgba(47,35,25,.12); }
.linkedin-cta-mark { width:52px; height:52px; display:grid; place-items:center; border-radius:10px; background:#0a66c2; color:#fff; font-size:20px; font-weight:900; }
.linkedin-cta-copy h2 { margin:0 0 7px; color:#fff; font-size:clamp(31px,3vw,44px); }
.linkedin-cta-copy p:last-child { margin:0; color:#bdb6af; font-size:13px; }

.mm-home-contact { background:var(--paper); }
.contact-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:clamp(55px,8vw,110px); align-items:start; }
.contact-intro { position:sticky; top:130px; }
.mm-contact-meta { margin-top:28px; padding-top:18px; border-top:1px solid var(--line); }
.mm-contact-meta span,.mm-contact-meta strong { display:block; }
.mm-contact-meta span { color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.1em; }
.mm-contact-meta strong { margin-top:5px; font-size:15px; }
.email-composer-card { border-radius:16px; overflow:hidden; border:1px solid var(--line-dark); box-shadow:0 28px 70px rgba(50,37,26,.1); background:var(--paper-bright); }
.email-composer-bar { background:#e8ded0; }
.email-row, .email-message { border-color:var(--line) !important; }
.email-row input, .email-message textarea { background:transparent; color:var(--ink); }

.mm-closing-stage { background:var(--red-surface); color:#fff; overflow:hidden; position:relative; }
.mm-closing-stage::after { content:"MM"; position:absolute; right:-.06em; bottom:-.34em; color:rgba(255,255,255,.08); font-family:Georgia,serif; font-size:min(42vw,650px); line-height:1; pointer-events:none; }
.mm-closing-stage-inner { position:relative; z-index:2; text-align:center; }
.mm-closing-stage h2 { margin-inline:auto; color:#fff; font-size:clamp(48px,6.8vw,90px); }
.hero-actions.centered { justify-content:center; }

/* About */
.mm-page-hero { padding-top:clamp(95px,10vw,145px); padding-bottom:clamp(80px,9vw,125px); background:linear-gradient(180deg,var(--paper),var(--paper-bright)); border-bottom:1px solid var(--line); }
.mm-page-hero-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:90px; align-items:end; }
.mm-page-hero h1 { max-width:880px; }
.mm-page-hero-copy p { font-size:18px; }
.mm-manifesto-grid { display:grid; grid-template-columns:140px minmax(0,1.15fr) minmax(300px,.7fr); gap:52px; align-items:start; }
.mm-manifesto blockquote { margin:0; max-width:750px; font-family:Georgia,serif; font-size:clamp(38px,4vw,58px); line-height:1.05; letter-spacing:-.04em; }
.mm-manifesto-copy p { font-size:15px; }
.mm-principles-stage { background:var(--inverse-surface); color:var(--inverse-text); }
.mm-principles-stage h2 { color:#fff; }
.mm-principles-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(255,255,255,.25); border-left:1px solid rgba(255,255,255,.25); }
.mm-principles-grid article { min-height:390px; padding:30px; border-right:1px solid rgba(255,255,255,.25); border-bottom:1px solid rgba(255,255,255,.25); }
.mm-principles-grid article > span { color:#ff8c98; font-size:10px; font-weight:900; }
.mm-principles-grid h3 { margin-top:100px; color:#fff; font-size:31px; }
.mm-principles-grid p { color:#bcb3ab; font-size:13px; }
.mm-build-section { background:var(--paper); }
.mm-build-grid { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:100px; align-items:start; }
.mm-build-copy { position:sticky; top:130px; }
.mm-build-copy p:not(.eyebrow) { font-size:16px; }
.mm-build-steps { list-style:none; padding:0; margin:0; border-top:1px solid var(--ink); }
.mm-build-steps li { padding:26px 0; display:grid; grid-template-columns:60px 1fr; gap:20px; border-bottom:1px solid var(--line); }
.mm-build-steps li > b { color:var(--red); font-size:11px; }
.mm-build-steps strong,.mm-build-steps em { display:block; }
.mm-build-steps strong { font-family:Georgia,serif; font-size:27px; font-weight:500; }
.mm-build-steps em { margin-top:7px; color:var(--muted); font-size:12px; font-style:normal; }
.mm-about-status { background:var(--paper-bright); }
.mm-about-status-card { padding:clamp(42px,6vw,76px); display:grid; grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr); gap:65px; align-items:center; border-radius:20px; background:var(--red-surface); color:#fff; }
.mm-about-status-card h2 { color:#fff; }
.mm-about-status-card p { color:#ffe1e4; }
.mm-about-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.mm-next-links { background:var(--paper); }

/* Educator experience */
.mm-educator-hero { position:relative; overflow:hidden; background:radial-gradient(circle at 85% 8%,rgba(227,52,69,.11),transparent 30%),var(--paper-bright); }
.mm-educator-hero-grid { display:grid; grid-template-columns:minmax(0,.92fr) minmax(480px,1.08fr); gap:80px; align-items:center; }
.mm-educator-copy h1 { max-width:800px; }
.mm-control-room { transform:rotate(-.35deg); }
.mm-control-top strong { margin-right:auto; font-size:12px; }
.mm-control-heading { padding:24px 24px 16px; display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.mm-control-heading h2 { margin:4px 0 0; font-family:Inter,sans-serif; font-size:24px; font-weight:760; letter-spacing:-.035em; }
.mm-control-heading > span { color:var(--red-dark); font-size:10px; font-weight:850; }
.mm-control-tabs { display:flex; gap:6px; padding:0 24px 16px; }
.mm-control-panel { display:none; min-height:275px; padding:0 24px 22px; }
.mm-control-panel.is-active { display:block; animation:mm-panel-in .28s ease; }
@keyframes mm-panel-in { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:none} }
.mm-control-room .status-grid { margin:0 0 17px; }
.mm-debrief-preview { min-height:250px; display:flex; flex-direction:column; justify-content:center; padding:30px; border:1px solid var(--line); background:var(--paper); }
.mm-debrief-preview span { color:var(--red); font-size:9px; text-transform:uppercase; letter-spacing:.12em; font-weight:900; }
.mm-debrief-preview strong { margin-top:15px; font-family:Georgia,serif; font-size:29px; line-height:1.05; }
.mm-debrief-preview p { margin:13px 0 0; font-size:11px; }
.mm-mini-chart { min-height:250px; display:flex; gap:16px; align-items:flex-end; padding:28px; border:1px solid var(--line); }
.mm-mini-chart i { flex:1; height:var(--bar); min-height:22px; position:relative; background:linear-gradient(var(--red),var(--red-dark)); border-radius:5px 5px 0 0; }
.mm-mini-chart span { position:absolute; bottom:-22px; left:50%; transform:translateX(-50%); color:var(--muted); font-size:8px; font-style:normal; white-space:nowrap; }
.mm-control-footer { min-height:55px; padding:0 22px; display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); background:#eee5d8; color:var(--muted); font-size:9px; }
.mm-control-footer button { border:0; border-radius:999px; padding:9px 13px; background:var(--red-surface); color:#fff; font-size:9px; font-weight:850; cursor:pointer; }
.mm-control-footer button.is-confirmed { background:var(--green); }

.mm-course-fit { background:var(--paper); }
.mm-course-fit-grid { display:grid; grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr); gap:90px; align-items:start; }
.mm-course-fit-grid > div:first-child { position:sticky; top:130px; }
.mm-fit-card { padding:34px; border:1px solid var(--line-dark); border-radius:18px; background:var(--paper-bright); box-shadow:0 26px 65px rgba(49,37,26,.08); }
.mm-fit-card fieldset { margin:0; padding:21px 0; border:0; border-bottom:1px solid var(--line); }
.mm-fit-card legend { padding:0; color:var(--ink); font-size:12px; font-weight:800; }
.mm-choice-row { display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; }
.mm-fit-result { margin-top:24px; padding:24px; background:var(--inverse-surface); color:var(--inverse-text); border-radius:13px; }
.mm-fit-result > span { color:#ff8d99; font-size:8px; text-transform:uppercase; letter-spacing:.14em; font-weight:900; }
.mm-fit-result > strong { display:block; margin-top:8px; font-family:Georgia,serif; font-size:30px; font-weight:500; }
.mm-fit-result p { color:#beb5ad; font-size:12px; }
.mm-fit-result > div { display:flex; flex-wrap:wrap; gap:8px 18px; padding-top:13px; border-top:1px solid rgba(255,255,255,.18); }
.mm-fit-result b { font-size:10px; }
.mm-fit-result em { color:#aaa098; font-size:9px; font-style:normal; }

.mm-educator-lab-section { background:var(--paper-bright); }
.mm-educator-lab { display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--ink); border-radius:18px; overflow:hidden; }
.mm-lab-controls, .mm-lab-readout { padding:clamp(30px,4.5vw,58px); }
.mm-lab-controls { background:var(--paper); }
.mm-lab-readout { background:var(--inverse-surface); color:var(--inverse-text); }
.mm-lab-readout h3 { margin:12px 0 30px; color:#fff; font-size:44px; }
.mm-readout-meter { display:grid; grid-template-columns:110px 1fr 72px; gap:12px; align-items:center; padding:14px 0; border-top:1px solid rgba(255,255,255,.16); font-size:10px; }
.mm-readout-meter > b { height:4px; overflow:hidden; background:rgba(255,255,255,.14); }
.mm-readout-meter i { width:var(--meter,45%); height:100%; display:block; background:var(--red); transition:width .35s ease; }
.mm-readout-meter em { text-align:right; font-style:normal; color:#bcb4ad; }
.mm-lab-readout blockquote { margin:30px 0 0; padding:20px 0 0; border-top:1px solid rgba(255,255,255,.18); font-family:Georgia,serif; font-size:25px; line-height:1.18; }

.mm-academic-flow { background:var(--paper); }
.mm-flow-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line-dark); border-left:1px solid var(--line-dark); }
.mm-flow-grid article { min-height:310px; padding:30px; border-right:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); }
.mm-flow-grid article > span { color:var(--red); font-size:10px; font-weight:900; }
.mm-flow-grid h3 { margin-top:70px; font-size:30px; }
.mm-flow-grid p { font-size:13px; }
.mm-reports-stage { background:var(--inverse-surface); color:var(--inverse-text); overflow:hidden; }
.mm-reports-grid { display:grid; grid-template-columns:minmax(0,.82fr) minmax(400px,1.18fr); gap:70px; align-items:center; }
.mm-reports-grid h2 { color:#fff; }
.mm-reports-grid p { color:#bbb2aa; }
.mm-report-stack { min-height:520px; position:relative; }
.mm-report-stack img { position:absolute; width:min(62%,430px); border-radius:6px; box-shadow:0 24px 55px rgba(0,0,0,.3); }
.mm-report-stack img:first-child { top:0; left:7%; transform:rotate(-4deg); }
.mm-report-stack img:last-child { right:3%; bottom:0; transform:rotate(5deg); }
.mm-faq-stage { background:var(--paper-bright); }

/* Reveal animation */
.mm-reveal-ready { opacity:0; transform:translateY(34px); transition:opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1); }
.mm-reveal-ready[data-reveal="left"] { transform:translateX(-32px); }
.mm-reveal-ready[data-reveal="right"] { transform:translateX(32px); }
.mm-reveal-ready.mm-revealed { opacity:1; transform:none; }

/* Premium generic pages without replacing their semantic templates. */
.page-hero { background:linear-gradient(180deg,var(--paper),var(--paper-bright)); }
.prose blockquote { border-left-color:var(--red); font-family:Georgia,serif; }
.post-card, .format-explainer, .decision-detail-grid > div, .how-step-grid article { background:var(--paper-bright); }
.site-footer { background:#151311; color:#fff; }
.footer-grid { border-color:rgba(255,255,255,.16); }
.footer-grid p, .footer-grid a, .footer-bottom { color:#aaa19a; }
.footer-grid strong { color:#fff; }
.footer-brand img { filter:brightness(0) invert(1); }

/* Auth pages retain the existing PHP/shortcodes but inherit the studio system. */
.mm-auth-card { border-radius:18px !important; border-color:var(--line-dark) !important; background:var(--paper-bright) !important; box-shadow:0 28px 70px rgba(48,35,24,.1); }
.mm-auth-card h2 { font-family:Georgia,serif; }
.mm-auth-card input { background:rgba(255,255,255,.45) !important; border-color:var(--line) !important; }

html[data-mm-theme="dark"] {
  --ink:#f3ede5;
  --muted:#a9a099;
  --paper:#1d1916;
  --paper-deep:#27211c;
  --paper-bright:#151311;
  --soft:#211c18;
  --soft-2:#2a241f;
  --line:#39312b;
  --line-dark:#55483e;
  --white:#151311;
  --red-soft:#3a1e22;
}
html[data-mm-theme="dark"] body { background:var(--paper-bright); }
html[data-mm-theme="dark"] .site-header { background:rgba(21,19,17,.88); }
html[data-mm-theme="dark"] .mm-studio-hero, html[data-mm-theme="dark"] .mm-educator-hero, html[data-mm-theme="dark"] .mm-page-hero { background:radial-gradient(circle at 80% 10%,rgba(227,52,69,.14),transparent 32%),linear-gradient(180deg,#1e1916,#151311); }
html[data-mm-theme="dark"] .mm-demo-shell, html[data-mm-theme="dark"] .mm-control-room, html[data-mm-theme="dark"] .mm-fit-card, html[data-mm-theme="dark"] .email-composer-card, html[data-mm-theme="dark"] .mm-audience-grid article { background:#1b1714; border-color:var(--line); }
html[data-mm-theme="dark"] .mm-demo-chrome, html[data-mm-theme="dark"] .mm-control-top, html[data-mm-theme="dark"] .mm-control-footer, html[data-mm-theme="dark"] .email-composer-bar { background:#241e1a; }
html[data-mm-theme="dark"] .mm-market-message { background:#351c20; }
html[data-mm-theme="dark"] .mm-story-card { background:linear-gradient(145deg,#211c18,#181512); }
html[data-mm-theme="dark"] .mm-audience-grid article.is-accent { background:var(--red-surface); }
html[data-mm-theme="dark"] .mm-lab-controls { background:#211c18; }
html[data-mm-theme="dark"] .button-ghost { background:rgba(255,255,255,.02); }
html[data-mm-theme="dark"] .footer-brand img { filter:brightness(0) invert(1); }
html[data-mm-theme="dark"] .mm-auth-card { background:#1b1714 !important; }
html[data-mm-theme="dark"] .mm-auth-card input { background:#211c18 !important; color:var(--ink) !important; }

/* Textual brand accents use a darker red on paper and a brighter red on dark surfaces. */
.eyebrow,
.step-number,
.report-kicker,
.report-callout-label,
.how-step-grid article > span,
.about-principle-grid article > span,
.mm-demo-live,
.mm-story-card > span,
.mm-build-steps li > b,
.mm-debrief-preview span,
.mm-flow-grid article > span,
.mm-control-heading > span,
.mm-range-row output,
.mm-market-message span,
.market-note span,
.comparison-table td:nth-child(2),
.prose a,
.mm-auth-switch a { color:var(--accent-text); }

/* Dark-mode semantic palette: foreground colors are never reused as surfaces. */
html[data-mm-theme="dark"] {
  --inverse-surface:#0f0d0c;
  --inverse-surface-2:#191512;
  --inverse-text:#fffaf5;
  --inverse-muted:#c6bcb4;
  --accent-on-dark:#ff8d99;
  --accent-text:#ff8d99;
  --red-surface:#a92030;
  --control-active-bg:#f3ede5;
  --control-active-text:#171411;
}

/* Small legacy labels that used fixed gray values are normalized in dark mode. */
html[data-mm-theme="dark"] .trust-strip,
html[data-mm-theme="dark"] .deadline,
html[data-mm-theme="dark"] .mini-label,
html[data-mm-theme="dark"] .status-grid span,
html[data-mm-theme="dark"] .team-row small,
html[data-mm-theme="dark"] .practice-stage,
html[data-mm-theme="dark"] .practice-stage small,
html[data-mm-theme="dark"] .format-header span,
html[data-mm-theme="dark"] .chart-labels,
html[data-mm-theme="dark"] .analytics-top span:last-child,
html[data-mm-theme="dark"] .mm-demo-disclaimer { color:var(--muted); }
html[data-mm-theme="dark"] .status-dot { color:#79d5a8; }
html[data-mm-theme="dark"] .mock-button { background:#332c27; color:#c6bcb4; }

/* Readable accents on dark surfaces. */
html[data-mm-theme="dark"] .eyebrow,
html[data-mm-theme="dark"] .step-number,
html[data-mm-theme="dark"] .report-kicker,
html[data-mm-theme="dark"] .report-callout-label,
html[data-mm-theme="dark"] .how-step-grid article > span,
html[data-mm-theme="dark"] .about-principle-grid article > span,
html[data-mm-theme="dark"] .mm-demo-live,
html[data-mm-theme="dark"] .mm-story-card > span,
html[data-mm-theme="dark"] .mm-build-steps li > b,
html[data-mm-theme="dark"] .mm-debrief-preview span,
html[data-mm-theme="dark"] .mm-flow-grid article > span,
html[data-mm-theme="dark"] .mm-control-heading > span,
html[data-mm-theme="dark"] .mm-range-row output,
html[data-mm-theme="dark"] .mm-market-message span,
html[data-mm-theme="dark"] .market-note span,
html[data-mm-theme="dark"] .comparison-table td:nth-child(2),
html[data-mm-theme="dark"] .prose a,
html[data-mm-theme="dark"] .mm-auth-switch a,
html[data-mm-theme="dark"] .mm-auth-errors strong,
html[data-mm-theme="dark"] .mm-auth-errors p {
  color:var(--accent-on-dark);
}

/* Legacy light cards must become dark cards when the text palette turns light. */
html[data-mm-theme="dark"] .product-frame,
html[data-mm-theme="dark"] .practice-visual,
html[data-mm-theme="dark"] .step-card,
html[data-mm-theme="dark"] .comparison-wrap,
html[data-mm-theme="dark"] .market-preview,
html[data-mm-theme="dark"] .dual-audience article,
html[data-mm-theme="dark"] .post-card,
html[data-mm-theme="dark"] .format-explainer,
html[data-mm-theme="dark"] .decision-detail-grid > div,
html[data-mm-theme="dark"] .how-step-grid article,
html[data-mm-theme="dark"] .method-card-grid article,
html[data-mm-theme="dark"] .method-note,
html[data-mm-theme="dark"] .about-principle-grid article {
  background:#1b1714;
  border-color:var(--line);
  color:var(--ink);
}

html[data-mm-theme="dark"] .frame-top,
html[data-mm-theme="dark"] .frame-footer,
html[data-mm-theme="dark"] .market-preview-top,
html[data-mm-theme="dark"] .status-grid div,
html[data-mm-theme="dark"] .proof-bar,
html[data-mm-theme="dark"] .comparison-table th,
html[data-mm-theme="dark"] .email-composer-bar,
html[data-mm-theme="dark"] .email-composer-footer,
html[data-mm-theme="dark"] .mm-control-footer {
  background:#241e1a;
  color:var(--muted);
}

html[data-mm-theme="dark"] .reset-band,
html[data-mm-theme="dark"] .market-note,
html[data-mm-theme="dark"] .mm-auth-errors,
html[data-mm-theme="dark"] .feedback-status-error {
  background:#351c20;
  border-color:#67313a;
}
html[data-mm-theme="dark"] .reset-band,
html[data-mm-theme="dark"] .reset-band small,
html[data-mm-theme="dark"] .feedback-status-error { color:#ffb1ba; }

/* Explicit inverse sections: always dark surface + light foreground in either theme. */
.mm-poll-section,
.linkedin-cta-card,
.mm-principles-stage,
.mm-fit-result,
.mm-lab-readout,
.mm-reports-stage {
  background:var(--inverse-surface);
  color:var(--inverse-text);
}
.mm-poll-section h2,
.linkedin-cta-card h2,
.mm-principles-stage h2,
.mm-principles-grid h3,
.mm-fit-result > strong,
.mm-lab-readout h3,
.mm-reports-stage h2 { color:var(--inverse-text); }
.mm-poll-section p,
.linkedin-cta-copy p:last-child,
.mm-principles-grid p,
.mm-fit-result p,
.mm-fit-result em,
.mm-readout-meter em,
.mm-reports-stage p { color:var(--inverse-muted); }

/* Forms and controls retain an obvious foreground/background pairing. */
html[data-mm-theme="dark"] .email-row input,
html[data-mm-theme="dark"] .email-message textarea,
html[data-mm-theme="dark"] .mm-auth-card input {
  color:#f3ede5 !important;
  caret-color:#f3ede5;
}
html[data-mm-theme="dark"] .email-row input::placeholder,
html[data-mm-theme="dark"] .email-message textarea::placeholder,
html[data-mm-theme="dark"] .mm-auth-card input::placeholder { color:#aaa098; opacity:1; }

/* Active chips need the opposite pairing in dark mode so they do not disappear. */
html[data-mm-theme="dark"] .mm-segment-switch button.is-active,
html[data-mm-theme="dark"] .mm-choice-row button.is-active,
html[data-mm-theme="dark"] .mm-control-tabs button.is-active {
  background:var(--control-active-bg);
  border-color:var(--control-active-bg);
  color:var(--control-active-text);
}
html[data-mm-theme="dark"] .mm-segment-switch button:hover,
html[data-mm-theme="dark"] .mm-choice-row button:hover,
html[data-mm-theme="dark"] .mm-control-tabs button:hover { color:var(--accent-on-dark); }

/* Keep deliberate light buttons readable on every dark/inverse section. */
html[data-mm-theme="dark"] .button-light,
html[data-mm-theme="dark"] .button-light:hover {
  background:#fbf7f0;
  border-color:#fbf7f0;
  color:#171411;
}

@media (max-width: 980px) {
  .mm-studio-hero { min-height:auto; }
  .mm-studio-hero-grid, .mm-educator-hero-grid, .mm-page-hero-grid, .mm-story-grid, .mm-course-fit-grid, .mm-poll-layout, .contact-layout, .mm-build-grid, .mm-reports-grid { grid-template-columns:1fr; gap:55px; }
  .mm-demo-shell, .mm-control-room { transform:none; }
  .mm-story-sticky, .contact-intro, .mm-build-copy, .mm-course-fit-grid > div:first-child { position:static; }
  .mm-manifesto-grid { grid-template-columns:1fr; gap:28px; }
  .mm-principles-grid { grid-template-columns:repeat(2,1fr); }
  .mm-audience-grid { grid-template-columns:1fr; }
  .mm-educator-lab { grid-template-columns:1fr; }
  .mm-flow-grid { grid-template-columns:repeat(2,1fr); }
  .mm-report-stack { min-height:460px; }
  .linkedin-cta-card { grid-template-columns:auto 1fr; }
  .linkedin-cta-card .button { grid-column:2; justify-self:start; }
  .mm-about-status-card { grid-template-columns:1fr; }
  .mm-about-actions { justify-content:flex-start; }
}

@media (max-width: 720px) {
  .container { width:min(100% - 32px,var(--max)); }
  h1 { font-size:clamp(48px,14vw,72px); }
  h2 { font-size:clamp(38px,11vw,56px); }
  .section-pad { padding:78px 0; }
  .mm-studio-hero { padding-top:68px; padding-bottom:100px; }
  .mm-studio-hero-grid, .mm-educator-hero-grid { grid-template-columns:minmax(0,1fr); }
  .mm-demo-body { padding:20px; }
  .mm-demo-outcomes { grid-template-columns:1fr; }
  .mm-demo-outcomes div { border-right:0; border-bottom:1px solid var(--line); }
  .mm-demo-outcomes div:last-child { border-bottom:0; }
  .mm-poll-card button { grid-template-columns:120px 1fr 40px; gap:10px; }
  .mm-principles-grid, .mm-flow-grid { grid-template-columns:1fr; }
  .mm-principles-grid article { min-height:300px; }
  .mm-principles-grid h3 { margin-top:70px; }
  .mm-audience-grid article { min-height:470px; padding:30px; }
  .linkedin-cta-card { padding:30px; grid-template-columns:1fr; }
  .linkedin-cta-mark { width:44px; height:44px; }
  .linkedin-cta-card .button { grid-column:auto; }
  .mm-control-heading { flex-direction:column; }
  .mm-control-panel { padding-left:16px; padding-right:16px; }
  .mm-control-room .status-grid { grid-template-columns:repeat(2,1fr); }
  .mm-control-room .status-grid div:nth-child(2) { border-right:0; }
  .mm-control-room .status-grid div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .mm-readout-meter { grid-template-columns:90px 1fr 65px; }
  .mm-report-stack { min-height:360px; }
  .mm-report-stack img { width:68%; }
}

@media (prefers-reduced-motion: reduce) {
  .mm-ticker > div, .mm-scroll-cue i { animation:none !important; }
  .mm-reveal-ready { opacity:1 !important; transform:none !important; }
  .mm-ambient { transform:none !important; }
}
.footer-social { display:inline-flex !important; width:max-content; margin-top:10px; color:#fff !important; font-weight:750; border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:2px; }

/* Disabled/demo controls remain visibly disabled without becoming illegible. */
html:not([data-mm-theme="dark"]) .mock-button { color:#625e57; background:#deddd8; }
