/* ==========================================================================
   Base — reset, body defaults, typography.
   Depends on tokens.css. No component-specific rules here.
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  overflow-wrap: break-word;
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

p {
  line-height: var(--line-height-base);
}

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

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--overlay-gold-30);
  color: var(--color-text);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-px-40);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-px-20);
  }
}
