/* Same tokens as the app (web/styles.css). */
:root {
  color-scheme: dark;
  --bg: #1d1108;
  --surface: #2a1d14;
  --fill: #35271d;
  --line: #574336;
  --text-3: #dec1b0;
  --text: #f7decf;
  --accent: #ffb786;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
.wrap {
  width: min(100% - 2.5rem, 52rem);
  margin: 0 auto;
  padding-block: 2.5rem 4rem;
  display: grid;
  gap: 1.5rem;
}
h1,
h2,
p,
ol,
pre {
  margin: 0;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
header img {
  image-rendering: pixelated;
}
header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  flex: 1;
}
header a {
  font-size: 0.875rem;
}
.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  text-wrap: pretty;
}
h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1rem;
}
p,
li {
  color: var(--text-3);
}
li + li {
  margin-top: 0.5rem;
}
ol {
  padding-left: 1.25rem;
}
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--fill);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  color: var(--text);
}
pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  overflow-x: auto;
  font: 0.875rem / 1.6 var(--mono);
}
pre code {
  background: none;
  padding: 0;
}
.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 0.875rem;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
footer a {
  color: var(--text-3);
}
