/* Monochrome Studio AI — shared design system.
   No inline styles are used anywhere (strict CSP), so every visual rule lives here. */

:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #5f6368;
  --subtle: #8a8f98;
  --line: #e4e4e1;
  --line-strong: #cfcfca;
  --paper: #ffffff;
  --canvas: #f6f6f3;
  --canvas-2: #efefeb;
  --accent: #111111;
  --accent-ink: #ffffff;
  --focus: #2f6fed;
  --success: #1f7a4a;
  --success-bg: #e8f5ee;
  --warning: #8a5a00;
  --warning-bg: #fdf3dc;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --info: #1d4f91;
  --info-bg: #e8f0fb;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 16px rgba(0, 0, 0, .04);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--canvas); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--ink-2); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .88em; }
pre { background: var(--canvas-2); padding: 12px; border-radius: var(--radius-sm); overflow: auto; white-space: pre-wrap; word-break: break-word; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- utilities */
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .78rem; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-sidebar { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.hidden { display: none !important; }
.inline { display: inline; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--canvas-2); color: var(--ink); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: #2d2d2d; color: var(--accent-ink); }
.btn-danger { color: var(--danger); border-color: #f1c4bf; }
.btn-danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { padding: 5px 10px; font-size: .82rem; }
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- forms */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field .help { color: var(--muted); font-size: .82rem; margin-top: 4px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=file], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); font: inherit; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
textarea.code { font-family: var(--mono); font-size: .85rem; min-height: 220px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(47, 111, 237, .18); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 16px; }
legend { font-weight: 700; padding: 0 6px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px; background: var(--paper); cursor: pointer; }
.choice input { position: absolute; top: 12px; right: 12px; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.choice img { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; background: #fff; }
.choice strong { display: block; padding-right: 22px; }

/* ---------- cards, alerts, badges */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-header h2, .card-header h3 { margin: 0; }
.card-flush { padding: 0; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; border: 1px solid transparent; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #c4e5d3; }
.alert-error, .alert-danger { background: var(--danger-bg); color: var(--danger); border-color: #f4c7c2; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-color: #f1dcaa; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #c7d8f2; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; background: var(--canvas-2); color: var(--ink-2); white-space: nowrap; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: var(--canvas-2); color: var(--muted); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); }
.empty .btn { margin-top: 8px; }
[data-tip] { position: relative; border-bottom: 1px dotted var(--subtle); cursor: help; }
[data-tip]:hover::after, [data-tip]:focus::after { content: attr(data-tip); position: absolute; left: 0; top: 100%; margin-top: 6px; z-index: 30; width: max-content; max-width: 280px; background: var(--ink); color: #fff; padding: 6px 9px; border-radius: 6px; font-size: .78rem; font-weight: 400; line-height: 1.4; }

/* ---------- tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; background: #fafaf8; }
.table tr:last-child td { border-bottom: 0; }
.table td.actions { white-space: nowrap; text-align: right; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.filters .field { margin: 0; min-width: 160px; }
.pagination { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 14px; font-size: .88rem; }

/* ---------- stats */
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat .stat-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.stat .stat-value { font-size: 1.7rem; font-weight: 750; margin-top: 4px; }
.stat .stat-note { font-size: .8rem; color: var(--muted); }

/* ---------- thumbnails */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.thumb { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.thumb .thumb-img { aspect-ratio: 8.5 / 11; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); padding: 8px; }
.thumb .thumb-img img { max-height: 100%; object-fit: contain; }
.thumb .thumb-body { padding: 10px; font-size: .84rem; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.thumb .thumb-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.thumb.is-dragging { opacity: .4; }
.thumb .thumb-select { display: flex; gap: 6px; align-items: center; font-size: .8rem; }
.placeholder-page { color: var(--subtle); font-size: .8rem; text-align: center; padding: 10px; }

/* ---------- quality report */
.qc-list { list-style: none; margin: 0; padding: 0; }
.qc-list li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.qc-list li:last-child { border-bottom: 0; }
.qc-value { color: var(--muted); font-size: .8rem; }
.editor-canvas { background: repeating-conic-gradient(#f1f1ee 0 25%, #fafaf8 0 50%) 0 0 / 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; justify-content: center; }
.editor-canvas img { max-height: 70vh; background: #fff; box-shadow: var(--shadow); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare figure { margin: 0; }
.compare figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; text-align: center; }
.compare img { border: 1px solid var(--line); background: #fff; }
progress { width: 100%; height: 8px; accent-color: var(--ink); }
.meter-inline { width: 120px; }

/* ---------- book preview */
.book-spread { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.book-page { background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow); aspect-ratio: 8.5 / 11; display: flex; align-items: center; justify-content: center; padding: 6%; position: relative; text-align: center; overflow: hidden; }
.book-page.is-landscape { aspect-ratio: 11 / 8.5; }
.book-page.is-a4 { aspect-ratio: 210 / 297; }
.book-page.is-a4.is-landscape { aspect-ratio: 297 / 210; }
.book-page img { max-height: 100%; object-fit: contain; }
.book-page .page-no { position: absolute; bottom: 4px; left: 0; right: 0; font-size: .7rem; color: var(--muted); }
.book-page .page-title { font-family: var(--font-display); font-size: 1.1rem; }
.book-page .page-small { font-size: .62rem; color: var(--ink-2); white-space: pre-line; }
.book-page.is-blank { color: var(--subtle); font-size: .75rem; }

/* ---------- app shell */
.shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--paper); border-right: 1px solid var(--line); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: flex; gap: 10px; align-items: center; font-weight: 800; padding: 4px 10px 18px; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); font-weight: 700; padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.nav a:hover { background: var(--canvas); }
.nav a.is-active { background: var(--ink); color: #fff; }
.nav a .lock { font-size: .7rem; color: var(--subtle); }
.main { padding: 28px 32px 60px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.topbar h1 { margin: 0; }
.topbar .crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.topbar .crumbs a { color: var(--muted); }
.user-chip { display: flex; gap: 10px; align-items: center; font-size: .85rem; padding: 12px 10px; border-top: 1px solid var(--line); margin-top: 18px; }
.mobile-bar { display: none; }
.promo { background: var(--ink); color: #fff; padding: 10px 16px; font-size: .88rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.promo a { color: #fff; font-weight: 700; }
.admin-shell .sidebar { background: #161616; border-right-color: #161616; }
.admin-shell .sidebar .brand, .admin-shell .nav a { color: #e9e9e6; }
.admin-shell .nav a:hover { background: #262626; }
.admin-shell .nav a.is-active { background: #fff; color: #111; }
.admin-shell .nav-section { color: #8b8b86; }
.admin-shell .user-chip { border-top-color: #2a2a2a; color: #e9e9e6; }
.admin-shell .user-chip a, .admin-shell .user-chip .link-btn { color: #e9e9e6; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 30% 0 0; z-index: 40; transform: translateX(-105%); transition: transform .18s; height: 100%; box-shadow: var(--shadow); }
  .sidebar.is-open { transform: translateX(0); }
  .mobile-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .main { padding: 20px 16px 48px; }
}

/* ---------- auth */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--canvas); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { display: flex; gap: 10px; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px; text-decoration: none; }

/* ---------- marketing site */
.mk { background: #fbfaf7; }
.mk-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mk-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.mk-header .mk-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.mk-brand { display: flex; gap: 10px; align-items: center; font-weight: 800; text-decoration: none; font-size: 1.02rem; letter-spacing: -.01em; }
.mk-nav { display: flex; gap: 22px; align-items: center; }
.mk-nav a { text-decoration: none; font-size: .93rem; color: var(--ink-2); }
.mk-nav a:hover { color: var(--ink); text-decoration: underline; }
.mk-menu-toggle { display: none; }
@media (max-width: 820px) {
  .mk-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fbfaf7; flex-direction: column; align-items: flex-start; padding: 16px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .mk-nav.is-open { display: flex; }
  .mk-menu-toggle { display: inline-flex; }
}
.mk-hero { padding: 84px 0 64px; }
.mk-hero .mk-container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.mk-eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.mk-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; font-weight: 600; }
.mk-lead { font-size: 1.14rem; color: var(--ink-2); max-width: 36em; }
.mk-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.mk-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.mk-demo { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .08); overflow: hidden; }
.mk-demo-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafaf8; align-items: center; }
.mk-demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.mk-demo-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); }
.mk-demo-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
.mk-demo-page { aspect-ratio: 8.5 / 11; border: 1px solid var(--line); background: #fff; padding: 10px; display: flex; align-items: center; justify-content: center; }
.mk-demo-report { grid-column: 1 / -1; font-size: .78rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-demo-report div { background: #fafaf8; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.mk-section { padding: 72px 0; }
.mk-section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mk-section h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.015em; }
.mk-section-head { max-width: 700px; margin-bottom: 36px; }
.mk-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mk-step { border-top: 2px solid var(--ink); padding-top: 16px; }
.mk-step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .8rem; color: var(--muted); display: block; margin-bottom: 8px; }
.mk-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mk-gallery figure { margin: 0; }
.mk-gallery .mk-sheet { background: #fff; border: 1px solid var(--line); aspect-ratio: 8.5 / 11; padding: 14px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.mk-gallery figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.mk-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mk-feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mk-feature h3 { font-size: 1rem; }
.mk-feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.mk-list { padding-left: 20px; }
.mk-list li { margin-bottom: 6px; }
.mk-check { list-style: none; padding: 0; margin: 0; }
.mk-check li { padding-left: 26px; position: relative; margin-bottom: 9px; }
.mk-check li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.mk-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mk-price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mk-price-card.is-base { border: 2px solid var(--ink); }
.mk-price { font-size: 1.8rem; font-weight: 750; }
.mk-price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.mk-price-card .btn { margin-top: auto; }
.mk-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.mk-faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mk-faq summary::after { content: "+"; font-weight: 400; }
.mk-faq details[open] summary::after { content: "–"; }
.mk-faq details p { margin: 10px 0 0; color: var(--ink-2); white-space: pre-line; }
.mk-problem { font-size: 1.12rem; border-left: 3px solid var(--ink); padding-left: 18px; color: var(--ink-2); }
.mk-callout { background: var(--canvas-2); border-radius: var(--radius); padding: 18px 20px; font-size: .92rem; }
.mk-legal { max-width: 760px; }
.mk-legal p { white-space: pre-line; }
.mk-footer { border-top: 1px solid var(--line); padding: 44px 0; font-size: .88rem; color: var(--muted); background: var(--paper); }
.mk-footer .mk-container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mk-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.mk-footer a { color: var(--muted); }
.mk-final { text-align: center; }
.mk-final .mk-cta-row { justify-content: center; }
@media (max-width: 900px) {
  .mk-hero .mk-container { grid-template-columns: 1fr; }
  .mk-steps, .mk-gallery { grid-template-columns: repeat(2, 1fr); }
  .mk-features, .mk-pricing { grid-template-columns: 1fr; }
}

/* ---------- error pages */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.error-page .code { font-family: var(--font-display); font-size: 4rem; line-height: 1; }
.mk-nav a.btn-primary, .mk-nav a.btn-primary:hover { color: #fff; text-decoration: none; }
.mk-nav a.btn { text-decoration: none; }
.mk-cta-row .small.muted { margin: 0; }
.stat .stat-value.small { font-size: 1.05rem; line-height: 1.35; }
a.stat { text-decoration: none; color: inherit; display: block; } a.stat:hover { border-color: var(--line-strong); }
