@font-face { font-family: Inter; src: url('/notes/assets/inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light dark; --paper: #faf9fc; --ink: #24202d; --muted: #615c6d; --line: #ded9e7; --accent: #6548b3; --wash: #f0ecf7; }
@media (prefers-color-scheme: dark) { :root { --paper: #17151c; --ink: #eeeaf5; --muted: #b6afc5; --line: #39333f; --accent: #b6a0f0; --wash: #24202e; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 Inter, system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .18em; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -6rem; left: 1rem; background: var(--paper); padding: .5rem; }
.skip:focus { top: .5rem; }
.notes-header { max-width: 76rem; margin: auto; padding: 1.1rem 2rem; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.notes-brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.notes-header nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; }
.notes-header nav a { text-decoration: none; }
.notes-header [aria-current] { border-bottom: 2px solid var(--accent); }
.note { width: min(100% - 3rem, 45rem); margin: 4.5rem auto 5rem; }
.eyebrow { color: var(--accent); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; text-decoration: none; }
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.12; letter-spacing: -.045em; margin: 1rem 0 1.3rem; font-weight: 650; overflow-wrap: anywhere; }
.note-deck { font-size: 1.2rem; line-height: 1.6; color: var(--muted); }
.note-byline { color: var(--muted); font-size: .9rem; padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.note-body { font-size: 1.075rem; margin-top: 2.8rem; overflow-wrap: anywhere; }
.note-body h2 { font-size: 1.65rem; line-height: 1.3; margin: 2.6rem 0 1rem; letter-spacing: -.025em; }
.note-body h3 { line-height: 1.4; margin-top: 2rem; }
.note-body p, .note-body ul, .note-body ol { margin: 1.25rem 0; }
.note-body li { margin: .6rem 0; padding-left: .25rem; }
.note-body blockquote { border-left: 3px solid var(--accent); margin: 2rem 0; padding-left: 1.3rem; color: var(--muted); }
.note-body img { display: block; max-width: 100%; height: auto; margin: 2rem auto .5rem; border-radius: .3rem; }
.note-caption { display: block; text-align: center; color: var(--muted); font-size: .9rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--wash); padding: 1rem; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; } th, td { border: 1px solid var(--line); padding: .5rem; }
.notes-footer { width: min(100% - 3rem, 45rem); margin: 0 auto 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: .9rem; color: var(--muted); }
.notes-signup { width: min(100% - 3rem, 45rem); margin: 0 auto 3rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.notes-signup h2 { margin: 0 0 .75rem; font-size: 1.5rem; line-height: 1.3; }
.notes-signup p { margin: .75rem 0; }
.notes-signup-link { display: inline-block; padding: .5rem 0; font-weight: 650; }
.notes-signup .notes-signup-detail { color: var(--muted); font-size: .9rem; }
.notes-list { list-style: none; padding: 0; margin: 3rem 0; }
.notes-list li { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.notes-list h2 { margin: 0; line-height: 1.3; }
.notes-list h2 a { text-decoration: none; }
.notes-list time { color: var(--muted); font-size: .9rem; }
.notes-empty { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; color: var(--muted); }
.private-banner { padding: .65rem 1.5rem; background: var(--wash); color: var(--accent); text-align: center; font-size: .85rem; }
@media (max-width: 40rem) { .notes-header { padding: 1rem 1.5rem; } .note { margin-top: 2.5rem; } .notes-header nav { gap: .8rem; } }
