@font-face {
  font-family: "Onest";
  src: url("./assets/fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --brand-monogram: #7f8a7f;
  --brand-primary: #173338;
  --brand-descriptor: #5e645e;
  --canvas: oklch(0.975 0.008 120);
  --paper: oklch(0.992 0.004 120);
  --paper-warm: oklch(0.95 0.018 105);
  --surface-sage: oklch(0.925 0.022 145);
  --ink: oklch(0.255 0.035 190);
  --ink-soft: oklch(0.37 0.024 185);
  --muted: oklch(0.52 0.018 165);
  --sage: oklch(0.625 0.035 145);
  --lime: oklch(0.86 0.16 125);
  --coral: oklch(0.7 0.16 35);
  --blue: oklch(0.67 0.14 235);
  --amber: oklch(0.79 0.13 80);
  --line: oklch(0.255 0.035 190 / 0.16);
  --line-strong: oklch(0.255 0.035 190 / 0.3);
  --line-light: oklch(0.975 0.008 120 / 0.2);
  --shadow-spatial:
    0 2px 3px oklch(0.255 0.035 190 / 0.05),
    0 22px 60px oklch(0.255 0.035 190 / 0.12);
  --header-height: 76px;
  --display-leading: 1.12;
  --heading-leading: 1.14;
  --content: min(1320px, calc(100vw - 96px));
  color-scheme: light;
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
}

body,
button,
a {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--content);
  margin: 0 auto;
}

.eyebrow {
  margin: 0;
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.button {
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  transition:
    background-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  transform: translateY(-2px);
}

.text-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 750;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--coral);
}

.relationship-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--brand-primary);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.feature-index {
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
