@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;800;900&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  --carbon: #0E0F11;
  --gunmetal: #1B1E22;
  --steel: #2A2F35;
  --graphite: #5C636B;
  --concrete: #C7CCD1;
  --paper: #ECEEF0;
  --signal: #FF5A1F;
  --signal-deep: #D9440F;
  --ink-dark: #F2F3F4;
  --ink-light: #0E0F11;
  --muted-on-dark: #C7CCD1;
  --muted-on-light: #4E555C;
  --line-dark: rgba(199, 204, 209, 0.18);
  --line-dark-strong: rgba(199, 204, 209, 0.34);
  --line-light: #C7CCD1;
  --line-light-strong: #8D949B;
  --grid-line: rgba(92, 99, 107, 0.12);
  --scrim: rgba(14, 15, 17, 0.78);
  --error: #FF7A52;
  --error-on-light: #B3330A;
  --ok: #7FD1A0;

  --bg: var(--carbon);
  --fg: var(--ink-dark);
  --muted: var(--muted-on-dark);
  --line: var(--line-dark);
  --line-strong: var(--line-dark-strong);

  --kefi-f64: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --kefi-776: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --kefi-632: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.6rem, 11vw, 8.5rem);
  --fs-h1: clamp(2.4rem, 8vw, 6rem);
  --fs-h2: clamp(2rem, 5.6vw, 4.25rem);
  --fs-h3: clamp(1.5rem, 2.8vw, 2.25rem);
  --fs-h4: clamp(1.25rem, 1.9vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.6vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-micro: 0.8125rem;
  --fs-label: 0.75rem;
  --lh-tight: 0.9;
  --lh-head: 1.02;
  --lh-body: 1.6;
  --track-label: 0.08em;
  --track-display: -0.012em;
  --measure: 66ch;
  --measure-narrow: 48ch;

  --sp-1: 0.375rem;
  --sp-2: 0.625rem;
  --sp-3: 1rem;
  --sp-4: 1.625rem;
  --sp-5: 2.625rem;
  --sp-6: 4.25rem;
  --sp-7: 6.875rem;
  --section-y: clamp(4rem, 10vw, 8rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --shell: 1320px;
  --header-h: 4.5rem;
  --tap: 44px;

  --rule: 3px;
  --rule-signal: 6px;
  --hair: 1px;
  --radius: 0;

  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 320ms;
  --dur-4: 600ms;
  --dur-5: 900ms;
  --dur-rotate: 2600ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.9, 0.3);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-hard: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-linear: linear;

  --z-base: 1;
  --z-depth-fg: 3;
  --z-header: 50;
  --z-chat: 70;
  --z-consent: 80;
  --z-skip: 100;

  color-scheme: dark;
}

@media (max-width: 899px) {
  :root { --header-h: 4rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--carbon);
  color: var(--ink-dark);
  font-family: var(--kefi-776);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  hanging-punctuation: first last;
}

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
iframe, embed, object { max-width: 100%; }
img { font-style: italic; color: var(--muted); background: transparent; }

input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; border-radius: 0; }
button:disabled { cursor: not-allowed; }
textarea { resize: vertical; }
table { border-collapse: collapse; border-spacing: 0; }
address { font-style: normal; }
hr { border: 0; border-top: var(--rule) solid var(--line-strong); margin: var(--sp-5) 0; }
[hidden] { display: none !important; }

main { display: block; }
main:focus { outline: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--kefi-f64);
  font-weight: 800;
  line-height: var(--lh-head);
  letter-spacing: var(--track-display);
  color: inherit;
  text-wrap: balance;
  overflow-wrap: break-word;
  font-variant-numeric: lining-nums;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: 900; }
h2 { font-size: var(--fs-h2); line-height: 0.95; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: 0; }
h5, h6 { font-family: var(--kefi-632); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--track-label); font-weight: 600; }

p, li, dd, td, th, figcaption { text-wrap: pretty; overflow-wrap: break-word; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--signal);
  transition: color var(--dur-2) var(--ease-out), text-decoration-color var(--dur-2) var(--ease-out), text-decoration-thickness var(--dur-2) var(--ease-out);
}
a:hover { text-decoration-thickness: 2px; color: var(--signal); }
a:active { color: var(--signal-deep); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

::selection { background: var(--signal); color: var(--carbon); }

strong, b { font-weight: 600; }
small { font-size: var(--fs-small); }
code, kbd, samp, pre { font-family: var(--kefi-632); font-size: 0.92em; }
pre { overflow-x: auto; max-width: 100%; padding: var(--sp-3); background: var(--steel); }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 0.2em; cursor: help; }
sup, sub { font-size: 0.7em; line-height: 0; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 44ch;
  color: var(--fg);
}

.display {
  font-family: var(--kefi-f64);
  font-weight: 900;
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.label, .eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em 0.75em;
  font-family: var(--kefi-632);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--muted);
}
.label--signal, .eyebrow--signal { color: var(--signal); }
.label__index { color: var(--signal); font-weight: 600; }
.label__sep { color: var(--graphite); }

.mono {
  font-family: var(--kefi-632);
  font-feature-settings: "zero" 1, "tnum" 1;
  letter-spacing: 0;
}
.num { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--muted); }
.accent { color: var(--signal); }
.nowrap { white-space: nowrap; }

.prose {
  max-width: var(--measure);
  color: var(--fg);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.2em; line-height: 1; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.9em; font-weight: 800; letter-spacing: 0; }
.prose h4 { margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose ul li::marker { content: "\2014\00a0 "; color: var(--signal); font-family: var(--kefi-632); }
.prose ol li::marker { font-family: var(--kefi-632); font-size: 0.85em; color: var(--signal); font-weight: 600; }
.prose a { font-weight: 500; }
.prose blockquote {
  border-left: var(--rule) solid var(--signal);
  padding: 0.2em 0 0.2em 1.2em;
  font-family: var(--kefi-f64);
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: 1.25;
}
.prose table { width: 100%; font-size: var(--fs-small); }
.prose th, .prose td { text-align: left; padding: 0.6em 0.8em; border-bottom: var(--hair) solid var(--line); vertical-align: top; }
.prose th { font-family: var(--kefi-632); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--track-label); font-weight: 600; }
.prose hr { margin: 2.4em 0; }
.prose dl { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 0.5em 1.5em; }
.prose dt { font-family: var(--kefi-632); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--track-label); color: var(--muted); padding-top: 0.2em; }
@media (max-width: 559px) {
  .prose dl { grid-template-columns: minmax(0, 1fr); gap: 0.2em; }
  .prose dd + dt { margin-top: 0.8em; }
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: calc(880px + var(--gutter) * 2); }
.shell--wide { max-width: calc(1600px + var(--gutter) * 2); }

.block {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--section-y);
  isolation: isolate;
}
.block + .block { border-top: var(--rule) solid var(--carbon); }
.block--carbon {
  --bg: var(--carbon); --fg: var(--ink-dark); --muted: var(--muted-on-dark);
  --line: var(--line-dark); --line-strong: var(--line-dark-strong);
}
.block--gunmetal {
  --bg: var(--gunmetal); --fg: var(--ink-dark); --muted: var(--muted-on-dark);
  --line: var(--line-dark); --line-strong: var(--line-dark-strong);
}
.block--steel {
  --bg: var(--steel); --fg: var(--ink-dark); --muted: var(--muted-on-dark);
  --line: rgba(199, 204, 209, 0.22); --line-strong: rgba(199, 204, 209, 0.4);
}
.block--paper {
  --bg: var(--paper); --fg: var(--ink-light); --muted: var(--muted-on-light);
  --line: var(--line-light); --line-strong: var(--line-light-strong);
  color-scheme: light;
}
.block--paper a:hover { color: var(--signal-deep); }
.block--paper ::selection { background: var(--carbon); color: var(--paper); }
.block--rule { border-top: var(--rule) solid var(--graphite); }
.block--paper.block--rule, .block + .block--paper { border-top-color: var(--carbon); }
.block--signal-rule { border-top: var(--rule-signal) solid var(--signal) !important; }
.block--tight { padding-block: calc(var(--section-y) * 0.6); }
.block--flush { padding-block: 0; }

.block__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-3);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding-bottom: var(--sp-4);
  border-bottom: var(--hair) solid var(--line);
}
@media (min-width: 900px) {
  .block__head { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: end; column-gap: var(--sp-5); }
  .block__head > .label { align-self: start; padding-top: 0.6rem; }
}
.block__title { font-size: var(--fs-h2); max-width: 18ch; }
.block__intro { color: var(--muted); max-width: 54ch; margin-top: var(--sp-3); }

.stack { display: flex; flex-direction: column; }
.stack > * { min-width: 0; }
.stack > * + * { margin-top: var(--stack-gap, var(--sp-3)); }
.stack--sm { --stack-gap: var(--sp-2); }
.stack--lg { --stack-gap: var(--sp-5); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, var(--sp-3));
}
.cluster > * { min-width: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--split-gap, var(--sp-5));
}
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--sp-3);
  row-gap: var(--sp-4);
}
.grid-12 > * { min-width: 0; grid-column: 1 / -1; }
@media (min-width: 900px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-4); }
}

.gridlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 4) 100%, 100% 6rem;
  background-position: 0 0, 0 0;
}
@media (min-width: 900px) {
  .gridlines { background-size: calc(100% / 12) 100%, 100% 8rem; }
}

.coord {
  font-family: var(--kefi-632);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--graphite);
  line-height: 1;
}
.coord--signal { color: var(--signal); }

.dimuea1 {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--graphite) transparent;
}
.dimuea1:focus-visible { outline-offset: 0; }

.media {
  position: relative;
  overflow: hidden;
  background: var(--steel);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 4 / 5; }

[data-depth] { will-change: auto; }

.visually-hidden, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-skip);
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.6rem 1.1rem;
  background: var(--signal);
  color: var(--carbon);
  font-family: var(--kefi-632);
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus, .skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--ink-dark);
  outline-offset: 2px;
  color: var(--carbon);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  vertical-align: middle;
}
.icon--sm { width: 0.95em; height: 0.95em; }
.icon--lg { width: 1.5em; height: 1.5em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  [data-depth] { transform: none !important; translate: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .consent, .chat-launcher, .chat-panel, .skip-link { display: none !important; }
  .block { padding-block: 1.5rem; background: #fff; color: #000; }
  a { text-decoration: underline; }
}
