/* ============================================
   APULEIUS — Reset & Base Typography
   ============================================ */

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

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

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --- Headings --- */
h1, .h1 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 500;
  color: var(--c-heading);
  letter-spacing: 0;
}

h2, .h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 500;
  color: var(--c-heading);
  letter-spacing: 0;
}

h3, .h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 500;
  color: var(--c-heading);
  letter-spacing: 0;
}

h4, .h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: 500;
  color: var(--c-heading);
  letter-spacing: 0;
}

/* --- Body Text Classes --- */
.body1 {
  font-family: var(--ff-body);
  font-size: var(--fs-body1);
  line-height: var(--lh-body1);
  font-weight: 400;
}

.body1--semibold {
  font-family: var(--ff-body);
  font-size: var(--fs-body1);
  line-height: var(--lh-body1);
  font-weight: 600;
}

.body2 {
  font-family: var(--ff-body);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  font-weight: 400;
}

.body3 {
  font-family: var(--ff-body);
  font-size: var(--fs-body3);
  line-height: var(--lh-body3);
  font-weight: 400;
}

.body3--semibold {
  font-family: var(--ff-body);
  font-size: var(--fs-body3);
  line-height: var(--lh-body3);
  font-weight: 600;
}

.body4 {
  font-family: var(--ff-body);
  font-size: var(--fs-body4);
  line-height: var(--lh-body4);
  font-weight: 400;
  letter-spacing: var(--ls-body4);
}

/* --- Utility: Accent color in headings --- */
.text-accent {
  color: var(--c-primary);
}

.text-gray {
  color: var(--c-text);
}

.text-dark {
  color: var(--c-heading);
}
