@font-face { font-family: "GT Alpina"; src: url("/assets/gt-alpina-standard-light-97d5e2e6.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Alpina"; src: url("/assets/gt-alpina-standard-regular-6f5b8b08.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Alpina"; src: url("/assets/gt-alpina-standard-regular-italic-ceba50e9.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "GT Alpina"; src: url("/assets/gt-alpina-standard-medium-70c561cf.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Saans"; src: url("/assets/saans-variable-0c5cc431.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Saans Mono"; src: url("/assets/saans-variable-0c5cc431.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; font-variation-settings: "MONO" 100; }

/* the accent is one variable: change --accent here, or set data-accent on .mk (?accent=cobalt also works) */
.mk {
  --accent-green: #1E6B4A;
  --accent-oxblood: #7A2E2E;
  --accent-cobalt: #1F4FB8;
  --accent-ochre: #8A5A12;
  --accent: var(--accent-ochre);
  --accent-hover: color-mix(in oklab, var(--accent), #151513 14%);
  --paper: #F5F5F2;
  --paper-2: #EDEDE9;
  --ink: #151513;
  --ink-2: #4A4A46;
  --ink-3: #6A6A65;
  --rule: #DAD9D4;
  --rule-2: #B8B8B2;
  --card: #FFFFFF;
  --flag: #FFE18A;
  --flag-2: #F5C94A;
  --f-head: "GT Alpina", Georgia, serif;
  --f-prose: "GT Alpina", Georgia, serif;
  --f-ui: "Saans", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Saans Mono", ui-monospace, Menlo, monospace;
  --gutter: max(clamp(20px, 4.4cqw, 64px), calc((100cqw - 1440px) / 2 + 64px));
  container-type: inline-size;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mk[data-accent="green"] { --accent: var(--accent-green); }
.mk[data-accent="oxblood"] { --accent: var(--accent-oxblood); }
.mk[data-accent="cobalt"] { --accent: var(--accent-cobalt); }
.mk[data-accent="ochre"] { --accent: var(--accent-ochre); }

.mk :where(a) { color: var(--accent); text-decoration: none; }
.mk :where(a):hover { color: var(--ink); text-decoration: underline; }
.mk :where(button, input, select, textarea) { font: inherit; color: inherit; }
.mk :is(a, button, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mk :where(p, h1, h2, h3) { margin: 0; }
.mk img { display: block; }

.mk-head { font-family: var(--f-head); font-weight: 400; letter-spacing: -0.018em; line-height: 1.02; text-wrap: balance; }
.mk-prose { font-family: var(--f-prose); font-size: 17.5px; line-height: 1.55; max-width: 34em; }
.mk-mono { font-family: var(--f-mono); }
.mk-h1 { font-weight: 300; font-size: clamp(36px, 4.7cqw, 68px); line-height: 1; letter-spacing: -0.02em; }
.mk-h2 { font-size: clamp(34px, 3.8cqw, 58px); }
.mk-h3 { font-size: clamp(24px, 2cqw, 30px); line-height: 1.12; letter-spacing: -0.01em; }
.mk-lede { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.mk-muted { color: var(--ink-2); }
.mk-quiet { color: var(--ink-3); }
.mk-small { font-size: 14px; line-height: 1.5; }
.mk-tiny { font-size: 12.5px; line-height: 1.5; }
.mk-label { font-size: 13px; font-weight: 600; }
.mk-eyebrow { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mk-ink { color: var(--ink); }
.mk-accent { color: var(--accent); }

.mk-btn, .mk-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 4px; border: 0;
  font-size: 16px; font-weight: 500; white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mk-btn { background: var(--accent); color: #fff; }
.mk-btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.mk-btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--rule-2); }
.mk-btn-ghost:hover { color: var(--ink); text-decoration: none; border-color: var(--ink); }
.mk-btn-sm, .mk-btn-ghost.mk-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.mk-btn-xs, .mk-btn-ghost.mk-btn-xs { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
.mk-btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.mk-btn-ink:hover { background: var(--ink); color: #fff; }
.mk-btn:disabled, .mk-btn-ghost:disabled { opacity: 0.5; cursor: not-allowed; }
:where(.mk-input) { border: 1px solid var(--rule-2); }
.mk-input { flex: 1 1 200px; min-height: 52px; padding: 0 16px; border-radius: 4px; background: var(--card); font-size: 16px; min-width: 0; }
.mk-input::placeholder { color: var(--ink-3); }
.mk-input:hover { border-color: var(--ink-3); }
.mk-input:focus { border-color: var(--ink); outline-offset: 0; outline-width: 1px; }
.mk-form { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-form-feedback { font-size: 14px; line-height: 1.5; }
.mk-form-feedback .text-clay-600 { color: #9A3B1E; }
.mk-form-feedback .text-moss-600 { color: var(--ink-2); }

.mk-section { padding: clamp(56px, 7cqw, 112px) var(--gutter); border-top: 1px solid var(--rule); }
.mk-section-tint { background: var(--paper-2); }
.mk-split { display: flex; flex-wrap: wrap; gap: clamp(28px, 4cqw, 72px); align-items: flex-start; }
.mk-split-center { align-items: center; }
.mk-col-narrow { flex: 1 1 280px; min-width: 0; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.mk-col-checker { max-width: 400px; }
.mk-col-wide { flex: 1.5 1 420px; min-width: 0; max-width: 760px; }
.mk-card { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; }
.mk-table-plan { font-family: var(--f-head); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0; }
.mk-chip-placeholder { display: inline-block; border: 1px dashed var(--rule-2); border-radius: 3px; padding: 2px 6px; }
.mk-chip { font-size: 13px; line-height: 1.4; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }
.mk-row-between { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mk-stack { display: flex; flex-direction: column; }
.mk-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.mk-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* header */
.mk-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
.mk-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); height: 64px; }
.mk-logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.mk-logo:hover { color: var(--ink); text-decoration: none; }
.mk-logo svg { height: 20px; width: auto; }
.mk-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.mk-nav a:not(.mk-btn) { color: var(--ink); }
.mk-nav a.mk-nav-secondary { color: var(--ink-2); }
.mk-nav a:not(.mk-btn):hover { color: var(--ink); text-decoration: underline; }
.mk-nav .mk-btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
.mk-nav .mk-btn:hover { text-decoration: none; }
.mk-dropdown { position: relative; display: flex; align-items: center; }
.mk-dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 0; font-size: 15px; font-weight: inherit; color: var(--ink); cursor: pointer; }
.mk-dropdown-trigger:hover, .mk-dropdown-trigger[aria-expanded="true"] { color: var(--ink); }
.mk-dropdown-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease; }
.mk-dropdown-trigger[aria-expanded="true"] .mk-dropdown-caret { transform: translateY(2px) rotate(225deg); }
.mk-dropdown-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); min-width: 300px; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 24px 60px -30px rgba(21, 21, 19, 0.28); z-index: 41; }
.mk-dropdown-panel.hidden { display: none; }
.mk-dropdown-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mk a.mk-dropdown-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; }
.mk a.mk-dropdown-item:hover, .mk a.mk-dropdown-item:focus-visible { background: var(--paper); color: var(--ink); text-decoration: none; }
.mk-dropdown-name { font-size: 15px; font-weight: 500; }
.mk-dropdown-desc { font-size: 13px; color: var(--ink-3); }
.mk-nav-compact { display: none; align-items: center; gap: 8px; }
.mk-nav-compact .mk-btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
.mk a.mk-btn, .mk a.mk-btn:hover { color: #fff; text-decoration: none; }
.mk-menu-button { min-height: 44px; min-width: 44px; border: 1px solid var(--rule); border-radius: 4px; background: transparent; font-size: 14px; padding: 0 14px; cursor: pointer; }
.mk-menu.hidden { display: none; }
.mk-menu { border-top: 1px solid var(--rule); background: var(--paper); padding: 12px var(--gutter) 20px; display: flex; flex-direction: column; }
.mk-menu a { border-bottom: 1px solid var(--rule); }
.mk-menu a:last-child { border-bottom: 0; }
.mk-menu a:hover { text-decoration: none; color: var(--accent); }
.mk-menu .mk-menu-group { margin: 16px 0 4px; }
.mk-menu a { color: var(--ink); font-size: 17px; padding: 12px 0; }
.mk-menu .mk-menu-secondary { color: var(--ink-2); }
@media (max-width: 1023px) {
  .mk-nav { display: none; }
  .mk-nav-compact { display: flex; }
}
@media (min-width: 1024px) { .mk-menu { display: none; } }

/* hero */
.mk-hero { padding: clamp(56px, 7cqw, 112px) var(--gutter) clamp(48px, 6cqw, 96px); }
.mk-hero-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 4cqw, 64px); align-items: flex-start; }
.mk-hero-copy { flex: 1.15 1 420px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: clamp(22px, 2.4cqw, 34px); }
.mk-hero-eyebrow { font-size: 15px; color: var(--ink-3); }
.mk-hero-sub { font-size: clamp(18px, 1.45cqw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 520px; }
.mk-hero-exhibit { flex: 1 1 400px; min-width: 0; max-width: 640px; }
.mk-exhibit-card { background: var(--card); border: 1px solid var(--rule); padding: clamp(20px, 2.2cqw, 30px); display: flex; flex-direction: column; gap: 12px; }
.mk-exhibit-card-top { border-radius: 8px 8px 0 0; }
.mk-exhibit-card-bottom { border-radius: 0 0 8px 8px; box-shadow: 0 24px 60px -30px rgba(21, 21, 19, 0.22); }
.mk-exhibit-notes { background: var(--paper); border: 1px solid var(--rule); border-top: 0; border-bottom: 0; padding: 16px clamp(20px, 2.2cqw, 30px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* how it works */
.mk-how-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px; align-items: flex-end; margin-bottom: clamp(28px, 3cqw, 48px); }
.mk-how-head .mk-h2 { max-width: 14em; }
.mk-how-aside { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 360px; }
.mk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3cqw, 48px); }
.mk-step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 16px; }
.mk-step-n { font-size: 13px; color: var(--ink-3); }

/* control demo */
.mk-demo { flex: 1.4 1 400px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 10px; }
.mk-demo-card { overflow: hidden; }
.mk-demo-body { display: flex; flex-wrap: wrap; }
.mk-demo-photo { flex: 1 1 180px; min-width: 0; aspect-ratio: 1; background: repeating-linear-gradient(135deg, #EDEDE9 0 8px, #E4E4E0 8px 16px); display: flex; align-items: flex-end; padding: 12px; }
.mk-demo-photo span { font-size: 11px; color: var(--ink-3); background: rgba(255, 255, 255, 0.85); padding: 3px 7px; border-radius: 3px; }
.mk-demo-listing { flex: 1.6 1 260px; min-width: 0; padding: clamp(18px, 2cqw, 28px); display: flex; flex-direction: column; gap: 12px; }
.mk-demo-title { font-family: var(--f-head); font-weight: 400; font-size: 24px; line-height: 1.1; }
.mk-demo-copy { font-family: var(--f-prose); font-size: 16.5px; line-height: 1.5; max-width: 34em; }
.mk-demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-top: 1px solid var(--rule); background: var(--paper); }
.mk-demo-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* writing checker */
.mk-checker { font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 6px; display: flex; flex-direction: column; width: 100%; box-sizing: border-box; }
.mk-checker-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 18px 12px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.mk-checker-title { font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11.5px; }
.mk-checker-tag { font-size: 11px; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 3px; padding: 0 6px; line-height: 18px; white-space: nowrap; }
.mk-checker-count { font-weight: 500; display: flex; align-items: baseline; gap: 8px; margin-left: auto; white-space: nowrap; }
.mk-checker-count b { font-size: 22px; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.mk-checker-count span { color: var(--ink-2); }
.mk-checker-label { display: block; padding: 12px 18px 0; font-size: 11.5px; color: var(--ink-2); letter-spacing: 0.02em; }
.mk-checker-field { position: relative; margin: 8px 18px 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); }
.mk-checker-mirror, .mk-checker-textarea { box-sizing: border-box; padding: 14px 16px; font: inherit; font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.mk-checker-mirror { position: relative; min-height: 188px; color: var(--ink); pointer-events: none; }
.mk-checker-mirror mark { background: var(--flag); box-shadow: inset 0 -2px var(--flag-2); border-radius: 2px; color: inherit; transition: background 0.18s; }
.mk-checker-mirror mark.is-active { background: var(--flag-2); box-shadow: inset 0 -2px var(--ink); }
.mk-checker-textarea { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; border: 0; resize: none; background: transparent; color: transparent; -webkit-text-fill-color: transparent; caret-color: var(--ink); outline-offset: -2px; overflow: hidden; }
.mk-checker-textarea::placeholder { color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
.mk-checker-tools { display: flex; gap: 8px; padding: 10px 18px 0; flex-wrap: wrap; align-items: center; }
.mk-checker-tools .mk-checker-note { margin-left: auto; font-size: 11px; color: var(--ink-3); }
.mk-checker-status { margin: 14px 18px 0; font-size: 13px; line-height: 1.5; }
.mk-checker-status span { color: var(--ink-2); }
.mk-checker-list { list-style: none; margin: 12px 18px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mk-checker-list[hidden] { display: none; }
.mk-checker-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); font-size: 12.5px; line-height: 1.5; cursor: pointer; min-height: 44px; }
.mk-checker-row { transition: border-color 0.15s ease, background-color 0.15s ease; }
.mk-checker-row:hover { border-color: var(--rule-2); }
.mk-checker-row[aria-pressed="true"] { border-color: var(--ink); background: var(--paper); }
.mk-checker-row .n { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mk-checker-row .rule { font-weight: 500; }
.mk-checker-row .quote { background: var(--flag); border-radius: 2px; padding: 0 3px; }
.mk-checker-row .reason { display: block; color: var(--ink-2); }
.mk-checker-more { min-height: 40px; width: 100%; padding: 0 12px; border: 1px dashed var(--rule); border-radius: 4px; background: transparent; font-size: 12.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; text-align: left; }
.mk-checker-rules { margin: 16px 18px 0; border-top: 1px solid var(--rule); padding-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 18px; font-size: 11.5px; line-height: 1.6; }
.mk-checker-rules div { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-3); }
.mk-checker-rules div.is-hit { color: var(--ink); }
.mk-checker-rules b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mk-checker-foot { margin: 12px 18px 16px; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); }
.mk-checker-foot a { font-weight: 500; }
@media (min-width: 1024px) { .mk-checker-more.mk-desktop-hidden { display: none; } }

/* scan */
.mk-scan-copy { flex: 1.4 1 400px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.mk-scan-copy .mk-lede { max-width: 540px; }
.mk-stats { flex: 1 1 240px; min-width: 0; max-width: 360px; display: flex; flex-direction: column; gap: 20px; border-left: 1px solid var(--rule); padding-left: clamp(20px, 2.5cqw, 40px); }
.mk-stat { display: block; font-family: var(--f-head); font-size: clamp(40px, 3.6cqw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.mk-stat + span { font-size: 15px; color: var(--ink-2); }

/* footer */
.mk-footer { padding: clamp(40px, 4.5cqw, 64px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 40px; font-size: 14.5px; border-top: 1px solid var(--rule); }
.mk-footer-cols { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.mk-footer-brand { flex: 1 1 220px; min-width: 0; }
.mk-footer-brand svg { height: 22px; width: auto; }
.mk-footer-brand p { margin-top: 12px; color: var(--ink-2); max-width: 280px; }
.mk-footer-col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; }
.mk-footer-col .mk-eyebrow { margin-bottom: 4px; }
.mk-footer-col a { color: var(--ink); }
@media (max-width: 899px) {
  .mk-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 32px; }
  .mk-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .mk-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mk-footer-fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--rule); padding-top: 20px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.mk-footer-fine span:first-child { max-width: 720px; }
.mk-footer-legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mk-footer-legal a { color: var(--ink-3); display: flex; align-items: center; min-height: 44px; }
.mk-footer-col a { display: flex; align-items: center; min-height: 36px; }

@media (prefers-reduced-motion: reduce) { .mk * { transition: none !important; } }

/* larger screens: nothing below 1800px changes; above it the room comes from gutters and air, type only nudges */
@media (min-width: 1800px) {
  .mk { --gutter: max(64px, calc((100cqw - 1680px) / 2 + 80px)); font-size: 17px; }
  .mk-h1 { font-size: clamp(68px, 4cqw, 78px); }
  .mk-h2 { font-size: clamp(58px, 3.2cqw, 64px); }
  .mk-h3 { font-size: clamp(30px, 1.7cqw, 32px); }
  .mk-lede { font-size: 18px; }
  .mk-prose { font-size: 18.5px; }
  .mk-hero { padding-top: 128px; padding-bottom: 104px; }
  .mk-section { padding-top: 128px; padding-bottom: 128px; }
  .mk-hero-grid { gap: 80px; }
  .mk-split { gap: 80px; }
  .mk-hero-copy { max-width: 800px; }
  .mk-hero-sub { font-size: 22px; max-width: 600px; }
  .mk-hero-exhibit { max-width: 720px; }
  .mk-how-aside { max-width: 420px; font-size: 16px; }
  .mk-col-narrow { max-width: 480px; }
  .mk-col-checker { max-width: 460px; }
  .mk-col-wide { max-width: 880px; }
  .mk-demo { max-width: 760px; }
  .mk-demo-copy { font-size: 17.5px; }
  .mk-scan-copy { max-width: 760px; }
  .mk-scan-copy .mk-lede { max-width: 600px; }
  .mk-stats { max-width: 400px; }
  .mk-stat { font-size: clamp(56px, 3.2cqw, 64px); }
  .mk-checker { font-size: 13.5px; }
  .mk-header-bar { height: 68px; }
  .mk-logo svg { height: 21px; }
  .mk-nav { gap: 32px; }
}
@media (min-width: 2400px) {
  .mk { --gutter: max(96px, calc((100cqw - 1840px) / 2 + 96px)); }
  .mk-h1 { font-size: clamp(78px, 3.4cqw, 84px); }
  .mk-h2 { font-size: clamp(64px, 2.8cqw, 68px); }
  .mk-hero { padding-top: 152px; padding-bottom: 128px; }
  .mk-section { padding-top: 152px; padding-bottom: 152px; }
  .mk-hero-grid { gap: 112px; }
  .mk-split { gap: 112px; }
  .mk-hero-copy { max-width: 880px; }
  .mk-hero-exhibit { max-width: 760px; }
  .mk-col-narrow { max-width: 540px; }
  .mk-col-checker { max-width: 540px; }
  .mk-col-wide { max-width: 940px; }
  .mk-demo { max-width: 820px; }
  .mk-scan-copy { max-width: 820px; }
  .mk-stats { max-width: 440px; }
  .mk-header-bar { height: 72px; }
}

/* system */
.mk-h1-page { font-size: clamp(36px, 4cqw, 58px); line-height: 1.02; letter-spacing: -0.018em; }
.mk-article h1 { font-size: clamp(34px, 3.4cqw, 46px); line-height: 1.05; letter-spacing: -0.015em; }
.mk-h1-utility { font-size: clamp(30px, 3cqw, 42px); line-height: 1.04; letter-spacing: -0.015em; }
.mk-eyebrow-page { font-size: 15px; color: var(--ink-3); }
.mk-eyebrow-section { font-size: 13px; color: var(--ink-3); }

.mk-page-header { max-width: 720px; }
.mk-page-header .mk-eyebrow-page + h1 { margin-top: 8px; }
.mk-page-header-lede { margin-top: 20px; font-size: clamp(18px, 1.45cqw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 520px; }
.mk-page-header-actions { margin-top: clamp(22px, 2.4cqw, 34px); display: flex; flex-wrap: wrap; gap: 8px; }

.mk-article { max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.mk-article h1 { font-family: var(--f-head); font-weight: 400; margin: 0 0 20px; text-wrap: balance; }
.mk-article h2 { font-family: var(--f-head); font-weight: 400; font-size: 30px; line-height: 1.12; margin: 40px 0 12px; text-wrap: balance; }
.mk-article h3 { font-family: var(--f-head); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 32px 0 10px; text-wrap: balance; }
.mk-article-lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 0 0 20px; }
.mk-article p { margin: 0 0 16px; }
.mk-article ul, .mk-article ol { list-style: revert; }
.mk-article ul, .mk-article ol { margin: 0 0 16px; padding-left: 22px; }
.mk-article li { margin-bottom: 6px; }
.mk-article li:last-child { margin-bottom: 0; }
.mk-article blockquote { margin: 24px 0; padding: 0 0 0 20px; border-left: 2px solid var(--ink); font-family: var(--f-prose); font-size: 19px; line-height: 1.5; }
.mk-article blockquote p { margin: 0; }
.mk-article blockquote footer { margin-top: 8px; font-family: var(--f-ui); font-size: 13px; color: var(--ink-3); }
.mk-article figure { margin: 24px 0; }
.mk-article figure img { width: 100%; border: 1px solid var(--rule); border-radius: 8px; }
.mk-article figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.mk-article table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; }
.mk-article th { padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.mk-article td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.mk-article :is(th, td):first-child { padding-left: 0; }
.mk-article :is(th, td):last-child { padding-right: 0; }
.mk-article code { font-family: var(--f-mono); font-size: 0.9em; }
.mk-article pre code { font-size: inherit; }
.mk-article .mk-callout, .mk-article .mk-code { margin: 24px 0; }
.mk-article > :first-child { margin-top: 0; }
.mk-article > :last-child { margin-bottom: 0; }

.mk-code { --code-rule: #33332F; --code-quiet: #8A8A85; border: 1px solid var(--code-rule); border-radius: 8px; overflow: hidden; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 13.5px; line-height: 1.6; }
.mk-code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--code-rule); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--code-quiet); }
.mk-code-copy { margin-left: auto; min-height: 28px; padding: 0 10px; border: 1px solid var(--ink-2); border-radius: 4px; background: transparent; color: var(--paper); font: inherit; cursor: pointer; }
.mk-code-copy:hover { border-color: var(--paper); }
.mk-code-copy:disabled { cursor: default; }
.mk-code pre { margin: 0; padding: 16px; overflow: auto; font: inherit; }

.mk-callout { padding: 16px 20px; border-left: 2px solid var(--accent); background: var(--paper-2); border-radius: 0 4px 4px 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mk-callout strong { font-weight: 600; color: var(--ink); }

.mk-flash { display: flex; justify-content: space-between; gap: 16px; max-width: 760px; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 4px; background: var(--card); font-size: 15px; line-height: 1.5; }
.mk-flash[data-tone="success"], .mk-flash[data-tone="notice"] { border-color: var(--accent); }
.mk-flash[hidden] { display: none; }
.mk-flash-dismiss { min-width: 44px; padding: 0; border: 0; background: transparent; font: inherit; color: var(--ink-3); cursor: pointer; }
.mk-flash-dismiss:hover { color: var(--ink); }

.mk-prevnext { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 15px; }
.mk-prevnext a { color: var(--ink); }
.mk-prevnext a span { display: block; font-size: 12.5px; color: var(--ink-3); }
.mk-prevnext-next { margin-left: auto; text-align: right; }

.mk-toc { display: flex; flex-direction: column; font-size: 13.5px; }
.mk-toc-heading { margin-bottom: 8px; }
.mk-toc-list { display: flex; flex-direction: column; gap: 2px; }
.mk-toc-link { padding: 6px 10px; color: var(--ink-2); border-left: 2px solid var(--rule); }
.mk-toc-link:hover { color: var(--ink); }
.mk-toc-link[aria-current] { color: var(--ink); font-weight: 500; border-color: var(--ink); }
.mk-toc-toggle { display: none; }

.mk-sidebar { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.mk-sidebar-heading { margin: 24px 0 8px; }
.mk-sidebar-heading:first-child { margin-top: 0; }
.mk-sidebar-link { padding: 8px 10px; border-radius: 4px; color: var(--ink-2); }
.mk-sidebar-link:hover { color: var(--ink); }
.mk-sidebar-link[aria-current="page"] { background: var(--paper-2); color: var(--ink); font-weight: 500; }

/* sticky under the 64px header, so top is System's 24px plus the header */
@media (min-width: 900px) { .mk-toc, .mk-sidebar { width: 240px; flex: none; position: sticky; top: 88px; } }
@media (max-width: 899px) {
  .mk-toc-heading { display: none; }
  .mk-toc-toggle { display: inline-flex; align-items: center; align-self: flex-start; }
  .mk-toc-list { margin-top: 8px; }
  .mk-toc-list.hidden { display: none; }
}

.mk-compare { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; overflow-x: auto; overflow-y: hidden; font-size: 15px; }
.mk-compare-table { width: 100%; border-collapse: collapse; }
.mk-compare-table th, .mk-compare-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.mk-compare-table thead th { padding: 16px 20px; font-family: var(--f-head); font-weight: 400; font-size: 24px; line-height: 1.15; }
.mk-compare-table thead th:first-child { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mk-compare-table tbody th { font-weight: 400; color: var(--ink-2); }
.mk-compare-table td { font-variant-numeric: tabular-nums; }
.mk-compare-table tbody tr:first-child :is(th, td) { font-weight: 500; color: var(--ink); }
.mk-compare-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.mk-compare-stack { display: none; }
@media (max-width: 1079px) {
  .mk-compare-table { display: none; }
  .mk-compare-stack { display: block; }
  .mk-compare-plan .mk-table-plan { padding: 16px 20px; border-bottom: 1px solid var(--rule); }
  .mk-compare-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
  .mk-compare-row span:first-child { color: var(--ink-2); }
  .mk-compare-row span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
  .mk-compare-row:first-of-type span { font-weight: 500; color: var(--ink); }
  .mk-compare-plan:last-child .mk-compare-row:last-child { border-bottom: 0; }
}
