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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.16), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(245, 197, 24, 0.14), transparent 26%),
    linear-gradient(180deg, #0b1426 0%, #09111f 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
blockquote,
figure,
fieldset,
legend {
  margin: 0;
}

ul,
ol {
  list-style: none;
}

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

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

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

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

input,
textarea,
select {
  width: 100%;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

iframe {
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

::selection {
  background: rgba(245, 197, 24, 0.85);
  color: #0b1426;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #08111f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0ea5e9, #0369a1);
  border-radius: 999px;
  border: 2px solid #08111f;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
}
