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

:root {
  color-scheme: dark;
  --ink: #120d19;
  --plum: #21152d;
  --violet: #6b4c86;
  --paper: #f2ede8;
  --muted: #b8aebe;
  --acid: #c6f135;
  --line: #493656;
  --surface: var(--ink);
  --surface-raised: var(--plum);
  --text: var(--paper);
  --text-secondary: var(--muted);
  --text-on-acid: var(--ink);
  --text-on-paper: var(--ink);
  --border: var(--line);
  --focus: var(--acid);
  --error: #ffb4ab;
  --error-surface: #331f2a;
  --success: var(--acid);
  --light-border: #c9bdcf;
  --light-muted: #594b63;
  --haci-b0d: 'Space Grotesk', sans-serif;
  --haci-022: 'Source Sans 3', sans-serif;
  --haci-edc: 'IBM Plex Mono', monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --text-xs: clamp(.75rem, .72rem + .12vw, .8125rem);
  --text-sm: clamp(.875rem, .84rem + .15vw, 1rem);
  --text-base: clamp(1.0625rem, 1rem + .22vw, 1.25rem);
  --text-lg: clamp(1.25rem, 1.1rem + .55vw, 1.625rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
  --text-2xl: clamp(1.875rem, 1.4rem + 2vw, 3.5rem);
  --text-3xl: clamp(2.375rem, 1.6rem + 3.5vw, 5.5rem);
  --text-4xl: clamp(2.75rem, 1.8rem + 5vw, 8rem);
  --text-poster: clamp(3.25rem, 10.8vw, 11.5rem);
  --leading-body: 1.55;
  --leading-reading: 1.65;
  --leading-heading: 1.06;
  --leading-poster: .96;
  --tracking-display: -.055em;
  --tracking-heading: -.04em;
  --tracking-meta: .08em;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --gutter: clamp(1rem, 4vw, 5rem);
  --scene-space: clamp(5rem, 12vw, 12rem);
  --section-space: clamp(3.5rem, 7vw, 7rem);
  --grid-gap: clamp(1.5rem, 3.5vw, 4rem);
  --shell-max: 1440px;
  --measure: 65ch;
  --measure-short: 42ch;
  --measure-wide: 82ch;
  --control-radius: 2px;
  --control-min: 44px;
  --control-pad-y: .75rem;
  --control-pad-x: 1.25rem;
  --rule-width: 1px;
  --header-height: 6rem;
  --consent-height: 0px;
  --chat-gap: 1rem;
  --shadow-panel: 0 16px 64px rgb(0 0 0 / .38);
  --shadow-control: 0 0 0 1px var(--acid);
  --z-base: 0;
  --z-header: 30;
  --z-chat: 40;
  --z-consent: 50;
  --z-dialog: 60;
  --z-skip: 100;
  --duration-fast: 140ms;
  --duration-control: 180ms;
  --duration-menu: 280ms;
  --duration-scene: 850ms;
  --duration-ticker: 32s;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-control: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; scroll-padding-top: calc(var(--header-height) + 1rem); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text); font: var(--weight-regular) var(--text-base)/var(--leading-body) var(--haci-022); -webkit-font-smoothing: antialiased; }
main, header, footer, section, article, aside, nav, div, figure, form, fieldset { min-width: 0; }
img, picture, svg, video, canvas { max-width: 100%; }
img, picture, video { display: block; }
img { height: auto; }
svg { vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
button, select { text-transform: none; }
button { cursor: pointer; }
button, [type='button'], [type='submit'] { -webkit-appearance: button; appearance: button; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }
textarea { resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
[aria-busy='true'] { cursor: progress; }
::selection { background: var(--acid); color: var(--ink); }
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd { margin: 0; }
ul, ol { margin-block: 0; padding-inline-start: 1.4em; }
li + li { margin-block-start: .45em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--haci-b0d); font-weight: 500; line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5, h6 { font-size: var(--text-lg); }
p, li, dd, dt, address, label { overflow-wrap: anywhere; }
strong, b { font-weight: 600; }
small { font-size: var(--text-sm); }
address { font-style: normal; }
hr { height: 0; margin-block: var(--space-7); border: 0; border-top: 1px solid var(--line); }
code, kbd, samp, pre { font-family: var(--haci-edc); font-size: .875em; }
code { overflow-wrap: anywhere; }
pre { max-width: 100%; overflow-x: auto; padding: var(--space-5); border: 1px solid var(--line); }
sub, sup { position: relative; vertical-align: baseline; font-size: .75em; line-height: 0; }
sub { bottom: -.25em; }
sup { top: -.5em; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
caption { text-align: start; }
th { font-weight: 600; text-align: start; }

.shell, .container { width: min(100% - var(--gutter) * 2, var(--shell-max)); margin-inline: auto; }
.full-bleed { width: 100%; }
.section { padding-block: var(--section-space); }
.scene { position: relative; padding-block: var(--scene-space); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--space-5)); }
.stack > * { margin-block: 0; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--space-4)); }
.cluster > * { min-width: 0; }
.grid { display: grid; gap: var(--grid-gap); }
.grid > *, .flex > * { min-width: 0; }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--grid-gap); align-items: start; }
.align-start { align-items: start; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.measure { max-width: var(--measure); }
.measure-short { max-width: var(--measure-short); }
.measure-wide { max-width: var(--measure-wide); }
.flow > * + * { margin-block-start: var(--flow-space, 1.5rem); }
.prose { max-width: var(--measure); line-height: var(--leading-reading); }
.prose > * + * { margin-block-start: 1.3em; }
.prose :where(h2, h3, h4) { margin-block-start: 2em; margin-block-end: .6em; }
.prose > :first-child { margin-block-start: 0; }
.prose h2 { font-size: var(--text-2xl); }
.prose h3 { font-size: var(--text-xl); }
.prose h4 { font-size: var(--text-lg); }
.prose li { padding-inline-start: .25em; }
.prose li::marker { color: var(--acid); }
.prose blockquote { border-inline-start: 2px solid var(--acid); padding-inline-start: clamp(1rem, 3vw, 2rem); font-size: var(--text-lg); color: var(--paper); }
.prose figcaption { margin-block-start: .75rem; font: 400 var(--text-xs)/1.6 var(--haci-edc); color: var(--muted); }
.prose a { text-decoration-color: var(--acid); }
.prose dl { border-block-start: 1px solid var(--line); }
.prose dt { margin-block-start: 1rem; font-weight: 600; }
.prose dd { padding-block: .4rem 1rem; border-block-end: 1px solid var(--line); color: var(--muted); }
.eyebrow, .meta, .label { font-family: var(--haci-edc); font-size: var(--text-xs); font-weight: 500; line-height: 1.5; letter-spacing: var(--tracking-meta); text-transform: uppercase; }
.eyebrow { display: block; color: var(--muted); margin-block-end: var(--space-5); }
.lead { font-size: var(--text-lg); line-height: 1.45; max-width: 48ch; }
.display { font-family: var(--haci-b0d); font-size: var(--text-poster); font-weight: 500; line-height: var(--leading-poster); letter-spacing: var(--tracking-display); overflow-wrap: break-word; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--acid); }
.text-mono { font-family: var(--haci-edc); }
.text-small { font-size: var(--text-sm); }
.text-center { text-align: center; }
.rule { border: 0; border-block-start: 1px solid var(--line); }
.rule-accent { border-color: var(--acid); }
.surface-paper { background: var(--paper); color: var(--ink); --text: var(--ink); --muted: var(--light-muted); --line: var(--light-border); --focus: var(--violet); color-scheme: light; }
.surface-plum { background: var(--plum); }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); pointer-events: none; }
.scroll-box { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.anchor-target, [id] { scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

@media (min-width: 1920px) {
  :root { --header-height: 7rem; }
}
@media (max-width: 767px) {
  :root { --header-height: 5rem; --grid-gap: 1.5rem; }
  .grid-two, .grid-three, .split { grid-template-columns: minmax(0, 1fr); }
  .mobile-stack { flex-direction: column; align-items: stretch; }
  .prose { line-height: 1.6; }
}
@media (max-width: 359px) {
  :root { --control-pad-x: 1rem; --tracking-display: -.06em; }
  .cluster { gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { transform: none !important; }
  .route-line, [data-route-line] { stroke-dashoffset: 0 !important; }
}
@media print {
  :root { --text: #120d19; --muted: #493656; --surface: #fff; }
  body { background: #fff; color: #120d19; font-size: 11pt; }
  h1, h2, h3 { break-after: avoid; }
  figure, table, blockquote { break-inside: avoid; }
  .shell, .container { width: 100%; }
  .section, .scene { padding-block: 2rem; }
}
