/* RESPIRA — base element defaults (opt-in, lightweight).
   These set brand typography defaults without aggressive resets. */

:root {
  color-scheme: light;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text-heading);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

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

a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--color-brand-hover); }

strong, b { font-weight: var(--fw-semibold); }

/* Editorial kicker / section eyebrow */
.respira-eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

::selection { background: var(--respira-green); color: #fff; }

/* ---- Component interaction states (referenced by RESPIRA primitives) ---- */
.respira-btn { -webkit-tap-highlight-color: transparent; }
.respira-btn--primary:hover { background: var(--color-brand-hover) !important; border-color: var(--color-brand-hover) !important; }
.respira-btn--secondary:hover { background: var(--color-brand) !important; color: var(--text-on-brand) !important; }
.respira-btn--ghost:hover { background: var(--respira-cream) !important; }
.respira-btn:active { transform: translateY(1px); }
.respira-btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

.respira-card-link { transition: transform var(--dur-base) var(--ease-standard); }
.respira-card-link:hover { transform: translateY(-3px); }
.respira-card-link:hover .respira-card-title { text-decoration: underline; text-underline-offset: 0.14em; }

.respira-tag { transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard); }
