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

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

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

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  color-scheme: dark;
  scroll-behavior: auto;
  background: var(--carbon);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--optic);
  background: var(--carbon);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--carbon);
  background: var(--optic);
}

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

.wrap {
  width: min(calc(100% - var(--page-pad) * 2), var(--content));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--signal-red);
  font-family: var(--font-utility);
  font-size: 11px;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--rusvita-red);
  font-weight: 700;
  transition: transform 180ms var(--ease-out), background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--signal-red);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.section-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--mist);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
