/* Suncastle Roofing — base element styles & helpers
   Light-touch resets and a few brand utility classes used by cards/kits. */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--lh-heading);
  font-weight: var(--fw-semibold);
  margin: 0 0 0.5em;
}

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--red-700); }

p { margin: 0 0 1em; }

/* ---- Brand utility: the signature wide-tracked uppercase eyebrow ---- */
.sc-eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-heading);
}

/* section heading lockup: eyebrow + italic serif-ish subhead */
.sc-subhead {
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--text-muted);
  font-size: var(--fs-body);
}

/* dotted divider used under headings on dark sections */
.sc-rule-dotted {
  width: 100px;
  border: none;
  border-top: 1px dotted currentColor;
  opacity: 0.6;
  margin: var(--space-5) auto;
}
