@font-face {
  font-family: "InterVariable";
  src: url("./fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "freight-big-pro";
  src: url("./fonts/freight-big-pro-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/ibm-plex-mono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/ibm-plex-mono-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fcfbfa;
  --surface: #ffffff;
  --surface-soft: #f8f6f6;
  --ink: #171718;
  --muted: #625f63;
  --muted-soft: #716e70;
  --line: #e6e1e3;
  --line-strong: #cbc5c8;
  --purple: #692fff;
  --purple-dark: #5421e9;
  --purple-soft: #f0ebff;
  --green: #177d58;
  --amber: #a96818;
  --font-display: "freight-big-pro", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: InterVariable, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --serif: var(--font-display);
  --sans: var(--font-body);
  --mono: var(--font-mono);

  --type-display-1: 4rem;
  --type-display-2: 3rem;
  --type-display-3: 2.25rem;
  --type-title: 1.5rem;
  --type-lead: 1.125rem;
  --type-body: 1rem;
  --type-small: 0.875rem;
  --type-metric: 0.875rem;
  --type-label: 0.75rem;
  --type-ui-title: 0.625rem;
  --type-ui-body: 0.5625rem;
  --type-ui-meta: 0.5rem;

  --leading-display: 1.05;
  --leading-title: 1.15;
  --leading-reading: 1.65;
  --leading-compact: 1.5;
  --tracking-display: -0.035em;
  --tracking-title: -0.02em;
  --tracking-label: 0.11em;
  --tracking-ui-label: 0.05em;
  --page: 1440px;
  --section: 1340px;
  --gutter: 56px;
  --header-height: 70px;
}

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

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: var(--leading-compact);
}

a { color: inherit; }
button { font: inherit; }
button,
a,
summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1,
h2,
h3,
p,
ol,
ul,
dl { margin-top: 0; }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
::selection { background: var(--purple); color: #fff; }

.shell,
.section-shell { width: min(100% - (2 * var(--gutter)), var(--section)); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  min-height: 40px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  line-height: var(--leading-compact);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.section-label {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-compact);
  text-transform: uppercase;
}

.section-label::before {
  display: inline-block;
  width: 24px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: var(--purple);
  content: "";
}

.brand {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-compact);
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--type-small);
  font-weight: 500;
  line-height: var(--leading-compact);
  text-align: center;
  text-decoration: none;
}

.button--primary {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
  box-shadow: -2px 2px 0 rgba(105, 47, 255, 0.3);
  transform: translate(2px, -2px);
}

.button--primary:hover { border-color: var(--purple-dark); background: var(--purple-dark); }

.type-display-1,
.type-display-2,
.type-display-3,
.type-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
}

.type-display-1 { font-size: var(--type-display-1); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.type-display-2 { font-size: var(--type-display-2); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.type-display-3 { font-size: var(--type-display-3); line-height: var(--leading-display); letter-spacing: -0.03em; }
.type-title { font-size: var(--type-title); line-height: var(--leading-title); letter-spacing: var(--tracking-title); }

.type-lead,
.type-body,
.type-small,
.type-control {
  font-family: var(--font-body);
  font-style: normal;
}

.type-lead { font-size: var(--type-lead); font-weight: 400; line-height: var(--leading-reading); }
.type-body { font-size: var(--type-body); font-weight: 400; line-height: var(--leading-reading); }
.type-small { font-size: var(--type-small); font-weight: 400; line-height: var(--leading-compact); }
.type-control { font-size: var(--type-small); font-weight: 500; line-height: var(--leading-compact); }

.type-label,
.type-meta,
.type-ui-label,
.type-ui-meta {
  font-family: var(--font-mono);
  font-style: normal;
}

.type-label { font-size: var(--type-label); font-weight: 500; line-height: var(--leading-compact); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.type-meta { font-size: var(--type-label); font-weight: 400; line-height: var(--leading-compact); letter-spacing: normal; text-transform: none; }
.type-metric { font-family: var(--font-mono); font-size: var(--type-metric); font-style: normal; font-weight: 500; line-height: var(--leading-compact); letter-spacing: normal; text-transform: none; }
.type-ui-title { font-family: var(--font-body); font-size: var(--type-ui-title); font-style: normal; font-weight: 500; line-height: 1.3; }
.type-ui-body { font-family: var(--font-body); font-size: var(--type-ui-body); font-style: normal; font-weight: 400; line-height: 1.35; }
.type-ui-label { font-family: var(--font-mono); font-size: var(--type-ui-title); font-style: normal; font-weight: 500; line-height: 1.3; letter-spacing: var(--tracking-ui-label); text-transform: uppercase; }
.type-ui-meta { font-size: var(--type-ui-meta); font-weight: 400; line-height: 1.3; }

@media (max-width: 720px) {
  :root {
    --type-display-1: 3rem;
    --type-display-2: 2.5rem;
    --type-display-3: 2rem;
  }
}
