:root {
  color-scheme: light;
  --canvas: #e8e2d6;
  --sheet: #fbfaf6;
  --ink: #201d19;
  --muted: #6d675f;
  --rule: #d6d0c6;
  --accent: #9a4529;
  font-family: 'Source Serif 4', 'Iowan Old Style', Charter, Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.72; }
a { color: var(--accent); text-underline-offset: 0.16em; }

.mp-site-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
}

.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.mp-brand svg { width: 1.65rem; height: 1.65rem; }
.mp-brand b { font: 500 0.88em/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mp-site-header nav { display: flex; gap: 1rem; margin-left: auto; }
.mp-site-header nav a { color: var(--muted); font: 600 0.78rem/1.2 system-ui, sans-serif; text-decoration: none; }
.mp-site-header nav a:hover, .mp-site-header nav a[aria-current] { color: var(--accent); }

.mp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.62rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--sheet);
  font: 650 0.86rem/1.2 system-ui, sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease,
    border-color 160ms ease;
}

.mp-button:hover { transform: translateY(-1px); background: var(--accent); border-color: var(--accent); }
.mp-button:focus-visible, .mp-store-button:focus-visible, .mp-desktop-try:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mp-header-action { margin-left: 0.25rem; }
main { padding: 0 clamp(0.75rem, 3vw, 2rem) clamp(2rem, 6vw, 5rem); }
.mp-paper { max-width: 60rem; margin: 0 auto; padding: clamp(2rem, 7vw, 6rem) clamp(1.4rem, 9vw, 8rem); background: var(--sheet); box-shadow: 0 16px 60px rgb(48 40 28 / 0.12); }
.mp-prose h1, .mp-prose h2 { line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.mp-prose h1 { margin: 0 0 1.4rem; font-size: clamp(2.35rem, 7vw, 4.3rem); font-weight: 600; }
.mp-prose h1 + p { color: var(--muted); font-size: 1.18rem; line-height: 1.58; }
.mp-prose h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.45rem, 3.5vw, 2rem); font-weight: 600; }
.mp-prose p, .mp-prose li { font-size: 1.04rem; }
.mp-prose code { padding: 0.12rem 0.3rem; border-radius: 0.2rem; background: #efebe3; font: 0.88em ui-monospace, SFMono-Regular, Menlo, monospace; }
.mp-prose li + li { margin-top: 0.42rem; }
.mp-reader-cta, .mp-callout { margin-top: 3.5rem; padding: 1.25rem; border: 1px solid var(--rule); border-radius: 0.55rem; background: #f4f0e8; }
.mp-reader-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mp-reader-cta p { margin: 0; }
.mp-downloads { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }
/* The desktop page's download panel, straight under its opening line. */
.mp-downloads-panel { margin: 2rem 0 0.5rem; padding: clamp(1rem, 4vw, 1.5rem); border: 1px solid var(--rule); border-radius: 0.65rem; background: #f4f0e8; }
.mp-downloads-panel .mp-downloads { margin-top: 0; }
.mp-downloads-status { margin: 0.9rem 0 0; color: var(--muted); font: 0.84rem/1.5 system-ui, sans-serif; }
.mp-downloads + .mp-callout { margin-top: 1rem; }
.mp-button-soon { border-style: dashed; border-color: var(--muted); background: transparent; color: var(--ink); cursor: default; }

/* The desktop page: a product page that still reads like Markdown. */

.mp-desktop-page {
  padding-inline: clamp(0.75rem, 3vw, 2rem);
}

.mp-desktop-paper {
  max-width: 76rem;
  padding: 0;
  overflow: hidden;
}

.mp-desktop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(28rem, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  min-height: 44rem;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 6vw, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 92% 8%, rgb(154 69 41 / 0.12), transparent 28rem),
    linear-gradient(145deg, #fbfaf6 0%, #f7f3eb 100%);
}

.mp-desktop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image: linear-gradient(rgb(32 29 25 / 0.055) 1px, transparent 1px);
  background-size: 100% 2rem;
  mask-image: linear-gradient(to right, black, transparent 64%);
}

.mp-desktop-copy, .mp-desktop-preview {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.mp-desktop-copy .mp-eyebrow {
  margin: 0 0 1.15rem;
  color: var(--accent);
  font: 700 0.72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mp-desktop-copy h1 {
  max-width: 11ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
}

.mp-desktop-copy h1 + p {
  max-width: 37rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  line-height: 1.55;
}

.mp-desktop-copy .mp-downloads-panel {
  margin: 2rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.mp-store-button {
  display: inline-flex;
  flex: 1 1 11.5rem;
  flex-direction: column;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0.55rem 1rem 0.62rem;
  border: 1px solid var(--ink);
  border-radius: 0.45rem;
  background: var(--ink);
  color: var(--sheet);
  font-family: system-ui, sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

a.mp-store-button:hover {
  color: var(--sheet);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(32 29 25 / 0.15);
}

.mp-store-kicker {
  font-size: 0.66rem;
  line-height: 1.15;
  letter-spacing: 0.025em;
  opacity: 0.72;
}

.mp-store-name {
  margin-top: 0.15rem;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
}

.mp-store-button.mp-button-soon {
  border-color: #9f988d;
  background: rgb(251 250 246 / 0.72);
  color: var(--ink);
  opacity: 0.78;
}

.mp-desktop-copy .mp-downloads-status {
  max-width: 33rem;
  margin-top: 0.85rem;
}

.mp-desktop-try {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--accent);
  font: 700 0.82rem/1.4 system-ui, sans-serif;
  text-decoration: none;
}

.mp-desktop-try:hover { text-decoration: underline; }

.mp-desktop-preview {
  margin: 0;
}

.mp-desktop-window {
  overflow: hidden;
  border: 1px solid #4d4943;
  border-radius: 0.85rem;
  background: #171614;
  box-shadow: 0 2rem 4.5rem rgb(45 34 24 / 0.24), 0 0.25rem 1rem rgb(45 34 24 / 0.14);
  transform: perspective(80rem) rotateY(-2deg) rotateX(1deg);
  transform-origin: center left;
}

.mp-window-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.7rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid #3d3934;
  color: #aaa39a;
  background: #23211e;
  font: 600 0.67rem/1 system-ui, sans-serif;
}

.mp-window-lights { display: flex; gap: 0.38rem; }
.mp-window-lights i {
  width: 0.58rem;
  height: 0.58rem;
  border: 1px solid #777168;
  border-radius: 50%;
}

.mp-window-file {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mp-window-mode {
  color: #d38762;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}

.mp-window-workspace {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  min-height: 28rem;
}

.mp-window-library {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 1.35rem 0.7rem;
  border-right: 1px solid #39352f;
  color: #aaa39a;
  background: #1d1b19;
  font: 500 0.64rem/1.35 system-ui, sans-serif;
}

.mp-window-library > span {
  padding: 0.38rem 0.52rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-window-library .mp-library-label {
  margin-bottom: 0.25rem;
  color: #736d65;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-window-library .mp-library-active {
  border-radius: 0.3rem;
  background: #35312c;
  color: #f7f1e7;
}

.mp-window-canvas {
  position: relative;
  padding: 1.75rem 1.6rem 0;
  overflow: hidden;
  background: #2a2723;
}

.mp-window-paper {
  min-height: 26.3rem;
  padding: clamp(2.1rem, 4vw, 3.25rem) clamp(1.8rem, 4vw, 3rem);
  color: #201d19;
  background: #fbfaf6;
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 0.2);
}

.mp-window-paper .mp-paper-kicker {
  display: block;
  margin-bottom: 0.72rem;
  color: #9a4529;
  font: 700 0.57rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-window-paper strong {
  display: block;
  max-width: 10ch;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.mp-window-paper p {
  max-width: 28rem;
  margin: 1rem 0 1.35rem;
  color: #6d675f;
  font-size: 0.8rem;
  line-height: 1.48;
}

.mp-preview-rule {
  display: block;
  margin-bottom: 1.05rem;
  border-top: 1px solid #ded8ce;
}

.mp-preview-task {
  position: relative;
  display: block;
  margin: 0.62rem 0;
  padding-left: 1.25rem;
  font: 600 0.69rem/1.35 system-ui, sans-serif;
}

.mp-preview-task::before {
  content: '';
  position: absolute;
  top: 0.05rem;
  left: 0;
  width: 0.68rem;
  height: 0.68rem;
  border: 1px solid #8c857b;
  border-radius: 0.16rem;
}

.mp-preview-task[data-done] { color: #777067; text-decoration: line-through; }
.mp-preview-task[data-done]::before {
  border-color: #9a4529;
  background: #9a4529;
  box-shadow: inset 0 0 0 2px #fbfaf6;
}

.mp-file-update {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.65rem;
  border: 1px solid #544f48;
  border-radius: 999px;
  color: #e7e0d6;
  background: rgb(29 27 25 / 0.94);
  box-shadow: 0 0.4rem 1.2rem rgb(0 0 0 / 0.28);
  font: 600 0.61rem/1.1 system-ui, sans-serif;
}

.mp-file-update i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #d26a38;
  box-shadow: 0 0 0 0.22rem rgb(210 106 56 / 0.16);
}

.mp-file-update b { color: #9c958c; font-weight: 500; }

.mp-desktop-preview figcaption {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font: 600 0.71rem/1.5 system-ui, sans-serif;
  text-align: center;
}

.mp-desktop-story {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.4rem, 7vw, 5.5rem);
}

.mp-desktop-story > h2:first-child { margin-top: 0; }

.mp-desktop-story #user-content-your-markdown-out-of-the-editor + ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  list-style: none;
}

.mp-desktop-story #user-content-your-markdown-out-of-the-editor + ul li {
  min-height: 9.5rem;
  margin: 0;
  padding: 1.35rem 1.45rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}

.mp-desktop-story #user-content-your-markdown-out-of-the-editor + ul strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.mp-desktop-story table {
  margin: 1.75rem 0 3.5rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.mp-desktop-story th, .mp-desktop-story td { padding: 0.72rem 0.85rem; }
.mp-desktop-story th { background: #f4f0e8; }
.mp-desktop-story tr:last-child td { border-bottom: 0; }

.mp-desktop-story #user-content-system-requirements + ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.mp-desktop-story #user-content-system-requirements + ul li {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 0.45rem;
  background: #f8f5ef;
}

.mp-desktop-story #user-content-try-your-own-markdown-free {
  margin-top: 4rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--rule);
}

.mp-desktop-story #user-content-questions ~ h3 {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 1.12rem;
}

.mp-desktop-paper > .mp-reader-cta {
  max-width: 58rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.35rem, 5vw, 2.4rem);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

/* Premium editorial pages share the paper, rhythm and accent, not a template. */
.mp-editorial-page { padding-inline: clamp(0.75rem, 3vw, 2rem); }

.mp-editorial-paper {
  max-width: 76rem;
  padding: 0;
  overflow: hidden;
}

.mp-editorial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(21rem, 1fr) minmax(24rem, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  min-height: 36rem;
  padding: clamp(3.75rem, 7vw, 6.5rem) clamp(2rem, 7vw, 6.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 88% 12%, rgb(154 69 41 / 0.1), transparent 25rem),
    linear-gradient(145deg, #fbfaf6 0%, #f6f1e8 100%);
}

.mp-editorial-hero::after {
  content: '';
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgb(154 69 41 / 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgb(154 69 41 / 0.035), 0 0 0 10rem rgb(154 69 41 / 0.02);
  pointer-events: none;
}

.mp-editorial-copy, .mp-editorial-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.mp-editorial-copy .mp-eyebrow {
  margin: 0 0 1.2rem;
  color: var(--accent);
  font: 700 0.72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mp-editorial-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 610;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.mp-route-about .mp-editorial-copy h1,
.mp-route-compare .mp-editorial-copy h1,
.mp-route-changelog .mp-editorial-copy h1 {
  font-size: clamp(3rem, 4.6vw, 4rem);
}

.mp-editorial-copy > p:not(.mp-eyebrow) {
  max-width: 37rem;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.56;
}

.mp-editorial-copy h1 + p:has(> strong:only-child) {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.5rem;
  padding: 0.28rem 0.58rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  background: rgb(251 250 246 / 0.7);
  font: 700 0.67rem/1.2 system-ui, sans-serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.mp-editorial-copy a { font-weight: 600; }

.mp-editorial-visual {
  min-height: 21rem;
  border: 1px solid #45413c;
  border-radius: 0.75rem;
  color: #f4eee5;
  background: #201e1b;
  box-shadow: 0 1.5rem 4rem rgb(44 34 24 / 0.18);
  font-family: system-ui, sans-serif;
}

.mp-visual-label {
  color: #c87b55;
  font: 700 0.63rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-visual-guides {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  color: var(--ink);
  border-color: var(--rule);
  background: #efebe3;
}

.mp-visual-guides > div { min-width: 0; padding: clamp(1.35rem, 3vw, 2.2rem); }
.mp-visual-guides > div > span {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font: 700 0.62rem/1.2 system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-guide-source {
  border-right: 1px solid var(--rule);
  background: #e9e4da;
}

.mp-guide-source code {
  display: block;
  padding: 0;
  color: #5f5952;
  background: none;
  font: 0.72rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.mp-guide-result { background: var(--sheet); }
.mp-guide-result strong, .mp-guide-result b { display: block; font-family: inherit; }
.mp-guide-result strong { font: 600 clamp(1.7rem, 3vw, 2.4rem)/1.02 'Source Serif 4', Georgia, serif; }
.mp-guide-result b { margin-top: 1.6rem; font: 600 1.05rem/1.2 'Source Serif 4', Georgia, serif; }
.mp-guide-result p { margin: 0.8rem 0 0; color: var(--muted); font: 0.77rem/1.8 'Source Serif 4', Georgia, serif; }

.mp-visual-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  overflow: hidden;
}

.mp-visual-compare > div { display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.5rem; }
.mp-visual-compare > div:last-child { color: var(--ink); background: var(--sheet); }
.mp-visual-compare i { align-self: center; color: #8c857b; font: italic 0.76rem/1 'Source Serif 4', Georgia, serif; }
.mp-visual-compare strong { display: block; margin: 1rem 0 0.55rem; font: 600 1.45rem/1.1 'Source Serif 4', Georgia, serif; }
.mp-visual-compare p { margin: 0; color: #aaa39a; font-size: 0.76rem; line-height: 1.5; }
.mp-visual-compare > div:last-child p { color: var(--muted); }

.mp-visual-support { padding: clamp(2rem, 4vw, 3.5rem); transform: rotate(1.25deg); }
.mp-note-pin { position: absolute; top: 1.15rem; left: 50%; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #d26a38; box-shadow: 0 0 0 0.25rem rgb(210 106 56 / 0.15); }
.mp-visual-support strong { display: block; max-width: 15ch; margin: 1rem 0; font: 600 clamp(1.65rem, 3vw, 2.45rem)/1.08 'Source Serif 4', Georgia, serif; }
.mp-visual-support p { max-width: 32rem; color: #aaa39a; font-size: 0.78rem; line-height: 1.55; }
.mp-person-line { position: absolute; right: 1.4rem; bottom: 1.25rem; color: #d6cec4; font: 700 0.66rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }

.mp-visual-contact { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.7rem, 4vw, 3rem); }
.mp-visual-contact > .mp-visual-label { overflow-wrap: anywhere; font-size: clamp(0.68rem, 1.4vw, 0.88rem); text-transform: none; }
.mp-contact-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin: 1.8rem 0; }
.mp-contact-routes span { padding: 0.7rem 0.8rem; border: 1px solid #47423c; border-radius: 0.35rem; color: #c7bfb5; font-size: 0.75rem; }
.mp-visual-contact strong { font: 600 clamp(1.5rem, 3vw, 2.15rem)/1.1 'Source Serif 4', Georgia, serif; }

.mp-visual-privacy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; gap: 0.75rem; padding: clamp(1.5rem, 4vw, 2.75rem); }
.mp-visual-privacy > div { padding: 1rem 0.6rem; border-top: 1px solid #4d4842; }
.mp-visual-privacy strong { display: block; color: #d47c50; font: 500 clamp(2.6rem, 5vw, 4rem)/1 'Source Serif 4', Georgia, serif; }
.mp-visual-privacy span { color: #aca49a; font-size: 0.66rem; line-height: 1.25; }
.mp-visual-privacy p { grid-column: 1 / -1; margin: 1rem 0 0; color: #f4eee5; font: 600 1.2rem/1.3 'Source Serif 4', Georgia, serif; }

.mp-visual-terms { display: grid; align-content: center; gap: 0; padding: 1.5rem 2rem; }
.mp-visual-terms span { display: grid; grid-template-columns: 2.1rem 1fr; align-items: center; gap: 0.65rem; padding: 1.1rem 0; border-bottom: 1px solid #47423c; color: #e8e1d8; font: 600 1rem/1.3 'Source Serif 4', Georgia, serif; }
.mp-visual-terms span:last-child { border-bottom: 0; }
.mp-visual-terms b { color: #d47c50; font: 700 0.64rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }

.mp-visual-about { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 5vw, 4rem); }
.mp-visual-about svg { width: 3.25rem; height: 3.25rem; }
.mp-visual-about p { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.8rem 0 1rem; }
.mp-visual-about p span { padding: 0.38rem 0.62rem; border: 1px solid #4b4640; border-radius: 999px; color: #d7cfc5; font: 700 0.68rem/1 system-ui, sans-serif; }
.mp-visual-about strong { max-width: 18rem; font: 600 clamp(1.55rem, 3vw, 2.2rem)/1.1 'Source Serif 4', Georgia, serif; }

.mp-visual-changelog { display: grid; align-content: center; padding: 1.5rem 2rem; }
.mp-visual-changelog > span { position: relative; display: grid; grid-template-columns: 7rem 1fr; gap: 0.8rem; padding: 1.05rem 0 1.05rem 1.35rem; border-left: 1px solid #4a4540; }
.mp-visual-changelog i { position: absolute; top: 1.35rem; left: -0.28rem; width: 0.5rem; height: 0.5rem; border: 1px solid #8d857c; border-radius: 50%; background: #201e1b; }
.mp-visual-changelog .mp-release-current i { border-color: #d26a38; background: #d26a38; box-shadow: 0 0 0 0.25rem rgb(210 106 56 / 0.14); }
.mp-visual-changelog b { color: #ddd5cc; font-size: 0.72rem; }
.mp-visual-changelog em { color: #9f978d; font: normal 0.72rem/1.35 system-ui, sans-serif; }

.mp-editorial-story {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.4rem, 7vw, 5.5rem);
}

.mp-editorial-story-rail {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 72rem;
}

.mp-page-outline {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 0.65rem;
  padding-top: 0.25rem;
  font: 600 0.7rem/1.35 system-ui, sans-serif;
}

.mp-page-outline span { margin-bottom: 0.15rem; color: var(--ink); font-size: 0.63rem; letter-spacing: 0.08em; text-transform: uppercase; }
.mp-page-outline a { color: var(--muted); text-decoration: none; }
.mp-page-outline a:hover { color: var(--accent); }
.mp-editorial-body { min-width: 0; }
.mp-editorial-body > :first-child { margin-top: 0; }

.mp-editorial-body .mp-collection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0;
  counter-reset: collection;
}

.mp-editorial-body .mp-collection li {
  position: relative;
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 0.55rem;
  background: #f8f5ef;
  counter-increment: collection;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.mp-editorial-body .mp-collection li::before {
  content: '0' counter(collection);
  display: block;
  margin-bottom: 2rem;
  color: var(--accent);
  font: 700 0.66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.mp-editorial-body .mp-collection li:hover { transform: translateY(-2px); border-color: #b9afa2; box-shadow: 0 0.8rem 1.8rem rgb(44 34 24 / 0.08); }
.mp-editorial-body .mp-collection a { font-size: 1.3rem; line-height: 1.18; }
.mp-editorial-body .mp-collection span { margin-top: 0.65rem; line-height: 1.55; }

.mp-route-support + .mp-editorial-story .mp-editorial-body h3 {
  margin-top: 1.6rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--rule);
}

.mp-route-support + .mp-editorial-story .mp-editorial-body h2 + ul,
.mp-route-privacy + .mp-editorial-story .mp-editorial-body h2:first-child + ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}

.mp-route-support + .mp-editorial-story .mp-editorial-body h2 + ul li,
.mp-route-privacy + .mp-editorial-story .mp-editorial-body h2:first-child + ul li {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.4rem;
  background: #f8f5ef;
  font-size: 0.92rem;
}

.mp-route-contact + .mp-editorial-story .mp-editorial-body > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0 3rem;
  padding: 0;
  list-style: none;
}

.mp-route-contact + .mp-editorial-story .mp-editorial-body > ul li { margin: 0; padding: 1.15rem; border: 1px solid var(--rule); border-radius: 0.45rem; color: var(--muted); background: #f8f5ef; }
.mp-route-contact + .mp-editorial-story .mp-editorial-body > ul strong { display: block; margin-bottom: 0.35rem; color: var(--ink); }

.mp-route-about + .mp-editorial-story ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.2rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: principle;
}

.mp-route-about + .mp-editorial-story ol li { position: relative; margin: 0; padding: 1.15rem 1.15rem 1.15rem 3.2rem; border: 1px solid var(--rule); border-radius: 0.4rem; counter-increment: principle; }
.mp-route-about + .mp-editorial-story ol li::before { content: counter(principle); position: absolute; top: 1rem; left: 1rem; color: var(--accent); font: 700 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mp-route-about + .mp-editorial-story ol li:last-child { grid-column: 1 / -1; }

.mp-route-changelog + .mp-editorial-story .mp-editorial-body { position: relative; padding-left: 2rem; }
.mp-route-changelog + .mp-editorial-story .mp-editorial-body::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 1px; background: var(--rule); }
.mp-route-changelog + .mp-editorial-story h2 { position: relative; }
.mp-route-changelog + .mp-editorial-story h2::before { content: ''; position: absolute; top: 0.45em; left: -2.28rem; width: 0.5rem; height: 0.5rem; border: 2px solid var(--sheet); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.mp-editorial-paper > .mp-reader-cta {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.35rem, 5vw, 2.4rem);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.mp-cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.mp-cta-actions > a:not(.mp-button) { font: 700 0.8rem/1.3 system-ui, sans-serif; }

/* Inner guides and comparisons: editorial articles with useful landmarks. */
.mp-article-page { padding-inline: clamp(0.75rem, 3vw, 2rem); }

.mp-article-paper {
  max-width: 76rem;
  padding: 0;
  overflow: hidden;
}

.mp-article-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(22rem, 1.08fr) minmax(21rem, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  min-height: 38rem;
  padding: clamp(3.75rem, 7vw, 6.25rem) clamp(2rem, 7vw, 6.25rem);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 90% 12%, rgb(154 69 41 / 0.11), transparent 24rem),
    linear-gradient(145deg, #fbfaf6 0%, #f5efe5 100%);
}

.mp-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgb(32 29 25 / 0.055) 1px, transparent 1px);
  background-size: 100% 2rem;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.mp-article-copy, .mp-article-visual { position: relative; z-index: 1; min-width: 0; }
.mp-article-copy .mp-breadcrumb { margin: 0 0 2.2rem; }
.mp-article-copy .mp-eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font: 700 0.7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mp-article-copy h1 {
  max-width: 14ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 5.3vw, 4.8rem);
  font-weight: 610;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.mp-article-compare .mp-article-copy h1 { font-size: clamp(2.8rem, 4.5vw, 4.15rem); }
.mp-article-copy h1 + p { max-width: 39rem; margin: 0; color: var(--ink); font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.58; }
.mp-article-copy h1 + p + p { max-width: 39rem; margin: 0.8rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.58; }

.mp-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.8rem 0 0 !important;
  color: var(--muted);
  font: 650 0.68rem/1.2 system-ui, sans-serif !important;
}

.mp-article-meta span { padding: 0.42rem 0.65rem; border: 1px solid var(--rule); border-radius: 999px; background: rgb(251 250 246 / 0.62); }

.mp-article-visual {
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid #45413c;
  border-radius: 0.75rem;
  color: #f4eee5;
  background: #201e1b;
  box-shadow: 0 1.5rem 4rem rgb(44 34 24 / 0.2);
  font-family: system-ui, sans-serif;
  transform: rotate(1deg);
}

.mp-article-guide-visual { display: grid; grid-template-rows: auto 1fr auto; }
.mp-article-file { display: flex; align-items: center; gap: 0.4rem; min-height: 2.8rem; padding: 0 1rem; border-bottom: 1px solid #45413c; }
.mp-article-file span { margin-right: auto; color: #a9a197; font: 650 0.67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mp-article-file i { width: 0.48rem; height: 0.48rem; border-radius: 50%; background: #57514b; }
.mp-article-file i:first-of-type { background: #b65a3a; }
.mp-article-guide-copy { align-self: center; padding: 2rem clamp(1.5rem, 4vw, 3rem); }
.mp-article-guide-copy > strong { display: block; max-width: 11ch; margin: 0.85rem 0 1.6rem; font: 600 clamp(2rem, 4vw, 3.25rem)/1 'Source Serif 4', Georgia, serif; letter-spacing: -0.025em; }
.mp-article-guide-copy p { display: grid; grid-template-columns: 2rem 1fr; gap: 0.55rem; margin: 0.5rem 0; color: #b7afa5; font-size: 0.76rem; }
.mp-article-guide-copy code { color: #d18158; background: none; font-size: 0.9rem; }
.mp-article-transform { display: grid; grid-template-columns: 1fr auto 1fr; padding: 0.8rem 1rem; border-top: 1px solid #45413c; color: #bdb5ab; font: 700 0.62rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.mp-article-transform i { color: #d18158; font-style: normal; }

.mp-article-compare-visual { display: grid; align-content: center; padding: clamp(1.5rem, 4vw, 2.5rem); transform: rotate(-1deg); }
.mp-article-compare-visual > .mp-visual-label { margin-bottom: 1rem; }
.mp-article-compare-visual > div { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); align-items: baseline; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid #49443e; }
.mp-article-compare-visual b { color: #aaa299; font-size: 0.72rem; font-weight: 650; }
.mp-article-compare-visual strong { min-width: 0; font: 600 clamp(1.35rem, 2.4vw, 1.8rem)/1 'Source Serif 4', Georgia, serif; overflow-wrap: anywhere; }
.mp-article-compare-visual .mp-article-verdict { margin: 1rem -0.8rem -0.5rem; padding: 1rem 0.8rem; border: 0; border-radius: 0.4rem; color: var(--ink); background: #f4eee5; }
.mp-article-compare-visual .mp-article-verdict b { color: var(--accent); }

.mp-article-story {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 7vw, 6rem) clamp(4.5rem, 9vw, 8rem);
}

.mp-article-story.mp-editorial-story-rail { grid-template-columns: 11rem minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.mp-article-story .mp-page-outline { max-height: calc(100vh - 3rem); overflow-y: auto; padding-right: 0.5rem; scrollbar-width: thin; }
.mp-article-body { min-width: 0; }
.mp-article-body > :first-child { margin-top: 0; }
.mp-article-body h2 { scroll-margin-top: 2rem; }
.mp-article-body h2 + p { color: #4e4943; }
.mp-article-body .mp-table-scroll { margin: 1.6rem 0 2.6rem; border: 1px solid var(--rule); border-radius: 0.55rem; background: #f8f5ef; }
.mp-article-body .mp-table-scroll table { margin: 0; border-collapse: separate; border-spacing: 0; }
.mp-article-body .mp-table-scroll th, .mp-article-body .mp-table-scroll td { padding: 0.8rem 0.85rem; }
.mp-article-body .mp-table-scroll th { background: #f1ece3; }
.mp-article-body .mp-table-scroll tr:last-child td { border-bottom: 0; }

.mp-article-compare + .mp-article-story #user-content-the-short-answer + p {
  margin: 1.2rem 0 3rem;
  padding: 1.3rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: #f4f0e8;
  font-size: 1.12rem;
}

.mp-article-compare + .mp-article-story :is(#user-content-where-vs-code-is-the-better-choice, #user-content-where-markdownpaper-is-the-better-choice) + ul,
.mp-article-guides + .mp-article-story #user-content-what-the-file-covers + ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.2rem 0 2.8rem;
  padding: 0;
  list-style: none;
}

.mp-article-compare + .mp-article-story :is(#user-content-where-vs-code-is-the-better-choice, #user-content-where-markdownpaper-is-the-better-choice) + ul li,
.mp-article-guides + .mp-article-story #user-content-what-the-file-covers + ul li {
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--rule);
  border-radius: 0.45rem;
  color: var(--muted);
  background: #f8f5ef;
  font-size: 0.92rem;
  line-height: 1.55;
}

.mp-article-paper > .mp-reader-cta {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.35rem, 5vw, 2.4rem);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.mp-inline-tool { margin: 2.25rem 0 3rem; padding: clamp(1rem, 4vw, 1.6rem); border: 1px solid var(--rule); border-radius: 0.65rem; background: #f4f0e8; }
.mp-inline-tool h2 { margin-top: 0; }
.mp-tool-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.8rem; }
.mp-tool-actions input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mp-tool-actions span, .mp-inline-tool > label, .mp-tool-note { color: var(--muted); font: 0.78rem/1.45 system-ui, sans-serif; }
.mp-inline-tool > label { display: block; margin-bottom: 0.4rem; font-weight: 650; }
.mp-inline-tool textarea { display: block; width: 100%; margin-bottom: 0.75rem; padding: 0.8rem; resize: vertical; border: 1px solid var(--rule); border-radius: 0.35rem; background: var(--sheet); color: var(--ink); font: 0.88rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mp-inline-tool textarea:focus-visible, .mp-tool-actions label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.mp-inline-tool button:disabled { cursor: default; opacity: 0.45; }
.mp-tool-note { margin: 0.75rem 0 0; }

/* Guides and comparisons: code, tables and quotes in the page itself. */
.mp-prose pre { overflow-x: auto; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: 0.45rem; background: #f4f0e8; font: 0.84rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mp-prose pre code { padding: 0; background: none; font: inherit; }
.mp-prose pre span { color: var(--shiki-paper, inherit); }
.mp-prose table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font: 0.92rem/1.45 system-ui, sans-serif; }
.mp-prose th, .mp-prose td { padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
/* A table's own alignment, from the colons in its dashes, has to win over the
 * default; setting left on every cell erased it. */
.mp-prose :is(th, td):not([align]) { text-align: left; }
.mp-prose :is(th, td)[align='center'] { text-align: center; }
.mp-prose :is(th, td)[align='right'] { text-align: right; }
.mp-prose th { color: var(--muted); font-weight: 650; font-size: 0.82rem; }
.mp-prose blockquote { margin: 1.5rem 0; padding-left: 1.1rem; border-left: 2px solid var(--rule); color: var(--muted); font-style: italic; }
.mp-prose hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--rule); }
.mp-prose h3 { margin: 2rem 0 0.6rem; font-size: 1.2rem; }
.mp-table-scroll { overflow-x: auto; }

.mp-breadcrumb { margin-bottom: 1rem; font: 650 0.78rem/1.2 system-ui, sans-serif; }
.mp-breadcrumb a { color: var(--muted); text-decoration: none; }
.mp-breadcrumb a::before { content: '\2190\00a0'; }
.mp-breadcrumb a:hover { color: var(--accent); }

.mp-collection { margin: 2.5rem 0 0; padding: 0; list-style: none; }
.mp-collection li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.mp-collection li + li { margin-top: 0; }
.mp-collection a { font-size: 1.22rem; font-weight: 600; text-decoration: none; }
.mp-collection a:hover { text-decoration: underline; }
.mp-collection span { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.98rem; }

/*
 * A worked example: the source beside the page it becomes. Side by side where
 * there is room, stacked where there is not.
 */
.mp-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; margin: 1.5rem 0 2rem; }
.mp-example-pane { min-width: 0; padding: 0.85rem 1rem; border: 1px solid var(--rule); border-radius: 0.45rem; background: #f4f0e8; }
.mp-example-result { background: var(--sheet); }
.mp-example-label { margin: 0 0 0.55rem; color: var(--muted); font: 650 0.7rem/1 system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.mp-example-pane > pre { margin: 0; padding: 0; border: 0; background: none; white-space: pre-wrap; }
.mp-example-page > :first-child { margin-top: 0; }
.mp-example-page > :last-child { margin-bottom: 0; }
.mp-example-page p, .mp-example-page li { font-size: 0.98rem; }
.mp-example-page table { margin: 0; }
.mp-example-page pre { margin: 0.5rem 0; }
.mp-example-h { margin: 0.2rem 0 0.4rem; font-weight: 600; line-height: 1.2; }
.mp-example-h1 { font-size: 1.6rem; }
.mp-example-h2 { font-size: 1.3rem; }
.mp-example-h3 { font-size: 1.1rem; }
.mp-example-open { grid-column: 1 / -1; justify-self: start; padding: 0; border: 0; background: none; color: var(--accent); font: 650 0.8rem/1.4 system-ui, sans-serif; cursor: pointer; }
.mp-example-open:hover { text-decoration: underline; }
.mp-example-page .footnotes { margin-top: 0.75rem; font-size: 0.86rem; }
.mp-example-page .footnotes .mp-example-h { margin: 0 0 0.3rem; font-size: 0.8rem; }
.mp-article-body .mp-example { gap: 0; margin: 1.6rem 0 2.8rem; border: 1px solid var(--rule); border-radius: 0.6rem; overflow: hidden; background: #f4f0e8; box-shadow: 0 0.65rem 1.6rem rgb(44 34 24 / 0.06); }
.mp-article-body .mp-example-pane { padding: 1rem 1.1rem 1.2rem; border: 0; border-radius: 0; }
.mp-article-body .mp-example-pane + .mp-example-pane { border-left: 1px solid var(--rule); }
.mp-article-body .mp-example-label { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mp-article-body .mp-example-open { width: 100%; padding: 0.7rem 1.1rem; border-top: 1px solid var(--rule); background: var(--sheet); text-align: left; }

footer { display: flex; justify-content: space-between; gap: 1rem; max-width: 60rem; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; color: var(--muted); font: 0.78rem/1.5 system-ui, sans-serif; }
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.9rem; }
footer a { color: inherit; }
.mp-heart { display: inline-block; width: 0.85em; height: 0.85em; margin: 0 0.1em; color: var(--accent); vertical-align: -0.1em; }

@media (max-width: 1020px) {
  .mp-desktop-hero, .mp-editorial-hero, .mp-article-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .mp-desktop-copy h1 { max-width: 14ch; }
  .mp-desktop-copy .mp-downloads-panel { max-width: 35rem; }
  .mp-desktop-preview { max-width: 44rem; }
  .mp-desktop-window { transform: none; }
  .mp-editorial-copy h1 { max-width: 15ch; }
  .mp-editorial-visual { width: min(100%, 44rem); }
  .mp-article-copy h1 { max-width: 15ch; }
  .mp-article-visual { width: min(100%, 44rem); transform: none; }
}

@media (max-width: 760px) {
  .mp-site-header { flex-wrap: wrap; }
  .mp-site-header nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 0.2rem; scrollbar-width: none; }
  .mp-site-header nav::-webkit-scrollbar { display: none; }
  .mp-site-header nav a[aria-current] { order: -1; }
  .mp-header-action { margin-left: auto; }
  .mp-paper { box-shadow: none; }
  .mp-reader-cta, footer { align-items: flex-start; flex-direction: column; }
  .mp-example { grid-template-columns: minmax(0, 1fr); }
  .mp-desktop-page { padding-inline: 0; }
  .mp-desktop-hero { padding: 3rem 1.35rem 2.5rem; }
  .mp-desktop-copy h1 { max-width: none; font-size: clamp(2.65rem, 13vw, 4rem); }
  .mp-window-workspace { grid-template-columns: minmax(0, 1fr); min-height: 24rem; }
  .mp-window-library { display: none; }
  .mp-window-canvas { padding: 1rem 0.8rem 0; }
  .mp-window-paper { min-height: 23rem; }
  .mp-window-mode { visibility: hidden; }
  .mp-desktop-story { padding: 3rem 1.35rem 4rem; }
  .mp-desktop-story #user-content-your-markdown-out-of-the-editor + ul,
  .mp-desktop-story #user-content-system-requirements + ul { grid-template-columns: minmax(0, 1fr); }
  .mp-desktop-story #user-content-your-markdown-out-of-the-editor + ul li { min-height: 0; }
  .mp-editorial-page { padding-inline: 0; }
  .mp-editorial-hero { padding: 3rem 1.35rem 2.5rem; }
  .mp-editorial-copy h1 { max-width: none; font-size: clamp(2.65rem, 13vw, 4rem); }
  .mp-editorial-visual { min-height: 18rem; }
  .mp-editorial-story { padding: 3rem 1.35rem 4rem; }
  .mp-editorial-story-rail { display: block; }
  .mp-page-outline { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem 1rem; margin-bottom: 2.5rem; padding: 1rem; border: 1px solid var(--rule); border-radius: 0.4rem; background: #f8f5ef; }
  .mp-page-outline span { grid-column: 1 / -1; }
  .mp-editorial-body .mp-collection,
  .mp-route-support + .mp-editorial-story .mp-editorial-body h2 + ul,
  .mp-route-privacy + .mp-editorial-story .mp-editorial-body h2:first-child + ul,
  .mp-route-contact + .mp-editorial-story .mp-editorial-body > ul,
  .mp-route-about + .mp-editorial-story ol { grid-template-columns: minmax(0, 1fr); }
  .mp-route-about + .mp-editorial-story ol li:last-child { grid-column: auto; }
  .mp-visual-guides { grid-template-columns: minmax(0, 1fr); }
  .mp-guide-source { border-right: 0; border-bottom: 1px solid var(--rule); }
  .mp-visual-compare { grid-template-columns: minmax(0, 1fr); }
  .mp-visual-compare i { display: none; }
  .mp-visual-compare > div { min-height: 9rem; }
  .mp-visual-privacy { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-visual-changelog > span { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .mp-article-page { padding-inline: 0; }
  .mp-article-hero { padding: 2.4rem 1.35rem 2.6rem; }
  .mp-article-copy .mp-breadcrumb { margin-bottom: 1.8rem; }
  .mp-article-copy h1, .mp-article-compare .mp-article-copy h1 { max-width: none; font-size: clamp(2.55rem, 12vw, 3.75rem); }
  .mp-article-meta { gap: 0.4rem; }
  .mp-article-visual { min-height: 19rem; }
  .mp-article-story { padding: 3rem 1.35rem 4rem; }
  .mp-article-story.mp-editorial-story-rail { display: block; }
  .mp-article-story .mp-page-outline { max-height: none; overflow: visible; }
  .mp-article-compare + .mp-article-story :is(#user-content-where-vs-code-is-the-better-choice, #user-content-where-markdownpaper-is-the-better-choice) + ul,
  .mp-article-guides + .mp-article-story #user-content-what-the-file-covers + ul { grid-template-columns: minmax(0, 1fr); }
  .mp-article-body .mp-example-pane + .mp-example-pane { border-top: 1px solid var(--rule); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
