html {
  scroll-behavior: smooth;
}

body.jewelatlas-site {
  color: var(--ja-text);
  background: var(--ja-surface);
  font-family: Inter, "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.jewelatlas-site *,
body.jewelatlas-site *::before,
body.jewelatlas-site *::after {
  box-sizing: border-box;
}

body.jewelatlas-site :where(h1, h2, h3, h4) {
  color: var(--ja-ink);
  font-weight: 750;
  line-height: 1.18;
  text-wrap: balance;
}

body.jewelatlas-site h1 {
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  letter-spacing: -0.04em;
}

body.jewelatlas-site h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
  letter-spacing: -0.025em;
}

body.jewelatlas-site h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

body.jewelatlas-site a {
  color: var(--ja-primary);
  text-underline-offset: 0.18em;
  transition: color var(--ja-transition);
}

body.jewelatlas-site a:hover {
  color: var(--ja-primary-dark);
}

body.jewelatlas-site :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--ja-primary);
  outline-offset: 3px;
  box-shadow: var(--ja-focus);
}

body.jewelatlas-site img {
  max-width: 100%;
  height: auto;
}

.ja-container {
  width: min(100% - 32px, var(--ja-container));
  margin-inline: auto;
}

.ja-content-width {
  width: min(100% - 32px, var(--ja-content));
  margin-inline: auto;
}

.ja-narrow {
  width: min(100% - 32px, var(--ja-narrow));
  margin-inline: auto;
}

.ja-section {
  padding-block: clamp(48px, 7vw, 96px);
}

.ja-section--compact {
  padding-block: clamp(32px, 5vw, 64px);
}

.ja-section--white {
  background: var(--ja-card);
}

.ja-section--ink {
  color: #fff;
  background: var(--ja-ink);
}

.ja-section--ink :where(h1, h2, h3, p, a) {
  color: inherit;
}

.ja-eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--ja-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ja-section-heading {
  max-width: 780px;
  margin: 0 0 32px;
}

.ja-section-heading p {
  max-width: 680px;
  color: var(--ja-muted);
  font-size: 1.05rem;
}

.ja-visually-hidden,
.screen-reader-text.ja-skip-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text.ja-skip-link:focus {
  position: fixed !important;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: #fff;
  background: var(--ja-ink);
  border-radius: var(--ja-radius-button);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
