/* ===========================================================================
   SaleStreams — Base layer
   Light reset + element defaults + a few utility roles. Tokens only.
   =========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-app);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings use the display serif */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
  margin: 0;
}
h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-strong);
  font-weight: var(--weight-semibold);
  margin: 0;
}

p { margin: 0; }

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

button { font-family: inherit; }

/* Tabular figures everywhere numbers matter */
.ss-tnum { font-variant-numeric: tabular-nums; }

/* Price role */
.ss-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-snug);
}

/* Eyebrow / overline label */
.ss-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Focus visibility for keyboard users */
:focus-visible {
  outline: none;
  box-shadow: var(--ring-brand);
  border-radius: var(--radius-sm);
}
