/* The one stylesheet of fab0.dev (stage 14 spec R14.23). It loads nothing: no font, no image, no import. */

:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #5b5b61;
  --background: #ffffff;
  --rule: #d9d9de;
  --stripe: #f5f5f7;
  --link: #0a58ca;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececef;
    --muted: #a6a6ad;
    --background: #141416;
    --rule: #3a3a40;
    --stripe: #1d1d21;
    --link: #8ab4ff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2rem 1rem 4rem;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

header,
main {
  max-width: 52rem;
  margin: 0 auto;
}

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

.site {
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.site a {
  color: var(--text);
  text-decoration: none;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 1.3rem;
  line-height: 1.3;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  padding: 0.75rem 1rem;
  background: var(--stripe);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin: 0.4rem 0;
}

table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--stripe);
}

tbody tr:nth-child(even) {
  background: var(--stripe);
}
