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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  padding: clamp(0.7rem, 0.35rem + 1vw, 1.5rem);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.58;
  background:
    radial-gradient(circle at 50% 0%, rgb(255 255 255 / 3%), transparent 34rem),
    var(--canvas);
  overflow-x: clip;
}

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

img {
  height: auto;
}

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  font-size: var(--text-hero);
}

h2 {
  max-width: 14ch;
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

p {
  max-width: var(--reading);
}

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

::selection {
  color: var(--ink);
  background: var(--yellow);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 700;
  background: var(--focus);
  transform: translateY(-220%);
  transition: transform var(--duration-fast) var(--ease-out);
}

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

.site-shell {
  width: min(100%, var(--frame));
  margin-inline: auto;
  background: var(--shell);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-shell);
  overflow: clip;
}

.button {
  display: grid;
  min-height: 52px;
  grid-template-columns: 1.15rem 1fr 1.15rem;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background-color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    transform var(--duration) var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button--retail {
  color: var(--ink);
  background: var(--red);
  box-shadow: 0 0.45rem 1.2rem rgb(173 38 21 / 22%);
}

.button--retail:hover {
  color: var(--ink);
  background: #f05a3d;
}

.button--trade {
  color: var(--yellow);
  border-color: var(--orange);
  background: var(--panel-inset);
}

.button--trade:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
