@charset "UTF-8";
@property --measure {
  syntax: "<length>";
  inherits: true;
  initial-value: 640px;
}
:root {
  color-scheme: light dark;
  --rhythm: clamp(1.6875rem, 1.6141rem + 0.3261vw, 1.875rem);
  --rail: 3rem;
  --note: 15rem;
  --pad: clamp(1.25rem, 0.9565rem + 1.3043vw, 2rem);
  --type-body: clamp(1.0625rem, 1.0136rem + 0.2174vw, 1.1875rem);
  --type-h1: clamp(1.75rem, 1.5054rem + 1.087vw, 2.375rem);
  --type-h2: clamp(1.375rem, 1.2772rem + 0.4348vw, 1.625rem);
  --type-h3: clamp(1.1875rem, 1.1386rem + 0.2174vw, 1.3125rem);
  --type-note: clamp(0.875rem, 0.8505rem + 0.1087vw, 0.9375rem);
  --type-micro: clamp(0.8125rem, 0.788rem + 0.1087vw, 0.875rem);
  --type-code: clamp(0.84375rem, 0.8071rem + 0.163vw, 0.9375rem);
  --ease: 130ms cubic-bezier(0.2, 0, 0.2, 1);
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../font/source-serif-4-roman.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../font/source-serif-4-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../font/work-sans.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../font/jetbrains-mono.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
  src: url("../font/jetbrains-mono-italic.woff2") format("woff2");
}
@font-face {
  font-family: "STIX Two Math";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../font/stix-two-math.woff2") format("woff2");
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, pre, figure, table, hr) {
  margin: 0;
}

:where(img, svg, video, canvas, iframe) {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
html {
  -webkit-text-size-adjust: 100%;
  font-optical-sizing: auto;
}

body {
  --measure: min(66ch, 40rem);
  --page: calc(var(--measure) + 2 * var(--pad));
  margin: 0;
  background: light-dark(#eff1f5, #1e1e2e);
  color: light-dark(#4c4f69, #cdd6f4);
  font-family: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: var(--type-body);
  line-height: var(--rhythm);
  font-weight: 400;
  font-variant-numeric: proportional-nums;
}

@media screen and (width >= 1088px) {
  body {
    --page: calc(var(--measure) + var(--rail) + var(--note) + 2 * var(--pad));
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: var(--type-h1);
  line-height: calc(var(--rhythm) * 1.5);
  letter-spacing: -0.02em;
  margin-block-end: calc(var(--rhythm) * 0.5);
}

h2 {
  font-size: var(--type-h2);
  line-height: calc(var(--rhythm) * 1.25);
  margin-block: var(--rhythm) calc(var(--rhythm) * 0.25);
}

h3 {
  font-size: var(--type-h3);
  line-height: var(--rhythm);
  margin-block: calc(var(--rhythm) * 0.75) calc(var(--rhythm) * 0.25);
}

h4,
h5,
h6 {
  font-size: var(--type-body);
  line-height: var(--rhythm);
  font-weight: 650;
  margin-block: calc(var(--rhythm) * 0.75) 0;
}

p,
ul,
ol,
dl {
  margin-block-end: var(--rhythm);
  overflow-wrap: break-word;
  text-wrap: pretty;
}

ul,
ol {
  padding-inline-start: 1.4em;
}

li::marker {
  color: light-dark(#6c6f85, #7f849c);
}

ol li::marker {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85em;
  font-variant-numeric: tabular-nums;
}

li + li {
  margin-block-start: calc(var(--rhythm) * 0.25);
}

li > :last-child {
  margin-block-end: 0;
}

li > ul,
li > ol {
  margin-block: calc(var(--rhythm) * 0.25) 0;
}

hr {
  border: 0;
  inline-size: 5rem;
  block-size: 1px;
  margin: calc(var(--rhythm) * 0.5) auto calc(var(--rhythm) * 1.5);
  background: light-dark(#acb0be, #585b70);
}

strong,
b {
  font-weight: 650;
}

em,
i {
  font-style: italic;
}

del {
  text-decoration-line: line-through;
  text-decoration-color: light-dark(#8636ec, #cba6f7);
  color: light-dark(#5c5f77, #a6adc8);
}

small {
  font-size: 0.875em;
}

sup,
sub {
  font-size: 0.72em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  inset-block-start: -0.45em;
}

sub {
  inset-block-start: 0.22em;
}

a {
  color: light-dark(#135cea, #89b4fa);
  text-decoration-line: underline;
  text-decoration-color: light-dark(#9ca0b0, #6c7086);
  text-decoration-thickness: max(1px, 0.055em);
  text-underline-offset: 0.16em;
  transition: color var(--ease), text-decoration-color var(--ease);
}
a:hover {
  color: light-dark(#8636ec, #cba6f7);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid light-dark(#8636ec, #cba6f7);
  outline-offset: 3px;
  border-radius: 2px;
}

:is(h1, h2, h3, h4, h5, h6) > a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: color-mix(in oklab, light-dark(#135cea, #89b4fa) 22%, transparent);
}

[data-grid] main {
  background-image: repeating-linear-gradient(to bottom, light-dark(#8636ec, #cba6f7) 0 1px, transparent 1px var(--rhythm)), repeating-linear-gradient(to bottom, light-dark(#acb0be, #585b70) 0 1px, transparent 1px calc(var(--rhythm) * 0.25));
  background-position: 0 0;
}

.site-header,
main,
.site-footer {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
}

article {
  display: flow-root;
  margin-block: calc(var(--rhythm) * 1.5) calc(var(--rhythm) * 2);
}
article > :first-child {
  margin-block-start: 0;
}
article > :last-child {
  margin-block-end: 0;
}

@media screen and (width >= 1088px) {
  article {
    max-inline-size: var(--measure);
  }
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(var(--rhythm) * 0.25) 1.5rem;
  padding-block: var(--rhythm) calc(var(--rhythm) * 0.75);
  border-block-end: 1px solid light-dark(#bcc0cc, #45475a);
}

.site-title {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-h3);
  font-weight: 600;
  line-height: var(--rhythm);
  letter-spacing: -0.02em;
  color: light-dark(#4c4f69, #cdd6f4);
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-title:hover, .site-title:focus-visible {
  border-block-end-color: light-dark(#8636ec, #cba6f7);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1.1rem;
}
.site-nav a {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: lowercase;
  color: light-dark(#5c5f77, #a6adc8);
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible {
  border-block-end-color: currentColor;
}
.site-nav a:hover {
  color: light-dark(#8636ec, #cba6f7);
}
.site-nav .theme-toggle {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: lowercase;
  color: light-dark(#5c5f77, #a6adc8);
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-nav .theme-toggle:hover, .site-nav .theme-toggle:focus-visible {
  border-block-end-color: currentColor;
}
.site-nav .theme-toggle:hover {
  color: light-dark(#8636ec, #cba6f7);
}
.site-nav .theme-toggle:focus-visible {
  outline: 2px solid light-dark(#135cea, #89b4fa);
  outline-offset: 3px;
  border-radius: 2px;
}

.post-meta {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: light-dark(#5c5f77, #a6adc8);
  margin-block-end: var(--rhythm);
}
.post-meta .tags::before {
  content: "·";
  margin-inline-end: 0.7em;
  color: light-dark(#6c6f85, #7f849c);
}
.post-meta .tags a {
  color: light-dark(#135cea, #89b4fa);
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.post-meta .tags a:hover, .post-meta .tags a:focus-visible {
  border-block-end-color: currentColor;
}
.post-meta .tags a:hover {
  color: light-dark(#8636ec, #cba6f7);
}
.post-meta .tags a + a {
  position: relative;
  margin-inline-start: 1em;
}
.post-meta .tags a + a::before {
  content: "·";
  position: absolute;
  inset-inline-start: -0.62em;
  color: light-dark(#6c6f85, #7f849c);
}

.series-nav {
  margin-block-end: var(--rhythm);
  padding: calc(var(--rhythm) * 0.5) calc(var(--rhythm) * 0.75);
  border-inline-start: 2px solid light-dark(#135cea, #89b4fa);
  background: light-dark(#e6e9ef, #313244);
}
.series-nav .series-label {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: light-dark(#5c5f77, #a6adc8);
  margin-block-end: calc(var(--rhythm) * 0.25);
}
.series-nav .series-parts {
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
  margin-block-end: 0;
  padding-inline-start: 1.6em;
}
.series-nav li + li {
  margin-block-start: calc(var(--rhythm) * 0.25);
}
.series-nav .current {
  font-weight: 650;
  color: light-dark(#4c4f69, #cdd6f4);
}

.post-nav,
.series-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--rail);
  margin-block-start: var(--rhythm);
  padding-block-start: calc(var(--rhythm) * 0.75);
  border-block-start: 1px solid light-dark(#bcc0cc, #45475a);
}
.post-nav .older,
.post-nav .previous,
.series-footer .older,
.series-footer .previous {
  grid-column: 1;
}
.post-nav .newer,
.post-nav .next,
.series-footer .newer,
.series-footer .next {
  grid-column: 2;
  text-align: end;
}
.post-nav a,
.series-footer a {
  display: block;
  color: light-dark(#4c4f69, #cdd6f4);
  text-decoration: none;
}
.post-nav .direction,
.series-footer .direction {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: light-dark(#6c6f85, #7f849c);
}
.post-nav .title,
.series-footer .title {
  display: block;
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
  color: light-dark(#135cea, #89b4fa);
  text-wrap: pretty;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: max(1px, 0.055em);
  text-underline-offset: 0.16em;
  transition: color var(--ease), text-decoration-color var(--ease);
}
.post-nav a:hover .title,
.post-nav a:focus-visible .title,
.series-footer a:hover .title,
.series-footer a:focus-visible .title {
  color: light-dark(#8636ec, #cba6f7);
  text-decoration-color: currentColor;
}

.series-footer + .post-nav {
  margin-block-start: calc(var(--rhythm) * 0.5);
}

@media (width < 40rem) {
  .post-nav,
  .series-footer {
    grid-template-columns: minmax(0, 1fr);
    row-gap: calc(var(--rhythm) * 0.5);
  }
  .post-nav .newer,
  .post-nav .next,
  .series-footer .newer,
  .series-footer .next {
    grid-column: 1;
    text-align: start;
  }
}
.more {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  max-inline-size: var(--measure);
  margin-block: 0 calc(var(--rhythm) * 2);
  padding-block-start: calc(var(--rhythm) * 0.75);
  border-block-start: 1px solid light-dark(#bcc0cc, #45475a);
}

.site-footer {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1.5rem;
  color: light-dark(#5c5f77, #a6adc8);
  padding-block: calc(var(--rhythm) * 0.75) calc(var(--rhythm) * 1.5);
  border-block-start: 1px solid light-dark(#bcc0cc, #45475a);
}
.site-footer p {
  margin-block-end: 0;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-footer a:hover, .site-footer a:focus-visible {
  border-block-end-color: currentColor;
}
.site-footer a:hover {
  color: light-dark(#8636ec, #cba6f7);
}

.archive {
  inline-size: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-block-end: var(--rhythm);
}
.archive th,
.archive td {
  padding: 0;
  text-align: start;
  vertical-align: baseline;
  line-height: var(--rhythm);
  font-weight: 400;
}
.archive tr {
  border-block-end: 1px solid light-dark(#bcc0cc, #45475a);
}
.archive .year-start {
  border-block-start: 1px solid light-dark(#acb0be, #585b70);
}
.archive tr:first-child {
  border-block-start: 0;
}
.archive .year {
  inline-size: 4.5rem;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-note);
  line-height: var(--rhythm);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: light-dark(#6c6f85, #7f849c);
}
.archive .title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-inline-end: 1rem;
}
.archive .title a {
  color: light-dark(#4c4f69, #cdd6f4);
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.archive .title a:hover, .archive .title a:focus-visible {
  border-block-end-color: light-dark(#135cea, #89b4fa);
}
.archive .title a:hover {
  color: light-dark(#8636ec, #cba6f7);
}
.archive .date {
  inline-size: 5.5rem;
  text-align: end;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: var(--rhythm);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: light-dark(#6c6f85, #7f849c);
}

@media (width < 40rem) {
  .archive .year {
    inline-size: 3.25rem;
  }
  .archive .date {
    inline-size: 4.25rem;
  }
}
@media screen and (width >= 1088px) {
  article > .archive {
    grid-column: 1/-1;
  }
}
blockquote {
  margin-block-end: var(--rhythm);
  padding-inline-start: calc(var(--rhythm) * 0.75);
  border-inline-start: 2px solid color-mix(in oklab, light-dark(#135cea, #89b4fa) 55%, transparent);
  color: light-dark(#5c5f77, #a6adc8);
}
blockquote > :last-child {
  margin-block-end: 0;
}
blockquote cite {
  display: block;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-style: normal;
  color: light-dark(#6c6f85, #7f849c);
  margin-block-start: calc(var(--rhythm) * 0.25);
}
blockquote cite::before {
  content: "— ";
}

svg.ink {
  color: light-dark(#4c4f69, #cdd6f4);
  background: none;
}
svg.ink [stroke="#000"],
svg.ink [stroke="#000000"],
svg.ink [stroke=black] {
  stroke: currentColor;
}
svg.ink [fill="#000"],
svg.ink [fill="#000000"],
svg.ink [fill=black] {
  fill: currentColor;
}
svg.ink text {
  fill: currentColor;
}

.ink-mask {
  display: block;
  inline-size: min(100%, var(--width, 100%));
  margin-inline: auto;
  aspect-ratio: var(--ratio);
  background-color: light-dark(#4c4f69, #cdd6f4);
  mask-image: var(--src);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

img,
svg,
canvas,
video {
  max-inline-size: 100%;
  block-size: auto;
}

figure {
  margin-block-end: var(--rhythm);
}
figure img,
figure svg,
figure canvas,
figure video {
  inline-size: 100%;
  border-radius: 3px;
  background: light-dark(#e6e9ef, #313244);
}

figcaption {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  color: light-dark(#5c5f77, #a6adc8);
  margin-block-start: calc(var(--rhythm) * 0.25);
  text-wrap: pretty;
}
figcaption strong {
  font-weight: 600;
  color: light-dark(#4c4f69, #cdd6f4);
}

.wide {
  margin-inline: calc(var(--pad) * -1);
}

@media screen and (width >= 1088px) {
  article > .wide {
    grid-column: 1/-1;
    margin-inline: 0;
  }
}
.callout {
  margin-block-end: var(--rhythm);
  padding: calc(var(--rhythm) * 0.75) calc(var(--rhythm) * 0.75) calc(var(--rhythm) * 0.5);
  background: light-dark(#e6e9ef, #313244);
  border: 1px solid light-dark(#bcc0cc, #45475a);
  border-radius: 4px;
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
}
.callout > :last-child {
  margin-block-end: 0;
}
.callout p,
.callout ul,
.callout ol {
  margin-block-end: calc(var(--rhythm) * 0.5);
}
.callout > p:first-child > strong:only-child {
  display: block;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: light-dark(#135cea, #89b4fa);
  margin-block-end: calc(var(--rhythm) * 0.25);
}

article table:not(.archive) {
  inline-size: 100%;
  border-collapse: collapse;
  margin-block-end: var(--rhythm);
  font-variant-numeric: tabular-nums;
}
article table:not(.archive) th,
article table:not(.archive) td {
  padding: calc(var(--rhythm) * 0.25) 0.75em calc(var(--rhythm) * 0.25) 0;
  text-align: start;
  vertical-align: baseline;
  line-height: calc(var(--rhythm) * 0.75);
}
article table:not(.archive) th:last-child,
article table:not(.archive) td:last-child {
  padding-inline-end: 0;
}
article table:not(.archive) thead th {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-micro);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: light-dark(#5c5f77, #a6adc8);
  border-block-end: 1px solid light-dark(#acb0be, #585b70);
}
article table:not(.archive) tbody tr + tr {
  border-block-start: 1px solid light-dark(#bcc0cc, #45475a);
}
article table:not(.archive) caption {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  color: light-dark(#5c5f77, #a6adc8);
  text-align: start;
  margin-block-end: calc(var(--rhythm) * 0.25);
}

code {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size-adjust: ex-height 0.475;
  padding: 0.06em 0.2em;
  border-radius: 3px;
  background: color-mix(in oklab, currentColor 6%, transparent);
  white-space: nowrap;
}

aside code,
figcaption code,
.callout code,
.site-footer code,
.series-nav code {
  font-size-adjust: ex-height 0.5;
}

a code {
  color: inherit;
  background: color-mix(in oklab, currentColor 9%, transparent);
}

pre {
  margin-block-end: var(--rhythm);
  padding: calc(var(--rhythm) * 0.5) calc(var(--rhythm) * 0.75);
  background: light-dark(#e6e9ef, #313244);
  border: 1px solid light-dark(#bcc0cc, #45475a);
  border-radius: 4px;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: var(--type-code);
  line-height: calc(var(--rhythm) * 0.75);
  font-variant-ligatures: none;
  font-variant-numeric: normal;
  tab-size: 2;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: light-dark(#acb0be, #585b70) transparent;
}
pre code {
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: inherit;
  font-size-adjust: none;
  white-space: inherit;
}

@media screen and (width >= 1088px) {
  @supports (anchor-name: --note) {
    article > pre {
      inline-size: max-content;
      min-inline-size: var(--measure);
      max-inline-size: calc(var(--measure) + var(--rail) + var(--note));
    }
  }
}
.highlight {
  color: light-dark(#4c4f69, #cdd6f4);
}
.highlight .hljs-keyword {
  color: light-dark(#8636ec, #cba6f7);
}
.highlight .hljs-type,
.highlight .hljs-title.class_ {
  color: light-dark(#935a03, #f9e2af);
}
.highlight .hljs-built_in {
  color: light-dark(#135cea, #89b4fa);
}
.highlight .hljs-title {
  color: light-dark(#087379, #94e2d5);
}
.highlight .hljs-string {
  color: light-dark(#1f7802, #a6e3a1);
}
.highlight .hljs-number,
.highlight .hljs-literal {
  color: light-dark(#b24508, #fab387);
}
.highlight .hljs-comment {
  color: light-dark(#5c5f77, #a6adc8);
  font-style: italic;
}

math {
  font-family: "STIX Two Math", "Cambria Math", math;
  color: inherit;
  font-size-adjust: ex-height 0.475;
  font-size: 1.02em;
}

math:not([display=block]) {
  math-style: compact;
}

math[display=block] {
  display: block;
  math-style: normal;
  inline-size: fit-content;
  max-inline-size: 100%;
  margin: 0 auto var(--rhythm);
  font-size: 1.08em;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: light-dark(#acb0be, #585b70) transparent;
  padding-block: 2px;
}

math semantics > :not(:first-child),
math annotation,
math annotation-xml {
  display: none;
}

.math-error {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size-adjust: ex-height 0.475;
  font-style: normal;
  padding: 0.1em 0.4em;
  border: 1px dashed light-dark(oklch(52% 0.2 25deg), oklch(78% 0.128 25deg));
  border-radius: 3px;
  color: light-dark(oklch(52% 0.2 25deg), oklch(78% 0.128 25deg));
  background: color-mix(in oklab, light-dark(oklch(52% 0.2 25deg), oklch(78% 0.128 25deg)) 10%, transparent);
}
.math-error::before {
  content: "⚠ ";
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}

/*!
Temml: Copyright (c) 2020 Ron Kok. MIT License.
https://github.com/ronkok/Temml

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
math {
  text-indent: 0;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "dtls" off;
}

math * {
  border-color: currentColor;
}

*.mathscr {
  font-feature-settings: "ss01";
}

mo.tml-prime {
  font-feature-settings: "ss04";
}

mfrac > :nth-child(2),
msqrt,
mover > :first-child {
  math-shift: compact;
}

.menclose {
  display: inline-block;
  position: relative;
  padding: 0.5ex 0ex;
}

.tml-cancelto {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5ex 0ex;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><defs><marker id='a' markerHeight='5' markerUnits='strokeWidth' markerWidth='7' orient='auto' refX='7' refY='2.5'><path fill='black' d='m0 0 7 2.5L0 5z'/></marker></defs><line x2='100%25' y1='100%25' stroke='black' stroke-width='.06em' marker-end='url(%23a)' vector-effect='non-scaling-stroke'/></svg>");
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><defs><marker id='a' markerHeight='5' markerUnits='strokeWidth' markerWidth='7' orient='auto' refX='7' refY='2.5'><path fill='black' d='m0 0 7 2.5L0 5z'/></marker></defs><line x2='100%25' y1='100%25' stroke='black' stroke-width='.06em' marker-end='url(%23a)' vector-effect='non-scaling-stroke'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}

@supports (-moz-appearance: none) {
  .tml-vec {
    transform: scale(0.75);
  }
  .ff-narrow {
    width: 0em;
  }
  .ff-nudge-left {
    margin-left: -0.2em;
  }
  .ff-squash mtd {
    display: block;
    height: 0;
  }
}
@supports not (-moz-appearance: none) {
  mo.tml-prime {
    font-feature-settings: "ss04";
  }
  .tml-sml-pad {
    padding-left: 0.05em;
  }
  .tml-med-pad {
    padding-left: 0.1em;
  }
  .tml-lrg-pad {
    padding-left: 0.15em;
  }
}
@supports (-webkit-backdrop-filter: blur(1px)) {
  .wbk-acc {
    transform: translate(0em, 0.431em);
  }
  .wbk-sml {
    transform: translate(0.07em, 0);
  }
  .wbk-sml-acc {
    transform: translate(0.07em, 0.431em);
  }
  .wbk-sml-vec {
    transform: scale(0.75) translate(0.07em, 0);
  }
  .wbk-med {
    transform: translate(0.14em, 0);
  }
  .wbk-med-acc {
    transform: translate(0.14em, 0.431em);
  }
  .wbk-med-vec {
    transform: scale(0.75) translate(0.14em, 0);
  }
  .wbk-lrg {
    transform: translate(0.21em, 0);
  }
  .wbk-lrg-acc {
    transform: translate(0.21em, 0.431em);
  }
  .wbk-lrg-vec {
    transform: scale(0.75) translate(0.21em, 0);
  }
}
menclose {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.tml-right {
  text-align: right;
}

.tml-left {
  text-align: left;
}

.tml-shift-left {
  margin-left: -200%;
}

@supports (not (-webkit-backdrop-filter: blur(1px))) and (not (-moz-appearance: none)) {
  .chr-sml {
    transform: translate(0.07em, 0);
  }
  .chr-sml-vec {
    transform: scale(0.75) translate(0.07em, 0);
  }
  .chr-med {
    transform: translate(0.14em, 0);
  }
  .chr-med-vec {
    transform: scale(0.75) translate(0.14em, 0);
  }
  .chr-lrg {
    transform: translate(0.21em, 0);
  }
  .chr-lrg-vec {
    transform: scale(0.75) translate(0.21em, 0);
  }
  .tml-shift-left {
    margin-left: -100%;
  }
  menclose {
    position: relative;
    padding: 0.5ex 0ex;
  }
  .tml-overline {
    padding: 0.1em 0 0 0;
    border-top: 0.065em solid;
  }
  .tml-underline {
    padding: 0 0 0.1em 0;
    border-bottom: 0.065em solid;
  }
  .tml-cancel {
    display: inline-block;
    position: absolute;
    left: 0.5px;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
  }
  .upstrike {
    clip-path: polygon(0.05em 100%, 0em calc(100% - 0.05em), calc(100% - 0.05em) 0em, 100% 0.05em);
  }
  .downstrike {
    clip-path: polygon(0em 0.05em, 0.05em 0em, 100% calc(100% - 0.05em), calc(100% - 0.05em) 100%);
  }
  .sout {
    clip-path: polygon(0em calc(55% + 0.0333em), 0em calc(55% - 0.0333em), 100% calc(55% - 0.0333em), 100% calc(55% + 0.0333em));
  }
  .tml-xcancel {
    clip-path: polygon(0.05em 0em, 0em 0.05em, calc(50% - 0.05em) 50%, 0em calc(100% - 0.05em), 0.05em 100%, 50% calc(50% + 0.05em), calc(100% - 0.05em) 100%, 100% calc(100% - 0.05em), calc(50% + 0.05em) 50%, 100% 0.05em, calc(100% - 0.05em) 0%, 50% calc(50% - 0.05em));
  }
  .longdiv-top {
    border-top: 0.067em solid;
    padding: 0.1em 0.2em 0.2em 0.433em;
  }
  .longdiv-arc {
    position: absolute;
    top: 0;
    bottom: 0.1em;
    left: -0.4em;
    width: 0.7em;
    border: 0.067em solid;
    transform: translateY(-0.067em);
    border-radius: 70%;
    clip-path: inset(0 0 0 0.4em);
    box-sizing: border-box;
  }
  .menclose {
    display: inline-block;
    text-align: left;
    position: relative;
  }
  .phasor-bottom {
    border-bottom: 0.067em solid;
    padding: 0.2em 0.2em 0.1em 0.6em;
  }
  .phasor-angle {
    display: inline-block;
    position: absolute;
    left: 0.5px;
    bottom: -0.04em;
    height: 100%;
    aspect-ratio: 0.5;
    background-color: currentColor;
    clip-path: polygon(0.05em 100%, 0em calc(100% - 0.05em), calc(100% - 0.05em) 0em, 100% 0.05em);
  }
  .tml-fbox {
    padding: 3pt;
    border: 1px solid;
  }
  .circle-pad {
    padding: 0.267em;
  }
  .textcircle {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    border: 0.067em solid;
    border-radius: 50%;
  }
  .actuarial {
    padding: 0.03889em 0.03889em 0 0.03889em;
    border-width: 0.08em 0.08em 0em 0em;
    border-style: solid;
    margin-right: 0.03889em;
  }
  .tml-tilde-2 {
    transform: scale(2, 1.1);
  }
  .tml-tilde-3 {
    transform: scale(3, 1.1);
  }
  .tml-tilde-4 {
    transform: scale(4, 1.1);
  }
  .tml-hat-1 {
    transform: scale(1.9, 1);
  }
  .tml-hat-2 {
    transform: scale(3.9, 1);
  }
  .tml-hat-3 {
    transform: scale(5.8, 1.1);
  }
  .tml-hat-4 {
    transform: scale(7.8, 1.1);
  }
  .tml-right {
    text-align: -webkit-right;
  }
  .tml-left {
    text-align: -webkit-left;
  }
}
mtable.tml-jot > mtr > mtd {
  padding-top: 0.7ex;
  padding-bottom: 0.7ex;
}

mtable.tml-small mtd {
  padding-top: 0.35ex;
  padding-bottom: 0.35ex;
}

@-moz-document url-prefix() {
  mtd, mtable.tml-small mtd {
    padding-top: 0;
    padding-bottom: 0;
  }
  mtable.tml-jot > mtr > mtd {
    padding-top: 0.2ex;
    padding-bottom: 0.2ex;
  }
}
.tml-eqn::before {
  counter-increment: tmlEqnNo;
  content: "(" counter(tmlEqnNo) ")";
}

body {
  counter-reset: tmlEqnNo;
}

aside {
  margin-block-end: var(--rhythm);
  padding-inline-start: calc(var(--rhythm) * 0.5);
  border-inline-start: 2px solid light-dark(#acb0be, #585b70);
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--type-note);
  line-height: calc(var(--rhythm) * 0.75);
  color: light-dark(#5c5f77, #a6adc8);
}
aside p,
aside ul,
aside ol {
  margin-block-end: calc(var(--rhythm) * 0.5);
  overflow-x: auto;
}
aside > :last-child {
  margin-block-end: 0;
}

.note-ref a {
  color: light-dark(#135cea, #89b4fa);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.note-ref a:hover, .note-ref a:focus-visible {
  text-decoration-line: underline;
}

@media screen and (width >= 1088px) {
  aside {
    position: relative;
    float: inline-end;
    clear: inline-end;
    inline-size: var(--note);
    margin-block: 0 var(--rhythm);
    margin-inline-end: calc((var(--rail) + var(--note)) * -1);
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  aside::before {
    content: attr(data-note);
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 100%;
    margin-inline-end: 0.5rem;
    font-size: var(--type-micro);
    font-variant-numeric: tabular-nums;
    color: light-dark(#6c6f85, #7f849c);
  }
  @supports (anchor-name: --note) {
    article {
      position: relative;
    }
    aside {
      float: none;
      clear: none;
      position: absolute;
      inset-block-start: anchor(start);
      inset-inline-start: calc(var(--measure) + var(--rail));
      margin: 0;
    }
  }
}
:is(h1, h2, h3, h4, h5, h6) > a {
  color: inherit;
  text-decoration: none;
}
:is(h1, h2, h3, h4, h5, h6) > a:hover, :is(h1, h2, h3, h4, h5, h6) > a:focus-visible {
  text-decoration-line: underline;
  text-decoration-color: light-dark(#acb0be, #585b70);
  text-underline-offset: 0.12em;
}

@media print {
  @page {
    margin: 18mm 16mm;
  }
  :root {
    color-scheme: only light;
    --rhythm: 15pt;
    --pad: 0;
    --rail: 0;
    --note: 0;
    --type-body: 10.5pt;
    --type-h1: 20pt;
    --type-h2: 14pt;
    --type-h3: 12pt;
    --type-note: 9pt;
    --type-micro: 8pt;
    --type-code: 8.5pt;
  }
  body {
    --page: 100%;
    background: none;
  }
  .site-nav,
  .post-nav,
  .series-footer,
  .more {
    display: none;
  }
  [data-grid] main {
    background-image: none;
  }
  .site-header,
  .site-footer {
    border-color: #999;
  }
  .site-footer {
    padding-block-end: 0;
  }
  article {
    margin-block: 12pt 0;
  }
  article a[href^=http]::after {
    content: " <" attr(href) ">";
    font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.8em;
    word-break: break-all;
    color: #555;
  }
  a {
    text-decoration-color: #999;
  }
  pre,
  .callout,
  .series-nav {
    background: none;
    border: 1px solid #bbb;
  }
  code {
    background: none;
  }
  pre {
    overflow: visible;
    white-space: pre-wrap;
    word-break: break-word;
  }
  aside {
    color: #333;
    border-inline-start-color: #bbb;
  }
  blockquote {
    border-inline-start-color: #999;
    color: #333;
  }
  h1,
  h2,
  h3,
  h4,
  figcaption {
    break-after: avoid;
  }
  pre,
  blockquote,
  figure,
  table,
  aside,
  .callout,
  .series-nav,
  math[display=block] {
    break-inside: avoid;
  }
  p,
  li {
    orphans: 3;
    widows: 3;
  }
}
