/* O!Sapiens — base element defaults & a few utility classes.
   Light-touch: sets the body type, headings, links and brand helpers. */

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

body {
  margin: 0;
  font: var(--text-body-m);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  color: var(--text-heading);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
h1 { font: var(--text-h1); }
h2 { font: var(--text-h2); }
h3 { font: var(--text-h3); }
h4 { font: var(--text-h4); }

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

a { color: var(--o-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--o-blue); color: var(--soft-sand); }

/* ---- Brand helpers ---- */
.brand-name {           /* SAPIENS wordmark styling for inline text */
  font-family: var(--font-sans);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
}
.serif-line {           /* product-line / decorative serif */
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
}
.eyebrow {
  font: var(--text-label);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-muted);
}

/* O! Blue field — the signature surface */
.field-brand { background: var(--surface-brand); color: var(--text-on-brand); }
.field-foundation { background: var(--surface-foundation); color: var(--o-blue); }
.field-transform  { background: var(--surface-transform);  color: var(--o-blue); }
.field-reboot     { background: var(--surface-reboot);     color: var(--o-blue); }
