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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

a, button, input, select, textarea, label {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  outline: none;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  max-width: 100vw;
  overflow-x: clip;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 255, 0, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(91, 91, 255, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
}

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

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-weight: 700;
}
