/* ============================================================
   uplitMD · BASE
   Element defaults + a few brand utility classes that the live
   site and mockups rely on (.btn, .kicker, .wrap). Components use
   the tokens directly; these are for hand-authored HTML/specimens.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--fw-black); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); margin: 0; }
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { margin: 0; text-wrap: pretty; }

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

:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); border-radius: var(--radius-xs); }

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

/* ---- Layout helper ---- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Eyebrow / kicker ---- */
.kicker {
  font-size: var(--fs-kicker); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-kicker); text-transform: uppercase; color: var(--accent);
}

/* ---- Button utility (mirrors the component; for plain HTML) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 15.5px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-green { background: var(--accent); color: var(--text-on-accent); }
.btn-green:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.btn-ghost { background: rgba(255,255,255,0.10); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: var(--bw) solid var(--line); }
.btn-outline:hover { background: rgba(255,255,255,0.06); color: var(--white); }
