@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,600;9..144,900&family=Work+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  --ink: #0b0c0f;
  --surface: #15161b;
  --paper: #ece7dc;
  --muted: #9b9488;
  --garnet: #7c1632;
  --garnet-bright: #a8395a;
  --brass: #c9a227;
  --surface-raised: #1e1e24;
  --surface-deep: #101115;
  --text-secondary: #c4bdb1;
  --rule: #39363a;
  --rule-soft: #29282d;
  --rule-brass: rgb(201 162 39 / .5);
  --error: #f1a9b6;
  --error-ground: #321820;
  --success: #ece7dc;
  --success-ground: #25281f;
  --white: #fffaf0;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --weight-display: 900;
  --type-xs: clamp(.6875rem, .66rem + .12vw, .75rem);
  --type-sm: clamp(.8125rem, .77rem + .18vw, .9375rem);
  --type-base: clamp(1rem, .975rem + .1vw, 1.125rem);
  --type-lead: clamp(1.125rem, 1rem + .55vw, 1.5rem);
  --type-h4: clamp(1.25rem, 1.1rem + .65vw, 1.875rem);
  --type-h3: clamp(1.625rem, 1.28rem + 1.2vw, 2.625rem);
  --type-h2: clamp(2rem, 1.4rem + 2.5vw, 4.5rem);
  --type-h1: clamp(2.375rem, 1.5rem + 3.9vw, 6.375rem);
  --type-display: clamp(2.75rem, 1.6rem + 5.2vw, 8rem);
  --leading-display: 1.04;
  --leading-heading: 1.12;
  --leading-body: 1.7;
  --tracking-display: -.045em;
  --tracking-heading: -.025em;
  --tracking-meta: .08em;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --sidebar-width: 280px;
  --shell-width: 1400px;
  --reading-width: 720px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(4rem, 9vw, 6.5rem);
  --section-space-small: clamp(2.5rem, 5vw, 4rem);
  --grid-gap: clamp(1.5rem, 3vw, 3rem);
  --radius: 4px;
  --hairline: 1px solid var(--rule);
  --brass-hairline: 1px solid var(--rule-brass);
  --shadow-panel: 0 24px 70px rgb(0 0 0 / .45);
  --shadow-document: 0 8px 20px rgb(0 0 0 / .2), 0 35px 70px rgb(0 0 0 / .22);
  --focus-ring: 2px solid var(--brass);
  --focus-offset: 4px;
  --duration-instant: 90ms;
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-slow: 650ms;
  --duration-editorial: 1100ms;
  --ease-standard: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-press: cubic-bezier(.3, 0, .7, 1);
  --header-offset: 24px;
  --cookie-height: 0px;
  --z-sidebar: 30;
  --z-backdrop: 35;
  --z-menu: 40;
  --z-chat: 60;
  --z-consent: 70;
  --z-modal: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-offset); scrollbar-gutter: stable; }
body { margin: 0; background: var(--ink); color: var(--paper); font: var(--weight-normal) var(--type-base)/var(--leading-body) var(--font-body); -webkit-font-smoothing: antialiased; }
body, main, section, article, aside, header, footer, nav, form, fieldset, figure, div { min-width: 0; }
main { display: block; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding-inline-start: 1.3em; }
li + li { margin-top: .5em; }
img, picture, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; max-width: 100%; }
button, select, input[type='checkbox'], input[type='radio'] { cursor: pointer; }
button { border: 0; background: none; border-radius: var(--radius); line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
input, textarea, select { border-radius: var(--radius); }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: rgb(168 57 90 / .2); }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; }
button:disabled { opacity: .6; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
textarea { resize: vertical; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-color: var(--brass); }
a:not([href]) { cursor: default; }
strong, b { font-weight: var(--weight-strong); }
em, i { font-style: italic; }
small { font-size: var(--type-sm); }
hr { border: 0; border-top: var(--hairline); margin-block: var(--space-12); }
address { font-style: normal; }
abbr[title] { text-decoration-style: dotted; text-underline-offset: .2em; }
sub, sup { font-size: .7em; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }
::selection { background: var(--garnet); color: var(--white); }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
[inert] { pointer-events: none; user-select: none; }
[id] { scroll-margin-top: calc(var(--header-offset) + 16px); }

h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 300; font-optical-sizing: auto; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: var(--type-h1); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--type-h2); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); }
h3 { font-size: var(--type-h3); line-height: 1.18; letter-spacing: -.02em; }
h4 { font-size: var(--type-h4); line-height: 1.25; letter-spacing: -.012em; }
h5, h6 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.4; }
p { overflow-wrap: anywhere; }
.display { font-size: var(--type-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.lead { font-size: var(--type-lead); line-height: 1.55; letter-spacing: -.015em; color: var(--text-secondary); }
.eyebrow, .meta, .status-label { font-family: var(--font-mono); font-size: var(--type-xs); line-height: 1.6; letter-spacing: var(--tracking-meta); text-transform: uppercase; }
.eyebrow { display: block; color: var(--text-secondary); margin-bottom: var(--space-6); }
.eyebrow::before { content: ''; display: inline-block; width: 1.5rem; border-top: 1px solid var(--brass); margin-right: .75rem; vertical-align: middle; }
.meta, .caption { color: var(--muted); }
.caption { font-size: var(--type-sm); line-height: 1.6; }
.text-muted { color: var(--muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--paper); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .18em; }
.text-small { font-size: var(--type-sm); }
.text-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.text-balance { text-wrap: balance; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.measure { max-width: 64ch; }
.measure-narrow { max-width: 42ch; }
.measure-wide { max-width: 78ch; }

.prose { max-width: var(--reading-width); overflow-wrap: anywhere; color: var(--text-secondary); }
.prose > * + * { margin-top: 1.4em; }
.prose > :is(h2, h3, h4) { margin-top: 2.2em; color: var(--paper); }
.prose > :is(h2, h3, h4) + * { margin-top: 1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.875rem, 1.5rem + 1.5vw, 3rem); }
.prose h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); }
.prose li { padding-left: .25em; }
.prose li::marker { color: var(--brass); }
.prose li > ul, .prose li > ol { margin-top: .65em; }
.prose blockquote { border-left: 1px solid var(--brass); padding: .5rem 0 .5rem 1.5rem; font-family: var(--font-display); font-size: var(--type-h4); line-height: 1.4; color: var(--paper); }
.prose blockquote cite { display: block; font-family: var(--font-mono); font-size: var(--type-sm); font-style: normal; margin-top: 1rem; color: var(--muted); }
.prose code, .prose kbd { font-family: var(--font-mono); font-size: .85em; background: var(--surface-raised); color: var(--paper); padding: .15em .35em; border-radius: 2px; overflow-wrap: anywhere; }
.prose pre { max-width: 100%; overflow-x: auto; padding: 1.5rem; background: var(--surface); font-family: var(--font-mono); font-size: .875rem; }
.prose pre code { padding: 0; }
.prose dl { display: grid; gap: .5rem 1.5rem; }
.prose dt { font-weight: 600; margin-top: 1rem; color: var(--paper); }
.prose a { color: var(--paper); text-decoration-skip-ink: auto; }
.prose figure { margin-block: 2.5rem; }
.prose figcaption { margin-top: .75rem; font-size: var(--type-sm); color: var(--muted); }

.shell, .container { width: min(var(--shell-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.shell-wide { width: calc(100% - var(--gutter) * 2); max-width: 1600px; margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-small { padding-block: var(--section-space-small); }
.section-rule { border-top: var(--hairline); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 1.5rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, 1rem); }
.cluster > *, .split > *, .grid > * { min-width: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.grid { display: grid; gap: var(--grid-gap); }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.align-start { align-items: start; }
.align-center { align-items: center; }
.push-end { margin-inline-start: auto; }
.full-width { width: 100%; }
.flow > * + * { margin-top: var(--flow-space, 1.5rem); }
.inset { padding: clamp(1.25rem, 3vw, 3rem); }
.rule-top { border-top: var(--hairline); padding-top: var(--space-6); }
.rule-bottom { border-bottom: var(--hairline); padding-bottom: var(--space-6); }
.visually-hidden, .sr-only, .honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.honeypot { pointer-events: none; }
.scroll-box { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--muted) var(--surface); scrollbar-width: thin; }
.icon { display: inline-block; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; vertical-align: middle; }
.no-js-note { border-left: 1px solid var(--brass); padding-left: 1rem; font-size: var(--type-sm); }

@media (min-width: 960px) { body > main, body > .site-footer, body > .page-column, body > noscript > .no-js-footer { margin-left: var(--sidebar-width); } }
@media (max-width: 959px) { :root { --header-offset: 84px; } .grid-three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .split { grid-template-columns: minmax(0, 1fr); } .desktop-only { display: none !important; } .prose blockquote { padding-left: 1rem; } }
@media (max-width: 480px) { .grid-two { grid-template-columns: minmax(0, 1fr); } .cluster { gap: .75rem; } .mobile-full { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  :root { --duration-instant: 0ms; --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; --duration-editorial: 0ms; }
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-route-path] { stroke-dashoffset: 0 !important; }
}
@media (forced-colors: active) {
  :root { --rule: CanvasText; --brass: Highlight; --muted: CanvasText; --text-secondary: CanvasText; }
  a { text-decoration: underline; }
  button, input, textarea, select { border: 1px solid ButtonText; }
  :focus-visible { outline: 2px solid Highlight; }
}
@media print {
  :root { --paper: #000; --ink: #fff; --surface: #fff; --muted: #444; --text-secondary: #222; --rule: #999; --gutter: 0px; }
  body { font-size: 11pt; }
  body > main, body > .site-footer { margin-left: 0; }
  .shell, .container { width: 100%; max-width: none; }
  .site-sidebar, .menu-toggle, .nav-backdrop, .cookie-banner, .chat-widget, .skip-link, .no-print { display: none !important; }
  h1, h2, h3 { break-after: avoid; }
  figure, blockquote { break-inside: avoid; }
  a { color: inherit; }
  .section { padding-block: 2rem; }
}
