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

:root {
  --ink: #11171D;
  --slate: #2B3A47;
  --slate-deep: #22303B;
  --steel: #4A5A66;
  --steel-light: #A6B3BD;
  --concrete: #D9DDDF;
  --concrete-deep: #C6CCD0;
  --paper: #F3F4F2;
  --white: #FFFFFF;
  --ice: #3FC1C9;
  --ice-deep: #0A646B;
  --ice-ink: #0A5A61;
  --danger: #B3261E;
  --danger-ground: #FBEAE8;
  --ok: #1D6B45;

  --numeral-on-light: #C6CCD0;
  --numeral-on-concrete: #C3C9CD;
  --numeral-on-dark: rgba(94, 113, 128, 0.42);

  --text: var(--ink);
  --text-muted: #46566290;
  --text-soft: #4A5965;
  --ground: var(--paper);
  --rule: var(--ink);
  --rule-soft: rgba(17, 23, 29, 0.16);
  --rule-on-dark: rgba(243, 244, 242, 0.18);

  --hemi-a0f: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --hemi-902: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --hemi-232: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-micro: 0.75rem;
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 0.6vw + 1rem, 1.375rem);
  --fs-h6: 1rem;
  --fs-h5: clamp(1.125rem, 0.4vw + 1.05rem, 1.3rem);
  --fs-h4: clamp(1.35rem, 0.9vw + 1.1rem, 1.75rem);
  --fs-h3: clamp(1.75rem, 1.8vw + 1.25rem, 2.6rem);
  --fs-h2: clamp(2.25rem, 4.2vw + 1rem, 4.75rem);
  --fs-h1: clamp(2.5rem, 9vw, 7.5rem);
  --fs-numeral: clamp(6rem, 22vw, 22rem);
  --fs-numeral-step: clamp(4.5rem, 12vw, 10rem);

  --lh-tight: 0.9;
  --lh-head: 1;
  --lh-snug: 1.25;
  --lh-body: 1.6;
  --measure: 62ch;
  --measure-narrow: 44ch;

  --track-display: -0.01em;
  --track-display-xl: -0.02em;
  --track-mono: 0.04em;
  --track-label: 0.14em;

  --base: 8px;
  --s-0: 0.25rem;
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;
  --section-y: clamp(4rem, 10vw, 9rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --col-gap: clamp(1rem, 2.5vw, 2.5rem);
  --shell-max: 1440px;
  --rail-w: 88px;
  --header-h: 72px;

  --radius: 0;
  --border: 2px solid var(--ink);
  --border-thin: 1px solid var(--rule-soft);
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-hard-sm: 3px 3px 0 var(--ink);
  --shadow-lift: 0 10px 24px -14px rgba(17, 23, 29, 0.55);
  --focus-ring: 0 0 0 3px var(--paper), 0 0 0 5px var(--ice-deep);

  --stripe: repeating-linear-gradient(-45deg, var(--slate) 0 14px, var(--ice) 14px 28px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-wipe: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-press: cubic-bezier(0.3, 0, 0.5, 1);
  --dur-fast: 120ms;
  --dur: 160ms;
  --dur-mid: 200ms;
  --dur-slow: 420ms;
  --dur-sheet: 360ms;
  --dur-reveal: 900ms;
  --dur-wipe: 1100ms;
  --stagger-line: 0.08s;
  --stagger-wipe: 0.15s;

  --z-base: 1;
  --z-numeral: 0;
  --z-header: 50;
  --z-rail: 60;
  --z-sheet: 80;
  --z-chat: 90;
  --z-consent: 95;
  --z-skip: 100;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--text);
  font-family: var(--hemi-902);
  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;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border-style: none;
}

iframe, embed, object {
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

pre, code, kbd, samp {
  font-family: var(--hemi-232);
  font-size: 0.92em;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

hr {
  border: 0;
  border-top: 2px solid var(--ink);
  margin: var(--s-4) 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--ice);
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--ice-deep);
  outline-offset: 3px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  color: inherit;
  vertical-align: middle;
}

.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75rem; height: 1.75rem; }
.icon--xl { width: 2.5rem; height: 2.5rem; }

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-family: var(--hemi-a0f);
  font-weight: 800;
  text-transform: uppercase;
  line-height: var(--lh-head);
  letter-spacing: var(--track-display);
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}

h1, .h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display-xl);
}

h2, .h2 {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: var(--track-display-xl);
}

h3, .h3 {
  font-size: var(--fs-h3);
  line-height: 1;
}

h4, .h4 {
  font-size: var(--fs-h4);
  line-height: 1.05;
  font-weight: 700;
}

h5, h6, .h5, .h6 {
  font-family: var(--hemi-902);
  font-weight: 700;
  font-size: var(--fs-h5);
  line-height: var(--lh-snug);
  letter-spacing: 0;
}

h6, .h6 {
  font-size: var(--fs-h6);
}

p {
  max-width: var(--measure);
  text-wrap: pretty;
  hanging-punctuation: first last;
}

p + p {
  margin-top: var(--s-2);
}

strong, b {
  font-weight: 700;
}

small {
  font-size: var(--fs-small);
}

a {
  color: var(--ice-deep);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--ice);
  transition: color var(--dur) var(--ease-out), text-decoration-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

a:active {
  color: var(--ice-ink);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 54ch;
  color: var(--ink);
}

.mono,
.meta {
  font-family: var(--hemi-232);
  font-size: var(--fs-small);
  letter-spacing: var(--track-mono);
  font-variant-numeric: tabular-nums;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--hemi-232);
  font-size: var(--fs-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  line-height: 1.4;
  color: var(--steel);
}

.label::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  flex: none;
}

.label--plain::before {
  display: none;
}

.muted {
  color: var(--text-soft);
}

.accent {
  color: var(--ice-deep);
}

.display {
  font-family: var(--hemi-a0f);
  font-weight: 900;
  text-transform: uppercase;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display-xl);
}

.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;
}

.prose {
  max-width: var(--measure);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.prose > * + * {
  margin-top: var(--s-2);
}

.prose h2 {
  font-size: var(--fs-h3);
  margin-top: var(--s-6);
  margin-bottom: var(--s-1);
}

.prose h3 {
  font-size: var(--fs-h4);
  margin-top: var(--s-5);
}

.prose h4 {
  font-family: var(--hemi-902);
  font-size: var(--fs-h5);
  text-transform: none;
  margin-top: var(--s-4);
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: var(--s-1);
}

.prose ul,
.prose ol {
  padding-left: 0;
  list-style: none;
}

.prose ul > li,
.prose ol > li {
  position: relative;
  padding-left: 1.75rem;
}

.prose ul > li + li,
.prose ol > li + li {
  margin-top: var(--s-1);
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.875rem;
  height: 2px;
  background: var(--ice-deep);
}

.prose ol {
  counter-reset: prose-ol;
}

.prose ol > li {
  counter-increment: prose-ol;
}

.prose ol > li::before {
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.2em;
  font-family: var(--hemi-232);
  font-size: var(--fs-micro);
  color: var(--ice-deep);
  letter-spacing: var(--track-mono);
}

.prose blockquote {
  border-left: 4px solid var(--ink);
  padding: var(--s-1) 0 var(--s-1) var(--s-3);
  font-family: var(--hemi-a0f);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--fs-h4);
  line-height: 1.1;
}

.prose table {
  display: block;
  overflow-x: auto;
  font-size: var(--fs-small);
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.prose th {
  font-family: var(--hemi-232);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: var(--fs-micro);
  border-bottom: 2px solid var(--ink);
}

.prose code {
  background: var(--concrete);
  padding: 0.1em 0.35em;
}

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page {
  min-width: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--s-4);
}

.grid > *,
.split > *,
.stack > *,
.cluster > * {
  min-width: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5) var(--col-gap);
  align-items: start;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.stack--lg { gap: var(--s-4); }
.stack--xl { gap: var(--s-6); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .split--8-4 > :first-child { grid-column: 1 / span 7; }
  .split--8-4 > :last-child { grid-column: 8 / -1; }
  .split--4-8 > :first-child { grid-column: 1 / span 5; }
  .split--4-8 > :last-child { grid-column: 6 / -1; }
}

@media (min-width: 1024px) {
  .split--8-4 > :first-child { grid-column: 1 / span 8; }
  .split--8-4 > :last-child { grid-column: 9 / -1; }
  .split--4-8 > :first-child { grid-column: 1 / span 5; }
  .split--4-8 > :last-child { grid-column: 6 / -1; }
}

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.section > .shell {
  position: relative;
  z-index: var(--z-base);
}

.section--paper { background: var(--paper); }
.section--concrete { background: var(--concrete); }
.section--white { background: var(--white); }

.section--slate {
  background: var(--slate);
  color: var(--paper);
}

.section--slate h1,
.section--slate h2,
.section--slate h3,
.section--slate h4 {
  color: var(--paper);
}

.section--slate .label { color: var(--ice); }
.section--slate .muted { color: #B7C2CA; }
.section--slate a { color: var(--ice); text-decoration-color: currentColor; }
.section--slate a:hover { color: var(--white); }

.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  max-width: 40rem;
}

.numeral {
  position: absolute;
  z-index: var(--z-numeral);
  top: calc(var(--section-y) * 0.15);
  font-family: var(--hemi-a0f);
  font-weight: 900;
  font-size: var(--fs-numeral);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: var(--numeral-on-light);
  font-variant-numeric: tabular-nums lining-nums;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.numeral--left { left: -0.06em; }
.numeral--right { right: -0.06em; }
.numeral--bottom { top: auto; bottom: -0.1em; }

.section--concrete .numeral { color: var(--numeral-on-concrete); }
.section--slate .numeral { color: var(--numeral-on-dark); }
.section--white .numeral { color: #E3E6E8; }

.numeral-step {
  display: block;
  font-family: var(--hemi-a0f);
  font-weight: 900;
  font-size: var(--fs-numeral-step);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--numeral-on-light);
  font-variant-numeric: tabular-nums;
}

.rule {
  display: block;
  height: 2px;
  background: var(--ink);
  border: 0;
  margin: 0;
  transform-origin: left center;
}

.rule--ice { background: var(--ice); }
.rule--thick { height: 4px; }

.stripe-band {
  display: block;
  height: 18px;
  background: var(--stripe);
  transform-origin: left center;
}

.stripe-band--thin { height: 8px; }

.wipe {
  position: relative;
  overflow: hidden;
  background: var(--slate);
  margin: 0;
}

.wipe > img,
.wipe > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

[data-split] .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

[data-split] .line__inner {
  display: block;
}

.caption {
  font-family: var(--hemi-232);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  color: var(--steel);
  margin-top: var(--s-1);
  max-width: 48ch;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur: 0ms;
    --dur-mid: 0ms;
    --dur-slow: 0ms;
    --dur-sheet: 0ms;
    --dur-reveal: 0ms;
    --dur-wipe: 0ms;
    --stagger-line: 0s;
    --stagger-wipe: 0s;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-split],
  [data-split] .line,
  [data-split] .line__inner,
  [data-wipe],
  [data-wipe] img,
  .numeral,
  .rule,
  .stripe-band {
    clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media print {
  .masthead, .rail, .site-footer, .consent, .chat, .stripe-band, .numeral {
    display: none !important;
  }
  body { background: #fff; padding: 0 !important; }
}
