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

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
}

h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 15px; line-height: 1.4; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-4);
}

@media (max-width: 640px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .display { font-size: 32px; line-height: 1.15; }
}

p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }
li { margin-bottom: var(--space-2); }

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover { color: var(--color-primary-hover); text-decoration: underline; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-tint);
  border-radius: var(--radius-sm);
}

.num, .price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin: 0 0 var(--space-2);
}

.muted { color: var(--color-text-muted); }
.subtle { color: var(--color-text-subtle); }
.accent-num { color: var(--color-accent); }

hr {
  border: none;
  border-top: 0.5px solid var(--color-border);
  margin: var(--space-8) 0;
}
