/* Blocking styles for the crawlable story and the space the app fills in. */
:root {
  --bg: #f5f2ff;
  --surface: #ffffff;
  --fg: #1b1340;
  --muted: #5d5683;
  --line: #d9d3f2;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #130e2b;
    --surface: #1e1745;
    --fg: #f3f0ff;
    --muted: #b4acdc;
    --line: #3a3170;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #130e2b;
  --surface: #1e1745;
  --fg: #f3f0ff;
  --muted: #b4acdc;
  --line: #3a3170;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}
#app {
  min-height: 100dvh;
}
.story {
  max-width: 1180px;
  margin: 28px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 8px;
}
.story h1,
.story h2,
.story h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-wrap: balance;
}
.story h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 10px;
}
.story h2 {
  font-size: 1.35rem;
  margin: 26px 0 8px;
}
.story h3 {
  font-size: 1.05rem;
  margin: 16px 0 4px;
}
.story p,
.story li {
  color: var(--muted);
  max-width: 68ch;
}
.story .lede {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.story ol {
  margin: 0;
  padding-left: 1.25rem;
}
.story li {
  margin: 6px 0;
}
.story li::marker {
  color: var(--fg);
  font-weight: 700;
}
.story a {
  color: var(--fg);
  font-weight: 700;
}
.story-links {
  margin: 22px 0 14px;
}
