@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap");
/* Toledo for Zensical — generated from tokens.json + components/bundle.css. Edit those, not this. */
/* ── Tokens (from tokens.json) ── */
:root, [data-theme="light"] {
  --paper: #fafaf8;
  --surface: #ffffff;
  --sunken: #f0f0ec;
  --plate: #f0f0ec;
  --line: #e3e3de;
  --line-strong: #8c8c85;
  --ink: #151515;
  --ink-2: #45453f;
  --ink-3: #6a6a63;
  --accent: #2549d4;
  --accent-strong: #1b369f;
  --accent-soft: #e9eefd;
  --on-accent: #ffffff;
  --shadow-nav: 0 1px 0 #e3e3de, 0 8px 24px -12px rgba(21,21,21,0.18);
  --shadow-lift: 0 18px 40px -20px rgba(21,21,21,0.28);
}
/* light theme only: the dark palette is intentionally not emitted */
:root { color-scheme: light; }
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 96px;
  --space-9: 144px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --content-max: 1120px;
  --prose-max: 640px;
  --nav-height: 64px;
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ── Zensical bridge ──────────────────────────────────────────
   Map the theme's own variables to ours so anything outside .tm-root
   (other pages, search, admonitions) follows the same palette. */
:root, [data-md-color-scheme] {
  --md-default-bg-color: var(--paper);
  --md-default-fg-color: var(--ink);
  --md-default-fg-color--light: var(--ink-2);
  --md-default-fg-color--lighter: var(--ink-3);
  --md-default-fg-color--lightest: var(--line);
  --md-primary-fg-color: var(--accent);
  --md-primary-bg-color: var(--on-accent);
  --md-accent-fg-color: var(--accent-strong);
  --md-typeset-a-color: var(--accent);
  --md-code-bg-color: var(--sunken);
  --md-code-fg-color: var(--ink);
  --md-text-font: "Geist";
  --md-code-font: "Geist Mono";
}
body { background: var(--paper); }

/* The monopage brings its own nav and footer: hide the theme chrome
   on any page that contains .tm-root, and let it run full-bleed. */
body:has(.tm-root) .md-header,
body:has(.tm-root) .md-tabs,
body:has(.tm-root) .md-footer,
body:has(.tm-root) .md-sidebar { display: none; }
body:has(.tm-root) .md-main__inner,
body:has(.tm-root) .md-grid { max-width: none; margin: 0; }
body:has(.tm-root) .md-content { max-width: none; margin: 0; }
body:has(.tm-root) .md-content__inner { margin: 0; padding: 0; }
body:has(.tm-root) .md-content__inner::before { display: none; }
body:has(.tm-root) .md-content__button { display: none; }

/* Neutralise .md-typeset defaults inside the monopage. */
.md-typeset .tm-root { font-size: 17px; line-height: 28px; }
.md-typeset .tm-root :is(h1, h2, h3, p) { margin-top: 0; }
[dir] .md-typeset .tm-root :is(ul, ol) { margin: 0; }
[dir] .md-typeset .tm-root li { margin: 0; }
.md-typeset .tm-root img { max-width: 100%; }

/* ── Components ── */
:root {--tm-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --tm-fast: 160ms;
  --tm-mid: 280ms;
  --tm-slow: 700ms;}
.md-typeset .tm-root, .md-typeset .tm-root * {box-sizing: border-box;}
.md-typeset .tm-root {background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;}
.md-typeset .tm-root ::selection {background: var(--accent-soft); color: var(--ink);}
.md-typeset .tm-root a {color: var(--accent); text-decoration: none; text-underline-offset: 3px;}
.md-typeset .tm-root a:hover {color: var(--accent-strong); text-decoration: underline;}
.md-typeset .tm-root :focus-visible {outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm);}
.md-typeset .tm-root .tm-section {padding: var(--space-8) var(--space-6);
  scroll-margin-top: var(--nav-height);
  border-top: 1px solid var(--line);}
.md-typeset .tm-root .tm-section:first-of-type {border-top: 0;}
.md-typeset .tm-root .tm-wrap {max-width: var(--content-max); margin: 0 auto;}
.md-typeset .tm-root .tm-eyebrow {font-family: var(--font-mono);
  font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--space-3);}
.md-typeset .tm-root .tm-h2 {font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em;
  margin: 0 0 var(--space-6); color: var(--ink);}
.md-typeset .tm-root .tm-lead {font-size: 21px; line-height: 32px; letter-spacing: -0.01em; color: var(--ink-2); max-width: var(--prose-max); margin: 0 0 var(--space-5);}
.md-typeset .tm-root .tm-prose {max-width: var(--prose-max); color: var(--ink-2);}
.md-typeset .tm-root .tm-prose p {margin: 0 0 var(--space-4);}
.md-typeset .tm-root .tm-split {display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);}
.md-typeset .tm-root .tm-split h3 {font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 var(--space-3);}
.md-typeset .tm-root .tm-split ul {margin: 0; padding-left: 1.1em; color: var(--ink-2);}
.md-typeset .tm-root .tm-split li {margin-bottom: var(--space-2);}
.md-typeset .tm-root .tm-split li::marker {color: var(--accent);}
.md-typeset .tm-root .tm-nav {position: sticky; top: 0; z-index: 10;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 0 var(--space-6);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow var(--tm-mid) var(--tm-ease), background var(--tm-mid) var(--tm-ease);}
.md-typeset .tm-root .tm-nav.is-scrolled {box-shadow: var(--shadow-nav); background: color-mix(in srgb, var(--surface) 88%, transparent);}
.md-typeset .tm-root .tm-nav__brand {font-weight: 600; letter-spacing: -0.02em; color: var(--ink) !important; text-decoration: none !important; white-space: nowrap;}
.md-typeset .tm-root .tm-nav__brand span {color: var(--accent);}
.md-typeset .tm-root .tm-nav__links {display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0;}
.md-typeset .tm-root .tm-nav__links a {display: block; padding: 6px 12px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-2); text-decoration: none !important;
  transition: color var(--tm-fast) var(--tm-ease), background var(--tm-fast) var(--tm-ease);}
.md-typeset .tm-root .tm-nav__links a:hover {color: var(--ink); background: var(--sunken);}
.md-typeset .tm-root .tm-nav__links a.is-active {color: var(--accent); background: var(--accent-soft);}
.md-typeset .tm-root .tm-nav__tools {display: flex; align-items: center; gap: var(--space-2);}
.md-typeset .tm-root .tm-nav__progress {position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--tm-progress, 0));}
.md-typeset .tm-root .tm-icon-btn {width: 36px; height: 36px; display: inline-grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color var(--tm-fast) var(--tm-ease), color var(--tm-fast) var(--tm-ease);}
.md-typeset .tm-root .tm-icon-btn:hover {border-color: var(--accent); color: var(--accent);}
.md-typeset .tm-root .tm-icon-btn svg {width: 18px; height: 18px;}
.md-typeset .tm-root .tm-hero {position: relative; overflow: hidden;
  padding: var(--space-9) var(--space-6) var(--space-8);
  min-height: 560px;}
.md-typeset .tm-root .tm-hero__field {position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;}
.md-typeset .tm-root .tm-hero__inner {position: relative; max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: end;}
.md-typeset .tm-root .tm-hero__name {font-size: 72px; line-height: 72px; font-weight: 600; letter-spacing: -0.04em;
  margin: 0 0 var(--space-5); color: var(--ink);}
.md-typeset .tm-root .tm-hero__name em {font-style: normal; color: var(--accent);}
.md-typeset .tm-root .tm-hero .tm-lead {margin-bottom: var(--space-6);}
.md-typeset .tm-root .tm-hero__portrait {width: 168px; height: 168px; border-radius: var(--radius-lg); object-fit: cover;
  border: 1px solid var(--line); background: var(--sunken);}
.md-typeset .tm-root .tm-actions {display: flex; flex-wrap: wrap; gap: var(--space-2);}
.md-typeset .tm-root .tm-btn {display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 10px 18px; border-radius: var(--radius-md);
  font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid var(--line-strong); background: linear-gradient(135deg, var(--accent-soft), var(--surface)); color: var(--ink) !important;
  text-decoration: none !important; cursor: pointer;
  transition: background var(--tm-fast) var(--tm-ease), border-color var(--tm-fast) var(--tm-ease), color var(--tm-fast) var(--tm-ease), transform var(--tm-fast) var(--tm-ease);}
.md-typeset .tm-root .tm-btn:hover {border-color: var(--accent); background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft));}
.md-typeset .tm-root .tm-btn:active {transform: translateY(1px);}
.md-typeset .tm-root .tm-btn--primary {background: linear-gradient(135deg, var(--accent), var(--accent-strong)); border-color: var(--accent); color: var(--on-accent) !important;}
.md-typeset .tm-root .tm-btn--primary:hover {background: linear-gradient(135deg, var(--accent-strong), var(--accent)); border-color: var(--accent-strong);}
.md-typeset .tm-root .tm-btn--t50 {background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 50%, var(--paper)), color-mix(in srgb, var(--accent-strong) 50%, var(--paper)));}
.md-typeset .tm-root .tm-btn--t50:hover {background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 65%, var(--paper)), color-mix(in srgb, var(--accent-strong) 65%, var(--paper)));}
.md-typeset .tm-root .tm-btn--t25 {background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 25%, var(--paper)), color-mix(in srgb, var(--accent-strong) 25%, var(--paper)));}
.md-typeset .tm-root .tm-btn--t25:hover {background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 40%, var(--paper)), color-mix(in srgb, var(--accent-strong) 40%, var(--paper)));}
.md-typeset .tm-root .tm-btn--quiet {background: none; border-color: transparent; padding-left: 0; padding-right: 0; color: var(--accent) !important;}
.md-typeset .tm-root .tm-btn--quiet:hover {background: transparent; border-color: transparent; color: var(--accent-strong) !important;}
.md-typeset .tm-root .tm-btn .tm-arrow {transition: transform var(--tm-fast) var(--tm-ease);}
.md-typeset .tm-root .tm-btn:hover .tm-arrow {transform: translate(2px, -2px);}
.md-typeset .tm-root .tm-chips {display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-6); padding: 0; list-style: none;}
.md-typeset .tm-root .tm-chip {display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line-strong); cursor: pointer;
  transition: all var(--tm-fast) var(--tm-ease);}
.md-typeset .tm-root .tm-chip:hover {color: var(--ink); border-color: var(--ink);}
.md-typeset .tm-root .tm-chip[aria-pressed="true"] {background: var(--accent-soft); border-color: var(--accent); color: var(--accent);}
.md-typeset .tm-root .tm-chip__count {color: var(--ink-3); font-weight: 400;}
.md-typeset .tm-root .tm-chip[aria-pressed="true"] .tm-chip__count {color: var(--accent);}
.md-typeset .tm-root .tm-grid {display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-5);}
.md-typeset .tm-root .tm-card {position: relative; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--tm-mid) var(--tm-ease), box-shadow var(--tm-mid) var(--tm-ease), border-color var(--tm-mid) var(--tm-ease), opacity var(--tm-mid) var(--tm-ease);
  isolation: isolate;}
.md-typeset .tm-root .tm-card::after {content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -40%), var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity var(--tm-mid) var(--tm-ease);}
.md-typeset .tm-root .tm-card:hover {transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--line-strong);}
.md-typeset .tm-root .tm-card:hover::after {opacity: 1;}
.md-typeset .tm-root .tm-card.is-hidden {display: none;}
.md-typeset .tm-root .tm-card__thumb {height: 148px; border-radius: var(--radius-md); background: var(--plate);
  display: flex; align-items: center; justify-content: center; gap: var(--space-4);
  overflow: hidden; margin-bottom: var(--space-1);}
.md-typeset .tm-root .tm-card__thumb img {max-height: 112px; max-width: 72%; width: auto; height: auto; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; transition: transform var(--tm-mid) var(--tm-ease);}
.md-typeset .tm-root .tm-card:hover .tm-card__thumb img {transform: scale(1.04);}
.md-typeset .tm-root .tm-card__thumb--cover {background: var(--sunken);}
.md-typeset .tm-root .tm-card__thumb--cover img {max-height: none; max-width: none; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal;}
.md-typeset .tm-root .tm-card__thumb--icons {flex-wrap: wrap; padding: 0 var(--space-4);}
.md-typeset .tm-root .tm-card__thumb--icons img {max-height: 52px; max-width: 52px;}
.md-typeset .tm-root .tm-card__thumb--wide img {max-height: 140px; max-width: 94%;}
.md-typeset .tm-root .tm-card__glyph {font-family: var(--font-mono); font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; color: #151515;}
.md-typeset .tm-root .tm-card__glyph b {color: #2549d4; font-weight: 500;}
.md-typeset .tm-root .tm-card__kicker {font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0;}
.md-typeset .tm-root .tm-card__title {font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--ink);}
.md-typeset .tm-root .tm-card__desc {font-size: 14px; line-height: 22px; color: var(--ink-2); margin: 0; flex: 1;}
.md-typeset .tm-root .tm-card__links {display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-2);}
.md-typeset .tm-root .tm-card__links a {font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500;}
.md-typeset .tm-root .tm-card--feature {grid-column: span 2;}
.md-typeset .tm-root .tm-tags {display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none;}
.md-typeset .tm-root .tm-tag {font-family: var(--font-mono); font-size: 12px; line-height: 18px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--sunken); color: var(--ink-2);}
.md-typeset .tm-root .tm-pubs {position: relative;}
.md-typeset .tm-root .tm-year {display: grid; grid-template-columns: 96px 1fr; gap: var(--space-5); padding: var(--space-5) 0; border-top: 1px solid var(--line);}
.md-typeset .tm-root .tm-year:first-child {border-top: 0;}
.md-typeset .tm-root .tm-year__label {font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ink-3);
  position: sticky; top: calc(var(--nav-height) + var(--space-4)); align-self: start; padding-top: 14px;}
.md-typeset .tm-root .tm-pub {display: block; padding: 14px var(--space-4); margin: 0 calc(var(--space-4) * -1);
  border-radius: var(--radius-md); color: inherit !important; text-decoration: none !important;
  transition: background var(--tm-fast) var(--tm-ease);}
.md-typeset .tm-root .tm-pub:hover {background: var(--surface);}
.md-typeset .tm-root .tm-pub__title {font-size: 17px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 4px;}
.md-typeset .tm-root .tm-pub__title a {color: inherit; text-decoration: none;}
.md-typeset .tm-root .tm-pub:hover .tm-pub__title, .md-typeset .tm-root .tm-pub:hover .tm-pub__title a {color: var(--accent);}
.md-typeset .tm-root .tm-pub__authors {font-size: 14px; line-height: 22px; color: var(--ink-2); margin: 0 0 6px;}
.md-typeset .tm-root .tm-pub__authors mark {background: var(--accent-soft); color: var(--ink); padding: 0 3px; border-radius: 3px; font-weight: 500;}
.md-typeset .tm-root .tm-pub__more {font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer;}
.md-typeset .tm-root .tm-pub__meta {display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-3);}
.md-typeset .tm-root .tm-pub__meta em {font-style: normal; color: var(--ink-2); font-weight: 500;}
.md-typeset .tm-root .tm-pub__meta a {font-weight: 500;}
.md-typeset .tm-root .tm-badge {font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; padding: 1px 7px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--ink-2);}
.md-typeset .tm-root .tm-badge--accent {border-color: var(--accent); color: var(--accent);}
.md-typeset .tm-root .tm-connect {display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); margin: 0; padding: 0; list-style: none;}
.md-typeset .tm-root .tm-connect li {min-width: 0;}
.md-typeset .tm-root .tm-connect a {min-width: 0;
  display: flex; flex-direction: column; gap: var(--space-1);
  padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--ink) !important; text-decoration: none !important; background: var(--surface);
  transition: border-color var(--tm-fast) var(--tm-ease), transform var(--tm-mid) var(--tm-ease);}
.md-typeset .tm-root .tm-connect a:hover {border-color: var(--accent); transform: translateY(-2px);}
.md-typeset .tm-root .tm-connect strong {font-size: 17px; line-height: 24px; font-weight: 600; display: flex; justify-content: space-between;}
.md-typeset .tm-root .tm-connect strong::after {content: "↗"; color: var(--ink-3); transition: color var(--tm-fast) var(--tm-ease), transform var(--tm-fast) var(--tm-ease);}
.md-typeset .tm-root .tm-connect a:hover strong::after {color: var(--accent); transform: translate(2px, -2px);}
.md-typeset .tm-root .tm-connect span {font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.md-typeset .tm-root .tm-footer {display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-6); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-3);}
.md-typeset .tm-root code {font-family: var(--font-mono); font-size: 0.86em; background: var(--sunken); padding: 2px 6px; border-radius: var(--radius-sm); color: var(--ink);}
.tm-js .md-typeset .tm-root .tm-reveal {opacity: 0; transform: translateY(18px); transition: opacity var(--tm-slow) var(--tm-ease), transform var(--tm-slow) var(--tm-ease); transition-delay: calc(var(--tm-i, 0) * 60ms);}
.tm-js .md-typeset .tm-root .tm-reveal.is-in {opacity: 1; transform: none;}
@media (prefers-reduced-motion: reduce) {
.md-typeset .tm-root *, .md-typeset .tm-root *::after {transition: none !important; animation: none !important;}
.tm-js .md-typeset .tm-root .tm-reveal {opacity: 1; transform: none;}
}
@media (max-width: 760px) {
.md-typeset .tm-root .tm-section {padding: 64px var(--space-4);}
.md-typeset .tm-root .tm-nav {padding: 0 var(--space-4);}
.md-typeset .tm-root .tm-nav__links {display: none;}
.md-typeset .tm-root .tm-hero {padding: 96px var(--space-4) 64px; min-height: 0;}
.md-typeset .tm-root .tm-hero__inner {grid-template-columns: 1fr;}
.md-typeset .tm-root .tm-hero__portrait {width: 96px; height: 96px; order: -1;}
.md-typeset .tm-root .tm-hero__name {font-size: 44px; line-height: 46px;}
.md-typeset .tm-root .tm-h2 {font-size: 30px; line-height: 34px;}
.md-typeset .tm-root .tm-lead {font-size: 18px; line-height: 28px;}
.md-typeset .tm-root .tm-split {grid-template-columns: 1fr;}
.md-typeset .tm-root .tm-card--feature {grid-column: auto;}
.md-typeset .tm-root .tm-year {grid-template-columns: 1fr; gap: 0;}
.md-typeset .tm-root .tm-year__label {position: static; padding-top: 0;}
.md-typeset .tm-root .tm-connect {grid-template-columns: 1fr 1fr;}
.md-typeset .tm-root .tm-grid {grid-template-columns: minmax(0, 1fr);}
.md-typeset .tm-root .tm-card__thumb--icons {gap: var(--space-3);}
.md-typeset .tm-root .tm-card__thumb--icons img {max-height: 40px; max-width: 40px;}
}
