/* The AAS design tokens (colours sampled from assets/brand/AAS-LOGO.png). Linked after the kit.
   Brand indigo #2f3190, near-black navy ground, cool paper, and one red signal that is reserved for
   the primary action and the live peak of the chromatogram rail. */
:root {
  /* paper (light) grounds */
  --p-bg: #f3f4f9;
  --p-surface: #ffffff;
  --p-ink: #12143a;
  --p-muted: #565a7a;
  --p-accent: #2f3190;
  --p-accent-ink: #ffffff;
  --p-action: #2f3190;
  --p-action-ink: #ffffff;

  /* navy (dark) grounds */
  --p-inv-bg: #0b0d24;
  --p-inv-surface: #14173d;
  --p-inv-ink: #f4f5f9;
  --p-inv-muted: #a9add2;
  --p-inv-accent: #f4f5f9;
  --p-inv-accent-ink: #12143a;
  --p-inv-action: #f4f5f9;
  --p-inv-action-ink: #12143a;

  --font-display: "Space Grotesk", "SUSE", system-ui, sans-serif;
  --font-text: "SUSE", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 600;
  --display-tracking: -0.034em;
  --display-tracking-xl: -0.045em;

  /* the red signal: primary action and the live peak only */
  --signal: #960505;
  --signal-ink: #ffffff;
  --signal-on-dark: #e0423c;

  /* indigo for lines on navy */
  --indigo-on-dark: #8d91ee;

  /* surfaces, hairlines and restrained depth */
  --paper: #f3f4f9;
  --paper-2: #e9ebf4;
  --card: #ffffff;
  --hairline: rgba(18, 20, 58, 0.1);
  --hairline-strong: rgba(18, 20, 58, 0.2);
  --hairline-dark: rgba(244, 245, 249, 0.14);
  --shadow-1: 0 1px 2px rgba(18, 20, 58, 0.05), 0 6px 18px -14px rgba(18, 20, 58, 0.3);
  --shadow-2: 0 2px 4px rgba(18, 20, 58, 0.05), 0 18px 40px -26px rgba(18, 20, 58, 0.4);
  --radius-card: 16px;
  --radius-plate: 12px;

  /* motion: transform, opacity and clip-path only */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.3, 0, 0.2, 1);
  --d-fast: 160ms;
  --d-base: 260ms;

  /* type scale (tightened: one step per role) */
  --t-body: 16.5px;
  --t-lead: 18.5px;
  --t-h1: clamp(40px, 4.6vw, 72px);
  --t-h2: clamp(28px, 2.7vw, 44px);
  --t-h3: clamp(19px, 1.3vw, 22px);
  --t-card: 18px;
  --t-hero: clamp(2.2rem, 1.1rem + 3.6vw, 4.5rem);

  /* spacing rhythm: tight inside a group, generous between sections */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 72px;
  --sp-9: 112px;
  --section-y: clamp(72px, 9vw, 144px);
}
