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

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --font-display: "Outfit", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --red: #cf202d;
  --red-strong: #b90f1d;
  --red-soft: #f7dadd;
  --ink: #11161c;
  --navy: #06101f;
  --bg: #f2efe8;
  --surface: #f8f6f1;
  --surface-2: #e9e6df;
  --surface-inverse: #08111f;
  --text: #11161c;
  --text-inverse: #f7f4ee;
  --muted: #535b65;
  --muted-inverse: #c8d0da;
  --brand-word: #000000;
  --line: #c8c3ba;
  --line-strong: #969086;
  --focus: #cf202d;
  --shadow: 0.75rem 1.1rem 1.6rem rgba(27, 25, 22, 0.18);
  --header-height: 4.75rem;
  --footer-height: 4.4rem;
  --gutter: clamp(1.25rem, 3.4vw, 4.5rem);
  --display-xl: clamp(2.65rem, 5vw, 5.9rem);
  --display-lg: clamp(2.15rem, 3.7vw, 4.45rem);
  --display-md: clamp(1.65rem, 2.5vw, 3rem);
  --body-lg: clamp(1rem, 1.2vw, 1.28rem);
  --body: clamp(0.94rem, 0.92vw, 1.08rem);
  --small: clamp(0.72rem, 0.7vw, 0.86rem);
}

[data-theme="dark"] {
  color-scheme: dark;
  --red: #e32733;
  --red-strong: #ff3d49;
  --red-soft: #4a161c;
  --ink: #f4f1eb;
  --navy: #050b14;
  --bg: #090c10;
  --surface: #0d1218;
  --surface-2: #111820;
  --surface-inverse: #f4f1eb;
  --text: #f4f1eb;
  --text-inverse: #11161c;
  --muted: #afb7c1;
  --muted-inverse: #515a64;
  --brand-word: #ffffff;
  --line: #303944;
  --line-strong: #56616e;
  --focus: #ff4b56;
  --shadow: 0.8rem 1.2rem 1.75rem rgba(0, 0, 0, 0.48);
}

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

html {
  width: 100%;
  height: 100%;
  background: var(--bg);
  scroll-behavior: auto;
}

body {
  width: 100%;
  min-width: 20rem;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

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

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

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

* {
  scrollbar-color: var(--red) var(--surface-2);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 0.6rem;
  height: 0.6rem;
}

*::-webkit-scrollbar-track {
  background: var(--surface-2);
}

*::-webkit-scrollbar-thumb {
  background: var(--red);
  border: 2px solid var(--surface-2);
}

[hidden] {
  display: none !important;
}

.sr-only,
.presentation__live {
  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;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.icon--left {
  transform: scaleX(-1);
}
