/* Shared chrome and page components.
   .mn-*  site header and menus (stamped into every page by tools/wire-nav.mjs)
   .mf-*  site footer (same tool)
   .mp-*  the generated pages: solution, independent-hotels, hotel-groups,
          agencies, resources (tools/make-pages.mjs)
   Every page loads Libre Caslon Text, which has regular and bold only: headings
   are regular, UI labels and emphasis are bold. Selectors are written to hold up on pages
   that carry their own global resets, so sizes and list styles are explicit. */

.mn, .mf, .mp {
  --ink: #0B0B0B; --muted: #55554F; --line: #E4E4DF; --soft: #F5F5F3; --paper: #FBFAF7;
  --gold: #D9AD4E; --gold-text: #8A6416; --gold-soft: #FBF3DF;
  --ui: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --text: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
}
.mn, .mn *, .mf, .mf *, .mp, .mp * { box-sizing: border-box; }

/* ───────────────────────── header ───────────────────────── */
.mn { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--line);
  font-family: var(--ui); color: var(--ink); -webkit-font-smoothing: antialiased; }
.mn ul { list-style: none; margin: 0; padding: 0; }
.mn a { color: var(--ink); text-decoration: none; }
.mn button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.mn-in { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 40px; height: 72px;
  display: flex; align-items: stretch; justify-content: space-between; gap: 24px; }
.mn-logo { display: flex; align-items: center; flex: none; }
.mn-logo img { display: block; height: 32px; width: auto; max-width: none; }

.mn-nav { display: flex; }
.mn-links { display: flex; align-items: stretch; gap: 30px; }
.mn-links > li { display: flex; align-items: center; }
.mn-links > li.mn-rel, .mn-lang { position: relative; }
.mn .mn-top { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 400; line-height: 1;
  letter-spacing: -.005em; color: var(--ink); white-space: nowrap; padding: 8px 0;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 8px;
  transition: text-decoration-color .15s ease; }
.mn .mn-top:hover, .mn .mn-top[aria-expanded="true"] { text-decoration-color: #CFCFC8; }
.mn .mn-top.is-active { text-decoration-color: var(--gold); }
.mn-chev { flex: none; transition: transform .16s ease; }
.mn-top[aria-expanded="true"] .mn-chev { transform: rotate(180deg); }

/* dropdowns: the outer box is a transparent bridge so the pointer can travel
   from the trigger to the card without the menu closing */
.mn-dd { position: absolute; top: 100%; z-index: 5; padding-top: 8px; display: none; }
.mn-dd[data-open="true"] { display: block; }
.mn-dd-card { background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11,11,11,.06), 0 18px 40px rgba(11,11,11,.12); }
.mn-dd--solution { left: 50%; transform: translateX(-50%); width: min(900px, calc(100% - 80px)); }
.mn-dd--solution .mn-dd-card { display: grid; grid-template-columns: 1fr 1fr 280px; }
.mn-dd--who { left: -24px; width: 360px; }
.mn-dd--resources { left: 50%; transform: translateX(-50%); width: 620px; }
.mn-dd--resources .mn-dd-card { display: grid; grid-template-columns: 1fr 260px; }
.mn-dd--lang { right: -12px; width: 170px; }
.mn-dd-col { padding: 16px 10px; }
.mn-dd-col + .mn-dd-col { border-left: 1px solid var(--line); }
.mn-dd-list { padding: 10px; }
.mn-dd-label { font-size: 13px; color: var(--muted); padding: 4px 14px 8px; margin: 0; font-weight: 500; }
.mn .mn-item { display: block; padding: 12px 14px; border-radius: 6px; transition: background-color .12s ease; }
.mn .mn-item:hover { background: var(--soft); }
.mn-item b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.005em; }
.mn-item span { display: block; font-family: var(--text); font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.mn-dd--lang .mn-item { padding: 9px 12px; font-size: 14px; font-weight: 600; }
.mn-promo { background: var(--paper); border-left: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mn-promo--sm { padding: 20px; gap: 10px; }
.mn-promo-t { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0; }
.mn-promo-s { font-size: 13px; color: var(--muted); margin: 0; font-weight: 500; }
.mn-promo-p { font-family: var(--text); font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }
.mn .mn-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; align-self: flex-start; }
.mn-more svg { transition: transform .18s ease; }
.mn-more:hover svg { transform: translateX(3px); }

.mn-right { display: flex; align-items: center; gap: 20px; flex: none; }
.mn-lang { display: flex; align-items: center; align-self: stretch; }
.mn .mn-lang-btn { font-size: 14px; font-weight: 400; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; }
.mn .mn-lang-btn:hover { color: var(--ink); }
.mn .mn-login { font-size: 15px; font-weight: 400; white-space: nowrap; }
.mn .mn-login:hover { text-decoration: underline; text-decoration-color: #CFCFC8; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.mn .mn-cta { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 6px; white-space: nowrap; transition: background-color .15s ease; }
.mn .mn-cta:hover { background: #2A2A2A; color: #fff; }
.mn a:focus-visible, .mn button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.mn .mn-burger { display: none; align-self: center; padding: 8px; margin-right: -8px; }
.mn-panel { display: none; }

@media (max-width: 1100px) {
  .mn-in { padding: 0 20px; height: 62px; }
  .mn-logo img { height: 28px; }
  .mn-nav, .mn-right { display: none; }
  .mn .mn-burger { display: block; }
  .mn-panel[data-open="true"] { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 20px 24px;
    max-height: calc(100vh - 62px); max-height: calc(100dvh - 62px); overflow-y: auto; box-shadow: 0 18px 40px rgba(11,11,11,.12); }
  .mn .mn-acc-btn, .mn .mn-plink { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left;
    padding: 15px 2px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .mn-acc-btn[aria-expanded="true"] .mn-chev { transform: rotate(180deg); }
  .mn-acc-body { display: none; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
  .mn-acc-body[data-open="true"] { display: block; }
  .mn-acc-body .mn-item { padding: 10px 2px; }
  .mn-acc-label { font-size: 12px; color: var(--muted); font-weight: 600; margin: 10px 2px 2px; }
  .mn .mn-panel .mn-cta { width: 100%; margin-top: 18px; padding: 14px 16px; font-size: 15px; }
  .mn-plangs { display: flex; gap: 18px; margin-top: 18px; }
  .mn .mn-plangs a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 4px 0; }
  .mn .mn-plangs a[aria-current] { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .mn *, .mp * { transition: none !important; } }

/* ───────────────────────── footer ───────────────────────── */
.mf { background: #0B0B0B; color: #A3A39C; font-family: var(--text); font-size: 14px; line-height: 1.6; padding: 56px 0 32px; -webkit-font-smoothing: antialiased; }
.mf ul { list-style: none; margin: 0; padding: 0; }
.mf p { margin: 0; }
.mf a { color: #A3A39C; text-decoration: none; transition: color .15s ease; }
.mf a:hover { color: #fff; }
.mf a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }
.mf-in { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.mf-cols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.mf-brand { display: flex; flex-direction: column; gap: 14px; }
.mf-brand img { display: block; height: 28px; width: 106px; max-width: none; }
.mf-col ul { display: flex; flex-direction: column; gap: 10px; }
.mf .mf-h { font-family: var(--ui); font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.mf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #23231F; font-size: 13px; }
.mf-bottom ul { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.mf-li { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) {
  .mf-in { padding: 0 22px; }
  .mf-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .mf-brand { grid-column: 1 / -1; }
  .mf-bottom { flex-direction: column; align-items: flex-start; }
}

/* ───────────────────────── generated pages ───────────────────────── */
body.mp-body { margin: 0; background: #fff; overflow-x: hidden; }
html:has(body.mp-body) { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.mp { font-family: var(--text); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.mp [id] { scroll-margin-top: 96px; }
/* :where() keeps this reset at single-class weight, so the component rules below can set margins */
.mp :where(h1, h2, h3, p, ul, ol, figure, fieldset, blockquote) { margin: 0; padding: 0; }
.mp :where(ul, ol) { list-style: none; }
.mp a { color: var(--ink); }
.mp img { max-width: 100%; }
.mp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.mp-sec { padding: 104px 0; }
.mp-sec--soft { background: var(--soft); }
.mp-sec--hero { padding: 96px 0 104px; }
.mp-sec--top { padding: 96px 0 40px; }
.mp-sec--tight { padding: 0 0 88px; }
.mp-sec--line { border-top: 1px solid var(--line); padding: 40px 0 96px; }

.mp-h1 { font-family: var(--ui); font-size: clamp(2.3rem, 4.7vw, 3.5rem); line-height: 1.06; letter-spacing:-.025em; font-weight: 400; text-wrap: balance; }
.mp-h1--wide { max-width: 860px; }
.mp-h2 { font-family: var(--ui); font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing:-.025em; font-weight: 400; max-width: 720px; text-wrap: balance; }
.mp-h2--sm { font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.025em; margin-top: 10px; }
.mp-lede { font-size: 1.25rem; line-height: 1.55; color: var(--muted); margin-top: 24px; max-width: 540px; text-wrap: pretty; }
.mp .mp-p { font-size: 1.125rem; line-height: 1.6; color: var(--muted); margin-top: 16px; max-width: 620px; text-wrap: pretty; }
.mp .mp-p--ink { color: var(--ink); }
.mp .mp-p--lg { font-size: 1.25rem; color: var(--ink); margin-top: 0; }
.mp .mp-small { font-size: .875rem; color: var(--muted); margin-top: 14px; }
.mp-kicker { font-family: var(--ui); font-size: .9375rem; font-weight: 700; color: var(--gold-text); }
.mp-caption { font-size: .75rem; color: var(--muted); }

.mp .mp-btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--ui); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border-radius: 6px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .12s ease; }
.mp .mp-btn:hover { background: #2A2A2A; border-color: #2A2A2A; }
.mp .mp-btn:active { transform: translateY(1px); }
.mp .mp-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.mp .mp-btn--gold:hover { background: #E3BD68; border-color: #E3BD68; }
.mp .mp-btn--ghost { background: #fff; border-color: #BDBDB6; color: var(--ink); }
.mp .mp-btn--ghost:hover { background: var(--soft); border-color: var(--ink); }
.mp .mp-btn[disabled] { opacity: .6; cursor: wait; }
.mp .mp-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.mp-arrow svg { transition: transform .18s ease; }
.mp-arrow:hover svg { transform: translateX(3px); }
.mp a:focus-visible, .mp button:focus-visible, .mp input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 36px; }

.mp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.mp-two--start { align-items: start; }
.mp-two--r13 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.mp-two--r11 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.mp-two--l12 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }

/* title | description rows */
.mp-rows { margin-top: 40px; }
.mp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; padding: 28px 0; border-top: 1px solid var(--line); }
.mp-row h3 { font-family: var(--ui); font-size: 1.25rem; font-weight: 400; line-height: 1.3; letter-spacing: -.015em; }
.mp-row p { font-size: 1rem; line-height: 1.65; color: var(--muted); }
.mp-rows--faq { margin-top: 32px; }
.mp-rows--faq .mp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); padding: 24px 0; }
.mp-rows--faq h3 { font-size: 1.0625rem; }

.mp-points { display: flex; flex-direction: column; margin-top: 24px; }
.mp-points li { font-size: .9375rem; line-height: 1.5; padding: 10px 0; border-top: 1px solid var(--line); }

.mp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.mp-step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--line); }
.mp-step:first-child { border-top-color: var(--ink); }
.mp-step-n { font-family: var(--ui); font-size: .875rem; font-weight: 700; color: var(--gold-text); }
.mp-step h3 { font-family: var(--ui); font-size: 1.25rem; font-weight: 400; letter-spacing: -.015em; }
.mp-step p { font-size: 1rem; line-height: 1.6; color: var(--muted); }

.mp-prices { border-top: 2px solid var(--ink); padding-top: 24px; font-size: 1rem; }
.mp-prices li { display: flex; justify-content: space-between; gap: 16px; }
.mp-prices li + li { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.mp-prices b { font-weight: 700; white-space: nowrap; }
.mp-prices-cta { margin-top: 24px; }

/* drawn example screens */
.mp-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mp-card--rows { display: block; }
.mp-card--flush { padding: 0; overflow: hidden; display: block; }
.mp-card-t { font-size: .875rem; color: var(--muted); }
.mp-big { font-family: var(--ui); font-size: 3rem; font-weight: 400; letter-spacing:-.025em; line-height: 1.1; }
.mp-chip { display: inline-block; font-family: var(--ui); font-size: .75rem; font-weight: 700; border-radius: 4px; padding: 3px 7px; white-space: nowrap; }
.mp-chip--bad { background: #FBE9E7; color: #A8231C; }
.mp-chip--warn { background: #FBF0DC; color: #855300; }
.mp-chip--ok { background: #E7F3EC; color: #1A6B3D; }
.mp-chip--gold { background: var(--gold-soft); color: var(--gold-text); }
.mp-chip--grey { background: var(--soft); color: var(--muted); }
.mp-bar { display: grid; grid-template-columns: 136px 1fr 44px; gap: 12px; align-items: center; font-size: .875rem; }
.mp-bar i { display: block; height: 8px; background: #ECECE7; border-radius: 4px; }
.mp-bar i b { display: block; height: 8px; background: var(--ink); border-radius: 4px; }
.mp-bar span:last-child { text-align: right; font-weight: 700; }
.mp-srow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .875rem; }
.mp-card--rows .mp-card-t { margin-bottom: 8px; }
.mp-quote { font-size: 1.0625rem; line-height: 1.6; }
.mp-quote mark { background: #FBE9E7; color: inherit; }
.mp-quote--sm { font-size: .9375rem; line-height: 1.55; }
.mp-quote--box { font-size: .9375rem; line-height: 1.6; color: var(--muted); background: var(--paper); border-radius: 8px; padding: 14px; }
.mp-quote--reply { font-size: .9375rem; line-height: 1.55; background: var(--paper); border-radius: 8px; padding: 14px; }
.mp-noteline { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; font-size: .875rem; color: var(--muted); }
.mp-divline { border-top: 1px solid var(--line); padding-top: 14px; font-size: .875rem; color: var(--muted); }
.mp-spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mp-fake-btns { display: flex; gap: 10px; }
.mp-fake-btn { font-family: var(--ui); font-size: .8125rem; font-weight: 700; border: 1px solid #CFCFC8; border-radius: 5px; padding: 6px 10px; white-space: nowrap; }
.mp-strong { font-family: var(--ui); font-size: 1rem; font-weight: 700; }

/* solution */
.mp-jump { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; }
.mp .mp-jump a { font-family: var(--ui); font-size: .9375rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid #BDBDB6; padding-bottom: 4px; transition: border-color .15s ease; }
.mp .mp-jump a:hover { border-bottom-color: var(--ink); }
.mp-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 88px 0; border-top: 1px solid var(--line); }
.mp-feat--flip .mp-feat-text { order: 2; }

/* independent hotels: chat example and weekly list */
.mp-chat { background: var(--soft); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mp-chat-q { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 10px; padding: 12px 16px; font-size: .9375rem; max-width: 360px; line-height: 1.45; }
.mp-chat-a { background: #fff; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 12px; font-size: .9375rem; line-height: 1.5; }
.mp-chat-a ol { display: flex; flex-direction: column; gap: 12px; counter-reset: n; }
.mp-chat-a li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; counter-increment: n; }
.mp-chat-a li::before { content: counter(n) '.'; font-weight: 700; }
.mp-chat-miss { background: #fff; border: 1px solid var(--gold); border-radius: 10px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .9375rem; line-height: 1.45; }
.mp-muted { color: var(--muted); }
.mp-week { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; }
.mp-week-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.mp-week-head b { font-family: var(--ui); font-size: 1.125rem; font-weight: 400; }
.mp-week li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.mp-dot { width: 10px; height: 10px; border-radius: 5px; margin-top: 6px; }
.mp-dot--warn { background: #A86A00; } .mp-dot--bad { background: #B3261E; } .mp-dot--ok { background: #1E7A46; }
.mp-week h3 { font-family: var(--ui); font-size: .9375rem; font-weight: 700; }
.mp-week p { font-size: .875rem; line-height: 1.5; color: var(--muted); margin-top: 4px; }

/* hotel groups: portfolio table and team box */
.mp-ht-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.mp-ht-head b { font-family: var(--ui); font-size: 1.0625rem; font-weight: 700; }
.mp-ht-row { display: grid; grid-template-columns: 1.4fr .7fr .6fr 1.6fr; gap: 12px; padding: 16px 20px; font-size: .875rem; border-bottom: 1px solid var(--line); align-items: center; }
.mp-ht-row--head { padding: 12px 20px; font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--paper); }
.mp-ht-row--flag { background: #FFF8F7; }
.mp-ht-row b { font-weight: 700; }
.mp-up { color: #1A6B3D; font-weight: 700; } .mp-down { color: #A8231C; font-weight: 700; } .mp-flat { color: var(--muted); font-weight: 700; }
.mp-ht-add { padding: 14px 20px; font-family: var(--ui); font-size: .875rem; font-weight: 700; color: var(--gold-text); }
.mp-under { margin-top: 10px; }
.mp-team-row { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .875rem; align-items: center; }
.mp-team-row b { display: block; font-weight: 700; }
.mp-team-legend { padding: 16px 20px; font-size: .875rem; line-height: 1.7; color: var(--muted); }
.mp-team-legend b { color: var(--ink); font-weight: 700; }

/* agencies: report example, comparison table, application form */
.mp-report { background: var(--soft); border-radius: 12px; padding: 28px; }
.mp-report-card { background: #fff; border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.mp-report-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mp-report-logo { width: 32px; height: 32px; border-radius: 6px; background: #2B2B28; color: #fff; font-family: var(--ui); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .9375rem; }
.mp-report-top b { font-family: var(--ui); font-weight: 700; }
.mp-report-top span:last-child { margin-left: auto; font-size: .8125rem; color: var(--muted); }
.mp-report-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 6px; }
.mp-report-num b { font-family: var(--ui); font-size: 2.75rem; font-weight: 400; letter-spacing:-.025em; line-height: 1.1; }
.mp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mp-stats li { background: var(--paper); border-radius: 8px; padding: 12px; font-size: .75rem; color: var(--muted); }
.mp-stats b { display: block; font-family: var(--ui); font-size: 1.25rem; font-weight: 400; color: var(--ink); }

.mp-cmp-wrap { margin-top: 44px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mp-cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9375rem; text-align: left; }
.mp-cmp th, .mp-cmp td { padding: 18px 24px; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
.mp-cmp tr:last-child th, .mp-cmp tr:last-child td { border-bottom: 0; }
.mp-cmp td, .mp-cmp thead th + th { border-left: 1px solid var(--line); }
.mp-cmp thead th { background: var(--paper); padding: 24px; }
.mp-cmp tbody th { font-family: var(--ui); font-weight: 700; }
.mp-cmp td { color: var(--muted); }
.mp-cmp-name { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-family: var(--ui); font-size: 1.25rem; font-weight: 400; }
.mp-cmp-sub { display: block; font-size: .875rem; color: var(--muted); margin-top: 6px; }
.mp-cmp tfoot td { padding: 24px; }

.mp-form { display: flex; flex-direction: column; gap: 16px; }
.mp-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--ui); font-size: .875rem; font-weight: 700; }
.mp-field input { font-family: var(--text); font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid #CFCFC8; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.mp-field input::placeholder { color: #76766F; }
.mp-field input[aria-invalid="true"] { border-color: #B3261E; }
.mp-checks { border: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9375rem; }
.mp-checks legend { font-family: var(--ui); font-size: .875rem; font-weight: 700; margin-bottom: 8px; padding: 0; }
.mp-checks label { display: inline-flex; gap: 8px; align-items: center; }
.mp-checks input { width: 16px; height: 16px; accent-color: var(--ink); }
.mp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mp-form-note { font-size: .9375rem; line-height: 1.5; }
.mp-form-note[data-ok="true"] { color: #1A6B3D; }
.mp-form-note[data-ok="false"] { color: #A8231C; }

/* resources */
.mp-check { background: var(--ink); color: #fff; border-radius: 12px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mp-check .mp-kicker { color: var(--gold); }
.mp-check h2 { font-family: var(--ui); font-size: clamp(1.6rem, 2.8vw, 2.125rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; margin-top: 10px; }
.mp-check p { font-size: 1.0625rem; color: #BDBDB6; line-height: 1.6; margin-top: 14px; }
.mp-check form { display: flex; gap: 10px; align-items: flex-end; }
.mp-check label { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .8125rem; color: #BDBDB6; min-width: 0; }
.mp-check input { font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 6px; border: 1px solid #3A3A36; background: #151513; color: #fff; width: 100%; }
.mp-check input::placeholder { color: #8F8F88; }
.mp-check input:focus-visible { outline-color: var(--gold); }
.mp-check .mp-btn:focus-visible { outline-color: #fff; }
.mp-bloghead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mp-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.mp .mp-post { display: flex; flex-direction: column; gap: 12px; text-decoration: none; padding-top: 24px; border-top: 2px solid var(--ink); }
.mp-post-meta { font-size: .8125rem; color: var(--muted); }
.mp-post h3 { font-family: var(--ui); font-size: 1.25rem; font-weight: 400; line-height: 1.3; letter-spacing: -.015em; }
.mp-post p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.mp-post:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* closing band */
.mp-band { background: var(--ink); padding: 96px 0; }
.mp-band-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.mp-band .mp-h2 { color: #fff; max-width: 640px; }
.mp .mp-band p { font-size: 1.125rem; color: #BDBDB6; margin-top: 16px; line-height: 1.6; }
.mp-band-cta { display: flex; justify-content: flex-end; }
.mp-band .mp-btn:focus-visible { outline-color: #fff; }

@media (max-width: 900px) {
  .mp-wrap { padding: 0 22px; }
  .mp-sec, .mp-band { padding: 64px 0; }
  .mp-sec--hero { padding: 56px 0 64px; }
  .mp-sec--top { padding: 56px 0 24px; }
  .mp-sec--tight { padding: 0 0 64px; }
  .mp-sec--line { padding: 40px 0 64px; }
  .mp-two, .mp-two--r13, .mp-two--r11, .mp-two--l12, .mp-feat, .mp-band-in, .mp-check { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mp-feat { padding: 56px 0; }
  .mp-feat--flip .mp-feat-text { order: 0; }
  .mp-row, .mp-rows--faq .mp-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 0; }
  .mp-steps, .mp-posts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mp-lede { font-size: 1.125rem; margin-top: 18px; }
  .mp .mp-p, .mp .mp-p--lg { font-size: 1.0625rem; }
  .mp-band-cta { justify-content: flex-start; }
  .mp-check { padding: 28px 22px; }
  .mp-chat, .mp-report { padding: 18px; }
  .mp-week { padding: 20px; }
  .mp-week li { grid-template-columns: 10px minmax(0, 1fr); }
  .mp-week li .mp-fake-btn { grid-column: 2; justify-self: start; }
  .mp-ht-row { grid-template-columns: minmax(0, 1fr) auto auto; padding: 14px 16px; }
  .mp-ht-row > :last-child { grid-column: 1 / -1; }
  .mp-ht-row--head > :last-child { display: none; }
  .mp-team-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mp-team-row > :last-child { grid-column: 1 / -1; }

  /* comparison table becomes one block per row, each value labelled */
  .mp-cmp, .mp-cmp tbody, .mp-cmp tfoot, .mp-cmp tr, .mp-cmp th, .mp-cmp td { display: block; }
  .mp-cmp thead { display: none; }
  .mp-cmp th, .mp-cmp td, .mp-cmp tfoot td { padding: 0; border: 0; }
  .mp-cmp tbody tr, .mp-cmp tfoot tr { padding: 20px; border-bottom: 1px solid var(--line); }
  .mp-cmp tfoot tr { border-bottom: 0; display: flex; flex-direction: column; gap: 12px; }
  .mp-cmp tfoot td:first-child { display: none; }
  .mp-cmp tbody th { font-size: 1rem; margin-bottom: 4px; }
  .mp-cmp tbody td { margin-top: 12px; }
  .mp-cmp tbody td::before { content: attr(data-label); display: block; font-family: var(--ui); font-size: .75rem; font-weight: 700; color: var(--gold-text); margin-bottom: 2px; }
  .mp-cmp .mp-btn { width: 100%; white-space: normal; text-align: center; }
}
@media (max-width: 520px) {
  .mp-check form { flex-direction: column; align-items: stretch; }
  .mp-chat-miss { flex-direction: column; align-items: flex-start; }
  .mp-stats { grid-template-columns: minmax(0, 1fr); }
  .mp-actions .mp-btn { width: 100%; }
  .mp .mp-btn { white-space: normal; text-align: center; }
  .mp-bar { grid-template-columns: 128px 1fr 40px; }
}

/* Phone tap targets for header and footer links, on every page. 44px is the
   Apple HIG minimum. <a> is inline, so it needs a block-ish display for
   min-height to apply. Only standalone links: links inside running text
   would break mid-sentence wrapping. */
@media (max-width: 768px) {
  html footer a,
  html nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
