/* ============================================================
   SOTERIS BASE — element defaults + helpers.
   Opt-in: applies to bare elements; components set their own type.
   ============================================================ */
:root {
  color-scheme: light;
  --link-color: var(--color-primary);
  --link-color-hover: var(--soteris-deep-teal);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* Display type uses the serif */
.soteris-display {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
}

/* Eyebrow / kicker */
.soteris-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-primary);
}

a { color: var(--link-color); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--link-color-hover); }

.soteris-gradient-text {
  background: var(--soteris-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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