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

:root {
  --ink: #0E1712;
  --forest: #1D3A2A;
  --forest-deep: #15291E;
  --moss: #5E6B3B;
  --bark: #4B3326;
  --cream: #F2ECDD;
  --paper: #FAF7EE;
  --amber: #E4861A;
  --amber-deep: #C46F0E;
  --amber-soft: #F6D9B2;
  --rule: #CFC4A8;
  --rule-dark: rgba(242, 236, 221, 0.18);
  --ink-70: rgba(14, 23, 18, 0.72);
  --ink-55: rgba(14, 23, 18, 0.68);
  --ink-10: rgba(14, 23, 18, 0.1);
  --cream-80: rgba(242, 236, 221, 0.82);
  --cream-60: rgba(242, 236, 221, 0.62);
  --error: #A3321C;
  --error-soft: #F5DDD3;
  --ok: #3F6B3A;

  --bg: var(--cream);
  --fg: var(--ink);
  --fg-muted: var(--moss);
  --surface: var(--paper);
  --accent: var(--amber);
  --focus: var(--amber);

  --lasi-56e: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --lasi-795: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --lasi-b6f: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.84rem, 0.82rem + 0.12vw, 0.9rem);
  --lasi-5e0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --lasi-dcd: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --lasi-b52: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --lasi-593: clamp(1.8rem, 1.5rem + 1.4vw, 2.75rem);
  --lasi-237: clamp(2.2rem, 1.7rem + 2.6vw, 4.25rem);
  --lasi-ba4: clamp(2.5rem, 1.6rem + 4.6vw, 6.5rem);
  --step-hero: clamp(2.6rem, 11vw, 10rem);
  --step-numeral: clamp(4.5rem, 3rem + 8vw, 12rem);

  --lh-display: 0.88;
  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --track-display: -0.01em;
  --track-caps: 0.14em;
  --track-mono: 0.02em;
  --measure: 62ch;
  --measure-wide: 78ch;

  --s-3xs: 0.25rem;
  --s-2xs: 0.375rem;
  --s-xs: 0.625rem;
  --s-sm: 1rem;
  --s-md: 1.625rem;
  --s-lg: 2.625rem;
  --s-xl: 4.25rem;
  --s-2xl: 6.875rem;
  --section: clamp(72px, 10vw, 160px);
  --section-tight: clamp(48px, 6.5vw, 104px);
  --gutter: clamp(20px, 4vw, 56px);
  --shell: 1360px;
  --shell-narrow: 880px;
  --header-h: 72px;

  --radius: 0;
  --radius-input: 2px;
  --hair: 1px solid var(--rule);
  --hair-dark: 1px solid var(--rule-dark);
  --heavy: 6px solid var(--ink);

  --shadow-lift: 0 1px 0 rgba(14, 23, 18, 0.08), 0 14px 28px -18px rgba(14, 23, 18, 0.45);
  --shadow-doc: 0 1px 0 rgba(75, 51, 38, 0.1), 0 2px 6px rgba(14, 23, 18, 0.05), 0 40px 80px -40px rgba(14, 23, 18, 0.4);
  --shadow-panel: 0 30px 60px -20px rgba(14, 23, 18, 0.55), 0 0 0 1px rgba(14, 23, 18, 0.12);
  --shadow-press: inset 0 2px 0 rgba(14, 23, 18, 0.22);

  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 320ms;
  --dur-4: 600ms;
  --dur-5: 900ms;
  --dur-rotate: 2600ms;
  --marquee-dur: 42s;
  --marquee-dur-slow: 60s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.2, 0.9, 0.1, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);

  --z-header: 50;
  --z-nav: 80;
  --z-consent: 90;
  --z-chat: 95;
  --z-skip: 100;

  --consent-h: 0px;
}

*,
*::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) + 16px);
  hanging-punctuation: first last;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--lasi-795);
  font-size: var(--lasi-5e0);
  font-weight: 400;
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
  overflow-wrap: break-word;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

body.is-locked {
  overflow: hidden;
}

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

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

img, video {
  height: auto;
}

img {
  background-color: var(--forest);
  color: var(--cream);
  font-size: var(--step--1);
}

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

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

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

iframe {
  display: none;
}

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

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

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

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

[hidden] {
  display: none !important;
}

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

.icon--lg {
  width: 1.5em;
  height: 1.5em;
}

h1, h2, h3, .display {
  font-family: var(--lasi-56e);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  text-wrap: balance;
  font-feature-settings: "kern", "tnum" 0;
}

h1, .h1 {
  font-size: var(--lasi-ba4);
  font-weight: 900;
  line-height: var(--lh-display);
}

h2, .h2 {
  font-size: var(--lasi-237);
  line-height: 0.94;
}

h3, .h3 {
  font-size: var(--lasi-b52);
  font-weight: 700;
  line-height: 1.02;
}

h4, .h4 {
  font-family: var(--lasi-795);
  font-size: var(--lasi-dcd);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
}

.display-hero {
  font-family: var(--lasi-56e);
  font-size: var(--step-hero);
  font-weight: 900;
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--lasi-dcd);
  line-height: 1.5;
  max-width: 52ch;
  color: var(--ink-70);
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--lasi-b6f);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--moss);
}

.kicker::before {
  content: "";
  width: 1.75em;
  height: 2px;
  background: var(--amber);
}

.mono,
code,
kbd,
samp {
  font-family: var(--lasi-b6f);
  font-size: 0.92em;
  letter-spacing: var(--track-mono);
  font-variant-numeric: tabular-nums slashed-zero;
}

.muted {
  color: var(--ink-55);
}

small, .small {
  font-size: var(--step--1);
}

strong, b {
  font-weight: 600;
}

hr {
  border: 0;
  border-top: var(--hair);
  margin: var(--s-xl) 0;
}

.prose {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2 {
  font-size: var(--lasi-593);
  margin-top: 1.9em;
}

.prose h3 {
  font-size: var(--lasi-b52);
  margin-top: 1.6em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose ul li::marker {
  color: var(--amber);
}

.prose ol li::marker {
  font-family: var(--lasi-b6f);
  font-size: 0.85em;
  color: var(--bark);
}

.prose a {
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
}

.prose a:hover {
  color: var(--bark);
}

.prose blockquote {
  border-left: 6px solid var(--amber);
  padding: 0.2em 0 0.2em 1.1em;
  font-family: var(--lasi-56e);
  font-size: var(--lasi-b52);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.prose table {
  font-size: var(--step--1);
}

.prose .table-wrap {
  margin-top: 1.4em;
}

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

.shell--narrow {
  max-width: calc(var(--shell-narrow) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: var(--section-tight);
}

.section--forest {
  background: var(--forest);
  background-image: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--cream);
  --fg-muted: var(--cream-60);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
  --fg-muted: var(--cream-60);
}

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

.section--forest .kicker,
.section--ink .kicker {
  color: var(--cream-60);
}

.section--forest .lead,
.section--ink .lead {
  color: var(--cream-80);
}

.stack > * + * {
  margin-top: var(--stack-gap, var(--s-md));
}

.stack--sm { --stack-gap: var(--s-sm); }
.stack--lg { --stack-gap: var(--s-lg); }

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

.cluster > * {
  min-width: 0;
}

.grid {
  display: grid;
  gap: var(--grid-gap, var(--s-lg));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 18rem)), 1fr));
}

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

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

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .split--even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split--wide-left {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.rule {
  border: 0;
  border-top: var(--hair);
  margin: 0;
}

.rule--heavy {
  border-top: var(--heavy);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

pre {
  max-width: 100%;
  overflow-x: 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;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.js .no-js-only {
  display: none !important;
}

html:not(.js) .js-only {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-1: 0ms;
    --dur-2: 0ms;
    --dur-3: 0ms;
    --dur-4: 0ms;
    --dur-5: 0ms;
  }
  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;
  }
}

@media print {
  .site-header,
  .site-footer,
  .consent,
  .chat,
  .marquee,
  .nav-panel {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
