/* One type system and one wordmark for every page of corticorp.com.
   Each page carries its own inline <style>; this sheet is linked after it (see
   scripts/brand-head.cjs), so the rules here win by order without editing 30 pages by hand.
   Geist: interface text. Geist Mono: figures and labels. Newsreader: page and section headlines.
   The same three faces are used on finance.corticorp.com and news.corticorp.com. */
:root {
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  /* team.html names its faces through these three. */
  --font-display: var(--sans);
  --font-body: var(--sans);
  --font-mono: var(--mono);
}

body { font-family: var(--sans); }

/* Headlines. The weight is forced because the pages set 700 to 800 on their own, more
   specific, heading selectors, which suits a grotesque and is too heavy for this serif. */
h1, h2 {
  font-family: var(--serif);
  font-weight: 500 !important;
  letter-spacing: -0.015em;
}
h3, h4, h5 { font-family: var(--sans); }

/* The wordmark: the organisation mark, then the name, on every page. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
}
.brand svg { flex: none; }
/* Only the CortiCorp wordmark carries the mark; a plugin page's own product name keeps its colour. */
.brand:has(> svg) { color: var(--text, #e6edf1); }
