/* ===========================================================================
   DESATA · BASE / ELEMENT DEFAULTS
   Lightweight resets + brand-true element styling. Opt-in helpers only.
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

/* Display headings default to the grotesque, tight + lowercase-friendly */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-snug);
  font-weight: var(--fw-bold);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-display); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

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

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

strong, b { font-weight: var(--fw-bold); color: var(--text-strong); }

::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: var(--bw-bold) solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

img { max-width: 100%; display: block; }

/* --- Utility primitives (optional, prefixed to avoid collisions) --- */
.dst-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--fw-regular);
}
.dst-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  text-wrap: balance;
}
.dst-lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
}
.dst-mark { /* yellow highlight behind inline text */
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.04em 0.28em;
  border-radius: var(--radius-xs);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.dst-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
