/* ============================================================
   Vatsalya Sewa Griha — Base element styles & helpers
   Light, optional defaults built on the tokens.
   ============================================================ */

:root {
  color-scheme: light;
}

.vsg-type-h1 {
  font-family: var(--font-sans);
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-medium);
  color: var(--text-heading);
  letter-spacing: var(--tracking-tight);
}
.vsg-type-h2 {
  font-family: var(--font-sans);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-medium);
  color: var(--text-heading);
}
.vsg-type-h3 {
  font-family: var(--font-sans);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-medium);
  color: var(--text-heading);
}
.vsg-type-body {
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-regular);
  color: var(--text-body);
}
.vsg-type-caption {
  font-family: var(--font-sans);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
  color: var(--text-muted);
}

.vsg-deva {
  font-family: var(--font-deva);
}

.vsg-measure {
  max-width: var(--measure-body);
}

/* Accessible focus ring used across components */
.vsg-focusable:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
