/* Generated from design/presets/paper-serif.json — do not edit by hand. */
:root {
  --font-body-atkinson: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body-lora: "Lora", Georgia, serif;
  --base-size: 1.0625rem;
  --lh-body: 1.6;
  --lh-heading: 1.22;
  --scale: 1.2;
  --heading-weight: 400;
  --tracking-body: 0em;
  --weight-strong: 600;
  --p-space: 1em;
  --heading-top: 1.7em;
  --heading-bottom: 0.7em;
  --caption-size: 0.88em;
  --tree-font-sub: 0.88em;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --code-size-inline: 0.9em;
  --code-size-block: 0.9em;
  --code-lh: 1.6;
  --code-weight: 400;
  --code-tracking: 0em;
  --code-block-pad: 13px;
  --tab-size: 8;
  --inline-code-radius: 6px;
  --measure: 58ch;
  --gutter: 22px;
  --content-top: 22px;
  --list-indent: 1.45em;
  --list-item-space: 0.3em;
  --underline-thickness: 1px;
  --underline-offset: 4px;
  --table-cell-pad: 9px;
  --callout-pad: 16px;
  --figure-radius: 6px;
  --radius-pill: 999px;
  --cp-w-expanded: 272px;
  --cp-w-collapsed: 64px;
  --cp-gap: 34px;
  --cp-pad-left: 18px;
  --cp-pad-right: 14px;
  --logo-big: 96px;
  --logo-small: 34px;
  --ease: 220ms ease;
  --tree-item-pad: 2px;
  --mobile-bar-h: 54px;
  --bg: #1c1a17;
  --text: #f2ede4;
  --muted: #aca394;
  --link: #ece4d6;
  --link-hover: #ffffff;
  --border: #332f29;
  --surface: rgba(235,215,180,0.05);
  --surface-2: rgba(235,215,180,0.08);
  --border-subtle: rgba(235,215,180,0.13);
  --shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 30px rgba(0,0,0,0.35);
  --tree-rail: rgba(240,228,205,0.55);
  --tree-rail-sub: rgba(240,228,205,0.40);
  --selection: rgba(235,220,195,0.20);
  --muted-aa: #aca394;
}
html[data-theme="dark"] {
  --bg: #1c1a17;
  --text: #f2ede4;
  --muted: #aca394;
  --link: #ece4d6;
  --link-hover: #ffffff;
  --border: #332f29;
  --surface: rgba(235,215,180,0.05);
  --surface-2: rgba(235,215,180,0.08);
  --border-subtle: rgba(235,215,180,0.13);
  --shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 30px rgba(0,0,0,0.35);
  --tree-rail: rgba(240,228,205,0.55);
  --tree-rail-sub: rgba(240,228,205,0.40);
  --selection: rgba(235,220,195,0.20);
  --muted-aa: #aca394;
}
html[data-theme="light"] {
  --bg: #faf7f0;
  --text: #241f17;
  --muted: #6b6154;
  --link: #3a3226;
  --link-hover: #1c1710;
  --border: #e8e2d5;
  --surface: rgba(90,70,40,0.04);
  --surface-2: rgba(90,70,40,0.065);
  --border-subtle: rgba(90,70,40,0.12);
  --shadow: 0 1px 0 rgba(0,0,0,0.03) inset, 0 8px 24px rgba(60,45,25,0.08);
  --tree-rail: rgba(36,31,23,0.40);
  --tree-rail-sub: rgba(36,31,23,0.30);
  --selection: rgba(36,31,23,0.13);
  --muted-aa: #6b6154;
}
html[data-font="atkinson"] {
  --font-body: var(--font-body-atkinson);
  --base-size: 1.09375rem;
  --measure: 54ch;
}
html[data-font="lora"] {
  --font-body: var(--font-body-lora);
  --base-size: 1.0625rem;
  --measure: 58ch;
}
