@font-face {
  font-family: "Ridley Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/RidleyGrotesk-Regular.woff2") format("woff2"),
       url("../fonts/RidleyGrotesk-Regular.woff") format("woff");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-italic.woff2") format("woff2");
}

:root {
  --color-primary: #0c2e49;
  --color-primary-deep: #0b2d48;
  --color-primary-midnight: #021a2d;
  --color-background: #dbe3e9;
  --color-background-soft: #e4ebf0;
  --color-white: #ffffff;
  --color-text: #101820;
  --color-muted: #5f6f7c;
  --color-border: #aebbc4;

  --font-body: "Inter", sans-serif;
  --font-heading: "Ridley Grotesk", sans-serif;
  --font-size-root: 13px;

  --container-wide: 1400px;
  --container: 1200px;
  --container-narrow: 760px;
  --container-tablet: min(100% - 48px, var(--container-narrow));
  --container-mobile: calc(100% - 32px);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --header-height: 88px;
  --line-thin: 1px;

  /* Typography Scale Tokens */
  --font-size-eyebrow-hero: 1rem; /* 14px */
  --letter-spacing-eyebrow-hero: 0.08em;
  --font-weight-eyebrow-hero: 600;

  --font-size-eyebrow-section: 1.538rem; /* 20px */
  --font-weight-eyebrow-section: 500;
  --line-height-eyebrow-section: 1;

  --font-size-h1: clamp(2.8rem, 4vw, 3.8rem);
  --line-height-h1: 1.05;

  --font-size-h2: clamp(2.2rem, 3.2vw, 3.4rem);
  --line-height-h2: 1.15;

  --font-size-h3: 1.385rem; /* 18px */
  --line-height-h3: 1.25;

  --font-size-h4: 1.154rem; /* 15px */
  --line-height-h4: 1.35;

  /* Global Section Rhythm */
  --space-section: clamp(80px, 9vw, 130px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: var(--font-size-root);
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body[class$="-page"] {
  min-width: 0;
  background: var(--color-background);
}

body[class$="-page"] main {
  width: 100%;
  height: auto;
  margin-inline: auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
blockquote {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.13;
}

h1,
h2 {
  text-transform: uppercase;
}
