/* ============================================
   POP HOSTING — base resets & element defaults
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-body);
  margin: 0 0 .5em;
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-h2);
}

p { margin: 0 0 1rem; }

a {
  color: var(--link);
  text-decoration: none;
  transition: var(--pop-transition);
}
a:hover { color: var(--link-hover); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--pop-accent);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

::selection { background: rgba(16, 98, 254, .18); }
