/* ontara.ch v5 — the calmer layer (research round 3, 2026-09-30). Loaded after base.css and
 * ui.css by A and B4; B and B1–B3 keep the earlier look so they can still be compared.
 * Measured against 22 reference sites: one accent + red only for a regulation breach, lighter
 * display type, file types as grey labels, flat surfaces with 1px lines, fades instead of pops. */

:root { --rule: #d6dee8; } /* card borders on the page background */

/* one 1280 px content grid: header, hero scene and product window share the same edges */
.site-header__inner { max-width: 1344px; }

/* ---- type ---- */
.display { font-weight: 460; letter-spacing: -0.032em; }
.h2 { font-weight: 500; letter-spacing: -0.03em; }

/* small mono label instead of the rounded chip with a glowing dot */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.kicker i { flex: none; width: 6px; height: 6px; background: var(--accent); }
@media (max-width: 480px) { .kicker { gap: 8px; padding: 0 9px; font-size: 9.5px; letter-spacing: 0.05em; } }

/* ---- buttons: squarer, a little lighter ---- */
.btn { border-radius: 8px; font-weight: 550; }
.btn--sm { border-radius: 7px; }

/* ---- file types: grey mono labels instead of colour codes ---- */
.tag, .tag--pdf, .tag--xlsx, .tag--reqif, .tag--eml, .tag--doc, .tag--tsi {
  height: 19px;
  padding: 0 5px;
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-weight: 600;
  color: var(--muted);
}

/* ---- table + section labels in mono, like the kicker ---- */
.rgt__head { font: 500 10.5px/1 var(--mono); letter-spacing: 0.1em; }

/* ---- status: blue = a finding to review, red = breaks a rule, grey = fine ---- */
.pill { border-radius: 5px; font-weight: 550; }
.pill--warn { background: var(--accent-soft); color: var(--accent-deep); box-shadow: inset 0 0 0 1px var(--accent-line); }
.pill--ok { color: var(--muted); }
.pill--ok .dot { width: 9px; height: 5px; margin: 0 1px 3px 0; border: solid currentColor; border-width: 0 0 1.5px 1.5px; border-radius: 0; background: none; rotate: -45deg; }
