/* Shared landing-page components, scoped to body.mespy-home. Colours are the
   --mh-* tokens of themes.css. */
body.mespy-home {
  --mh-mono: var(--mespy-font-mono);
  background: var(--mh-bg);
  color: var(--mh-ink);
  font-family: var(--mespy-font-text);
  line-height: var(--mespy-leading-text);
  margin: 0;
}
.mespy-home *, .mespy-home *::before, .mespy-home *::after { box-sizing: border-box; }
.mespy-home a { color: inherit; text-decoration: none; }
.mespy-home a:hover { color: var(--mh-amber); }
.mespy-home :focus-visible { outline: 2px solid var(--mh-amber); outline-offset: 6px; }
.mespy-home h1, .mespy-home h2, .mespy-home h3 { color: var(--mh-ink); font-family: var(--mespy-font-heading); font-weight: var(--mespy-weight-semibold); line-height: var(--mespy-leading-heading); margin: 0; }
.mespy-home h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.mespy-home h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.mespy-home p, .mespy-home figure { margin: 0; }
.mespy-home code { font-family: var(--mh-mono); color: inherit; background: none; padding: 0; }
.mespy-home .mh-shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.mespy-home .mh-accent { color: var(--mh-amber); }
.mespy-home .mh-skip { position: fixed; top: -100px; left: 24px; z-index: 100; background: var(--mh-amber); color: var(--mh-on-accent); padding: 12px 20px; }
.mespy-home .mh-skip:focus { top: 12px; }
.mespy-home .mh-header.bd-header { display: block; position: relative; z-index: 20; border-bottom: 1px solid var(--mh-line); background: var(--mh-bg); padding: 0; box-shadow: none; height: auto; }
body.mespy-home #pst-back-to-top { left: auto; top: auto; transform: none; width: 44px; height: 44px; position: fixed; right: 20px; bottom: 20px; z-index: 30; display: none; padding: 10px 16px; background: var(--mh-panel); border: 1px solid var(--mh-control-line); border-radius: 3px; color: var(--mh-ink); }
.mespy-home .mh-nav { display: flex; align-items: center; gap: 30px; min-height: 96px; }
.mespy-home .mh-brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.mespy-home .mh-brand img { object-fit: contain; max-width: 100%; }
.mespy-home .mh-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 28px; flex: 1; font-size: .875rem; }
.mespy-home .mh-nav-links a { white-space: nowrap; padding-block: 12px; }
.mespy-home .mh-nav-links a[aria-current] { color: var(--mh-amber); }
.mespy-home .mh-github { border-left: 1px solid var(--mh-line); padding-left: 28px; }
.mespy-home .mh-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.mespy-home .mh-language { flex: 0 0 auto; }
.mespy-home .mh-language-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.mespy-home .mh-language-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.mespy-home .mh-language .version-switcher__container { display: flex; align-items: center; }
.mespy-home .mh-language .version-switcher__button { background: transparent; border: 1px solid var(--mh-control-line); border-radius: 3px; color: var(--mh-ink); font-size: .875rem; font-weight: var(--mespy-weight-semibold); min-width: 0; min-height: 44px; margin: 0; padding: 9px 12px; }
.mespy-home .version-switcher__button:hover { border-color: var(--mh-amber); }
.mespy-home .version-switcher__menu { background: var(--mh-panel); border: 1px solid var(--mh-control-line); border-radius: 3px; min-width: 135px; }
.mespy-home .version-switcher__menu a { color: var(--mh-ink); background: var(--mh-panel); }
.mespy-home .version-switcher__menu a:hover, .mespy-home .version-switcher__menu a.active { background: var(--mh-active-bg); color: var(--mh-amber); }
/* Theme switcher (components/theme-switcher.html): icon only, named by its
   visually hidden label. */
.mespy-home .mh-theme-switch { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--mh-control-line); border-radius: 3px; color: var(--mh-ink); font-size: 1rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s; }
.mespy-home .mh-theme-switch:hover { border-color: var(--mh-amber); color: var(--mh-amber); }
.mespy-home .mh-theme-switch svg { display: block; }
.mespy-home .mh-menu-toggle { display: none; background: transparent; border: 1px solid var(--mh-control-line); border-radius: 3px; color: var(--mh-ink); font: inherit; font-size: .875rem; font-weight: var(--mespy-weight-semibold); padding: 8px 12px; }
.mespy-home .mh-menu-toggle[hidden] { display: none; }
.mespy-home .mh-eyebrow { font-family: var(--mh-mono); font-size: .875rem; font-weight: var(--mespy-weight-regular); text-transform: uppercase; letter-spacing: .11em; color: var(--mh-muted); margin-bottom: 26px; }
.mespy-home .mh-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 510px; margin-top: 24px; }
.mespy-home .mh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.mespy-home .mh-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--mh-control-line); border-radius: 3px; padding: 14px 22px; font-weight: var(--mespy-weight-semibold); font-size: .9rem; transition: transform .2s, background-color .2s, border-color .2s; }
.mespy-home .mh-button-primary { background: var(--mh-amber); color: var(--mh-on-accent); border-color: var(--mh-amber); }
.mespy-home .mh-button-primary:hover { background: var(--mh-accent-hover); color: var(--mh-on-accent); border-color: var(--mh-accent-hover); transform: translateY(-2px); }
.mespy-home .mh-button-secondary:hover { border-color: var(--mh-amber); transform: translateY(-2px); }
.mespy-home .mh-hero-meta { font-family: var(--mh-mono); font-size: .875rem; color: var(--mh-muted); margin-top: 25px; }
.mespy-home .mh-hero-meta > span { color: var(--mh-faint); margin-inline: 9px; }
.mespy-home .mh-chart { display: block; width: 100%; height: auto; overflow: visible; }
.mespy-home .mh-grid { color: var(--mh-chart-grid); opacity: .55; }
.mespy-home .mh-axis { stroke: var(--mh-chart-axis); stroke-width: 1; fill: none; }
.mespy-home .mh-ticks { fill: var(--mh-chart-tick); font-family: var(--mh-mono); font-size: 18px; }
.mespy-home .mh-ticks text:not([text-anchor]) { text-anchor: middle; }
.mespy-home .mh-ticks text[text-anchor="end"] { dominant-baseline: middle; }
.mespy-home .mh-axis-labels { fill: var(--mh-ink); font-family: var(--mh-mono); font-size: 21px; text-anchor: middle; dominant-baseline: middle; }
.mespy-home .mh-fit-band { fill: var(--mh-chart-fit); opacity: .09; }
.mespy-home .mh-regression { fill: none; stroke: var(--mh-chart-fit); stroke-width: 2.8; }
.mespy-home .mh-error-bars path { fill: none; stroke: var(--mh-chart-data); stroke-width: 1.3; opacity: .95; vector-effect: non-scaling-stroke; }
.mespy-home .mh-data-point rect { fill: var(--mh-chart-data); stroke: var(--mh-bg); stroke-width: 1.5; }
.mespy-home .mh-principles { border-block: 1px solid var(--mh-line); }
/* The duck's lane (homepage-duck.js): room for the sprite above its water line, the strip's bottom border. */
.mespy-home .mh-principles-grid { height: 48px; }
.mespy-home .mh-section { padding-top: 112px; scroll-margin-top: 30px; }
.mespy-home .mh-section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 100px; align-items: end; margin-bottom: 44px; }
.mespy-home .mh-section-heading .mh-eyebrow { margin-bottom: 18px; }
.mespy-home .mh-section-heading > p { color: var(--mh-muted); max-width: 350px; justify-self: end; }
.mespy-home .mh-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mespy-home .mh-feature { display: flex; flex-direction: column; background: var(--mh-panel); border: 1px solid var(--mh-line); border-radius: 5px; min-width: 0; transition: border-color .25s; }
.mespy-home .mh-feature:hover, .mespy-home .mh-feature:focus-within { border-color: var(--mh-line-strong); }
.mespy-home .mh-feature-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 22px 30px; border-bottom: 1px solid var(--mh-line); font: .875rem var(--mh-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mh-muted); }
.mespy-home .mh-feature-top code { font-size: .875rem; text-transform: none; letter-spacing: 0; color: var(--mh-blue); }
.mespy-home .mh-feature-plot { padding: 26px 30px 18px; }
.mespy-home .mh-feature-plot figcaption { margin-top: 12px; font: .875rem/1.65 var(--mespy-font-text); color: var(--mh-muted); min-height: 3.3em; }
.mespy-home .mh-feature-copy { display: flex; flex-direction: column; flex: 1; padding: 12px 32px 30px; }
.mespy-home .mh-feature-copy > p { color: var(--mh-muted); margin-top: 18px; }
.mespy-home .mh-feature-copy > p { margin-bottom: 24px; }
.mespy-home .mh-feature-copy pre { background: var(--mh-bg); color: var(--mh-ink); border: 1px solid var(--mh-line); border-radius: 3px; padding: 15px 18px; margin: auto 0 24px; font-size: .875rem; line-height: 1.65; overflow-x: auto; }
.mespy-home .mh-code-function { color: var(--mh-blue); }
.mespy-home .mh-text-link { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; font-weight: var(--mespy-weight-semibold); }
.mespy-home .mh-text-link > span { color: var(--mh-amber); transition: transform .2s; }
/* The hover nudge follows the arrow: → another page of the site, ↗ an external site. */
.mespy-home .mh-text-link:hover > span { transform: translateX(3px); }
.mespy-home .mh-text-link[href^="http"]:hover > span { transform: translate(3px, -3px); }
.mespy-home .mh-bars { fill: var(--mh-chart-data); }
.mespy-home .mh-bar:nth-child(5), .mespy-home .mh-bar:nth-child(6), .mespy-home .mh-bar:nth-child(7) { fill: var(--mh-chart-data-strong); }
.mespy-home .mh-sigma-band { fill: var(--mh-chart-fit); opacity: .10; }
.mespy-home .mh-mean-line { fill: none; stroke: var(--mh-chart-fit); stroke-width: 2; stroke-dasharray: 5 5; }
.mespy-home .mh-hist-labels { fill: var(--mh-amber); font-size: 20px; font-family: var(--mh-mono); text-anchor: middle; }
.mespy-home .mh-badge { border: 1px solid var(--mh-amber-line); color: var(--mh-amber); padding: 5px 8px; border-radius: 2px; font-size: .875rem; margin-left: 12px; white-space: nowrap; }
.mespy-home .mh-footer { border-top: 1px solid var(--mh-line); padding-block: 40px 24px; }
.mespy-home .mh-footer-main { display: flex; align-items: center; gap: 32px; }
.mespy-home .mh-footer-main nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; font-size: .875rem; }
.mespy-home .mh-footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font: .875rem/1.8 var(--mh-mono); color: var(--mh-muted); margin-top: 40px; }
.mespy-home .mh-footer-meta span > span { padding-inline: 8px; }

/* Section strip (components/section-nav.html): a section's landing and its pages.
   Used by guide.html, examples.html and api-reference.html. One row on wide
   screens, scrolling with a visible scrollbar if it ever overflows; up to
   1200px the title takes a row and the pages wrap below it. */
.mespy-home .gd-section { border-bottom: 1px solid var(--mh-line); }
.mespy-home .gd-section-inner { display: flex; align-items: center; gap: 28px; min-height: 56px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--mh-line) transparent; }
.mespy-home .gd-section-title { flex: none; font: .875rem/1.6 var(--mh-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mh-muted); }
.mespy-home .gd-section-title::after { content: "/"; margin-left: 28px; color: var(--mh-line); }
.mespy-home .gd-section-pages { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.mespy-home .gd-section-pages a { display: block; padding-block: 16px; font-size: .875rem; color: var(--mh-muted); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .2s; }
.mespy-home .gd-section-pages a:hover { color: var(--mh-ink); }
.mespy-home .gd-section-pages a[aria-current="page"] { color: var(--mh-ink); box-shadow: inset 0 -2px 0 var(--mh-amber); }
.mespy-home .gd-section-title[aria-current="page"] { color: var(--mh-ink); }
.mespy-home .gd-section a:focus-visible { outline-offset: -4px; }

.mespy-home .mh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

body.mespy-home #pst-back-to-top:hover { background: var(--mh-amber); color: var(--mh-on-accent); }

/* Editable Python and the actual MesPy outputs; isolated from internal pages. */
.mespy-home .mh-fit-editor { min-width: 0; border: 1px solid var(--mh-line); border-radius: 8px; background: var(--mh-panel); overflow: hidden; }
.mespy-home .mh-editor-toolbar { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 24px; border-bottom: 1px solid var(--mh-line); }
.mespy-home .mh-editor-label { font: .875rem/1.6 var(--mh-mono); }
.mespy-home .mh-editor-toolbar > div { display: flex; align-items: center; gap: 12px; }
.mespy-home .mh-fit-run, .mespy-home .mh-fit-cancel, .mespy-home .mh-fit-copy { min-height: 40px; border: 1px solid var(--mh-amber-line); border-radius: 4px; padding: 8px 16px; background: transparent; color: var(--mh-amber); font: var(--mespy-weight-semibold) .875rem/1.5 var(--mh-mono); transition: color .2s, background-color .2s; }
.mespy-home .mh-fit-run span { margin-right: 8px; }
.mespy-home .mh-fit-run:hover { color: var(--mh-on-accent); background: var(--mh-amber); }
.mespy-home .mh-fit-run:disabled { opacity: .55; cursor: wait; }
.mespy-home .mh-fit-cancel, .mespy-home .mh-fit-copy { color: var(--mh-muted); border-color: var(--mh-control-line); }
.mespy-home .mh-fit-copy:hover, .mespy-home .mh-fit-cancel:hover { border-color: var(--mh-amber); color: var(--mh-amber); }
.mespy-home .mh-editor-code { max-height: 548px; align-items: start; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 24px; overflow: hidden; }
.mespy-home .mh-editor-lines, .mespy-home .mh-editor-highlight, .mespy-home .mh-editor-input textarea { font: .9rem/1.85 var(--mh-mono); letter-spacing: 0; tab-size: 4; padding: 0; margin: 0; white-space: pre; border: 0; border-radius: 0; }
.mespy-home .mh-editor-lines { color: var(--mh-subtle); text-align: right; background: transparent; overflow: visible; user-select: none; }
.mespy-home .mh-editor-input { position: relative; min-width: 0; }
.mespy-home .mh-editor-highlight { position: absolute; inset: 0; overflow: hidden; color: var(--mh-ink); background: transparent; pointer-events: none; }
.mespy-home .mh-editor-highlight code { display: block; width: max-content; min-width: 100%; font: inherit; }
.mespy-home .mh-editor-input textarea { display: block; position: relative; width: 100%; min-height: 218px; max-height: 500px; color: transparent; caret-color: var(--mh-ink); background: transparent; resize: vertical; outline-offset: 4px; overflow: auto; }
.mespy-home .mh-editor-input textarea::selection { background: var(--mh-selection); }
.mespy-home .mh-fit-editor > p:not(.mh-eyebrow) { max-width: none; margin: 0; padding: 0 24px 16px; font: .875rem/1.8 var(--mh-mono); color: var(--mh-muted); }
.mespy-home .mh-fit-editor > .mh-fit-status { color: var(--mh-blue); min-height: 2.8em; }
.mespy-home .mh-fit-editor > p.mh-fit-error { color: var(--mh-error); white-space: pre-wrap; overflow-wrap: anywhere; }
.mespy-home .mh-fit-results { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 24px; min-width: 0; scroll-margin-top: 24px; }
.mespy-home .mh-fit-results[hidden], .mespy-home .mh-fit-editor [hidden] { display: none !important; }
.mespy-home .mh-fit-plot, .mespy-home .mh-fit-toml { padding: 0; min-width: 0; border: 1px solid var(--mh-line); border-radius: 8px; overflow: hidden; background: var(--mh-panel); }
.mespy-home .mh-fit-output-heading { min-height: 60px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--mh-line); font: .875rem/1.6 var(--mh-mono); letter-spacing: .03em; }
.mespy-home .mh-fit-image { background: white; overflow-x: auto; }
.mespy-home .mh-fit-open { flex-shrink: 0; color: var(--mh-amber); font: .875rem/1.6 var(--mh-mono); }
.mespy-home .mh-fit-image:focus-visible, .mespy-home .mh-fit-toml pre:focus-visible { outline-offset: -3px; }
.mespy-home .mh-fit-image img { display: block; width: 100%; height: auto; }
.mespy-home .mh-fit-toml pre { max-width: 100%; max-height: 520px; overflow: auto; padding: 20px; margin: 0; background: transparent; color: var(--mh-ink); border: 0; font: .8rem/1.85 var(--mh-mono); }
.mespy-home .mh-syntax-k, .mespy-home .mh-syntax-kc, .mespy-home .mh-syntax-o { color: var(--mh-syntax-keyword); }
.mespy-home .mh-syntax-nf, .mespy-home .mh-syntax-na { color: var(--mh-syntax-function); }
.mespy-home .mh-syntax-s, .mespy-home .mh-syntax-s1, .mespy-home .mh-syntax-s2 { color: var(--mh-syntax-string); }
.mespy-home .mh-syntax-mi, .mespy-home .mh-syntax-mf, .mespy-home .mh-syntax-m { color: var(--mh-syntax-number); }
.mespy-home .mh-syntax-c { color: var(--mh-syntax-comment); }
@media (max-width: 750px) {
  .mespy-home .mh-fit-results { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .mespy-home .mh-editor-code { padding: 20px 16px; gap: 10px; grid-template-columns: 20px minmax(0, 1fr); }
  .mespy-home .mh-editor-lines, .mespy-home .mh-editor-highlight, .mespy-home .mh-editor-input textarea { font-size: .8rem; }
  .mespy-home .mh-editor-toolbar { padding-inline: 16px; }
  .mespy-home .mh-fit-editor > p:not(.mh-eyebrow) { padding-inline: 16px; }
  .mespy-home .mh-fit-output-heading { padding-inline: 16px; }
  .mespy-home .mh-fit-image img { min-width: 520px; }
  .mespy-home .mh-fit-toml pre { font-size: .75rem; padding: 16px; }
}
@media (forced-colors: active) {
  .mespy-home .mh-editor-highlight { display: none; }
  .mespy-home .mh-editor-input textarea { color: CanvasText; caret-color: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  .mespy-home *, .mespy-home *::before, .mespy-home *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 1150px) {
  .mespy-home .mh-shell { width: calc(100% - 72px); }
  .mespy-home .mh-nav { gap: 20px; }
  .mespy-home .mh-nav-links { gap: 16px; }
  .mespy-home .mh-github { padding-left: 16px; }
  .mespy-home .mh-section-heading { gap: 48px; }
  .mespy-home .mh-feature-plot { padding-inline: 24px; }
  .mespy-home .mh-feature-copy { padding-inline: 26px; }
  .mespy-home .mh-footer-main { flex-wrap: wrap; gap: 24px; }
}
@media (max-width: 1200px) {
  .mespy-home .mh-nav { flex-wrap: wrap; gap: 18px; }
  .mespy-home .mh-tools { margin-left: auto; }
  .mespy-home .mh-nav-links { order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; font-size: .875rem; }
  .mespy-home .mh-nav-links > a { min-height: 44px; padding-block: 10px; }
  .mespy-home .mh-menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
  .mespy-home.mh-menu-ready .mh-tools { margin-left: 0; }
  .mespy-home.mh-menu-ready .mh-nav-links { display: none; }
  .mespy-home.mh-menu-open .mh-nav-links { display: flex; padding-block: 12px; border-top: 1px solid var(--mh-line); }
  .mespy-home .mh-nav-links .mh-github { width: max-content; padding-left: 16px; }
  /* Section strip: title on the first row, the pages wrapping on the next
     ones, each a 44px target; nothing is cut off or scrolls sideways. */
  .mespy-home .gd-section-inner { flex-wrap: wrap; align-items: stretch; gap: 0; min-height: 0; padding-block: 6px; overflow-x: visible; }
  .mespy-home .gd-section-title { display: flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
  .mespy-home .gd-section-title::after { content: none; }
  .mespy-home .gd-section-pages { flex: 1 0 100%; flex-wrap: wrap; gap: 0 26px; }
  .mespy-home .gd-section-pages a { display: flex; align-items: center; min-height: 44px; padding-block: 10px; white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 900px) {
  .mespy-home .mh-nav { padding-block: 20px; min-height: 80px; }
  .mespy-home .mh-brand img { width: 120px; height: 32px; }
  .mespy-home .mh-section { padding-top: 80px; }
  .mespy-home .mh-section-heading { grid-template-columns: 1fr; gap: 24px; }
  .mespy-home .mh-section-heading > p { justify-self: start; max-width: 470px; }
  .mespy-home .mh-feature-top { padding-inline: 20px; }
  .mespy-home .mh-feature-plot { padding-inline: 16px; }
  .mespy-home .mh-feature-copy { padding-inline: 20px; }
  .mespy-home .mh-chart .mh-ticks { font-size: 23px; }
  .mespy-home .mh-chart .mh-axis-labels { font-size: 25px; }
  .mespy-home .mh-feature-copy pre { font-size: .75rem; padding-inline: 12px; }
  .mespy-home .mh-footer-main nav { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 600px) {
  .mespy-home .mh-shell { width: calc(100% - 40px); }
  .mespy-home .mh-nav { gap: 10px; }
  /* Logo and Menu on the first row; search, language and theme on a second
     one, above the open menu. */
  .mespy-home .mh-tools { order: 3; flex-basis: 100%; justify-content: flex-end; margin-left: 0; }
  .mespy-home .mh-brand img { width: 100px; height: 27px; }
  .mespy-home .mh-language .version-switcher__button { padding: 8px; }
  .mespy-home .mh-menu-toggle { padding: 8px; gap: 6px; }
  .mespy-home .mh-eyebrow { margin-bottom: 24px; }
  .mespy-home .mh-actions { gap: 10px; }
  .mespy-home .mh-button { font-size: .875rem; padding: 13px 16px; gap: 20px; }
  .mespy-home .mh-hero-meta > span { margin-inline: 5px; }
  .mespy-home .mh-section { padding-top: 64px; }
  .mespy-home .mh-section-heading { margin-bottom: 32px; }
  .mespy-home .mh-features { grid-template-columns: 1fr; gap: 24px; }
  .mespy-home .mh-feature-plot { padding: 22px 24px 16px; }
  .mespy-home .mh-feature-copy { padding: 12px 24px 28px; }
  .mespy-home .mh-feature-copy > p { min-height: 0; }
  .mespy-home .mh-feature-copy pre { font-size: .8rem; padding-inline: 16px; }
  .mespy-home .mh-footer-main { gap: 20px; }
  .mespy-home .mh-footer-main nav { gap: 18px; }
  .mespy-home .gd-section-pages { gap: 0 18px; }
}
@media print {
  .mespy-home .mh-header.bd-header, .mespy-home .mh-footer, .mespy-home .gd-section, .mespy-home .mh-skip { display: none; }
  .mespy-home .mh-section, .mespy-home .mh-hero { padding-block: 24px; }
  .mespy-home .mh-feature { break-inside: avoid; }
}
