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

:root {
  color-scheme: light;
  --ink: #10151b;
  --paper: #eef1f3;
  --slate: #3c4a5c;
  --steel: #7c8a99;
  --line: #c9d2d8;
  --accent: #1fb6c9;
  --accent-deep: #0e7c8a;
  --white: #ffffff;
  --muted: #536171;
  --surface: #e3e9ed;
  --surface-raised: #f7f9fa;
  --accent-wash: #d3edf0;
  --error: #a12d26;
  --error-wash: #fbece9;
  --success: #23644f;
  --success-wash: #e0efe8;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Public Sans', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-display: 700;
  --weight-poster: 900;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: clamp(1rem, .95rem + .2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + .5vw, 1.5rem);
  --text-xl: clamp(1.375rem, 1.12rem + 1vw, 2rem);
  --title-sm: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  --title-md: clamp(2.25rem, 1.25rem + 4vw, 5rem);
  --title-lg: clamp(2.75rem, 1.3rem + 6vw, 7.5rem);
  --title-xl: clamp(3.15rem, 1.3rem + 8vw, 10rem);
  --title-poster: clamp(3.5rem, 1rem + 10vw, 12rem);
  --leading-body: 1.65;
  --leading-prose: 1.78;
  --leading-heading: 1.02;
  --leading-poster: .94;
  --tracking-heading: -.025em;
  --tracking-poster: -.035em;
  --tracking-label: .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-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-section: clamp(4rem, 8vw, 9rem);
  --space-section-sm: clamp(2.75rem, 5vw, 5.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 1400px;
  --measure-prose: 66ch;
  --measure-narrow: 48ch;
  --radius: 2px;
  --border: 1px solid var(--line);
  --shadow-small: 0 3px 0 rgb(16 21 27 / .08);
  --shadow-panel: 0 14px 50px rgb(16 21 27 / .18);
  --focus-ring: 3px solid var(--accent-deep);
  --focus-offset: 4px;
  --header-size: 6rem;
  --header-compact-size: 4.5rem;
  --cookie-height: 0px;
  --z-header: 30;
  --z-menu: 35;
  --z-chat: 50;
  --z-cookie: 60;
  --z-dialog: 70;
  --z-skip: 100;
  --duration-instant: 80ms;
  --duration-fast: 160ms;
  --duration-base: 260ms;
  --duration-slow: 520ms;
  --duration-reveal: 850ms;
  --ease-standard: cubic-bezier(.2, .7, .2, 1);
  --ease-enter: cubic-bezier(.16, 1, .3, 1);
  --ease-exit: cubic-bezier(.7, 0, .84, 0);
  --ease-depth: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; scroll-padding-top: calc(var(--header-compact-size) + 1.5rem); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--text-base); font-weight: 400; line-height: var(--leading-body); -webkit-font-smoothing: antialiased; }
body, main, section, article, aside, header, footer, nav, form, fieldset, figure { min-width: 0; }
main { display: block; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin-block: 0; padding-inline-start: 1.4em; }
li + li { margin-top: .5em; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border-radius: var(--radius); }
button:disabled { cursor: not-allowed; }
button, input, textarea, select { max-width: 100%; }
input, textarea, select { min-width: 0; }
textarea { resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
img, picture, video, canvas, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
img { font-size: .875rem; color: var(--slate); }
iframe { border: 0; }
svg { flex-shrink: 0; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
caption { text-align: left; }
th { text-align: left; font-weight: 600; }
hr { margin: var(--space-10) 0; border: 0; border-top: var(--border); }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
[disabled], [aria-disabled='true'] { opacity: .55; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--accent); color: var(--ink); }
:target { scroll-margin-top: calc(var(--header-compact-size) + 1.5rem); }

h1, h2, h3, h4, h5, h6, .display { font-family: var(--font-display); font-weight: var(--weight-display); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--title-xl); font-weight: 900; }
h2 { font-size: var(--title-md); }
h3 { font-size: var(--title-sm); }
h4 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); }
h5, h6 { font-size: 1.375rem; }
p { overflow-wrap: break-word; }
strong, b { font-weight: 600; }
small { font-size: var(--text-sm); }
address { font-style: normal; }
code, pre, kbd, samp { font-family: var(--font-mono); font-size: .88em; }
code { overflow-wrap: anywhere; }
pre { overflow-x: auto; padding: var(--space-6); background: var(--surface); border: var(--border); }
mark { background: var(--accent-wash); color: var(--ink); padding-inline: .15em; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; }
sub, sup { line-height: 0; font-size: .75em; }
.display-xl { font-size: var(--title-poster); line-height: var(--leading-poster); font-weight: 900; letter-spacing: var(--tracking-poster); }
.display-lg { font-size: var(--title-lg); font-weight: 900; }
.display-md { font-size: var(--title-md); }
.lead { font-size: var(--text-lg); line-height: 1.55; max-width: 48ch; }
.eyebrow, .meta, .part-code { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: var(--tracking-label); line-height: 1.55; margin-bottom: var(--space-6); color: var(--slate); }
.meta { color: var(--muted); line-height: 1.6; }
.part-code { letter-spacing: .03em; overflow-wrap: anywhere; }
.text-accent { color: var(--accent-deep); }
.text-muted { color: var(--muted); }
.text-small { font-size: var(--text-sm); }
.text-mono { font-family: var(--font-mono); }
.text-balance { text-wrap: balance; }

.prose { max-width: var(--measure-prose); line-height: var(--leading-prose); }
.prose > * + * { margin-top: var(--space-6); }
.prose > :is(h2, h3, h4) { margin-top: var(--space-12); margin-bottom: var(--space-6); }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--accent-deep); font-weight: 500; }
.prose li { padding-left: .25em; }
.prose li::marker { color: var(--accent-deep); }
.prose blockquote { padding: var(--space-6) var(--space-8); border-left: 3px solid var(--accent); font-size: var(--text-lg); line-height: 1.5; background: var(--surface); }
.prose blockquote cite { display: block; margin-top: var(--space-4); font-size: var(--text-sm); font-style: normal; }
.prose dl { display: grid; gap: .75rem 1.5rem; }
.prose dt { font-weight: 600; }
.prose dd { color: var(--slate); margin-bottom: var(--space-4); }
.prose figure { margin-block: var(--space-10); }
.prose figcaption { font-size: var(--text-sm); margin-top: var(--space-3); color: var(--muted); }
.prose code { background: var(--surface); padding: .1em .3em; border-radius: var(--radius); }
.prose .button { text-decoration: none; }

.container { width: 100%; max-width: calc(var(--measure) + var(--gutter) * 2); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section-sm { padding-block: var(--space-section-sm); }
.section-rule { border-top: var(--border); }
.flow > * + * { margin-top: var(--flow-space, var(--space-6)); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--space-6)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--space-4)); }
.cluster > *, .stack > *, .grid > *, .split > * { min-width: 0; }
.grid { display: grid; gap: var(--grid-gap, var(--space-8)); }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); }
.reading-width { max-width: var(--measure-prose); }
.narrow-width { max-width: var(--measure-narrow); }
.align-start { align-items: start; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.surface { background: var(--surface); }
.surface-light { background: var(--surface-raised); }
.rule-top { border-top: var(--border); }
.rule-bottom { border-bottom: var(--border); }
.full-width { width: 100%; }
.inset { padding: clamp(1.25rem, 3vw, 3rem); }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--steel) var(--surface); scrollbar-width: thin; }
.table-scroll:focus-visible { outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; pointer-events: none; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 2rem; height: 2rem; }
.media-frame { overflow: hidden; background: var(--surface); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
[data-depth] { transform-origin: center; }
[data-reveal], [data-stagger] { visibility: visible; }

@media (min-width: 1440px) {
  :root { --header-size: 6.75rem; }
  .prose { font-size: 1.125rem; }
}
@media (max-width: 1023px) {
  .grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: var(--space-8); }
}
@media (max-width: 767px) {
  :root { --header-size: 5rem; --header-compact-size: 4.25rem; }
  .grid-two, .grid-three, .split { grid-template-columns: minmax(0, 1fr); }
  .prose blockquote { padding: var(--space-5); }
  .section { padding-block: var(--space-section); }
}
@media (max-width: 359px) {
  .grid-four { grid-template-columns: minmax(0, 1fr); }
  .cluster { gap: var(--space-3); }
  .eyebrow { letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --duration-instant: 0ms; --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 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; }
  [data-depth], [data-parallax], [data-reveal] { transform: none !important; opacity: 1 !important; visibility: visible !important; }
}
@media print {
  :root { --paper: #fff; --ink: #000; --slate: #333; --gutter: 0; --space-section: 2rem; }
  body { font-size: 11pt; background: #fff; color: #000; }
  h1 { font-size: 40pt; }
  h2 { font-size: 26pt; }
  h3 { font-size: 20pt; }
  a { text-decoration: underline; }
  p, li { orphans: 3; widows: 3; }
  h1, h2, h3, h4 { break-after: avoid; }
  img, tr, figure { break-inside: avoid; }
  [data-depth], [data-reveal] { transform: none !important; opacity: 1 !important; }
  .container { max-width: none; }
  .table-scroll { overflow: visible; }
}
