/* MoonBite Trust — plain, fast, accessible. Dark mode by default (CLAUDE.md 2).
   System fonts only; no web fonts, no CDNs, no third-party requests. */
:root {
  --bg: #0e0f13;
  --panel: #171920;
  --border: #2a2d38;
  --fg: #e8e9ee;
  --muted: #9aa0b0;
  --accent: #d9a441;      /* Moongold (brand reserve) */
  --ok: #4caf7d;
  --bad: #d9534f;
  --radius: 10px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7f9; --panel: #ffffff; --border: #dcdee6;
    --fg: #16181d; --muted: #5b6072;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
header.site, footer.site { max-width: 820px; margin: 0 auto; padding: 16px; }
header.site { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
header.site img { height: 28px; width: auto; }
header.site nav { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--fg); }
main { max-width: 820px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 1.7rem; line-height: 1.2; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
.beta { display: inline-block; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 10px; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.drop { border: 2px dashed var(--border); border-radius: var(--radius); padding: 40px 20px; text-align: center;
  color: var(--muted); cursor: pointer; }
.drop.hot { border-color: var(--accent); color: var(--fg); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; word-break: break-all; }
ul.files { list-style: none; padding: 0; }
ul.files li { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin: 10px 0; }
.status { font-size: 0.85rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); }
.status.ok { color: var(--ok); border-color: var(--ok); }
.status.bad { color: var(--bad); border-color: var(--bad); }
.result { font-size: 1.1rem; font-weight: 600; }
.result.ok { color: var(--ok); }
.result.bad { color: var(--bad); }
button, input[type=file]::file-selector-button {
  background: var(--accent); color: #1a1205; border: none; border-radius: var(--radius);
  padding: 10px 16px; font-weight: 600; cursor: pointer;
}
button:focus-visible, a:focus-visible, .drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
