@import url("https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;700&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@500;700&display=swap");

:root {
  --paper: #F3EEE4;
  --ink: #191714;
  --char: #2B2824;
  --oat: #E3D7C1;
  --clay: #8A4F32;
  --red: #EE4A32;
  --red-ink: #A82314;
  --brass: #C99A3A;

  --paper-line: #D6CCBA;
  --ink-soft: #4A443C;
  --paper-mute: #CFC5B3;
  --clay-deep: #7E4A30;
  --ok: #3E6B3A;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-mute: var(--ink-soft);
  --rule: var(--ink);
  --focus: var(--red);

  --napu-6c0: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --napu-7a7: "Source Sans 3", "Source Sans Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --napu-0e9: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-mono: 0.78125rem;
  --fs-mono-sm: 0.75rem;
  --fs-small: 0.9375rem;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-lede: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  --fs-h6: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h5: clamp(1.1875rem, 1.08rem + 0.45vw, 1.375rem);
  --fs-h4: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h3: clamp(1.625rem, 1.3rem + 1.4vw, 2.375rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.8vw, 3.75rem);
  --fs-h1: clamp(2.25rem, 1.2rem + 6vw, 7rem);
  --fs-mega: clamp(2.5rem, 1rem + 8vw, 9.5rem);

  --lh-tight: 1.02;
  --lh-head: 1.08;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --track-display: -0.01em;
  --track-tight: -0.02em;
  --track-mono: 0.08em;
  --measure: 64ch;
  --measure-narrow: 46ch;

  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6.5rem;
  --s-half: 0.25rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --shell: 1320px;
  --shell-narrow: 880px;
  --block-pad: clamp(4rem, 9vw, 9rem);
  --block-pad-tight: clamp(2.5rem, 5vw, 5rem);

  --r: 4px;
  --rule-thick: 6px;
  --rule-thin: 2px;
  --rule-hair: 1px;
  --header-h: 4.5rem;

  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 320ms;
  --dur-4: 600ms;
  --dur-5: 900ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.8, 0.3);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.3, 1.35, 0.5, 1);
  --ease-heavy: cubic-bezier(0.16, 1, 0.3, 1);

  --z-base: 1;
  --z-raise: 10;
  --z-header: 100;
  --z-nav: 120;
  --z-chat: 300;
  --z-consent: 400;
  --z-skip: 1000;

  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: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--napu-7a7);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

button:disabled {
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

hr {
  border: 0;
  border-top: var(--rule-thick) solid var(--rule);
  margin: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

:focus {
  outline: none;
}

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

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

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--napu-6c0);
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: var(--track-display);
  text-wrap: balance;
  font-feature-settings: "kern", "liga";
}

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

h2, .h2 {
  font-size: var(--fs-h2);
  line-height: 1.04;
}

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

h4, .h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
}

h5, h6, .h5, .h6 {
  font-family: var(--napu-6c0);
  font-weight: 500;
  line-height: var(--lh-snug);
}

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

.mega {
  font-family: var(--napu-6c0);
  font-weight: 700;
  font-size: var(--fs-mega);
  line-height: 0.96;
  letter-spacing: var(--track-tight);
}

p {
  text-wrap: pretty;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.45;
  max-width: 40ch;
}

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

.mono, .label {
  font-family: var(--napu-0e9);
  font-weight: 500;
  font-size: var(--fs-mono);
  line-height: 1.4;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
}

.label--bold {
  font-weight: 700;
}

.num {
  font-family: var(--napu-0e9);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.hang {
  text-indent: -0.42em;
}

.ink-red {
  color: var(--red);
}

strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

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

abbr[title] {
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
}

address {
  font-style: normal;
}

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

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

.prose h2 {
  font-size: var(--fs-h3);
  margin-top: 2.2em;
}

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

.prose h4 {
  font-size: var(--fs-h5);
  margin-top: 1.6em;
}

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

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

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

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

.prose ol li::marker {
  font-family: var(--napu-0e9);
  font-weight: 700;
  font-size: 0.85em;
}

.prose a {
  text-decoration-color: var(--red);
  transition: color var(--dur-1) var(--ease-out), text-decoration-color var(--dur-1) var(--ease-out);
}

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

.prose blockquote {
  border-left: var(--rule-thick) solid var(--red);
  padding: 0.25em 0 0.25em 1.1em;
  font-family: var(--napu-6c0);
  font-weight: 500;
  font-size: var(--fs-h5);
  line-height: 1.35;
}

.prose code {
  font-family: var(--napu-0e9);
  font-size: 0.88em;
  background: var(--oat);
  padding: 0.08em 0.35em;
  border-radius: var(--r);
  overflow-wrap: anywhere;
}

.prose hr {
  border-top-width: var(--rule-thin);
  margin: 2em 0;
}

.prose strong {
  font-weight: 600;
}

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

.block {
  position: relative;
  width: 100%;
  padding-block: var(--block-pad);
  background: var(--bg);
  color: var(--fg);
  border-top: var(--rule-thick) solid var(--ink);
}

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

.block--flush-top {
  border-top: 0;
}

.block--paper { --bg: var(--paper); --fg: var(--ink); --fg-mute: var(--ink-soft); --rule: var(--ink); --focus: var(--red); }
.block--oat { --bg: var(--oat); --fg: var(--ink); --fg-mute: var(--ink-soft); --rule: var(--ink); --focus: var(--red); }
.block--ink { --bg: var(--ink); --fg: var(--paper); --fg-mute: var(--paper-mute); --rule: var(--brass); --focus: var(--brass); }
.block--char { --bg: var(--char); --fg: var(--paper); --fg-mute: var(--paper-mute); --rule: var(--brass); --focus: var(--brass); }
.block--clay { --bg: var(--clay); --fg: var(--paper); --fg-mute: var(--paper); --rule: var(--ink); --focus: var(--paper); }
.block--red { --bg: var(--red); --fg: var(--ink); --fg-mute: var(--ink); --rule: var(--ink); --focus: var(--ink); }

.is-dark {
  --focus: var(--brass);
}

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

.stack--s { --stack-gap: var(--s-1); }
.stack--m { --stack-gap: var(--s-2); }
.stack--l { --stack-gap: var(--s-4); }
.stack--xl { --stack-gap: var(--s-5); }

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

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

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

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

.split {
  display: grid;
  gap: var(--split-gap, var(--s-4));
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: var(--split-cols, 5fr 7fr);
    align-items: var(--split-align, start);
  }
  .split--even { --split-cols: 1fr 1fr; }
  .split--wide-left { --split-cols: 7fr 5fr; }
}

.rule {
  border: 0;
  border-top: var(--rule-thick) solid var(--rule);
}

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

.media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  object-fit: cover;
  background: var(--oat);
}

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

.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;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: var(--s-2);
  top: var(--s-2);
  z-index: var(--z-skip);
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--napu-0e9);
  font-weight: 700;
  font-size: var(--fs-mono);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--red);
  border-radius: var(--r);
  transform: translateY(-200%);
  transition: transform var(--dur-2) var(--ease-out);
}

.skip-link:focus, .skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

@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, .consent, .chat, .site-footer__legal button {
    display: none !important;
  }
  .block {
    border-top-width: 2px;
    padding-block: 1.5rem;
    background: #fff;
    color: #000;
  }
}
