/* ============================================================
   Maitha Tech — Base element defaults & shared helpers
   Applies the token system to raw HTML so specimen cards,
   slides and UI kits inherit the brand without extra work.
   ============================================================ */

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-strong);
  font-weight: var(--fw-medium);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }

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

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

/* —— Brand helpers ———————————————————————————————— */

/* Playfair accent — wrap the ONE word in a heading you want to lift.
   Italic by brand convention. */
.mt-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
}

/* Uppercase eyebrow / kicker label */
.mt-eyebrow {
  font-size: var(--fs-sub);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: var(--lh-sub);
}

/* Display heading utility for hero moments */
.mt-display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  font-weight: var(--fw-medium);
  color: var(--text-strong);
}

/* Signal status dot */
.mt-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-round);
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
