/* tokens.css - liechtenstein-company.com. The source of truth for styling (DESIGN.md section 1).
 * Three layers: primitive (--p-*: raw values measured on the owner's design variant A, plus the LPC gold) -> semantic (--c-*,
 * --f-*, --s-*: what a value means on this site) -> component (--btn-*, --field-*, --card-*: what a component reads).
 * Components read only the semantic and component layers. Every colour is oklch with its hex in a trailing comment
 * (scripts/image-prompts.py reads the hex). Contrast checked 2026-11-01: blue on white 8.18, on the ground 7.63; text on the
 * ground 7.62; muted on the ground 5.58; gold on the navy band 6.17; white on the hover blue 10.93. Gold is never text on a
 * light ground (2.2:1): it is a fill (the top slab of the mark, rules, the active step) or text on navy only.
 */
:root {
  /* ---------- primitive: colour ---------- */
  --p-blue: oklch(43.3% 0.146 259.2); /* #154c9f */
  --p-blue-deep: oklch(36.3% 0.123 259.5); /* #0f3a7d */
  --p-navy: oklch(19.8% 0.055 258.2); /* #05152e */
  --p-navy-band: oklch(29.6% 0.097 259.8); /* #0b2a5c */
  --p-slate: oklch(42.8% 0.023 255.6); /* #47505c */
  --p-slate-2: oklch(50.1% 0.025 259.2); /* #5b6472 */
  --p-ground: oklch(97.6% 0.006 264.5); /* #f5f7fb */
  --p-white: oklch(100.0% 0.000 0); /* #ffffff */
  --p-line: oklch(93.9% 0.016 266.3); /* #e6ebf6 */
  --p-line-2: oklch(81.7% 0.049 266.0); /* #b4c3e4 */
  --p-pale: oklch(95.0% 0.015 260.7); /* #e9eff9 */
  --p-pale-2: oklch(91.4% 0.027 262.3); /* #d9e3f5 */
  --p-mist: oklch(96.0% 0.012 264.5); /* #eef2fa */
  --p-gold: oklch(74.5% 0.113 90.0); /* #c8a951 */
  --p-gold-ink: oklch(54.2% 0.104 86.1); /* #8a6a14 */
  --p-gold-mist: oklch(95.9% 0.022 89.8); /* #f7f1e1 */
  --p-green: oklch(51.4% 0.118 153.1); /* #1e7a45 */

  /* ---------- semantic: colour ---------- */
  --c-bg: var(--p-white);                 /* cards, the header, the footer, alternate sections */
  --c-surface: var(--p-ground);           /* the page ground (variant A paints most sections #f5f7fb) */
  --c-brand: var(--p-blue);               /* links, outlines, icons, the soft-button label */
  --c-text-strong: var(--p-navy);         /* headings */
  --c-text: var(--p-slate);               /* body copy */
  --c-muted: var(--p-slate-2);            /* captions, meta, helper text */
  --c-accent: var(--p-blue);              /* the primary call to action (variant A: one blue, no second CTA colour) */
  --c-accent-hover: var(--p-blue-deep);
  --c-accent-ink: var(--p-blue);          /* accent used as text or a rule on light grounds */
  --c-secondary: var(--p-blue);           /* the outline button */
  --c-gold: var(--p-gold);                /* LPC gold: the mark's top slab, the facts-strip rule, the active step; never text on light */
  --c-gold-ink: var(--p-gold-ink);        /* gold as text on white (5.06:1), kicker labels only */
  --c-gold-mist: var(--p-gold-mist);
  --c-check: var(--p-green);              /* the check rows of variant A */
  --c-soft: var(--p-pale);                /* soft buttons, chips, the place tabs */
  --c-soft-hover: var(--p-pale-2);
  --c-mist: var(--p-mist);                /* table heads, the practice note */
  --c-band-from: var(--p-navy-band);      /* the closing band of a page: flat navy, no gradient */
  --c-band-to: var(--p-navy-band);
  --c-band-deep: var(--p-navy);
  --c-on-band: var(--p-white);
  --c-on-band-muted: oklch(91.4% 0.027 262.3); /* #d9e3f5, 10.84:1 on the band */
  --c-line: var(--p-line);                /* hairlines on cards and tables */
  --c-line-strong: var(--p-line-2);       /* the dashed flow lines and field borders */
  --c-border: var(--p-slate-2);
  --c-focus: var(--p-blue);
  --c-footer-text: var(--p-slate);

  /* ---------- semantic: type ---------- */
  --f-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-text: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fw-text: 400;
  --fw-head: 700;
  --fw-strong: 600;
  --fs-h1: 3rem;       /* 48px, line 56 */
  --lh-h1: 1.16;
  --fs-h1-m: 2.125rem; /* 34px on a phone */
  --fs-h2: 2.25rem;    /* 36px, line 46 */
  --lh-h2: 1.28;
  --fs-h2-m: 1.75rem;
  --fs-h3: 1.25rem;    /* 20px, line 32, weight 600 */
  --lh-h3: 1.5;
  --fs-h3-m: 1.1875rem;
  --fs-ui: 1.125rem;   /* 18px: card titles, FAQ questions */
  --fs-text: 1.0625rem; /* 17px, line 27 */
  --lh-text: 1.6;
  --fs-small: 0.9375rem; /* 15px: nav, breadcrumb, labels */
  --fs-micro: 0.8125rem;

  /* ---------- semantic: space and layout ---------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 20px;
  --s-5: 24px;
  --s-6: 40px;
  --s-7: 64px;
  --s-8: 96px;
  --container: 1140px;
  --container-text: 760px;
  --gutter: 20px;
  --section-y: 88px;
  --section-y-m: 52px;

  /* ---------- semantic: shape and depth (variant A: 4px everywhere, one faint blue shadow) ---------- */
  --r-field: 4px;
  --r-btn: 4px;
  --r-card: 4px;
  --r-panel: 4px;
  --r-pill: 4px;
  --shadow-soft: 0 5px 10px rgba(21, 76, 159, 0.05);
  --shadow-lift: 0 10px 24px rgba(21, 76, 159, 0.10);

  /* ---------- semantic: motion ---------- */
  --ease: ease;
  --t-colour: 0.2s;

  /* ---------- component ---------- */
  --btn-h: 52px;
  --btn-pad: 14px 28px;
  --btn-fs: 0.9375rem;
  --field-h: 50px;
  --field-bg: var(--p-ground);
  --field-pad: 12px 16px;
  --card-bg: var(--c-bg);
  --card-pad: 28px;
  --header-top-h: 40px;
  --header-nav-h: 80px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-colour: 0s; }
}
