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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  z-index: 0;
  margin: 0;
  background: linear-gradient(180deg, #fbf8f2 0%, #f4efe7 100%);
  color: var(--text-strong);
  -webkit-font-smoothing: antialiased;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -8% -6% -8% -6%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 10%, rgba(85, 124, 255, 0.2), transparent 22%),
    radial-gradient(circle at 12% 22%, rgba(63, 184, 169, 0.16), transparent 20%),
    radial-gradient(circle at 50% 86%, rgba(125, 108, 242, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(251, 248, 242, 0.98) 0%, rgba(244, 239, 231, 0.98) 100%);
  transform: translateZ(0);
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

main {
  display: block;
}

::selection {
  background: rgba(85, 124, 255, 0.18);
  color: var(--text-strong);
}

.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;
}
