/* MF-REDESIGN-V1: the shared look of the redesigned my-feline.com, taken from
   the signed-off canvas (28 Nov 2026). Every class starts "mf-" so these rules
   can sit beside the old style.css while pages are moved over batch by batch.
   No boxes, cards, pills, shadows or gradients. One olive band per page. */

:root {
  --mf-white: #FBFAF5;
  --mf-olive: #4D5045;
  --mf-olive-deep: #2D2F28;
  --mf-tint: #F6F5ED;
  --mf-tint-deep: #F1EDE4;
  --mf-ink: #1C1A12;
  --mf-muted: #6B6650;
  --mf-terracotta: #A84E26;
  --mf-buttermilk: #F6CFA9;
  --mf-sage: #A9A27F;
  --mf-hairline: #EBE9DD;
  --mf-pencil: #797E6D;
  --mf-foot-soft: #DADBD6;
  --mf-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --mf-body: Quicksand, system-ui, sans-serif;
  --mf-ease: cubic-bezier(.22, 1, .36, 1);
  --mf-wash-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 56' preserveAspectRatio='none'%3E%3Cpath fill='%23F6CFA9' d='M9 20 C 34 9, 104 11, 174 9 C 207 8, 231 13, 232 25 C 234 38, 216 46, 174 47 C 116 49, 58 50, 23 46 C 7 44, 2 30, 9 20 Z'/%3E%3C/svg%3E");
}

/* ---- Page shell (new pages only: the mf layout sets these) ---- */
/* No smooth scrolling: a link from another page to /#beta-signup must land
   on the form at once, and animated scrolling proved unreliable on load. */
html.mf-html { -webkit-text-size-adjust: 100%; }
body.mf-body { margin: 0; background: var(--mf-white); }
.mf-root {
  background: var(--mf-white);
  color: var(--mf-ink);
  font-family: var(--mf-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mf-root *, .mf-root *::before, .mf-root *::after { box-sizing: border-box; }
/* height: auto, so an image's width and height attributes reserve its shape
   without fixing its height in pixels. */
.mf-root img { max-width: 100%; height: auto; }
.mf-root a { color: var(--mf-terracotta); }
.mf-root a:focus-visible,
.mf-root button:focus-visible,
.mf-root input:focus-visible,
.mf-root select:focus-visible,
.mf-root textarea:focus-visible {
  outline: 2px solid var(--mf-olive);
  outline-offset: 2px;
  border-radius: 4px;
}
.mf-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--mf-white); color: var(--mf-olive);
  padding: 12px 16px; font-family: var(--mf-head); font-weight: 600;
}
.mf-skip:focus { left: 8px; top: 8px; z-index: 10; }
.mf-visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- Layout ---- */
.mf-wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: 32px; padding-right: 32px;
}
.mf-wrap--narrow { max-width: 824px; }
.mf-wrap--form { max-width: 704px; }
.mf-duo {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 56px 88px; padding-top: 56px; padding-bottom: 56px;
}
.mf-duo--flip { flex-direction: row-reverse; }
.mf-txt { flex: 1 1 440px; min-width: 0; }
.mf-pic { flex: 0 1 300px; min-width: 0; margin: 0 auto; }
.mf-band--tint { background: var(--mf-tint); }
.mf-band--tint-deep { background: var(--mf-tint-deep); }
.mf-band--olive { background: var(--mf-olive); color: var(--mf-white); }

/* ---- Type ---- */
.mf-eb {
  margin: 0 0 14px; font-family: var(--mf-body);
  font-size: 13px; line-height: 18px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mf-muted);
}
.mf-eb--icon { display: flex; align-items: center; gap: 10px; }
.mf-glyph { flex: none; color: var(--mf-olive); }
/* A section icon standing beside a heading, outside the small heading line. */
.mf-glyph-holder { flex: none; display: inline-flex; margin-top: 4px; }
.mf-glyph-holder--lg { margin-top: 2px; }
.mf-glyph-holder--lg .mf-glyph { width: 30px; height: 28px; }
.mf-h1 {
  margin: 0; font-family: var(--mf-head);
  font-size: 56px; line-height: 62px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--mf-olive); text-wrap: balance;
}
/* The heading of an inner page: a step down from the homepage's. */
.mf-h1--page { font-size: 48px; line-height: 56px; letter-spacing: -0.015em; }
.mf-h2 {
  margin: 0; font-family: var(--mf-head);
  font-size: 36px; line-height: 44px; font-weight: 600;
  letter-spacing: -.01em; color: var(--mf-olive); text-wrap: balance;
}
.mf-h2--big { font-size: 44px; line-height: 54px; }
.mf-band--olive .mf-h2 { color: var(--mf-white); }
.mf-h3 {
  margin: 16px 0 8px; font-family: var(--mf-head);
  font-size: 22px; line-height: 30px; font-weight: 600; color: var(--mf-olive);
}
.mf-p { margin: 18px 0 0; max-width: 540px; font-size: 18px; line-height: 30px; }
.mf-p--lead { margin-top: 24px; font-size: 20px; line-height: 32px; }
.mf-p--small { font-size: 16px; line-height: 26px; color: var(--mf-muted); }

/* The buttermilk watercolour wash behind a phrase */
.mf-hl { display: inline-block; position: relative; isolation: isolate; white-space: nowrap; }
.mf-hl::before {
  content: ""; position: absolute; z-index: -1;
  left: -10px; top: -2px; width: calc(100% + 20px); height: calc(100% + 4px);
  background: var(--mf-wash-shape) center / 100% 100% no-repeat;
  opacity: .7; transform: rotate(-1deg);
}
.mf-hl--flip::before { transform: scaleX(-1) rotate(1deg); }
.mf-hl--strong::before { left: -12px; width: calc(100% + 24px); opacity: .8; }

/* ---- Links and buttons ---- */
.mf-root .mf-wash, .mf-wash {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 30px;
  border: 0; background: none; cursor: pointer;
  font-family: var(--mf-head); font-weight: 600; font-size: 18px; line-height: 24px;
  color: var(--mf-olive-deep); text-decoration: none;
}
.mf-wash::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: var(--mf-wash-shape) center / 100% 100% no-repeat;
  opacity: .62; transition: opacity 300ms var(--mf-ease);
}
.mf-wash:hover::before, .mf-wash:focus-visible::before { opacity: 1; }
.mf-wash[disabled] { cursor: default; }
.mf-wash[disabled]::before { opacity: .35; }
.mf-root .mf-wash--small, .mf-wash--small { min-height: 48px; font-size: 16px; padding: 0 22px; }

.mf-root .mf-more, .mf-more {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 20px; padding: 12px 0;
  font-family: var(--mf-head); font-weight: 600; font-size: 17px; line-height: 24px;
  color: var(--mf-terracotta); text-decoration: none;
}
.mf-more svg { width: 28px; height: 14px; overflow: visible; transition: transform 300ms var(--mf-ease); }
.mf-more path { fill: none; stroke: currentColor; stroke-width: 1.6px; stroke-linecap: round; stroke-linejoin: round; }
.mf-more:hover svg { transform: translateX(4px); }
.mf-root .mf-more--flat, .mf-more--flat { margin-top: 0; }
.mf-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; }

/* ---- Phone frame ---- */
.mf-device { border: 1.6px solid var(--mf-olive); border-radius: 42px; padding: 11px; background: var(--mf-white); }
.mf-device img { display: block; width: 100%; height: auto; border-radius: 31px; }

/* ---- Pencil-line form fields ---- */
.mf-field {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--mf-pencil); border-radius: 0;
  background: transparent; padding: 12px 2px; margin: 0;
  font-family: var(--mf-body); font-size: 18px; font-weight: 500; color: var(--mf-ink);
  outline: none; -webkit-appearance: none; appearance: none;
}
.mf-field:focus { border-bottom-color: var(--mf-olive-deep); }
/* MF-FIELD-FOCUS-V1 (James, 28 Nov 2026): a field being filled in shows a
   heavier pencil line in terracotta, never a box round it. */
.mf-root .mf-field:focus, .mf-root .mf-field:focus-visible {
  outline: none; border-radius: 0;
  border-bottom-color: var(--mf-terracotta); box-shadow: 0 1.5px 0 0 var(--mf-terracotta);
}
.mf-field { transition: border-color 200ms var(--mf-ease), box-shadow 200ms var(--mf-ease); }
@media (prefers-reduced-motion: reduce) { .mf-field { transition: none; } }
.mf-form { display: flex; flex-direction: column; gap: 28px; }
.mf-label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 23px; color: var(--mf-muted); }
.mf-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 23px; }
.mf-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--mf-olive); flex: none; }
.mf-form-error { margin: 0; font-size: 16px; line-height: 26px; font-weight: 600; color: var(--mf-terracotta); }
.mf-form-error[hidden] { display: none; }
.mf-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* MF-CONTACT-V1: the bordered panel that holds the Contact form and, once a
   message has gone, the thank-you words. */
.mf-contact-panel {
  flex: 1.3 1 440px; min-width: 0; box-sizing: border-box;
  background: var(--mf-white); border: 1px solid #DDDACB; border-radius: 24px;
  padding: 44px 48px 48px;
}
.mf-contact-panel select.mf-field { cursor: pointer; }

/* MF-SELECT-V1 (James, 28 Nov 2026): every dropdown opens a list in the
   site's own look instead of the browser's menu (assets/js/mf-select.js).
   Without JavaScript the browser's own menu remains. */
.mf-pick { position: relative; }
.mf-pick--inline { display: inline-block; vertical-align: middle; }
.mf-root .mf-pick-btn {
  display: block; width: 100%; min-height: 50px; box-sizing: border-box; text-align: left; cursor: pointer;
  padding-right: 28px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mf-root .mf-bform .mf-pick-btn.is-empty { color: var(--mf-muted); }
.mf-root .mf-pick-btn[disabled] { opacity: .55; cursor: default; }
.mf-root .mf-pick-btn:focus, .mf-root .mf-pick-btn:focus-visible,
.mf-root .mf-pick.is-open .mf-pick-btn {
  outline: none; border-radius: 0;
  border-bottom-color: var(--mf-terracotta); box-shadow: 0 1.5px 0 0 var(--mf-terracotta);
}
.mf-pick > svg { transition: transform 200ms var(--mf-ease); }
.mf-pick.is-open > svg { transform: translateY(-50%) rotate(180deg) !important; }
.mf-pick-list {
  position: absolute; left: -14px; top: calc(100% + 8px); z-index: 20;
  min-width: calc(100% + 28px); width: max-content; max-width: min(440px, calc(100vw - 32px)); max-height: 340px; overflow-y: auto;
  box-sizing: border-box; margin: 0; padding: 8px; list-style: none;
  background: var(--mf-white); border: 1px solid #DDDACB; border-radius: 18px;
  box-shadow: 0 14px 36px rgba(45, 47, 40, .12), 0 2px 6px rgba(45, 47, 40, .06);
  outline: none;
}
.mf-root .mf-pick-list:focus, .mf-root .mf-pick-list:focus-visible { outline: none; }
.mf-pick-list[hidden] { display: none; }
.mf-pick-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 48px; box-sizing: border-box; margin: 0; padding: 10px 14px; border-radius: 12px;
  font-family: var(--mf-body); font-size: 18px; line-height: 26px; font-weight: 500; color: var(--mf-ink);
  text-transform: none; letter-spacing: 0; cursor: pointer;
}
.mf-pick-opt.is-active { background: rgba(246, 207, 169, .5); }
.mf-pick-opt[aria-selected="true"] { font-weight: 700; color: var(--mf-olive-deep); }
.mf-pick-opt svg { flex: none; width: 18px; height: 14px; opacity: 0; }
.mf-pick-opt[aria-selected="true"] svg { opacity: 1; }
.mf-pick-opt path { fill: none; stroke: var(--mf-terracotta); stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .mf-pick > svg { transition: none; } }
@media (max-width: 600px) {
  .mf-contact-panel { padding: 32px 22px 36px; border-radius: 20px; }
  .mf-pick-list { max-width: calc(100% + 28px); }
}

/* Ghost's editor can mark a picture or card as wide or full width. These
   were styled in the old style.css; Ghost requires a theme to style them. */
.mf-art-body > .kg-width-wide { width: min(960px, 100% - 64px); }
.mf-art-body > .kg-width-full { width: 100%; }
.kg-width-wide img, .kg-width-full img { display: block; width: 100%; height: auto; }

/* MF-LAUNCH-V1: the official store badges, at the same visible height (48px)
   with clear space round each. Google's picture carries its own clear margin
   (41 of 250 px top and bottom), so it is drawn larger and pulled in by that
   margin to line up with Apple's. */
.mf-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; vertical-align: middle; }
.mf-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.mf-badge--apple img { display: block; height: 48px; width: auto; }
.mf-badge--play img { display: block; height: 71.43px; width: auto; margin: -11.71px; }
.mf-root .mf-badge:focus-visible { outline: 2px solid var(--mf-olive); outline-offset: 4px; }
.mf-signup .mf-badges { margin-top: 4px; }

/* MF-PAGE-V1: the fallback page for any Ghost page without its own template. */
.mf-page { padding-bottom: 96px; }
.mf-page > .mf-page-head { order: 0; }

/* ==========================================================================
   MF-MESSAGE-V1: the small pages people land on from an email link (confirm,
   unsubscribed, link not valid, no thanks) and the error pages. One centred
   message, nothing else.
   ========================================================================== */
.mf-msg { max-width: 760px; margin: 0 auto; padding: 104px 32px 128px; box-sizing: border-box; text-align: center; }
.mf-msg .mf-eb { margin-bottom: 16px; }
.mf-msg-body p { margin: 24px auto 0; max-width: 580px; font-size: 20px; line-height: 32px; }
.mf-msg-body a, .mf-msg-help a { color: var(--mf-terracotta); text-decoration: underline; text-underline-offset: 3px; }
.mf-msg-help { margin: 20px auto 0; max-width: 520px; font-size: 16px; line-height: 26px; color: var(--mf-muted); }
.mf-msg-help:empty { display: none; }
.mf-msg-cta { margin: 40px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; }
.mf-msg-cta:empty { display: none; }
.mf-msg-cta .mf-wash[disabled] { opacity: .6; cursor: default; }
.mf-msg-status { display: flex; justify-content: center; align-items: center; min-height: 56px; margin-bottom: 28px; }
.mf-msg-spinner { width: 40px; height: 40px; border: 2px solid var(--mf-hairline); border-top-color: var(--mf-olive); border-radius: 50%; animation: mf-msg-spin .9s linear infinite; }
@keyframes mf-msg-spin { to { transform: rotate(360deg); } }
.mf-msg-icon { display: inline-flex; color: var(--mf-olive); }
.mf-msg-icon svg { width: 52px; height: 52px; stroke-width: 1.4; }
.mf-msg-icon.is-warning, .mf-msg-icon.is-error { color: var(--mf-terracotta); }
.mf-msg-icon.is-neutral { color: var(--mf-pencil); }
@media (max-width: 600px) { .mf-msg { padding: 64px 20px 88px; } .mf-msg-body p { font-size: 18px; line-height: 30px; } }
@media (prefers-reduced-motion: reduce) { .mf-msg-spinner { animation-duration: 2.4s; } }

/* ==========================================================================
   MF-ARTICLE-V1: the Articles list and the single article page
   ========================================================================== */

/* ---- Articles: cards, toggle and list ---- */
.mf-card-link { display: block; text-decoration: none; color: inherit !important; }
.mf-card-pic { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; background: var(--mf-tint); }
.mf-toggle { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 36px; }
.mf-toggle-btn {
  border: 0; background: none; padding: 10px 0; margin: 0; cursor: pointer;
  font-family: var(--mf-head); font-weight: 600; font-size: 18px; line-height: 24px; color: var(--mf-olive);
}
.mf-toggle-btn .mf-hl::before { opacity: 0; transition: opacity 250ms var(--mf-ease); clip-path: none !important; }
.mf-toggle-btn.is-on .mf-hl::before { opacity: .7; }
/* MF-ARTICLE-GRID-V1: the article list as a picture grid, twelve at a time */
.mf-filters { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; }
.mf-filter { flex: 1 1 320px; min-width: 0; max-width: 540px; }
.mf-filter--cat { flex: 0 1 300px; }
.mf-filter label { display: block; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mf-muted); }
.mf-select { position: relative; color: var(--mf-olive); }
.mf-select select { padding-right: 28px; cursor: pointer; }
.mf-select > svg, .mf-select .mf-pick > svg { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.mf-list-count { margin: 28px 0 0; min-height: 22px; font-size: 15px; line-height: 22px; color: var(--mf-muted); }
.mf-agrid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 52px 40px; }
.mf-acard[hidden] { display: none; }
.mf-acard .mf-card-pic { transition: transform 500ms var(--mf-ease); }
.mf-acard a:hover .mf-card-pic { transform: translateY(-4px); }
.mf-acard-eb { margin: 16px 0 6px; }
.mf-acard-eb .mf-free { letter-spacing: .08em; }
.mf-acard-title { margin: 0; font-family: var(--mf-head); font-size: 21px; line-height: 29px; font-weight: 600; color: var(--mf-olive); text-wrap: balance; }
.mf-acard a:hover .mf-acard-title { color: var(--mf-olive-deep); }
.mf-more-row { margin-top: 48px; }
.mf-more-btn { border: 0; background: none; cursor: pointer; margin-top: 0 !important; }
.mf-more-btn[hidden] { display: none; }
.mf-list-empty { margin: 28px 0 0; font-size: 18px; line-height: 30px; color: var(--mf-muted); }
.mf-list-empty[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .mf-acard .mf-card-pic { transition: none; } }
#all-articles { scroll-margin-top: 96px; }

/* ---- The single article: one column, each piece placed by "order" ---- */
.mf-art { display: flex; flex-direction: column; padding-top: 56px; --mf-col: min(696px, 100% - 64px); }
.mf-art-body { display: contents; }
.mf-art > *, .mf-art-body > * { order: 3; width: var(--mf-col); margin-left: auto; margin-right: auto; }
.mf-art > .mf-art-head { order: 0; }
.mf-art-body > .mf-art-facts { order: 1; }
.mf-art > .mf-art-pic { order: 2; width: min(856px, 100% - 64px); margin-top: 40px; margin-bottom: 0; }
.mf-art > .mf-art-band--top { order: 4; }
.mf-art > .mf-art-still-label { order: 5; }
.mf-art-body > .mf-art-still { order: 6; }
.mf-art > .mf-art-band--bottom { order: 7; }
.mf-art > .mf-art-sources-head { order: 8; }
.mf-art-body > .mf-art-sources { order: 9; }
.mf-art > .mf-art-share { order: 10; }

.mf-art-head .mf-eb a { color: var(--mf-muted); text-decoration: none; }
.mf-art-head .mf-eb a:hover { color: var(--mf-olive-deep); }
.mf-art-title { margin: 0; font-family: var(--mf-head); font-size: 44px; line-height: 54px; font-weight: 700; letter-spacing: -0.015em; color: var(--mf-olive); text-wrap: balance; }
.mf-art-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; background: var(--mf-tint); }

/* The facts: dates and byline, then the rating */
.mf-art-facts { margin-top: 20px; font-size: 16px; line-height: 26px; color: var(--mf-muted); }
.mf-art-facts p { margin: 0; }
.mf-art-rating { margin-top: 12px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.mf-root .mf-art-rating a { font-weight: 600; text-decoration: none; }
.mf-stars { position: relative; display: inline-block; width: 110px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.2 6.6.8-4.9 4.6 1.3 6.6L12 17.4l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z' fill='none' stroke='%23A84E26' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 22px 20px repeat-x; }
.mf-stars::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.2 6.6.8-4.9 4.6 1.3 6.6L12 17.4l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z' fill='%23A84E26' stroke='%23A84E26' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 22px 20px repeat-x; }
.mf-stars[data-rating="1"]::before { width: 22px; }
.mf-stars[data-rating="2"]::before { width: 44px; }
.mf-stars[data-rating="3"]::before { width: 66px; }
.mf-stars[data-rating="4"]::before { width: 88px; }
.mf-stars[data-rating="5"]::before { width: 110px; }

/* The article's own words */
.mf-art-body > p { margin-top: 24px; margin-bottom: 0; font-size: 19px; line-height: 32px; }
/* MF-ART-HEADINGS-V2 (28 Nov 2026, web sync decision 79): sections are h2,
   subsections h3. Posts not yet re-sent still carry h3 and h4. */
.mf-art-body > h2 { margin-top: 48px; margin-bottom: 0; font-family: var(--mf-head); font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -.01em; color: var(--mf-olive); text-wrap: balance; }
.mf-art-body > h3, .mf-art-body > h4 { margin-top: 36px; margin-bottom: 0; font-family: var(--mf-head); font-size: 22px; line-height: 30px; font-weight: 600; color: var(--mf-olive); }
.mf-art-body > ul, .mf-art-body > ol { margin-top: 20px; margin-bottom: 0; padding-left: 24px; font-size: 19px; line-height: 32px; }
.mf-art-body > ul li + li, .mf-art-body > ol li + li { margin-top: 8px; }
.mf-art-body > blockquote { margin-top: 28px; margin-bottom: 0; padding: 0 0 0 20px; border-left: 2px solid var(--mf-sage); font-size: 19px; line-height: 32px; color: var(--mf-muted); }
.mf-art-body > blockquote p { margin: 0; }
.mf-art-body > hr { display: none; }
.mf-art-body > figure, .mf-art-body > .kg-card { margin-top: 36px; margin-bottom: 0; }
.mf-art-body figure img, .mf-art-body > p > img { display: block; width: 100%; height: auto; border-radius: 24px; }
.mf-art-body figcaption { margin-top: 10px; font-size: 15px; line-height: 24px; color: var(--mf-muted); text-align: center; }

/* The join band: three pieces sharing one tint, edge to edge */
.mf-art > .mf-art-band, .mf-art-body > .mf-art-still {
  width: 100%; margin-left: 0; margin-right: 0; background: var(--mf-tint);
  padding-left: max(32px, calc((100% - 760px) / 2)); padding-right: max(32px, calc((100% - 760px) / 2));
}
.mf-art-band--top { margin-top: 72px !important; padding-top: 88px; padding-bottom: 0; }
.mf-art-band-p { margin: 18px 0 0; max-width: 640px; font-size: 18px; line-height: 30px; }
.mf-art-still-label { margin: 0; padding-top: 28px; padding-bottom: 10px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mf-muted); display: none; }
.mf-art:has(.mf-art-still) .mf-art-still-label { display: block; }
.mf-art-still ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 28px; color: var(--mf-muted); }
.mf-art-band--bottom { padding-top: 36px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; }

/* Sources: the theme's heading shows only when the article carries the block */
.mf-art-sources-head { display: none; margin-top: 80px !important; }
.mf-art:has(.mf-art-sources) .mf-art-sources-head { display: block; }
.mf-art-sources-head .mf-h2 { font-size: 30px; line-height: 38px; }
.mf-art-sources-head p { margin: 14px 0 0; font-size: 18px; line-height: 30px; }
.mf-art-sources ol { margin: 24px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 26px; color: var(--mf-muted); }
.mf-art-sources a { overflow-wrap: anywhere; }

.mf-art-share { margin-top: 56px !important; margin-bottom: 96px !important; padding-top: 28px; border-top: 1.5px solid var(--mf-hairline); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; font-size: 16px; line-height: 26px; }
.mf-art-share-label { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mf-muted); }
.mf-root .mf-art-share-btn { border: 0; background: none; cursor: pointer; padding: 10px 0; margin: 0; font-family: var(--mf-body); font-size: 16px; line-height: 26px; font-weight: 600; color: var(--mf-terracotta); text-decoration: none; }
.mf-art-share-done { color: var(--mf-muted); }
.mf-art-share-done[hidden] { display: none; }

/* The closing sign-up band shared by article pages */
.mf-next-band { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.mf-next-band-txt { flex: 1 1 420px; min-width: 0; }
.mf-next-band-txt p { margin: 14px 0 0; max-width: 540px; font-size: 18px; line-height: 30px; }
.mf-next-band-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; }

@media (max-width: 640px) {
  .mf-art { padding-top: 32px; --mf-col: calc(100% - 40px); }
  .mf-art > .mf-art-pic { width: calc(100% - 40px); margin-top: 28px; }
  .mf-art-title { font-size: 32px; line-height: 40px; }
  .mf-art-body > p, .mf-art-body > ul, .mf-art-body > ol { font-size: 18px; line-height: 30px; }
  .mf-art-body > h2 { font-size: 25px; line-height: 33px; margin-top: 40px; }
  .mf-art-body > h3, .mf-art-body > h4 { font-size: 20px; line-height: 28px; margin-top: 32px; }
  .mf-art > .mf-art-band, .mf-art-body > .mf-art-still { padding-left: 20px; padding-right: 20px; }
  .mf-art-band--top { padding-top: 56px; margin-top: 56px !important; }
  .mf-art-band--bottom { padding-bottom: 56px; }
  .mf-art-share { margin-bottom: 64px !important; }
  .mf-next-band { padding-top: 56px; padding-bottom: 56px; }
}

/* ==========================================================================
   MF-LEGAL-V1: the shared layout of the six legal pages. The wording inside
   .mf-legal-body is the original, untouched.
   ========================================================================== */
.mf-legal-head { padding-top: 56px; padding-bottom: 40px; }
.mf-legal-subtitle { margin: 12px 0 0; font-size: 18px; line-height: 28px; color: var(--mf-muted); }
.mf-legal-updated { margin: 20px 0 0; font-size: 16px; line-height: 26px; color: var(--mf-muted); }
.mf-legal-cols { padding-top: 16px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 88px; }
.mf-legal-toc { flex: 0 0 240px; }
.mf-root .mf-legal-toc-h { color: var(--mf-terracotta); }
.mf-legal-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mf-root .mf-legal-toc a { color: var(--mf-olive); text-decoration: none; font-size: 16px; line-height: 24px; }
.mf-root .mf-legal-toc a:hover { color: var(--mf-terracotta); }
.mf-legal-body { flex: 1 1 480px; min-width: 0; max-width: 720px; font-size: 18px; line-height: 30px; }
.mf-legal-body > *:first-child { margin-top: 0; }
.mf-legal-body h2 { margin: 48px 0 0; font-family: var(--mf-head); font-size: 28px; line-height: 36px; font-weight: 600; color: var(--mf-olive); scroll-margin-top: 96px; text-wrap: balance; }
.mf-legal-body h3 { margin: 32px 0 0; font-family: var(--mf-head); font-size: 22px; line-height: 30px; font-weight: 600; color: var(--mf-olive); }
.mf-legal-body h4 { margin: 24px 0 0; font-family: var(--mf-head); font-size: 18px; line-height: 26px; font-weight: 700; color: var(--mf-olive); }
.mf-legal-body p { margin: 14px 0 0; }
.mf-legal-body ul, .mf-legal-body ol { margin: 16px 0 0; padding-left: 22px; }
.mf-legal-body li + li { margin-top: 6px; }
.mf-legal-body strong { font-weight: 700; }
.mf-legal-body a { overflow-wrap: anywhere; }
.mf-legal-body .legal-caps { font-size: 15px; line-height: 24px; color: var(--mf-muted); }
.mf-legal-others { padding-top: 64px; padding-bottom: 64px; }
.mf-legal-others-nav { display: flex; flex-wrap: wrap; gap: 4px 36px; }
.mf-root .mf-legal-others-nav .mf-nav-link { font-family: var(--mf-head); font-weight: 600; font-size: 16px; line-height: 24px; color: var(--mf-olive); text-decoration: none; padding: 12px 0; }
.mf-root .mf-legal-others-nav .mf-nav-link:hover { color: var(--mf-olive-deep); }
.mf-legal-unclear { margin: 28px 0 0; font-size: 17px; line-height: 28px; }
.mf-root .mf-legal-unclear a { font-weight: 600; text-decoration: none; }
/* MF-LEGAL-TOC-V2: the list of sections is always to hand. On wide screens it
   stays beside the text. On phones it is a bar pinned under the header that
   opens when tapped and names the section being read. */
.mf-legal-toc-btn {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none;
  text-align: left; font: inherit; color: var(--mf-olive); pointer-events: none;
}
.mf-legal-toc-btn .mf-legal-toc-h { margin: 0; }
.mf-legal-toc-btn svg, .mf-legal-toc-now { display: none; }
.mf-root .mf-legal-toc a.is-now { color: var(--mf-terracotta); font-weight: 600; }
@media (min-width: 900px) {
  .mf-legal-toc { position: -webkit-sticky; position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
  .mf-legal--bare .mf-legal-toc { top: 24px; max-height: calc(100vh - 48px); }
}
/* The bare pages have no sticky header above them. */
.mf-legal--bare .mf-legal-head { padding-top: 40px; }
.mf-legal--bare .mf-legal-body h2 { scroll-margin-top: 24px; }
@media (max-width: 899.98px) {
  .mf-legal-toc { flex: 1 1 100%; }
  .mf-legal-cols { gap: 36px; padding-bottom: 72px; }
  .mf-legal-toc.has-js {
    position: -webkit-sticky; position: sticky; top: 64px; z-index: 40;
    margin: 0 -32px; padding: 0 32px; flex-basis: calc(100% + 64px);
    background: var(--mf-white); border-top: 1px solid var(--mf-hairline); border-bottom: 1px solid var(--mf-hairline);
  }
  .mf-legal--bare .mf-legal-toc.has-js { top: 0; }
  .mf-legal-toc.has-js .mf-legal-toc-btn {
    display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 0; min-height: 48px;
    pointer-events: auto; cursor: pointer;
  }
  .mf-legal-toc.has-js .mf-legal-toc-h { flex: none; }
  .mf-legal-toc.has-js .mf-legal-toc-now {
    display: block; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: var(--mf-body); font-size: 15px; line-height: 20px; font-weight: 500; color: var(--mf-olive);
  }
  .mf-legal-toc.has-js .mf-legal-toc-btn svg { display: block; flex: none; transition: transform 250ms var(--mf-ease); }
  .mf-legal-toc.has-js.is-open .mf-legal-toc-btn svg { transform: rotate(180deg); }
  .mf-legal-toc.has-js ol { display: none; padding: 4px 0 20px; max-height: 60vh; overflow-y: auto; }
  .mf-legal-toc.has-js.is-open ol { display: flex; }
  .mf-root .mf-legal-toc.has-js ol a { display: block; padding: 6px 0; }
  .mf-legal-body h2 { scroll-margin-top: 136px; }
  .mf-legal--bare .mf-legal-body h2 { scroll-margin-top: 72px; }
}
@media (max-width: 640px) {
  .mf-legal-toc.has-js { margin: 0 -20px; padding: 0 20px; flex-basis: calc(100% + 40px); }
}
@media (prefers-reduced-motion: reduce) { .mf-legal-toc.has-js .mf-legal-toc-btn svg { transition: none; } }
@media (max-width: 640px) {
  .mf-legal-head { padding-top: 36px; padding-bottom: 28px; }
  .mf-legal-body { font-size: 17px; line-height: 28px; }
  .mf-legal-body h2 { font-size: 24px; line-height: 32px; margin-top: 40px; }
}

/* ---- MF-FAQ-V1: the FAQs as an accordion ----
   Native details and summary, so it works by keyboard and without scripts.
   A pencil line between questions, and a drawn plus that turns to a minus. */
.mf-faq-list { display: block; }
.mf-faq { border-bottom: 1.5px solid var(--mf-hairline); }
.mf-faq:first-child .mf-faq-q { padding-top: 0; }
.mf-faq:last-child { border-bottom: 0; }
.mf-faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
}
.mf-faq-q::-webkit-details-marker { display: none; }
.mf-faq-q .mf-h3 { margin: 0; transition: color 200ms var(--mf-ease); }
.mf-faq-q:hover .mf-h3 { color: var(--mf-olive-deep); }
.mf-root .mf-faq-q:focus-visible { outline: 2px solid var(--mf-olive); outline-offset: 4px; border-radius: 4px; }
.mf-faq-mark { position: relative; flex: none; width: 20px; height: 20px; margin-top: 5px; color: var(--mf-terracotta); }
.mf-faq-mark::before, .mf-faq-mark::after {
  content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1.8px; margin-top: -0.9px;
  background: currentColor; border-radius: 2px;
  transition: transform 300ms var(--mf-ease), opacity 200ms linear;
}
.mf-faq-mark::after { transform: rotate(90deg); }
.mf-faq[open] .mf-faq-mark::after { transform: rotate(0deg); opacity: 0; }
.mf-faq-a { padding: 0 44px 24px 0; }
.mf-faq-a p + p { margin-top: 12px !important; }
.mf-faq[open] .mf-faq-a { animation: mf-faq-open 350ms var(--mf-ease); }
@keyframes mf-faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mf-faq[open] .mf-faq-a { animation: none; }
  .mf-faq-mark::before, .mf-faq-mark::after, .mf-faq-q .mf-h3 { transition: none; }
}
@media (max-width: 640px) { .mf-faq-a { padding-right: 0; } }

/* ==========================================================================
   Header and footer. These also appear on pages still wearing the old
   stylesheet, so every property they depend on is set here, with a class
   doubled where the old sheet's element rules would otherwise win.
   ========================================================================== */
.mf-header {
  max-width: 1120px; margin: 0 auto; box-sizing: border-box;
  padding: 24px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
  background: var(--mf-white);
  font-family: var(--mf-body); font-weight: 500;
}
.mf-header *, .mf-foot * { box-sizing: border-box; }
.mf-header .mf-brand { display: flex; align-items: center; gap: 3px; text-decoration: none; }
.mf-header .mf-brand img { display: block; height: 72px; width: 72px; max-width: none; object-fit: contain; }
.mf-header .mf-wordmark {
  font-family: Montserrat, var(--mf-head); font-weight: 300;
  font-size: 32px; line-height: 40px; color: var(--mf-olive); letter-spacing: 0;
}
.mf-header .mf-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; }
.mf-header .mf-nav-link {
  font-family: var(--mf-head); font-weight: 600; font-size: 16px; line-height: 24px;
  color: var(--mf-olive); text-decoration: none; padding: 12px 0;
}
.mf-header .mf-nav-link:hover { color: var(--mf-olive-deep); }
.mf-header a:focus-visible, .mf-foot a:focus-visible {
  outline: 2px solid var(--mf-olive); outline-offset: 2px; border-radius: 4px;
}
.mf-foot a:focus-visible { outline-color: var(--mf-buttermilk); }

.mf-foot {
  background: var(--mf-olive); color: var(--mf-white);
  font-family: var(--mf-body); font-weight: 500;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.mf-foot .mf-foot-cols {
  max-width: 1120px; margin: 0 auto; padding: 72px 32px 32px;
  display: flex; flex-wrap: wrap; gap: 48px 56px; justify-content: space-between;
  font-size: 16px; line-height: 26px;
}
.mf-foot .mf-foot-logo { display: block; height: 128px; width: 128px; max-width: none; object-fit: contain; }
.mf-foot .mf-foot-nav { display: flex; flex-direction: column; gap: 4px; }
.mf-foot .mf-foot-h {
  margin: 0 0 6px; padding: 0; font-family: var(--mf-body);
  font-size: 13px; line-height: 18px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mf-foot-soft);
}
.mf-foot .mf-foot-nav a { color: var(--mf-white); text-decoration: none; padding: 4px 0; }
.mf-foot .mf-foot-nav a:hover { color: var(--mf-buttermilk); }
.mf-foot .mf-foot-line {
  max-width: 1120px; margin: 0 auto; padding: 24px 32px 40px;
  font-size: 14px; line-height: 22px; color: var(--mf-foot-soft);
}

/* ==========================================================================
   Homepage
   ========================================================================== */
.mf-hero {
  padding-top: 72px; padding-bottom: 88px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px;
}
.mf-hero-txt { flex: 1 1 480px; min-width: 0; }
.mf-hero-pic { flex: 1 1 380px; min-width: 0; max-width: 520px; margin: 0 auto; }
.mf-hero-pic img { display: block; width: 100%; height: auto; }

.mf-intro {
  background: var(--mf-tint); padding: 72px 32px; margin-bottom: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 72px;
}
.mf-intro-pic { flex: 0 1 315px; min-width: 0; }
.mf-intro-pic img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; }
.mf-intro-txt {
  margin: 0; flex: 1 1 420px; min-width: 0; max-width: 600px;
  font-family: var(--mf-head); font-weight: 600; font-size: 28px; line-height: 44px;
  color: var(--mf-olive); text-wrap: balance;
}

.mf-duo--last { padding-bottom: 104px; }
.mf-three {
  padding-top: 96px; padding-bottom: 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 56px 48px;
}
.mf-three img { display: block; width: 132px; height: 132px; object-fit: contain; }
.mf-three p { margin: 0; font-size: 17px; line-height: 28px; }

.mf-together { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.mf-together p { margin: 20px auto 0; max-width: 640px; font-size: 18px; line-height: 30px; }

.mf-stage { padding-top: 104px; padding-bottom: 72px; }
.mf-stage .mf-pic { flex-basis: 285px; }
.mf-stage .mf-pic img { display: block; width: 100%; height: auto; }

.mf-member {
  padding-top: 72px; padding-bottom: 112px;
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 80px;
}
.mf-member .mf-h2 { flex: 1 1 360px; min-width: 0; }
.mf-member-txt { flex: 1 1 420px; min-width: 0; padding-top: 14px; }
.mf-member-txt p { margin: 0; max-width: 540px; }

.mf-signup { padding-top: 96px; padding-bottom: 96px; }
.mf-signup-intro { margin: 18px 0 36px; font-size: 18px; line-height: 30px; }
.mf-signup-done .mf-h3 { margin-top: 0; }
.mf-signup-done p { margin: 12px 0 0; }

/* ---- MF-STICKY-V1 and V2: the sticky header ---- */
.mf-header-bar {
  background: var(--mf-white);
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--mf-ease);
}
.mf-header-bar.is-stuck, .mf-header-bar.is-open { border-bottom-color: var(--mf-hairline); }
/* Links that jump to a section land below the bar, not under it. */
#the-app, #beta-signup { scroll-margin-top: 76px; }

.mf-header .mf-burger { display: none; }

/* Wide screens: the full menu in a row, slimmer once the page has scrolled. */
@media (min-width: 900px) {
  .mf-header-bar .mf-header { transition: padding 200ms var(--mf-ease); }
  .mf-header-bar .mf-brand img { transition: height 200ms var(--mf-ease), width 200ms var(--mf-ease); }
  .mf-header-bar.is-stuck .mf-header { padding-top: 8px; padding-bottom: 8px; }
  .mf-header-bar.is-stuck .mf-brand img { height: 48px; width: 48px; }
}

/* Phones and narrow screens: logo and burger, links in a panel beneath. */
@media (max-width: 899.98px) {
  .mf-header-bar.has-js .mf-header {
    flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; gap: 16px;
  }
  .mf-header-bar.has-js .mf-brand img { height: 48px; width: 48px; }
  .mf-header-bar.has-js .mf-wordmark { font-size: 27px; line-height: 34px; }
  .mf-header-bar.has-js .mf-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin: 0 -10px 0 0; padding: 0;
    border: 0; border-radius: 0; background: none; color: var(--mf-olive);
    cursor: pointer; -webkit-appearance: none; appearance: none;
  }
  .mf-header-bar.has-js .mf-burger:focus-visible { outline: 2px solid var(--mf-olive); outline-offset: -4px; border-radius: 8px; }
  .mf-burger svg { display: block; overflow: visible; }
  .mf-burger-line {
    fill: none; stroke: currentColor; stroke-width: 1.8px; stroke-linecap: round;
    transform-box: view-box; transform-origin: 14px 11px;
    transition: transform 250ms var(--mf-ease), opacity 150ms linear;
  }
  .mf-header-bar.is-open .mf-burger-line--1 { transform: translateY(7px) rotate(42deg); }
  .mf-header-bar.is-open .mf-burger-line--2 { opacity: 0; }
  .mf-header-bar.is-open .mf-burger-line--3 { transform: translateY(-7px) rotate(-42deg); }

  .mf-header-bar.has-js .mf-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    margin: 0; padding: 4px 32px 28px;
    background: var(--mf-white); border-bottom: 1px solid var(--mf-hairline);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .mf-header-bar.has-js.is-open .mf-nav { display: flex; }
  .mf-header-bar.has-js .mf-nav .mf-nav-link {
    display: block; padding: 16px 0; font-size: 20px; line-height: 28px;
    border-bottom: 1px solid var(--mf-hairline);
  }
  .mf-header-bar.has-js .mf-nav .mf-wash { align-self: flex-start; margin-top: 24px; min-height: 52px; font-size: 18px; padding: 0 30px; }
}
@media (max-width: 640px) {
  .mf-header-bar.has-js .mf-nav { padding-left: 20px; padding-right: 20px; }
}

/* Pages still on the old stylesheet set overflow-x: hidden on html and body,
   which stops anything sticking. "clip" hides sideways overflow the same way
   without that side effect. This rule goes when the old stylesheet goes. */
html:not(.mf-html), html:not(.mf-html) > body { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  .mf-header-bar, .mf-header-bar .mf-header, .mf-header-bar .mf-brand img, .mf-burger-line { transition: none; }
}

/* ---- MF-MOBILE-ORDER-V1: stacked order on phones and narrow screens ----
   Once a section stacks, its screenshot sits between the words and the
   "More about" link, so it is clear which section each screenshot belongs to.
   In the intro band the words come before the ginger cat, so two paintings
   never sit one straight after the other. */
@media (max-width: 899.98px) {
  .mf-duo.mf-duo--app { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .mf-duo--app .mf-txt { display: contents; }
  .mf-duo--app .mf-txt > * { order: 1; }
  .mf-duo--app .mf-p { max-width: 640px; }
  .mf-duo--app .mf-pic { order: 2; flex: none; width: 100%; max-width: 300px; margin: 40px auto 0; }
  .mf-duo--app .mf-txt > .mf-more { order: 3; align-self: flex-start; margin-top: 24px; }
  .mf-intro { flex-direction: column; flex-wrap: nowrap; }
  .mf-intro-txt { order: 1; flex: none; width: 100%; }
  .mf-intro-pic { order: 2; flex: none; width: 100%; max-width: 315px; }
}

/* ---- MF-FOOT-MOBILE-V1: the footer on phones ----
   A tidy two-column grid, all left-aligned: the logo on a row of its own,
   then The app beside Reading, and My Feline beside Legal. */
@media (max-width: 700px) {
  .mf-foot .mf-foot-cols {
    display: grid; grid-template-columns: 1fr 1fr;
    justify-content: start; align-items: start;
    gap: 40px 24px; padding-top: 48px; padding-bottom: 24px;
  }
  .mf-foot .mf-foot-logo { grid-column: 1 / -1; height: 96px; width: 96px; margin-left: -8px; }
}

/* ---- MF-MOTION-V1: arrival motion ----
   Only when the page script has switched it on (html.mf-anim), so a visitor
   without JavaScript, or one who asks for reduced motion, sees everything
   at once. Only opacity, transform and clip-path move, which stays smooth. */
html.mf-anim .mf-reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 700ms var(--mf-ease), transform 900ms var(--mf-ease);
  will-change: opacity, transform;
}
html.mf-anim .mf-pic.mf-reveal,
html.mf-anim .mf-hero-pic.mf-reveal,
html.mf-anim .mf-intro-pic.mf-reveal {
  transform: translateY(44px) scale(.965);
  transition: opacity 800ms var(--mf-ease), transform 1100ms var(--mf-ease);
}
/* The settled state. The longer selectors match the picture rule above in
   weight, so a picture truly returns to its own place once it has arrived. */
html.mf-anim .mf-reveal.is-in,
html.mf-anim .mf-pic.mf-reveal.is-in,
html.mf-anim .mf-hero-pic.mf-reveal.is-in,
html.mf-anim .mf-intro-pic.mf-reveal.is-in { opacity: 1; transform: none; }
/* Before the script has tagged anything, keep the first screen from flashing. */
html.mf-anim .mf-hero-txt > *:not(.mf-reveal), html.mf-anim .mf-hero-pic:not(.mf-reveal) { opacity: 0; }

/* The wash paints in behind its phrase, a beat after the words arrive. */
html.mf-anim .mf-hl::before {
  clip-path: inset(-20% 105% -20% -5%);
  transition: clip-path 700ms var(--mf-ease) 350ms;
}
html.mf-anim .mf-hl.is-in::before { clip-path: inset(-20% -5% -20% -5%); }

/* ---- Phone widths ---- */
@media (max-width: 640px) {
  .mf-wrap, .mf-header { padding-left: 20px; padding-right: 20px; }
  .mf-foot .mf-foot-cols, .mf-foot .mf-foot-line { padding-left: 20px; padding-right: 20px; }
  .mf-h1 { font-size: 40px; line-height: 46px; }
  .mf-h1--page { font-size: 36px; line-height: 43px; }
  .mf-h2 { font-size: 30px; line-height: 38px; }
  .mf-h2--big { font-size: 34px; line-height: 42px; }
  .mf-duo { gap: 40px; padding-top: 44px; padding-bottom: 44px; }
  .mf-hero { padding-top: 40px; padding-bottom: 56px; }
  .mf-intro { padding: 56px 20px; }
  .mf-intro-txt { font-size: 23px; line-height: 38px; }
  .mf-three, .mf-together, .mf-signup { padding-top: 64px; padding-bottom: 64px; }
  .mf-stage { padding-top: 64px; padding-bottom: 40px; }
  .mf-member { padding-top: 40px; padding-bottom: 72px; }
  .mf-header .mf-brand img { height: 56px; width: 56px; }
  .mf-header .mf-wordmark { font-size: 27px; line-height: 34px; }
  .mf-header .mf-nav { gap: 4px 24px; }
  .mf-pic { flex-basis: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .mf-more svg, .mf-wash::before { transition: none; }
}
