@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #080b14;
  --navy: #111827;
  --text: #161c2c;
  --text-soft: #243044;
  --slate: #445068;
  --line: rgba(18, 24, 38, 0.12);
  --line-strong: rgba(18, 24, 38, 0.2);
  --blue: #4361ee;
  --blue-deep: #2438c8;
  --cyan: #22d3ee;
  --cyan-ink: #0f6e86;
  --violet: #6d4ed6;
  --white: #ffffff;
  --mist: #f4f7fb;
  --paper: #fbfcfe;
  --danger: #9f1239;
  --ok: #0f766e;
  --header-h: 72px;
  --measure: min(1200px, calc(100% - 48px));
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 24px 60px rgba(8, 11, 20, 0.08);
  --focus: #2438c8;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: inherit;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  max-width: 16ch;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

::selection {
  background: #d9e0ff;
  color: #121826;
}

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

.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: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 2px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: var(--measure);
  margin-inline: auto;
}

.kicker {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.section-lead,
.lead {
  color: var(--text-soft);
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 62ch;
}

.fine {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

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