/* QCC design system: the shared values (qcc-local/DESIGN_SYSTEM_PROPOSAL.md, Vlad 11-21: system B, built through A).
   Custom properties only. Pages switch to them one step at a time; a page that does not use them looks as before.
   Contrast measured on white unless noted. Loaded before scss/main.css. */
:root {
  /* fonts: Noto Sans 400 and 700, Patrick Hand 400 (menu, footer). No 500 or 600: they are not loaded. */
  --font-text: "Noto Sans", sans-serif, Helvetica, Arial;
  --font-script: "Patrick Hand", cursive;

  /* type scale, size / line height in px */
  --title-size: 32px;  --title-lh: 40px;    /* page title, one per page */
  --sec-size: 24px;    --sec-lh: 32px;      /* section heading */
  --box-size: 20px;    --box-lh: 28px;      /* box title, a question on a reading page */
  --lead-size: 18px;   --lead-lh: 28px;     /* reading text: FAQ, delivery, policies */
  --body-size: 16px;   --body-lh: 24px;     /* everything else you read */
  --small-size: 14px;  --small-lh: 20px;    /* only: field hint, status pill, footer small print */

  /* spacing, px */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-64: 64px;

  /* colour roles */
  --ink: #1f1f27;          /* text, 16.4:1 */
  --muted: #6b6b76;        /* secondary text, 5.3:1 */
  --brand: #642d91;        /* links, actions, selected, 9.0:1 */
  --brand-hover: #502275;  /* white on it 11.5:1 */
  --surface: #ffffff;
  --surface-2: #f6f6f8;    /* picture stage, read-only field */
  --tint: #f4f0f9;         /* strip, pill, selected row */
  --hairline: #e6e6ea;     /* box edge, divider (decoration only) */
  --field-line: #8a8a94;   /* 3.4:1 */
  --lime: #c9f26b;  --on-lime: #2b0b4a;   /* 13.1:1 */
  --success: #1e7d4f;      /* 5.1:1 */
  --error: #b00020;        /* 7.3:1 */

  /* shape */
  --r-8: 8px; --r-12: 12px; --r-box: 12px; --r-pill: 999px;
  --shadow-raised: 0 1px 2px rgba(31, 31, 39, .06), 0 8px 24px rgba(31, 31, 39, .08);
  --control-h: 48px;
}
@media (max-width: 767.98px) {
  :root { --title-size: 26px; --title-lh: 32px; --sec-size: 22px; --sec-lh: 28px; }
}
