/* Shared styling for the Mjudio support pages. Plain CSS, no build step: these
   pages are served straight off GitHub Pages and must render with no network. */
:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #1c1e21;
  --muted: #5b6169;
  --rule: #e2e5ea;
  --accent: #5b4bd6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151a;
    --surface: #1d1f26;
    --text: #ecedf0;
    --muted: #a2a8b4;
    --rule: #2c2f38;
    --accent: #9c8cff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 46rem; margin: 0 auto; }
header { padding: 3rem 0 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.brand { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: var(--text); }
.brand span { color: var(--muted); font-weight: 400; }
h1 { font-size: 1.85rem; line-height: 1.25; letter-spacing: -0.02em; margin: 1.5rem 0 0.4rem; }
h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.35rem; }
p, li { color: var(--text); }
.lede { color: var(--muted); font-size: 1.05rem; margin-top: 0; }
.updated { color: var(--muted); font-size: 0.875rem; margin: 0 0 2rem; }
a { color: var(--accent); }
ul { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
code { background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }
pre {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.55;
}
pre code { background: none; padding: 0; font-size: inherit; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.card p:last-child { margin-bottom: 0; }
.card p:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.tablewrap { overflow-x: auto; }
nav.pages { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.6rem; }
nav.pages a { font-size: 0.925rem; }
footer { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--accent); }
