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

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-primary);
  font-size: var(--step-0);
  line-height: 1.65;
  background: linear-gradient(180deg, #07120f 0%, #06100d 52%, #020706 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  color: var(--color-ink);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
}

p {
  color: var(--color-ink-muted);
}

:focus-visible {
  outline: 3px solid var(--color-warm-bright);
  outline-offset: 4px;
}

::selection {
  color: var(--color-bg-deep);
  background: var(--color-warm-bright);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--color-bg-deep);
  background: var(--color-warm-bright);
  font-weight: 900;
  text-decoration: none;
}

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

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