@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=IBM+Plex+Sans:wght@400;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  --void: #05070d;
  --navy: #0c1526;
  --panel: #111d33;
  --line: #24314c;
  --paper: #e9eef7;
  --muted: #93a2c1;
  --signal: #5ef2ff;
  --error: #ffb5ad;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --weight-display: 700;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: clamp(1rem, .96rem + .2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + .5vw, 1.5rem);
  --text-xl: clamp(1.375rem, 1.05rem + 1.3vw, 2.25rem);
  --text-h3: clamp(1.5rem, 1.15rem + 1.7vw, 2.75rem);
  --text-h2: clamp(2rem, 1.15rem + 3.8vw, 4.5rem);
  --text-h1: clamp(2.375rem, 1rem + 6vw, 6rem);
  --text-hero: clamp(2.75rem, 1rem + 7.4vw, 7.5rem);
  --text-index: clamp(5rem, 2rem + 15vw, 16rem);
  --leading-body: 1.65;
  --leading-heading: 1.06;
  --leading-display: .97;
  --tracking-tight: -.045em;
  --tracking-heading: -.03em;
  --tracking-meta: .075em;
  --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-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(3rem, 8vw, 7rem);
  --shell-max: 1280px;
  --reading-width: 69ch;
  --frame-width: 6px;
  --header-min: 56px;
  --header-space: 78px;
  --cookie-offset: 0px;
  --tap: 44px;
  --radius: 0;
  --border: 1px solid var(--line);
  --outline: 2px solid var(--signal);
  --duration-instant: 80ms;
  --duration-fast: 160ms;
  --duration-ui: 240ms;
  --duration-panel: 380ms;
  --duration-reveal: 650ms;
  --duration-marquee: 32s;
  --ease-ui: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-charge: cubic-bezier(.76, 0, .24, 1);
  --z-frame: 90;
  --z-header: 40;
  --z-menu: 45;
  --z-cookie: 80;
  --z-chat: 70;
  --z-dialog: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; scroll-padding-top: calc(var(--header-space) + 1rem); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 0; background: var(--void); color: var(--paper); font-family: var(--font-body); font-size: var(--text-base); font-weight: 400; line-height: var(--leading-body); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
body, input, button, select, textarea { font-synthesis: none; }
main, header, footer, nav, section, article, aside, form, figure, div { min-width: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 500; line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-xl); }
h5, h6 { font-size: var(--text-lg); }
p, li, dd, label, figcaption { overflow-wrap: break-word; }
a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding-block: .15rem; color: var(--signal); text-underline-offset: .22em; text-decoration-thickness: 1px; overflow-wrap: anywhere; vertical-align: baseline; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
button, [role='button'] { min-height: var(--tap); overflow-wrap: anywhere; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: var(--outline); outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }
img, picture, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
svg { max-width: 100%; }
svg.icon { display: inline-block; width: 1.25rem; height: 1.25rem; flex: 0 0 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; vertical-align: middle; }
input, select, textarea { max-width: 100%; min-width: 0; }
textarea { resize: vertical; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { max-width: 100%; padding: 0; }
ul, ol { padding-inline-start: 1.35em; }
li + li { margin-top: .5em; }
hr { height: 0; margin: var(--space-8) 0; border: 0; border-top: var(--border); }
table { border-collapse: collapse; border-spacing: 0; font-size: var(--text-sm); }
caption { text-align: left; }
th { font-weight: 600; text-align: left; }
code, kbd, samp, pre { font-family: var(--font-mono); font-size: .85em; }
code { color: var(--signal); overflow-wrap: anywhere; }
pre { max-width: 100%; padding: var(--space-5); background: var(--void); border: var(--border); overflow: auto; }
pre code { overflow-wrap: normal; }
kbd { display: inline-block; padding: .1em .4em; border: var(--border); border-bottom-width: 2px; color: var(--paper); }
strong, b { font-weight: 600; }
em { font-style: italic; }
small { font-size: var(--text-sm); }
address { font-style: normal; overflow-wrap: anywhere; }
summary { cursor: pointer; min-height: var(--tap); }
::selection { color: var(--void); background: var(--signal); }
:target { scroll-margin-top: calc(var(--header-space) + 1.5rem); }

.shell { width: min(calc(100% - var(--frame-width) * 2), var(--shell-max)); margin-inline: auto; background: var(--navy); border-inline: var(--border); min-height: 100svh; }
.container { width: 100%; max-width: var(--shell-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-space); }
.section + .section { border-top: var(--border); }
.section--compact { padding-block: clamp(2rem, 5vw, 4rem); }
.section--flush { padding-block: 0; }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 1.5rem); }
.stack > * { min-width: 0; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, 1rem); }
.cluster > * { min-width: 0; }
.spread { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; }
.grid { display: grid; gap: var(--grid-gap, 1.5rem); }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid > *, .spread > * { min-width: 0; }
.measure { max-width: var(--reading-width); }
.measure--short { max-width: 45ch; }
.flow > * + * { margin-block-start: var(--flow-space, 1.5rem); }
.prose { max-width: var(--reading-width); color: var(--paper); line-height: 1.75; }
.prose > * + * { margin-block-start: 1.4rem; }
.prose h2 { margin-top: 3.5rem; font-size: clamp(1.75rem, 1.3rem + 1.9vw, 3rem); }
.prose h3 { margin-top: 2.5rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); }
.prose h2 + *, .prose h3 + * { margin-top: 1.2rem; }
.prose > :first-child { margin-top: 0; }
.prose a { text-decoration-line: underline; }
.prose ul, .prose ol { margin-bottom: 0; }
.prose li::marker { color: var(--signal); }
.prose blockquote { border-left: 2px solid var(--signal); padding: .5rem 0 .5rem 1.5rem; font-size: var(--text-lg); }
.prose blockquote cite { display: block; font-size: var(--text-sm); color: var(--muted); margin-top: 1rem; font-style: normal; }
.prose dt { font-weight: 600; margin-top: 1.5rem; }
.prose dd { color: var(--muted); margin-top: .4rem; }
.prose .notice { max-width: none; }
.eyebrow, .meta, .kicker { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; line-height: 1.6; letter-spacing: var(--tracking-meta); text-transform: uppercase; }
.eyebrow, .kicker { color: var(--signal); }
.meta { color: var(--muted); }
.lead { font-size: var(--text-lg); line-height: 1.55; max-width: 49ch; }
.display { font-family: var(--font-display); font-size: var(--text-hero); line-height: var(--leading-display); letter-spacing: var(--tracking-tight); font-weight: 500; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.signal { color: var(--signal); }
.text-small { font-size: var(--text-sm); }
.rule-top { border-top: var(--border); }
.rule-bottom { border-bottom: var(--border); }
.visually-hidden, .sr-only { 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 { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; pointer-events: none; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--line) var(--void); }
.table-scroll:focus-visible { outline-offset: -2px; }
.anchor-target { scroll-margin-top: calc(var(--header-space) + 2rem); }
.no-js-note { padding: 1rem var(--gutter); background: var(--panel); border-block: var(--border); font-size: var(--text-sm); }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: initial; }

@media (min-width: 1440px) { :root { --header-space: 80px; } .shell { border-inline-color: var(--line); } }
@media (max-width: 767px) { .grid--three { grid-template-columns: minmax(0, 1fr); } .grid--two { grid-template-columns: minmax(0, 1fr); } .prose { line-height: 1.7; } }
@media (max-width: 413px) { :root { --header-space: 76px; --tracking-meta: .035em; } .cluster { gap: .75rem; } .display { letter-spacing: -.045em; } }
@media (prefers-reduced-motion: reduce) {
  :root { --duration-instant: 0ms; --duration-fast: 0ms; --duration-ui: 0ms; --duration-panel: 0ms; --duration-reveal: 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; }
  .marquee__track { animation: none !important; transform: none !important; }
}
@media (forced-colors: active) {
  :root { --line: CanvasText; --signal: LinkText; --paper: CanvasText; --muted: CanvasText; }
  button, input, select, textarea { border: 1px solid ButtonText; }
  a:focus-visible, button:focus-visible { outline-color: Highlight; }
  img { forced-color-adjust: none; }
}
@media print {
  :root { color-scheme: light; --void: #fff; --navy: #fff; --panel: #fff; --paper: #000; --muted: #333; --line: #888; --signal: #000; }
  body { font-size: 11pt; }
  .shell { width: 100%; border: 0; }
  .site-header, .cookie-banner, .chat-root, .marquee, .skip-link, .menu-toggle { display: none !important; }
  main { padding-top: 0 !important; }
  a { color: #000; }
  h1, h2, h3 { break-after: avoid; }
  figure, table { break-inside: avoid; }
}
