/* ==========================================================================
   Accobat Design System — base element styles
   Minimal resets + brand defaults. Imported after tokens.
   ========================================================================== */

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

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-4) 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-3xl); line-height: var(--leading-tight); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { margin: 0 0 var(--space-4) 0; text-wrap: pretty; }

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

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

small { font-size: var(--text-sm); }

/* Uppercase eyebrow / kicker label — recurring brand motif */
.eyebrow {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accobat-orange);
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring);
  outline-offset: 2px;
}

::selection { background: rgba(var(--accobat-orange-rgb), 0.22); }
