/* The homepage's own layer — 「把 AI 当人 / Treat AI as a person」 (2026-10-22).
 *
 * Loaded after wabi.css + mafold-20260813f.css. Three jobs:
 *   1. one language at a time (html[data-lp-lang], set before first paint);
 *   2. the hero's new lines (rotating word, description, the way-in row);
 *   3. sections 2–6, drawn in the pitchbook's hand: cream ground, frosted
 *      cards, Instrument Serif over PingFang for the headlines.
 */

/* Latin set 7.1% larger so its caps meet the CJK ascent when the two mix in
   one line (the pitchbook's alias, same files). */
@font-face {
  font-family: 'Instrument Serif CJK';
  font-weight: 400;
  font-display: swap;
  size-adjust: 107.1%;
  src: url('/landing/fonts/InstrumentSerif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

.mafold-landing {
  --mh-ink: #16181A;
  --mh-ink-2: rgba(22, 24, 26, .66);
  --mh-ink-3: rgba(22, 24, 26, .44);
  --mh-rule: rgba(22, 24, 26, .12);
  --mh-amber: #F5A83C;
  --mh-cjk: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mh-serif: 'Instrument Serif CJK', var(--mh-cjk);
  --mh-sans: var(--font-reading, 'Instrument Sans'), -apple-system, BlinkMacSystemFont, "Segoe UI", var(--mh-cjk);
}

/* ── 1 · one language ─────────────────────────────────────────────────────── */
html:not([data-lp-lang="zh"]) .mafold-landing [data-l="zh"],
html[data-lp-lang="zh"] .mafold-landing [data-l="en"] { display: none !important; }

/* ── 2 · hero ─────────────────────────────────────────────────────────────── */
.mafold-landing [data-headline] [data-l="zh"] { font-family: var(--mh-serif); letter-spacing: 0; }

.mafold-landing [data-subcopy] [data-l="zh"] { font-family: var(--mh-sans); font-weight: 400; }
.mafold-landing .mh-rotline { color: var(--mh-ink); }
/* the turning word, underlined in the pitchbook's amber */
.mafold-landing .mh-rot { box-shadow: inset 0 -.26em 0 rgba(245, 168, 60, .42); border-radius: 2px; }
.mafold-landing .mh-desc {
  display: block;
  margin-top: clamp(12px, 1.6vh, 20px);
  max-width: 30em;
  font-size: clamp(15px, 1.06vw, 18px);
  line-height: 1.68;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--mh-ink-2);
}
/* one phrase of a Chinese display line (sections.ts `ph`): lines break between phrases */
.mafold-landing .mh-phr { display: inline-block; }

.mafold-landing .mh-get {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 34px;
  font-family: var(--mh-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--mh-ink-3);
  transition: opacity .2s ease, visibility .2s;
}
/* a hovered QR grows over this row (app.js qrTilt), so the row steps aside */
.mafold-landing [data-qr]:hover + .mh-get { opacity: 0; visibility: hidden; }
.mafold-landing .mh-get-lead { color: var(--mh-ink-2); }
.mafold-landing .mh-get a { color: var(--mh-ink-2); text-decoration: none; border-bottom: 1px solid var(--mh-rule); }
.mafold-landing .mh-get a:hover { color: var(--mh-ink); border-bottom-color: var(--mh-ink-3); }

/* The footer row (Download • Blog • … ©2026). On a desktop it stays the bar
   pinned to the bottom of the first screen; once the page scrolls it steps
   down out of the way, and it is back at the end, under the last section
   (app.js sets data-mh-foot-away in between). A phone always had it in the
   flow, and still does — at the very end. */
@media (min-width: 1025px) {
  .mafold-landing main footer { transition: translate .4s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
  html[data-mh-foot-away] .mafold-landing main footer:not(:focus-within) {
    /* translate, not transform: the bar's entrance animation holds transform */
    translate: 0 100%;
    visibility: hidden;
    transition: translate .3s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .3s;
  }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .mafold-landing main footer,
  html[data-mh-foot-away] .mafold-landing main footer:not(:focus-within) { transition: none; }
}

@media (max-width: 1024px) {
  .mafold-landing main footer { position: relative !important; }
  .mafold-landing .mh-desc { margin-left: auto; margin-right: auto; }
  /* no QR up here: the row sits right under the description */
  .mafold-landing .mh-get { justify-content: center; margin-top: 14px; }
  .mafold-landing .mh-get-lead { display: none; }
}

/* ── the glass pill ───────────────────────────────────────────────────────────
   wabi.ai's marketing button, at the values wabi.ai has it now (2026-10-23):
   a milky face, a chrome rim dark at the upper left and lower right that turns
   on hover — without its blurred shadow rim (sections.ts `pill` says why). One
   component in two sizes — the nav's Get
   Started (--nav, wabi's header) and the closing buttons (--end, wabi's
   closing pair). Markup: sections.ts `pill`. */
@property --mh-gb-angle { syntax: '<angle>'; inherits: false; initial-value: -75deg; }
@property --mh-gb-angle-2 { syntax: '<angle>'; inherits: false; initial-value: -45deg; }

.mafold-landing .mh-gb {
  --mh-gb-ease: cubic-bezier(.25, 1, .5, 1);
  position: relative;
  z-index: 2;
  border-radius: 999vw;
  font-size: 16px;
  pointer-events: none;
  transition: all 400ms var(--mh-gb-ease);
}
.mafold-landing .mh-gb:has(.mh-gb-btn:active) { transform: rotate3d(1, 0, 0, 25deg); }
.mafold-landing .mh-gb-btn {
  appearance: none;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999vw;
  outline: 2px solid transparent;
  outline-offset: 3px;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  background-color: rgba(255, 255, 255, .55);
  background-image: linear-gradient(-75deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .3), rgba(255, 255, 255, .1));
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, .665), inset 0 -4px 4px rgba(255, 255, 255, .85),
              inset 0 0 14px rgba(229, 229, 229, .55);
  -webkit-backdrop-filter: blur(clamp(4px, .5em, 14px));
  backdrop-filter: blur(clamp(4px, .5em, 14px));
  transition: all 400ms var(--mh-gb-ease);
}
.mafold-landing .mh-gb-btn:focus-visible { outline-color: rgba(25, 25, 25, .58); }
.mafold-landing .mh-gb-btn:hover { transform: scale(.975); }
.mafold-landing .mh-gb-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  user-select: none;
  font-family: var(--mh-sans);
  font-weight: 400;
  color: #363636;
  text-shadow: 0 .05em .05em rgba(0, 0, 0, .05);
  transition: all 400ms var(--mh-gb-ease);
}
.mafold-landing .mh-gb-label svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
/* the sheen across the nav pill's face, sliding on hover */
.mafold-landing .mh-gb-shine {
  position: absolute;
  z-index: 3;
  display: block;
  width: calc(100% - clamp(1px, .0625em, 4px));
  height: calc(100% - clamp(1px, .0625em, 4px));
  top: calc(clamp(1px, .0625em, 4px) / 2);
  left: calc(clamp(1px, .0625em, 4px) / 2);
  border-radius: 999vw;
  overflow: clip;
  pointer-events: none;
  background-image: linear-gradient(var(--mh-gb-angle-2), rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 40% 50%, rgba(255, 255, 255, 0) 55%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  transition: background-position 500ms var(--mh-gb-ease), --mh-gb-angle-2 500ms var(--mh-gb-ease);
}
.mafold-landing .mh-gb-btn:hover .mh-gb-shine { background-position: 25% 50%; }
/* the chrome rim: a one-pixel ring cut out of a conic gradient */
.mafold-landing .mh-gb-ring {
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  width: calc(100% + clamp(1px, .0625em, 4px));
  height: calc(100% + clamp(1px, .0625em, 4px));
  top: calc(0% - clamp(1px, .0625em, 4px) / 2);
  left: calc(0% - clamp(1px, .0625em, 4px) / 2);
  padding: clamp(1px, .0625em, 4px);
  border-radius: 999vw;
  background-image:
    conic-gradient(from var(--mh-gb-angle) at 50% 50%, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 5% 40%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, 0) 60% 95%, rgba(0, 0, 0, .5)),
    linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .5));
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-clip: content-box, border-box;
  mask-origin: content-box, border-box;
  mask-composite: exclude;
  box-shadow: inset 0 0 0 calc(clamp(1px, .0625em, 4px) / 2) rgba(255, 255, 255, .35);
  transition: all 400ms var(--mh-gb-ease), --mh-gb-angle 500ms ease;
}
.mafold-landing .mh-gb-btn:hover .mh-gb-ring { --mh-gb-angle: -125deg; }

/* --nav: the header pill, its cast shadow on the face itself */
.mafold-landing .mh-gb--nav,
.mafold-landing .mh-gb--nav .mh-gb-btn { width: 112px; }
.mafold-landing .mh-gb--nav .mh-gb-btn {
  height: 40px;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, .665), inset 0 -4px 4px rgba(255, 255, 255, .85),
              inset 0 0 14px rgba(229, 229, 229, .55), 0 11px 28px rgba(0, 0, 0, .049), 0 23px 31px rgba(0, 0, 0, .035);
}
.mafold-landing .mh-gb--nav .mh-gb-label { font-size: 13px; letter-spacing: -.14px; padding-inline: .65em; gap: 5px; }
@media (min-width: 1025px) {
  .mafold-landing .mh-gb--nav,
  .mafold-landing .mh-gb--nav .mh-gb-btn { width: 148px; }
  .mafold-landing .mh-gb--nav .mh-gb-btn { height: 56px; }
  .mafold-landing .mh-gb--nav .mh-gb-label { font-size: 17.1px; letter-spacing: -.19px; padding-inline: .7em; gap: 7px; }
}

/* --end: sized by its label, the cast shadow two silhouettes under the rim
   that crossfade on hover (no sheen — the face already has its highlight) */
.mafold-landing .mh-gb--end { width: fit-content; }
.mafold-landing .mh-gb--end::before,
.mafold-landing .mh-gb--end::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: .5;
  transform: scale(1);
  box-shadow: 0 11px 16.8px rgba(0, 0, 0, .07), 0 23px 18.6px rgba(0, 0, 0, .05);
  transition: transform 240ms var(--mh-gb-ease), opacity 240ms var(--mh-gb-ease);
}
.mafold-landing .mh-gb--end::after { opacity: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, .07), 0 8px 11px rgba(0, 0, 0, .05); }
.mafold-landing .mh-gb--end .mh-gb-btn { width: auto; height: 60px; transform: none; transition: transform 240ms var(--mh-gb-ease); }
.mafold-landing .mh-gb--end .mh-gb-label { font-size: 15.2px; letter-spacing: -.192px; padding-inline: 1.5em; gap: 8px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .mafold-landing .mh-gb--end .mh-gb-btn:hover { transform: scale(.975); }
  .mafold-landing .mh-gb--end:has(.mh-gb-btn:hover)::before { opacity: 0; transform: scale(.975); }
  .mafold-landing .mh-gb--end:has(.mh-gb-btn:hover)::after { opacity: .5; transform: scale(.975); }
}
@media (min-width: 1025px) {
  .mafold-landing .mh-gb--end .mh-gb-btn { height: 74px; }
  .mafold-landing .mh-gb--end .mh-gb-label { font-size: 19.2px; padding-inline: 1.6em; }
}
@media (prefers-reduced-motion: reduce) {
  .mafold-landing .mh-gb--end { transform: none !important; }
  .mafold-landing .mh-gb--end::before,
  .mafold-landing .mh-gb--end::after,
  .mafold-landing .mh-gb--end .mh-gb-btn { transition: none; }
}

/* ── 3 · sections 2–6 ─────────────────────────────────────────────────────── */
.mafold-landing .mh-sec {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 11vh, 132px) clamp(20px, 6vw, 96px);
  color: var(--mh-ink);
  font-family: var(--mh-sans);
  -webkit-font-smoothing: antialiased;
}
.mafold-landing .mh-col { max-width: 1180px; margin: 0 auto; }

.mafold-landing .mh-h2 {
  margin: 0 0 clamp(26px, 3.4vh, 40px);
  font-family: var(--mh-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 1.24;
  letter-spacing: -.012em;
  color: var(--mh-ink);
  text-wrap: balance;
}
.mafold-landing .mh-h2 [data-l="en"] { font-family: 'Instrument Serif', serif; }
.mafold-landing .mh-h3 { margin: 0 0 .5em; font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.005em; }
.mafold-landing .mh-p { margin: 0; font-size: clamp(16px, 1.22vw, 20px); line-height: 1.72; color: var(--mh-ink-2); }
.mafold-landing .mh-p, .mafold-landing .mh-card p, .mafold-landing .mh-mb { text-wrap: pretty; }
/* Instrument Serif's 1 reads as a lowercase l — numerals in headlines go sans */
.mafold-landing .mh-sn { font-family: var(--mh-sans); letter-spacing: -.02em; }
.mafold-landing .mh-label { margin-bottom: 8px; font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--mh-ink-3); }

.mafold-landing .mh-card {
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
  padding: clamp(20px, 2.2vw, 30px);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 2px rgba(22, 24, 26, .04), 0 12px 34px -22px rgba(22, 24, 26, .38);
}
.mafold-landing .mh-card-warm { background: rgba(245, 168, 60, .17); border-color: rgba(255, 255, 255, .7); }
.mafold-landing .mh-card p { margin: 0; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.66; color: var(--mh-ink-2); }

/* unfold on arrival (the deck's entrance, gentler) */
.mafold-landing [data-mh-reveal] .mh-col > * { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); }
.mafold-landing [data-mh-reveal][data-mh-in] .mh-col > * { opacity: 1; transform: none; }
.mafold-landing [data-mh-reveal][data-mh-in] .mh-col > *:nth-child(2) { transition-delay: .08s; }
.mafold-landing [data-mh-reveal][data-mh-in] .mh-col > *:nth-child(3) { transition-delay: .16s; }
.mafold-landing [data-mh-reveal][data-mh-in] .mh-col > *:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .mafold-landing [data-mh-reveal] .mh-col > * { opacity: 1; transform: none; transition: none; }
}

/* small shared pieces of drawn UI */
.mafold-landing .mh-m { display: flex; gap: 9px; align-items: flex-start; }
.mafold-landing .mh-m img { width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover; background: #fff; }
.mafold-landing .mh-mb {
  min-width: 0;
  padding: 7px 12px 8px;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mh-ink);
  box-shadow: 0 2px 10px -6px rgba(22, 24, 26, .35);
}
.mafold-landing .mh-mb b { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--mh-ink-3); }
.mafold-landing .mh-tag { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: rgba(245, 168, 60, .3); color: #8a5310; }
.mafold-landing .mh-at { color: #C77A10; font-weight: 500; }

/* ── 2 · tool vs person ── */
.mafold-landing .mh-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mafold-landing .mh-vs > .mh-card { display: flex; flex-direction: column; gap: 22px; }
.mafold-landing .mh-ui {
  display: flex; flex-direction: column;
  height: 330px;
  overflow: hidden;
  border-radius: 16px;
  background: #F7F7F8;
  border: 1px solid rgba(22, 24, 26, .07);
  font-size: 13px;
}
.mafold-landing .mh-ui-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(22, 24, 26, .06); background: rgba(255, 255, 255, .85); color: var(--mh-ink-3); font-size: 12px; }
.mafold-landing .mh-ui-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d6d8; }
.mafold-landing .mh-ui-bar span { margin-left: 8px; }
.mafold-landing .mh-ui-bar-mf { gap: 9px; color: var(--mh-ink); font-weight: 500; font-size: 13px; }
.mafold-landing .mh-ui-bar-mf img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.mafold-landing .mh-ui-bar-mf span { margin-left: 0; }
.mafold-landing .mh-ui-body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 14px; overflow: hidden; }
.mafold-landing .mh-b { align-self: flex-start; max-width: 86%; padding: 7px 11px; border-radius: 4px 14px 14px 14px; background: #fff; line-height: 1.5; box-shadow: 0 2px 8px -6px rgba(22, 24, 26, .35); }
.mafold-landing .mh-b-me { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: #2FA160; color: #fff; }
.mafold-landing .mh-b-grey { background: rgba(22, 24, 26, .1); color: var(--mh-ink-2); }
.mafold-landing .mh-think { display: flex; flex-direction: column; gap: 6px; padding: 9px 11px; border-radius: 10px; border: 1px dashed rgba(22, 24, 26, .18); color: var(--mh-ink-3); }
.mafold-landing .mh-think b { font-weight: 500; font-size: 12px; }
.mafold-landing .mh-think i, .mafold-landing .mh-stream i { display: block; height: 7px; border-radius: 4px; background: rgba(22, 24, 26, .1); }
.mafold-landing .mh-stream { display: flex; flex-direction: column; gap: 7px; padding: 10px 11px; border-radius: 4px 14px 14px 14px; background: #fff; position: relative; }
.mafold-landing .mh-stream i { background: rgba(22, 24, 26, .14); }
.mafold-landing .mh-caret { position: absolute; left: calc(42% + 18px); bottom: 9px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(22, 24, 26, .3); border-top-color: transparent; animation: mh-spin 1s linear infinite; }
@keyframes mh-spin { to { transform: rotate(360deg); } }
.mafold-landing .mh-ui-input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 8px 8px 8px 14px; border-radius: 99px; background: #fff; border: 1px solid rgba(22, 24, 26, .08); color: var(--mh-ink-3); font-size: 12px; }
.mafold-landing .mh-stop { width: 26px; height: 26px; border-radius: 50%; background: rgba(22, 24, 26, .78); position: relative; }
.mafold-landing .mh-stop::after { content: ""; position: absolute; inset: 9px; border-radius: 2px; background: #fff; }
.mafold-landing .mh-fold { align-self: flex-start; padding: 5px 10px; border-radius: 99px; background: rgba(22, 24, 26, .05); color: var(--mh-ink-3); font-size: 12px; }
/* each piece stays whole; on a phone the button drops to its own row instead of 「发版 / 卡」 */
.mafold-landing .mh-minicard { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 7px; padding: 8px 11px; border-radius: 10px; border: 1px solid var(--mh-rule); font-size: 13px; white-space: nowrap; }
.mafold-landing .mh-minicard b { font-weight: 500; color: var(--mh-ink-3); font-size: 12px; }
.mafold-landing .mh-mc-go { margin-left: auto; padding: 3px 12px; border-radius: 99px; background: var(--mh-ink); color: #fff; font-style: normal; font-size: 12px; font-weight: 500; }
.mafold-landing .mh-ui-grey { filter: grayscale(1); }

/* ── 3 · proof ── */
.mafold-landing .mh-proof { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.mafold-landing .mh-quote { margin: 0 0 18px; font-family: var(--mh-serif); font-size: clamp(22px, 1.95vw, 30px); line-height: 1.45; color: var(--mh-ink); text-wrap: balance; }
.mafold-landing .mh-quote [data-l="en"] { font-family: 'Instrument Serif', serif; }
.mafold-landing .mh-quote cite { display: block; margin-top: 8px; font-family: var(--mh-sans); font-style: normal; font-size: 15px; color: var(--mh-ink-3); }
.mafold-landing .mh-stats { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12px; margin: 26px 0 22px; }
.mafold-landing .mh-stats > div { padding: 14px 14px 12px; border-radius: 16px; background: rgba(255, 255, 255, .56); border: 1px solid rgba(255, 255, 255, .8); }
.mafold-landing .mh-stats b { display: block; font-weight: 500; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.mafold-landing .mh-stats span { display: block; margin-top: 6px; font-size: 13px; color: var(--mh-ink-2); }
.mafold-landing .mh-team { margin: 0; font-family: var(--mh-serif); font-size: clamp(20px, 1.7vw, 26px); }
.mafold-landing .mh-team [data-l="en"] { font-family: 'Instrument Serif', serif; }
.mafold-landing .mh-fine { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--mh-ink-3); }
.mafold-landing .mh-feed { display: flex; flex-direction: column; gap: 14px; }
.mafold-landing .mh-feed-h { padding-bottom: 10px; border-bottom: 1px solid var(--mh-rule); font-size: 13px; font-weight: 500; color: var(--mh-ink-3); }
.mafold-landing .mh-untaught { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; margin-top: 28px; }
.mafold-landing .mh-untaught .mh-p { font-size: clamp(15px, 1.1vw, 18px); }

/* ── 4 · how (2×2) ── */
.mafold-landing .mh-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mafold-landing .mh-qd { display: flex; flex-direction: column; }
.mafold-landing .mh-il {
  height: 196px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(22, 24, 26, .06);
  overflow: hidden;
  font-size: 13px;
}
.mafold-landing .mh-il-acct { gap: 12px; }
.mafold-landing .mh-pcard { width: 120px; padding-bottom: 12px; border-radius: 14px; overflow: hidden; background: #fff; text-align: center; box-shadow: 0 8px 22px -12px rgba(22, 24, 26, .4), 0 1px 2px rgba(22, 24, 26, .05); }
.mafold-landing .mh-pban { height: 36px; }
.mafold-landing .mh-pban-h { background: linear-gradient(135deg, #F7A8C8, #F3A987); }
.mafold-landing .mh-pban-a { background: linear-gradient(135deg, #F5A83C, #8EDC6E); }
.mafold-landing .mh-pcard img { width: 48px; height: 48px; margin: -24px auto 0; display: block; border-radius: 50%; border: 3px solid #fff; object-fit: cover; background: #fff; }
.mafold-landing .mh-pn { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 15px; font-weight: 500; }
.mafold-landing .mh-ph { margin-top: 1px; font-size: 11.5px; color: var(--mh-ink-3); }
.mafold-landing .mh-prow { display: flex; justify-content: center; gap: 4px; margin-top: 9px; }
.mafold-landing .mh-prow > span { flex: none; white-space: nowrap; padding: 3px 7px; border-radius: 99px; background: rgba(22, 24, 26, .06); font-size: 11px; color: var(--mh-ink-2); }
.mafold-landing .mh-aitag { font-style: normal; font-size: 9.5px; font-weight: 600; padding: 1px 5px; border-radius: 5px; background: rgba(85, 214, 75, .28); color: #2b6a25; }
.mafold-landing .mh-eq { font-family: 'Instrument Serif', serif; font-size: 40px; line-height: 1; color: var(--mh-ink-3); }
.mafold-landing .mh-il-byo { padding: 0 14px; }
.mafold-landing .mh-device { width: 150px; flex: none; padding: 8px 10px 5px; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px -12px rgba(22, 24, 26, .4), 0 1px 2px rgba(22, 24, 26, .05); }
.mafold-landing .mh-dtitle { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; font-size: 11px; color: var(--mh-ink-3); }
.mafold-landing .mh-dtitle i { width: 6px; height: 6px; border-radius: 50%; background: #d6d6d8; }
.mafold-landing .mh-dtitle i:nth-child(1) { background: #ff605c; }
.mafold-landing .mh-dtitle i:nth-child(2) { background: #ffbd44; }
.mafold-landing .mh-dtitle i:nth-child(3) { background: #00ca4e; margin-right: 4px; }
.mafold-landing .mh-drow { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-top: 1px solid var(--mh-rule); font-size: 12px; }
.mafold-landing .mh-drow img, .mafold-landing .mh-dlg { width: 20px; height: 20px; border-radius: 6px; flex: none; object-fit: cover; }
.mafold-landing .mh-dlg { display: grid; place-items: center; border: 1px dashed rgba(22, 24, 26, .3); color: var(--mh-ink-3); font-size: 13px; }
.mafold-landing .mh-drow-plus { color: var(--mh-ink-3); }
.mafold-landing .mh-live { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #2ca46c; box-shadow: 0 0 0 3px rgba(44, 164, 108, .14); }
.mafold-landing .mh-link { flex: 1; min-width: 16px; max-width: 70px; height: 2px; margin: 0 8px; position: relative; background: repeating-linear-gradient(90deg, rgba(22, 24, 26, .38) 0 6px, transparent 6px 11px); }
.mafold-landing .mh-link::after { content: ""; position: absolute; right: -3px; top: -5px; border: 6px solid transparent; border-left: 8px solid rgba(22, 24, 26, .45); border-right: 0; }
.mafold-landing .mh-webcard { width: 118px; flex: none; padding: 11px 8px; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 8px 22px -12px rgba(22, 24, 26, .4), 0 1px 2px rgba(22, 24, 26, .05); }
.mafold-landing .mh-webcard img { width: 30px; height: 30px; margin: 0 auto; display: block; border-radius: 22%; }
.mafold-landing .mh-u { margin: 5px 0 9px; font-size: 11px; color: var(--mh-ink-3); }
.mafold-landing .mh-btn { display: block; padding: 7px 4px; border-radius: 99px; background: var(--mh-ink); color: #fff; font-size: 11px; font-weight: 500; }
.mafold-landing .mh-ok { margin-top: 7px; font-size: 11px; color: #2b6a25; }
.mafold-landing .mh-il-chat { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 10px 16px; }
.mafold-landing .mh-il-chat .mh-m img { width: 24px; height: 24px; }
.mafold-landing .mh-il-chat .mh-mb { padding: 5px 10px 6px; font-size: 12.5px; line-height: 1.45; }
.mafold-landing .mh-il-chat .mh-mb b { font-size: 10.5px; margin-bottom: 1px; }
.mafold-landing .mh-gt { padding-bottom: 6px; border-bottom: 1px solid var(--mh-rule); font-size: 11.5px; color: var(--mh-ink-3); }
.mafold-landing .mh-chart { width: min(320px, 88%); padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px -12px rgba(22, 24, 26, .4), 0 1px 2px rgba(22, 24, 26, .05); }
.mafold-landing .mh-chart-h b { display: block; font-size: 13px; font-weight: 600; }
.mafold-landing .mh-chart-h span { display: block; font-size: 11px; color: var(--mh-ink-3); }
.mafold-landing .mh-bar { display: grid; grid-template-columns: 62px 1fr 40px; align-items: center; gap: 8px; margin-top: 9px; font-size: 11.5px; color: var(--mh-ink-2); }
.mafold-landing .mh-bar i { height: 10px; border-radius: 5px; width: var(--w); min-width: 5px; background: #2B8A3E; }
.mafold-landing .mh-bar i.mh-bar-bad { background: rgba(194, 74, 58, .75); }
.mafold-landing .mh-bar b { text-align: right; font-weight: 600; color: var(--mh-ink); }

/* ── 5 · night ── */
.mafold-landing .mh-lede { max-width: 40em; margin-top: -8px; }
.mafold-landing .mh-duo { display: block; width: min(1280px, 108%); height: auto; margin: 6px auto 0; transform: translateX(-4%); }

/* ── 6 · the close ── */
.mafold-landing .mh-end { text-align: center; padding-bottom: clamp(110px, 16vh, 180px); }
.mafold-landing .mh-future { max-width: 34em; margin: 0 auto 26px; }
.mafold-landing .mh-world { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.16; margin-bottom: 26px; }
.mafold-landing .mh-slogan { margin: 0 0 34px; font-family: 'Instrument Serif', serif; font-size: clamp(26px, 2.6vw, 40px); color: var(--mh-ink); }
.mafold-landing .mh-slogan .mafold-lockup { display: inline-flex; gap: .26em; align-items: baseline; }
.mafold-landing .mh-slogan .mafold-lockup img { width: 1.06em; height: 1.06em; position: relative; top: .16em; }
.mafold-landing .mh-slogan .mafold-lockup span { font-size: 1em; line-height: inherit; top: 0; }
/* the way in, per device (sections.ts END_GETS; Landing.tsx sets data-device
   and, for a Mac on Chromium, data-arch): a computer — or an iPad, a Linux
   box — gets the phone card and its own download; a phone gets one button.
   Not known yet: a Mac's pair. */
.mafold-landing .mh-gets { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.mafold-landing .mh-gets [data-mh-for] { display: none; }
.mafold-landing:not([data-device]) .mh-gets [data-mh-for="mac"],
.mafold-landing[data-device="mac"]:not([data-arch="x86"]) .mh-gets [data-mh-for="mac"],
.mafold-landing[data-device="mac"][data-arch="x86"] .mh-gets [data-mh-for="mac-x64"],
.mafold-landing[data-device="windows"] .mh-gets [data-mh-for="windows"],
.mafold-landing[data-device="other"] .mh-gets [data-mh-for="other"],
.mafold-landing[data-device="iphone"] .mh-gets [data-mh-for="iphone"],
.mafold-landing[data-device="android"] .mh-gets [data-mh-for="android"] { display: block; }
.mafold-landing:is([data-device="iphone"], [data-device="android"]) .mh-gets-phone { display: none; }

/* "Get it on your phone" opens a card above the button (app.js; below it when
   there's no room above): the QR, how to use it, the store. wabi's popover. */
.mafold-landing .mh-gb[data-open] { z-index: 5; }
.mafold-landing .mh-pop {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(100% + 14px);
  box-sizing: border-box;
  width: 268px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 30px;
  background-color: rgba(250, 250, 250, .9);
  -webkit-backdrop-filter: blur(30px) saturate(145%);
  backdrop-filter: blur(30px) saturate(145%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16), inset 0 1px 1px rgba(255, 255, 255, .9);
  color: #171717;
  font-family: var(--mh-sans);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  outline: none;
  pointer-events: auto;
  translate: -50% 0;
  transform-origin: 50% 100%;
  opacity: 0;
  scale: .96;
  visibility: hidden;
  transition: opacity .2s cubic-bezier(.22, 1, .36, 1), scale .2s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .2s;
}
.mafold-landing .mh-gb[data-open] .mh-pop { opacity: 1; scale: 1; visibility: visible; transition-delay: 0s; }
.mafold-landing .mh-gb[data-pop-below] .mh-pop { bottom: auto; top: calc(100% + 14px); transform-origin: 50% 0; }
.mafold-landing .mh-pop-qr { box-sizing: border-box; width: 100%; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }
.mafold-landing .mh-pop-qr img { display: block; width: 100%; height: auto; }
.mafold-landing .mh-pop-cap { margin: 10px 0 0; font-size: 13px; line-height: 1.3; color: #666; }
.mafold-landing .mh-pop-store {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 999px;
  background: #fff;
  color: #181818;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.mafold-landing .mh-pop-store:hover { background: #f6f6f6; }
.mafold-landing .mh-pop-store svg { width: 17px; height: 17px; flex-shrink: 0; }
.mafold-landing .mh-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  .mafold-landing .mh-pop { transition: none; }
}

/* ── narrow screens ── */
@media (max-width: 900px) {
  /* minmax(0, …): a bare 1fr never shrinks below its widest drawing, and the
     2×2's fixed-width cards pushed the whole page sideways on a phone */
  .mafold-landing .mh-vs, .mafold-landing .mh-proof, .mafold-landing .mh-quad, .mafold-landing .mh-untaught { grid-template-columns: minmax(0, 1fr); }
  .mafold-landing .mh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* stacked, the two drawings no longer need one height — a fixed one cut the
     release card's button off on a phone */
  .mafold-landing .mh-ui { height: auto; min-height: 280px; }
  .mafold-landing .mh-duo { width: 112%; transform: translateX(-6%); }
}
/* a 360px phone: the longest Chinese phrase (「上限就是工具的上限。」) still fits one
   line, and the 2×2's drawings fit their cards */
@media (max-width: 420px) {
  .mafold-landing .mh-h2 { font-size: min(32px, 8.4vw); }
  .mafold-landing .mh-world { font-size: min(36px, 9.6vw); }
  .mafold-landing .mh-ui .mh-b { max-width: 96%; }
  .mafold-landing .mh-il-acct { gap: 8px; }
  .mafold-landing .mh-pcard { width: 108px; }
  .mafold-landing .mh-il-byo { padding: 0 8px; }
  /* the group chat's lines wrap here; let the drawing grow rather than clip them */
  .mafold-landing .mh-il-chat { height: auto; min-height: 196px; padding: 12px 14px; }
  .mafold-landing .mh-device { width: 124px; }
  .mafold-landing .mh-webcard { width: 104px; }
  .mafold-landing .mh-link { min-width: 10px; margin: 0 6px; }
}
