

:root {
  
  --background: #fff;
  --foreground: #17141d;
  --muted: #f3f2f5;
  --muted-foreground: #605b68;
  --border: #dedbe3;
  --company-soft: #d2ccde;
  --publication-lilac: #d8cafa;
  --publication-ink: #150d2b;
  --publication-line: #8c79b0;

  
  --accent: oklch(0.53 0.205 292);
  --accent-foreground: oklch(0.99 0.005 292);
  --ring: oklch(0.53 0.205 292);
  --rebels-ink: #150d2b;
  --thinking-soft: color-mix(in srgb, var(--rebels-ink) 4.5%, white);
  --thinking-field: color-mix(in srgb, var(--rebels-ink) 10%, white);
  
  --lilac-accent-text: #56358d;
  
  --prose: rgb(23 20 29 / 0.8);
  --prose-lead: rgb(23 20 29 / 0.85);
  --prose-faq: rgb(23 20 29 / 0.75);
  --accent-line: color-mix(in srgb, var(--accent) 40%, transparent);

  
  --chart-g1: #c9c4d1;
  --chart-g2: #8f8a99;
  --chart-hatch: #8f8a99;

  
  --font-sans: "Hanken Grotesk Variable", "Hanken Grotesk", system-ui, sans-serif;
  --font-serif: "Newsreader Variable", "Newsreader", Georgia, serif;
  --font-mono: "Geist Mono Variable", "Geist Mono", ui-monospace, monospace;

  
  --rail: min(1200px, calc(100% - 80px));
  --nav-h: 81px;
  --toc-w: 220px;
  --toc-gap: 56px;
  --measure: 62ch;
  --fig-w: 720px;
  --radius: 0.75rem;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-toc: 1;
  --z-peak: 3;
  --z-nav: 50;
}

@media (max-width: 900px) { :root { --rail: calc(100% - 48px); } }
@media (max-width: 640px) { :root { --rail: calc(100% - 36px); --nav-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }


:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 2px; }
.editorial-page a:focus-visible { outline-offset: 5px; }

.rail { width: var(--rail); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


@media print {
  html, body { background: #fff; color: #111; }
  .site-nav, .site-footer, .toc, [data-print-hide] { display: none; }
}
