/* Shared reset + font plumbing for the locally served product sites.
   Each site declares its own palette; only the type sockets are shared. */

:root {
  --font-display: 'Switzer', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Switzer', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-synthesis-weight: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
}

code,
kbd,
pre,
.mono,
.tnum {
  font-family: var(--font-mono);
}

.tnum {
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.bare .site-nav,
.bare .site-foot {
  display: none;
}

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