/* FILE OWNERSHIP: app-owned (src/** is in _skip_if_exists). Replace freely. */

:root {
  color-scheme: light dark;
  --fg: #1a1a1a;
  --bg: #fdfdfc;
  --muted: #6b6b6b;
  --accent: #1f6feb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e8e6;
    --bg: #16181a;
    --muted: #9a9a97;
    --accent: #6ea8ff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 3rem 1.5rem;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
}

main {
  max-width: 42rem;
  margin: 0 auto;
}

h1 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: color-mix(in srgb, var(--fg) 8%, transparent);
}

a {
  color: var(--accent);
}

.status {
  font-variant-numeric: tabular-nums;
}

.status[data-state="ok"] {
  color: #1a7f37;
}

.status[data-state="error"] {
  color: #cf222e;
}
