/* Hallmark · tokens · De Gratis Makelaars · brand kept: navy #0D1F3C, orange #FF7D3A, DGM tile (logo.png) */
:root {
  /* Brand, read from the project (logo.png, favicon.svg, the old :root) */
  --brand-navy: #0D1F3C;
  --brand-orange: #F06519; /* the logo file is #FF7D3A; this is the same orange one step deeper so white text and orange numerals meet WCAG 3:1 for large text */

  /* Paper and ink, tinted toward the brand hues */
  --color-paper: oklch(98.6% 0.006 70);
  --color-paper-2: oklch(95.9% 0.013 65);
  --color-paper-3: oklch(92.6% 0.02 60);
  --color-receipt: oklch(99.6% 0.003 80);
  --color-receipt-rule: oklch(74% 0.02 70);
  --color-ink: var(--brand-navy);
  --color-ink-2: oklch(36% 0.055 262);
  --color-muted: oklch(48% 0.035 262);
  --color-rule: oklch(87.5% 0.016 262);
  --color-rule-strong: oklch(76% 0.025 262);

  /* The navy field (bands, the form, the footer foot) */
  --color-field: var(--brand-navy);
  --color-field-2: oklch(29.5% 0.066 262);
  --color-on-field: oklch(97.5% 0.008 70);
  --color-on-field-2: oklch(84% 0.025 262);
  --color-field-rule: oklch(40% 0.05 262);

  /* The orange: the primary control, the €0, one field band */
  --color-accent: var(--brand-orange);
  --color-accent-2: color-mix(in oklab, var(--brand-orange) 86%, var(--brand-navy));
  --color-accent-ink: oklch(99% 0.004 70);
  --color-accent-text: var(--color-ink);
  --color-accent-large: var(--brand-orange);
  --color-accent-large-tint: #E85A12; /* the same orange one step deeper, only for large orange text on the tinted well and the Pakket 1 column: 3.1:1 there */
  --color-marker: color-mix(in oklab, var(--brand-orange) 30%, var(--color-paper));
  --color-accent-wash: oklch(95% 0.03 55);
  --color-focus: var(--brand-navy);
  --color-focus-on-accent: oklch(99% 0.004 70);
  --color-error: oklch(52% 0.19 27);

  /* Platform colour, WhatsApp only */
  --color-whatsapp: #25D366;
  --color-on-whatsapp: var(--brand-navy);

  /* Type: Bricolage Grotesque for display and the wordmark; Plus Jakarta Sans for reading; IBM Plex Mono only on the receipts */
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --display-stretch: 100%;

  --text-display: clamp(2.75rem, 1.4rem + 4.1vw, 4.75rem);
  --text-display-s: clamp(2.25rem, 1.3rem + 2.9vw, 3.625rem);
  --text-section: clamp(2rem, 1.25rem + 2.3vw, 2.875rem);
  --text-title: clamp(1.25rem, 1.1rem + 0.45vw, 1.5625rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --text-md: 1rem;
  --text-sm: 0.875rem;
  --text-figure: clamp(2.5rem, 1.6rem + 2.8vw, 4rem);
  --text-zero: clamp(5rem, 3rem + 7vw, 9.5rem);

  /* Space */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 144px;
  --section-gap-s: clamp(56px, 6vw + 32px, 120px);
  --section-gap: clamp(60px, 8vw + 32px, 144px);
  --section-gap-l: clamp(96px, 10vw + 32px, 176px);

  /* Canvas */
  --container: 1440px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --gap-columns: clamp(16px, 2.2vw, 32px);
  --measure: 66ch;

  /* Radii: the DGM tile is a rounded square, so is everything that holds */
  --radius-card: 14px;
  --radius-input: 10px;
  --radius-inner: 6px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  /* Depth */
  --shadow-1: 0 1px 2px oklch(20% 0.03 262 / 0.06), 0 8px 24px oklch(20% 0.03 262 / 0.08);
  --scrim: oklch(18% 0.05 262 / 0.55);
  --shadow-receipt: 0 18px 30px -18px oklch(20% 0.05 262 / 0.28);

  /* Z */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-sticky-nav: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;

  --nav-height: 72px;
  --size-thumb: 28px;
  --size-track: 6px;
}
