/*
 * The client site's marketing shell and pages (redesign #2911 T30). Tokens, buttons, inputs, alerts and the menu come
 * from ClinicalMassage.UI; this file only places them and styles the parts that are the marketing site's own. It
 * replaces the Bootstrap-dependent parts of site.css for these pages (site.css still serves the signed-in portal until
 * its own slice moves). Every colour is a token, so the contrast pairings the token file declares are the ones in use.
 * The hero, call-to-action and footer bands are the brand navy in every setting; their text is white on it.
 */
.mk-body {
  margin: 0;
  background: var(--pw-white);
  color: var(--pw-ink);
  font-family: var(--pw-font-body);
  font-size: var(--pw-fs-15);
  line-height: 1.6;
  /* The counsel-approved legal documents name these in their own inline styles (their markup may not change). */
  --cp-primary: var(--pw-navy);
  --cp-primary-dark: var(--pw-action-hover);
  --cp-primary-light: var(--pw-tint);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.mk-body a { color: var(--pw-action); text-decoration: none; }
.mk-body a:hover { color: var(--pw-action-hover); text-decoration: underline; }
.mk-body :focus-visible { outline: var(--pw-focus-ring); outline-offset: var(--pw-focus-ring-offset); }
.mk-body img { max-width: 100%; height: auto; }
.mk-body h1,
.mk-body h2,
.mk-body h3 { font-family: var(--pw-font-heading); line-height: 1.25; }

.mk-skip { position: absolute; left: -9999px; top: var(--pw-space-2); z-index: 3000; padding: var(--pw-space-2) var(--pw-space-4); background: var(--pw-white); border-radius: var(--pw-radius-control); }
.mk-skip:focus { left: var(--pw-space-2); }
.mk-wrap { box-sizing: border-box; width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--pw-space-4); }
.mk-main:focus { outline: none; }
.mk-icon { flex: none; vertical-align: -2px; }

/* ---- Header ---- */
.mk-header { position: sticky; top: 0; z-index: 1000; background: var(--pw-white); border-bottom: 1px solid var(--pw-line); }
.mk-header__bar { display: flex; align-items: center; gap: var(--pw-space-4); min-height: 64px; padding-top: var(--pw-space-2); padding-bottom: var(--pw-space-2); }
.mk-brand { display: inline-flex; align-items: center; gap: var(--pw-space-2); color: var(--pw-navy); font-family: var(--pw-font-heading); font-size: 22px; font-weight: 700; white-space: nowrap; }
.mk-body a.mk-brand:hover { text-decoration: none; color: var(--pw-navy); }
.mk-body .cp-brand-mark { height: 42px; width: auto; }
.cp-brand-text span { color: var(--pw-green); }
.cp-beta-badge { padding: 2px var(--pw-space-2); border-radius: var(--pw-radius-pill); background: var(--pw-green); color: var(--pw-white); font-family: var(--pw-font-body); font-size: var(--pw-fs-12); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.mk-nav { margin-left: var(--pw-space-4); }
.mk-nav__list { display: flex; gap: var(--pw-space-1); margin: 0; padding: 0; list-style: none; }
.mk-body .mk-nav__link { display: inline-flex; align-items: center; min-height: var(--pw-control-height-dense); padding: 0 var(--pw-space-3); border-radius: var(--pw-radius-control); color: var(--pw-ink); font-weight: 600; }
.mk-body .mk-nav__link:hover { background: var(--pw-tint); color: var(--pw-navy); text-decoration: none; }
.mk-header__actions { display: flex; align-items: center; gap: var(--pw-space-2); margin-left: auto; }
.mk-body .pw-btn--primary,
.mk-body .pw-btn--primary:hover { color: var(--pw-white); text-decoration: none; }
.mk-header__menu { display: none; margin-left: auto; }
@media (max-width: 991.98px) {
  .mk-nav,
  .mk-header__actions { display: none; }
  .mk-header__menu { display: block; }
}
.mk-menu-item { gap: var(--pw-space-2); }

/* ---- Bands: hero, page header, call to action ---- */
.mk-hero,
.mk-pagehead,
.mk-cta { background: linear-gradient(135deg, var(--pw-action-hover) 0%, var(--pw-navy) 100%); color: var(--pw-white); }
.mk-hero { padding: var(--pw-space-7) 0; }
.mk-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pw-space-6); align-items: center; }
@media (min-width: 992px) { .mk-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mk-eyebrow { display: inline-block; margin-bottom: var(--pw-space-3); font-size: var(--pw-fs-13); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pw-teal-text); }
.mk-hero .mk-eyebrow,
.mk-cta .mk-eyebrow { color: var(--pw-avatar-bg); }
.mk-hero h1 { margin: 0 0 var(--pw-space-4); font-size: clamp(30px, 5vw, var(--pw-fs-48)); font-weight: 700; }
.mk-hero h1 span { color: var(--pw-avatar-bg); }
.mk-lead { font-size: 18px; line-height: 1.6; }
.mk-hero .mk-lead { margin: 0 0 var(--pw-space-5); color: var(--pw-tint); }
.mk-actions { display: flex; flex-wrap: wrap; gap: var(--pw-space-3); }
.mk-actions--center { justify-content: center; }
.mk-btn-light { background: var(--pw-white); color: var(--pw-navy); border-color: var(--pw-white); }
.mk-body .mk-btn-light { color: var(--pw-navy); }
.mk-body .mk-btn-light:hover { background: var(--pw-tint); color: var(--pw-navy); text-decoration: none; }
.mk-btn-ghost { background: transparent; color: var(--pw-white); border-color: var(--pw-white); }
.mk-body .mk-btn-ghost { color: var(--pw-white); }
.mk-body .mk-btn-ghost:hover { background: var(--pw-navy-active); color: var(--pw-white); text-decoration: none; }
.mk-shot { display: block; width: 100%; border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-md); box-shadow: 0 8px 24px var(--pw-shadow); }

.mk-pagehead { padding: var(--pw-space-7) 0 var(--pw-space-6); }
.mk-pagehead--center { text-align: center; }
.mk-pagehead h1 { margin: 0 0 var(--pw-space-3); font-size: clamp(26px, 4vw, var(--pw-fs-40)); font-weight: 700; }
.mk-pagehead p { margin: 0; color: var(--pw-tint); }
.mk-pagehead--center p { max-width: 600px; margin-left: auto; margin-right: auto; font-size: 18px; }

.mk-cta { padding: var(--pw-space-7) 0; text-align: center; }
.mk-cta h2 { margin: 0 0 var(--pw-space-3); font-size: clamp(24px, 3.5vw, 32px); }
.mk-cta p { max-width: 640px; margin: 0 auto var(--pw-space-5); color: var(--pw-tint); font-size: 17px; }

/* ---- Sections and cards ---- */
.mk-section { padding: var(--pw-space-7) 0; }
.mk-section--alt { background: var(--pw-surface-3); border-top: 1px solid var(--pw-line); border-bottom: 1px solid var(--pw-line); }
.mk-section-title { max-width: 720px; margin: 0 auto var(--pw-space-6); text-align: center; }
.mk-section-title h2 { margin: 0 0 var(--pw-space-2); color: var(--pw-navy); font-size: clamp(24px, 3.5vw, 32px); }
.mk-section-title p { margin: 0; color: var(--pw-label); }
.mk-section-title::after { content: ""; display: block; width: 56px; height: 4px; margin: var(--pw-space-4) auto 0; border-radius: var(--pw-radius-pill); background: var(--pw-teal); }
.mk-grid { display: grid; gap: var(--pw-space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .mk-grid--3, .mk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .mk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mk-card { box-sizing: border-box; padding: var(--pw-space-5); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-md); background: var(--pw-white); }
.mk-card h3 { margin: 0 0 var(--pw-space-2); color: var(--pw-navy); font-size: var(--pw-fs-17); }
.mk-card p { margin: 0; color: var(--pw-label); }
.mk-tile { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: var(--pw-space-3); border-radius: var(--pw-radius-card-sm); color: var(--pw-white); }
.mk-tile .mk-icon { width: 24px; height: 24px; }
.mk-tile--navy { background: var(--pw-action-hover); }
.mk-tile--teal { background: var(--pw-teal-text); }
.mk-tile--green { background: var(--pw-green); }
.mk-tile--blue { background: var(--pw-action); }
.mk-tile--small { width: 44px; height: 44px; margin: 0; }
.mk-step { text-align: center; }
.mk-step__number { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: var(--pw-space-3); border-radius: var(--pw-radius-pill); background: var(--pw-navy); color: var(--pw-white); font-family: var(--pw-font-heading); font-size: var(--pw-fs-22); font-weight: 700; }
.mk-center { margin-top: var(--pw-space-6); text-align: center; }

/* Feature rows: copy beside a screenshot, alternating sides. */
.mk-split { display: grid; gap: var(--pw-space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 992px) { .mk-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-split--reverse > :first-child { order: 2; } }
.mk-split h2 { margin: 0 0 var(--pw-space-3); color: var(--pw-navy); font-size: clamp(22px, 3vw, 28px); }
.mk-split p { margin: 0 0 var(--pw-space-4); color: var(--pw-label); }
.mk-checklist { margin: 0; padding: 0; list-style: none; }
.mk-checklist li { display: flex; align-items: flex-start; gap: var(--pw-space-2); margin-bottom: var(--pw-space-2); }
.mk-checklist .mk-icon { margin-top: 5px; color: var(--pw-green); }

/* ---- Notices and alerts ---- */
.mk-notice { margin-bottom: var(--pw-space-6); padding: var(--pw-space-4) var(--pw-space-5); border: 1px solid var(--pw-line); border-left: 4px solid var(--pw-navy); border-radius: var(--pw-radius-card-sm); background: var(--pw-tint); color: var(--pw-ink); }
.mk-notice p { margin: 0 0 var(--pw-space-2); }
.mk-notice p:last-child { margin-bottom: 0; }
.mk-body .mk-notice a { font-weight: 600; }
.mk-flash { margin-bottom: var(--pw-space-4); }

/* ---- Newsletter band ---- */
.mk-newsletter { display: grid; gap: var(--pw-space-5); grid-template-columns: minmax(0, 1fr); padding: var(--pw-space-6); border-radius: var(--pw-radius-card-lg); background: var(--pw-action-hover); color: var(--pw-white); }
@media (min-width: 992px) { .mk-newsletter { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } }
.mk-newsletter h2 { margin: 0 0 var(--pw-space-2); font-size: var(--pw-fs-28); }
.mk-newsletter p { margin: 0; color: var(--pw-tint); }
.mk-newsletter .mk-eyebrow { display: inline-flex; align-items: center; gap: var(--pw-space-2); color: var(--pw-avatar-bg); }
.mk-newsletter__row { display: flex; flex-wrap: wrap; gap: var(--pw-space-2); }
.mk-newsletter__row .pw-input { flex: 1 1 220px; min-width: 0; }
.mk-newsletter__fineprint { margin-top: var(--pw-space-3) !important; font-size: var(--pw-fs-13); }

/* ---- Pricing ---- */
.mk-pricing { display: grid; gap: var(--pw-space-5); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 992px) { .mk-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-plan { position: relative; display: flex; flex-direction: column; box-sizing: border-box; padding: var(--pw-space-5); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-md); background: var(--pw-white); }
.mk-plan--featured { border: 2px solid var(--pw-navy); }
.mk-plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 2px var(--pw-space-3); border-radius: var(--pw-radius-pill); background: var(--pw-navy); color: var(--pw-white); font-size: var(--pw-fs-12); font-weight: 700; white-space: nowrap; }
.mk-plan__name { color: var(--pw-navy); font-family: var(--pw-font-heading); font-size: var(--pw-fs-22); font-weight: 700; }
.mk-plan__price { margin-top: var(--pw-space-2); font-size: var(--pw-fs-17); font-weight: 700; }
.mk-plan__period { color: var(--pw-muted); font-size: var(--pw-fs-13); }
.mk-plan__list { flex: 1; margin: var(--pw-space-4) 0; padding: 0; list-style: none; }
.mk-plan__list li { display: flex; gap: var(--pw-space-2); padding: var(--pw-space-1) 0; }
.mk-plan__list li::before { content: "\2713"; flex: none; color: var(--pw-green); font-weight: 700; }
.mk-plan__list li.is-off { color: var(--pw-muted); }
.mk-plan__list li.is-off::before { content: "\2013"; color: var(--pw-muted); }
.mk-alpha-note { display: inline-flex; align-items: center; gap: var(--pw-space-2); padding: var(--pw-space-3) var(--pw-space-5); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-sm); background: var(--pw-white); }
.mk-alpha-note .mk-icon { color: var(--pw-green); }
.mk-table-wrap { overflow-x: auto; }
.mk-table { width: 100%; border-collapse: collapse; }
.mk-table th,
.mk-table td { padding: var(--pw-space-3) var(--pw-space-4); border-bottom: 1px solid var(--pw-line); text-align: left; vertical-align: middle; }
.mk-table thead th { background: var(--pw-action-hover); color: var(--pw-white); }
.mk-table thead th.is-featured { background: var(--pw-navy); }
.mk-table td.is-featured { background: var(--pw-tint); }
.mk-table .mk-cell-center { text-align: center; }
.mk-table tbody tr:hover td { background: var(--pw-surface-3); }
.mk-table tbody tr:hover td.is-featured { background: var(--pw-tint); }
.mk-table th[scope="row"] { font-weight: 600; }
.mk-yes { color: var(--pw-green); }
.mk-no { color: var(--pw-muted); }

/* ---- FAQ: native disclosure ---- */
.mk-faq { max-width: 760px; margin: 0 auto; }
.mk-faq__item { margin-bottom: var(--pw-space-3); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-sm); background: var(--pw-white); }
.mk-faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--pw-space-3); padding: var(--pw-space-4); color: var(--pw-navy); font-weight: 700; cursor: pointer; list-style: none; }
.mk-faq__q::-webkit-details-marker { display: none; }
.mk-faq__q::after { content: "+"; flex: none; font-size: 20px; line-height: 1; }
.mk-faq__item[open] > .mk-faq__q::after { content: "\2212"; }
.mk-faq__a { padding: 0 var(--pw-space-4) var(--pw-space-4); color: var(--pw-label); }

/* ---- Forms (contact) ---- */
.mk-contact { display: grid; gap: var(--pw-space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .mk-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.mk-contact h2 { margin: 0 0 var(--pw-space-4); color: var(--pw-navy); font-size: var(--pw-fs-22); }
.mk-form { display: grid; gap: var(--pw-space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .mk-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-form__wide { grid-column: 1 / -1; } }
.mk-field { display: flex; flex-direction: column; gap: var(--pw-space-1); }
.mk-field label { font-size: var(--pw-fs-13); font-weight: 700; color: var(--pw-ink); }
.mk-field label span { font-weight: 400; color: var(--pw-muted); }
.mk-field .pw-input { width: 100%; }
.mk-field textarea.pw-input { padding: var(--pw-space-3); resize: vertical; }
.mk-info { display: flex; gap: var(--pw-space-3); margin-bottom: var(--pw-space-5); }
.mk-info h3 { margin: 0 0 var(--pw-space-1); color: var(--pw-navy); font-size: var(--pw-fs-15); }
.mk-info p { margin: 0; color: var(--pw-label); }
.mk-info p + p { font-size: var(--pw-fs-13); color: var(--pw-muted); }
.mk-aside { margin-top: var(--pw-space-5); padding: var(--pw-space-5); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-sm); background: var(--pw-tint); }
.mk-aside h3 { display: flex; align-items: center; gap: var(--pw-space-2); margin: 0 0 var(--pw-space-2); color: var(--pw-navy); font-size: var(--pw-fs-15); }
.mk-aside p { margin: 0 0 var(--pw-space-2); color: var(--pw-label); font-size: var(--pw-fs-13); }
.mk-aside p:last-child { margin-bottom: 0; }

/* ---- Document pages (account deletion, retention schedule, download) ---- */
.mk-doc { max-width: 820px; margin: 0 auto; padding: var(--pw-space-6); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-md); background: var(--pw-white); }
.mk-doc--wide { max-width: 960px; }
.mk-doc h2 { margin: var(--pw-space-5) 0 var(--pw-space-3); color: var(--pw-navy); font-size: var(--pw-fs-22); }
.mk-doc h2:first-child { margin-top: 0; }
.mk-doc p,
.mk-doc ol,
.mk-doc ul { color: var(--pw-label); }
.mk-doc p { margin: 0 0 var(--pw-space-3); }
.mk-doc ol,
.mk-doc ul { margin: 0 0 var(--pw-space-3); padding-left: var(--pw-space-5); }
.mk-doc code { color: var(--pw-ink); }
.mk-cell-note { display: block; margin-top: var(--pw-space-1); color: var(--pw-muted); font-size: var(--pw-fs-13); font-weight: 400; }
.mk-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--pw-space-1) var(--pw-space-5); margin: var(--pw-space-4) 0 0; }
.mk-facts dt { font-weight: 700; }
.mk-facts dd { margin: 0; min-width: 0; }
.mk-hero .mk-facts { color: var(--pw-white); }
.cp-digest { overflow-wrap: anywhere; user-select: all; }
.mk-hero code { color: var(--pw-white); }
.mk-install-steps li { margin-bottom: var(--pw-space-2); }
.cp-play-badge { display: inline-block; line-height: 0; }
.cp-play-badge img { width: 155px; max-width: 100%; height: auto; }
.cp-play-attribution { margin: var(--pw-space-1) 0 0; font-size: var(--pw-fs-13); }
.mk-hero .cp-play-attribution { color: var(--pw-tint); }
.cp-direct-download { color: var(--pw-tint); }
.mk-hero .cp-direct-download a { color: var(--pw-white); text-decoration: underline; }
.mk-state { text-align: center; }
.mk-state .mk-tile { width: 80px; height: 80px; border-radius: var(--pw-radius-pill); background: var(--pw-warn-bg); color: var(--pw-warn-text); }
.mk-state .mk-tile .mk-icon { width: 32px; height: 32px; }
.mk-state h2 { margin: 0 0 var(--pw-space-3); color: var(--pw-navy); font-size: var(--pw-fs-22); }
.mk-state p { margin: 0 0 var(--pw-space-5); color: var(--pw-label); }
.mk-error-title { color: var(--pw-danger-text); }

/* ---- Footer ---- */
.mk-footer { padding: var(--pw-space-7) 0 var(--pw-space-5); background: var(--pw-action-hover); color: var(--pw-tint); }
.mk-footer__grid { display: grid; gap: var(--pw-space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .mk-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .mk-footer__grid { grid-template-columns: 2fr 1fr 1fr 2fr; } }
.mk-body .cp-footer-logo { display: block; height: 48px; width: auto; margin-bottom: var(--pw-space-3); }
.mk-footer h2 { margin: 0 0 var(--pw-space-3); color: var(--pw-white); font-size: var(--pw-fs-17); }
.mk-footer p { margin: 0 0 var(--pw-space-2); font-size: var(--pw-fs-13); }
.mk-body .mk-footer a { display: block; padding: var(--pw-space-1) 0; color: var(--pw-tint); font-size: var(--pw-fs-15); }
.mk-body .mk-footer a:hover { color: var(--pw-white); text-decoration: underline; }
.mk-footer__rule { margin: var(--pw-space-5) 0 var(--pw-space-4); border: 0; border-top: 1px solid var(--pw-navy-active); }
.mk-footer__copy { margin: 0; text-align: center; font-size: var(--pw-fs-13); }

/*
 * The shared legal documents (counsel-approved, markup unchanged) were written for the old Bootstrap page. This frame
 * styles only the handful of class names they use, scoped so nothing else inherits them. Same approach as the staff
 * site's pw-legal-document.css.
 */
.pw-legal-document .container { box-sizing: border-box; max-width: 1140px; margin: 0 auto; padding: 0 var(--pw-space-4); }
.pw-legal-document > section:first-child { padding: var(--pw-space-7) 0 var(--pw-space-6) !important; }
.pw-legal-document > section:first-child h1 { margin: 0 0 var(--pw-space-2); font-size: clamp(26px, 4vw, var(--pw-fs-40)); font-weight: 700; }
.pw-legal-document > section:first-child p { color: var(--pw-tint); }
.pw-legal-document .cp-section { padding: var(--pw-space-6) 0; }
.pw-legal-document .row { display: flex; }
.pw-legal-document .justify-content-center { justify-content: center; }
.pw-legal-document .col-lg-8 { width: 100%; max-width: 820px; }
.pw-legal-document .feature-card { padding: var(--pw-space-6) !important; border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-md); background: var(--pw-white); overflow-wrap: anywhere; line-height: 1.65; }
@media (max-width: 575.98px) { .pw-legal-document .feature-card { padding: var(--pw-space-4) !important; } }
.pw-legal-document h2 { margin: var(--pw-space-5) 0 var(--pw-space-3); color: var(--pw-navy); font-size: var(--pw-fs-22); }
.pw-legal-document .text-muted { color: var(--pw-label); }
.pw-legal-document .small { font-size: var(--pw-fs-13); }
.pw-legal-document .fw-semibold { font-weight: 600; }
.pw-legal-document .text-uppercase { text-transform: uppercase; }
.pw-legal-document p { margin: 0 0 var(--pw-space-3); }
.pw-legal-document ul,
.pw-legal-document ol { margin: 0 0 var(--pw-space-3); padding-left: var(--pw-space-5); }
.pw-legal-document .table-responsive { overflow-x: auto; }
.pw-legal-document .table { width: 100%; border-collapse: collapse; }
.pw-legal-document .table th,
.pw-legal-document .table td { padding: var(--pw-space-2) var(--pw-space-3); border-bottom: 1px solid var(--pw-line); text-align: left; vertical-align: top; }
.pw-legal-document .alert { margin: 0 0 var(--pw-space-3); padding: var(--pw-space-3) var(--pw-space-4); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card-sm); background: var(--pw-surface-3); }
@media print {
  .mk-header, .mk-footer, .mk-skip { display: none !important; }
}
.mk-flash--top { margin-top: var(--pw-space-4); }
.mk-signup-anchor { margin-top: var(--pw-space-7); }
.mk-doc h3 { margin: var(--pw-space-4) 0 var(--pw-space-2); color: var(--pw-navy); font-size: var(--pw-fs-17); }
@media (max-width: 479.98px) {
  .mk-header__bar { gap: var(--pw-space-2); }
  .mk-brand { gap: var(--pw-space-1); font-size: 17px; }
  .mk-body .cp-brand-mark { height: 32px; }
  .cp-beta-badge { font-size: var(--pw-fs-meta); padding: 1px 6px; }
}
.mk-table-wrap { position: relative; }
/* The shared menu's items are links: keep the component's colours and no underline against .mk-body a. */
.mk-body a.pw-menu__item { color: var(--pw-ink); text-decoration: none; }
.mk-body a.pw-menu__item:hover,
.mk-body a.pw-menu__item:focus { background: var(--pw-tint); color: var(--pw-ink); text-decoration: none; }
/* Spacing and weight classes the shared legal documents use, scoped to them. */
.pw-legal-document .mt-4 { margin-top: var(--pw-space-5); }
.pw-legal-document .mt-3 { margin-top: var(--pw-space-4); }
.pw-legal-document .mb-3 { margin-bottom: var(--pw-space-4); }
.pw-legal-document .mb-2 { margin-bottom: var(--pw-space-2); }
.pw-legal-document .mb-0 { margin-bottom: 0; }
.pw-legal-document .fw-bold { font-weight: 700; }
.pw-legal-document .h4 { font-size: var(--pw-fs-22); }
.pw-legal-document .h5 { font-size: var(--pw-fs-17); }
.pw-legal-document h2.h4,
.pw-legal-document h3.h5 { font-family: var(--pw-font-heading); color: var(--pw-navy); }
.pw-legal-document .align-middle td,
.pw-legal-document .align-middle th { vertical-align: middle; }
.cp-release-facts,
.cp-direct-download-facts { margin-bottom: var(--pw-space-4); }
/* A fragment link (#stay-informed, #how-it-works) must land below the sticky header. */
.mk-body [id] { scroll-margin-top: 80px; }
/* The shared focus ring is blue, about 2:1 on the navy bands: light there. */
.mk-hero :focus-visible,
.mk-cta :focus-visible,
.mk-newsletter :focus-visible,
.mk-footer :focus-visible,
.mk-pagehead :focus-visible { outline: var(--pw-focus-ring-width) solid var(--pw-white); outline-offset: var(--pw-focus-ring-offset); }
