@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@400;500;600;700;800&display=swap");

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 720px at 0% -10%, rgba(15, 95, 141, 0.14), transparent 58%),
    radial-gradient(900px 560px at 100% 0%, rgba(185, 95, 41, 0.14), transparent 52%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 52%, #e5dccf 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.62;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    linear-gradient(90deg, rgba(16, 26, 45, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(16, 26, 45, 0.026) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 82%);
}

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

a:hover {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.65rem);
}

h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

main.page {
  position: relative;
  isolation: isolate;
}

main.page > section.hero:first-child {
  padding-top: clamp(5rem, 7vw, 7rem);
}

main.page > section.hero:first-child > .container {
  margin-bottom: 0;
}

::selection {
  background: rgba(185, 95, 41, 0.24);
  color: var(--text);
}

strong {
  color: var(--text);
}
