@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Nunito+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import 'tokens.css';

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-body);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ─── Typography ─────────────────────────────────────────── */
h1 {
  font-family: var(--font-button);
  font-size: var(--text-h1);
  font-weight: var(--weight-extrabold);
  line-height: var(--lh-tight);
}

h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-extrabold);
  line-height: var(--lh-tight);
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-extrabold);
  line-height: var(--lh-snug);
}

h4 {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-extrabold);
  line-height: var(--lh-snug);
}

h6 {
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  font-weight: var(--weight-extrabold);
  line-height: var(--lh-normal);
}

p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--lh-relaxed);
}

.richtext p {
  margin-bottom: 1em;
}

.richtext p:last-child {
  margin-bottom: 0;
}

/* ─── Layout Helpers ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.page-padding {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
