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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 76% 10%, rgba(255, 255, 255, 0.06), transparent 26rem),
    radial-gradient(circle at 90% 17%, rgba(180, 180, 180, 0.04), transparent 20rem),
    #000;
  font-family: var(--font-base);
  font-size: var(--text-md);
  line-height: var(--line-normal);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #050505;
  background: var(--color-brand);
}

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

a:hover {
  color: var(--color-brand);
}

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

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

button {
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: var(--line-tight);
}

h1 {
  font-size: clamp(2.4rem, 6vw, var(--text-3xl));
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, var(--text-2xl));
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  color: var(--color-ink);
  background: #090b0f;
}

input::placeholder,
textarea::placeholder {
  color: #77808d;
}

textarea {
  min-height: 150px;
  resize: vertical;
}
