/* ================================================================== *
 * Chandraiah Law Firm — Base element styling & helpers
 * Lightweight resets and brand defaults. Components stay self-contained;
 * this just sets sane document-level defaults.
 * ================================================================== */

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: var(--leading-tight);
  font-weight: var(--weight-bold);
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

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

/* ---- Brand motif: the steel-blue kicker rule ----------------------- */
.cl-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--brand);
}
.cl-kicker::before {
  content: "";
  width: 28px;
  height: var(--rule-accent-width);
  background: var(--brand);
}

/* ---- Utility: serif rule used under section headings ------------ */
.cl-rule {
  width: 56px;
  height: var(--rule-accent-width);
  background: var(--brand);
  border: none;
  margin: 0;
}

::selection {
  background: var(--steel-100);
  color: var(--ink-900);
}
