* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-0);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(81, 105, 137, 0.12), transparent 34rem),
    var(--bg-0);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  font-kerning: normal;
}

body.menu-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: pretty;
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  font-synthesis: none;
}

h4,
h5,
h6 {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  font-synthesis: none;
}

h1 {
  font-size: clamp(3.9rem, 7.4vw, 8rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(3.25rem, 6vw, 6.9rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 600;
}

p {
  color: var(--text-soft);
}

::selection {
  color: var(--bg-0);
  background: var(--gold);
}

.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: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--bg-0);
  background: var(--gold);
  transition: transform .2s ease;
}

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

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

.title-line {
  display: block;
}
