/* ============================================================
   utilities.css — Micro-utility classes replacing inline styles
   Extracted to allow a strict CSP without 'unsafe-inline'.
   ============================================================ */

/* ── SPACING ─────────────────────────────────────────────── */
.u-mt0  { margin-top: 0; }
.u-mt6  { margin-top: 6px; }
.u-mt8  { margin-top: 8px; }
.u-mt16 { margin-top: 16px; }
.u-mt20 { margin-top: 20px; }
.u-mt28 { margin-top: 28px; }
.u-mt40 { margin-top: 40px; }

.u-mb0  { margin-bottom: 0; }
.u-mb8  { margin-bottom: 8px; }
.u-mb14 { margin-bottom: 14px; }
.u-mb18 { margin-bottom: 18px; }
.u-mb20 { margin-bottom: 20px; }
.u-mb24 { margin-bottom: 24px; }
.u-mb44 { margin-bottom: 44px; }

.u-p0 { padding: 0; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.u-text-center  { text-align: center; }
.u-flex-1       { flex: 1; }
.u-display-none { display: none; }

.u-flex-row-center {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.u-flex-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.u-flex-row-gap16 {
  display: flex;
  gap: 16px;
  align-items: center;
}
.u-container-sm  { max-width: 620px; }
.u-container-md  { max-width: 820px; margin: 0 auto; }
.u-container-lg  { max-width: 1000px; margin: 0 auto; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.u-text-muted   { color: var(--text-muted); }
.u-text-soft    { color: var(--text-soft); }
.u-text-gold    { color: var(--gold); }
.u-text-grey    { color: #555; }

.u-font-xs      { font-size: 0.68rem; }
.u-font-sm      { font-size: 0.8rem; }
.u-font-body    { font-size: 1.02rem; line-height: 1.85; }
.u-font-body-sm { font-size: 0.82rem; }
.u-font-body-md { font-size: 1.05rem; color: var(--text-soft); line-height: 1.85; }
.u-font-heading { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.u-font-label   { font-size: 0.68rem; margin-bottom: 5px; display: block; }
.u-font-note    { font-size: 0.83rem; color: var(--text-muted); }
.u-font-link-sm { font-size: 0.8rem; color: var(--gold); display: block; margin-bottom: 8px; }

.u-lh-body  { line-height: 1.85; }

/* ── FORM SPECIFICS ──────────────────────────────────────── */
.u-btn-sm       { padding: 8px 20px; font-size: 0.7rem; }
.u-btn-contact  { font-size: 0.74rem; padding: 10px 20px; }
.u-label-inline { font-size: 0.82rem; text-transform: none; letter-spacing: 0.02em; }
.u-textarea-min { min-height: 80px; }
.u-progress-0   { width: 0%; }

/* ── SPINNER LARGE ───────────────────────────────────────── */
.spinner--lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

/* ── SECTION HELPERS (replacing style="padding:0") ────────── */
.u-pad0 { padding: 0; }

/* ── VERIFY PAGE SPECIFICS ──────────────────────────────── */
.u-muted-sm { font-size: 0.88rem; color: var(--text-muted); }
.u-age-range {
  display: flex;
  gap: 16px;
  align-items: center;
}
.u-age-range-to { color: var(--text-muted); padding-top: 22px; }

/* ── DASHBOARD SECTION HEADING ─────────────────────────── */
.u-section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 300;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-border);
}

/* ── VISUALLY HIDDEN (screen-reader only) ─────────────────── */
/* Used for h1 on pages where a visible heading would clash    */
/* with the design but a document outline heading is needed.   */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
