/* ============================================================
   Focus Managed Services — Base / Reset
   Sensible element defaults so any consumer page inherits the
   brand voice immediately. Tokens come from tokens/*.css.
   ============================================================ */

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

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

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

/* Headings — technical display voice */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: var(--heading-lh);
  letter-spacing: var(--heading-tracking);
  color: var(--text-primary);
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); font-weight: var(--fw-extra); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

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

a {
  color: var(--link);
  text-decoration: none;
  transition: var(--transition-colors);
}
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 2px; }

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

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

hr {
  border: 0;
  border-top: var(--border-width) solid var(--border-default);
  margin: var(--space-6) 0;
}

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

::selection {
  background: var(--red-500);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ---------- A few brand helpers ---------- */
.fcs-eyebrow {
  font-family: var(--eyebrow-font);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--text-brand);
}

.fcs-container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.fcs-mono { font-family: var(--font-mono); }
.fcs-display { font-family: var(--font-display); }
