* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 46%, #11233b 100%),
    #071a33;
  color: var(--ink);
  font-family: var(--font);
  scroll-behavior: smooth;
}

body[data-theme="claro"] {
  background:
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 52%, #d9ebff 100%),
    #eef6ff;
}

body[data-theme="mono"] {
  background:
    linear-gradient(135deg, #050609 0%, #15171d 52%, #272a32 100%),
    #08090d;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

.pageView {
  display: none;
}

.pageView.active {
  display: block;
  animation: pageViewEnter 520ms var(--motion-emphasis) both;
}

.eyebrow,
.sectionKicker {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sectionKicker {
  color: var(--muted);
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

@keyframes pageViewEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
