/* mpckit.monoexp.com — one stylesheet, no framework.
   Based on monoexp.com's; the amber accent is the app's. */

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5f5f5a;
  --border: #e4e4e0;
  --accent: #1c1c1a;
  --tag-bg: #f0f0ed;
  --focus: #2f6fdb;
  --amber: #b86e00;
  --amber-bg: #fdf1dc;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --max: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1a1a19;
    --text: #ececea;
    --muted: #a3a39e;
    --border: #2c2c2a;
    --accent: #ececea;
    --tag-bg: #252524;
    --focus: #7aa7f5;
    --amber: #f5a524;
    --amber-bg: #2e2412;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  font: 600 18px/1 var(--mono);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark span { color: var(--amber); }
nav { display: flex; gap: 20px; }
nav a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
nav a:hover { color: var(--text); }

/* About */
.about { padding: 56px 0 40px; }
.about h1 { font-family: var(--mono); }
.about h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.about p { margin: 0 0 14px; color: var(--muted); max-width: 62ch; }
.about .lede { font-size: 20px; color: var(--text); }

/* Hero extras */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  font: 13px/1 var(--mono);
  color: var(--muted);
}
.badge {
  font: 600 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: var(--amber-bg);
  padding: 5px 8px;
  border-radius: 6px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}
.button:hover { opacity: 0.85; }
.button.secondary { background: transparent; color: var(--text); border-color: var(--border); }
.button.secondary:hover { opacity: 1; border-color: var(--accent); }

/* Screenshot */
.shot {
  margin: 0 0 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.shot img { display: block; width: 100%; height: auto; background: #15171a; }
.shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
#features .shot { margin: 16px 0 0; }

/* Sections */
main section:not(.about) { padding-bottom: 48px; scroll-margin-top: 16px; }
.section-title {
  margin: 0 0 16px;
  font: 600 13px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.note { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }
.note strong { color: var(--text); }
.small { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
#disclaimer .small { margin-top: 0; max-width: 62ch; }
code {
  font: 0.88em var(--mono);
  background: var(--tag-bg);
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card.wide { grid-column: 1 / -1; }
.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card-head h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card strong { color: var(--text); font-weight: 600; }
.tag {
  flex-shrink: 0;
  font: 12px/1 var(--mono);
  color: var(--muted);
  background: var(--tag-bg);
  padding: 5px 8px;
  border-radius: 6px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.site-footer p { margin: 0; padding: 24px 0 32px; font-size: 14px; color: var(--muted); }
