@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-VF.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #074ed2;
  --primary-dark: #0744b5;

  --max-width: 1200px;

  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
}

html {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #333;
}

section {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

section h2 {
  width: 100%;
  align-self: flex-start;
  color: var(--primary);
  font-variation-settings: "wght" 500;
  font-size: 1.75rem;
}

section h3 {
  width: 100%;
  align-self: flex-start;
  color: var(--primary);
  font-variation-settings: "wght" 500;
  font-size: 1.25rem;
}

section .content {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

section .content .section-head {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

section .content .section-head p {
  max-width: 70%;
}

button {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

button.primary {
  color: white;
  background-color: var(--primary);
}

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

button.secondary {
  color: var(--primary);
  background-color: white;
}

button.secondary:hover {
  background-color: #eaeaea;
}

input,
textarea {
  font-family: "Inter", system-ui, sans-serif;
}

@media (max-width: 480px) {
  section .content .section-head p {
    max-width: 100%;
  }
}
