/* EPAHS — Design tokens (overgenomen uit design_handoff_tender_ai/design_system/tokens/*.css) */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Brand base */
  --teal-900: #0c5551;
  --teal-700: #148d87;
  --teal-500: #1db1aa;
  --teal-300: #6fd0cb;
  --teal-100: #d2f0ee;
  --teal-50:  #ecf9f8;

  --ink-900: #0d0e1e;
  --ink-800: #171831;
  --ink-600: #33344b;
  --ink-400: #5c5d70;
  --ink-200: #a9aab5;

  --coral-500: #f49498;
  --coral-300: #f9bcbf;
  --coral-100: #fde4e5;

  --white:   #ffffff;
  --gray-50: #f7f8fa;
  --gray-100:#eef0f4;
  --gray-200:#e2e5ec;
  --gray-300:#cdd2dc;
  --gray-400:#9aa0af;
  --gray-500:#6b7180;

  --success: #1db1aa;
  --warning: #f0a94b;
  --danger:  #e05a63;
  --info:    #4c8bd8;

  --color-primary:        var(--teal-500);
  --color-primary-hover:  var(--teal-700);
  --color-primary-active: var(--teal-900);
  --color-accent:         var(--coral-500);

  --text-strong:  var(--ink-900);
  --text-body:    var(--ink-800);
  --text-muted:   var(--ink-400);
  --text-inverse: var(--white);
  --text-on-primary: var(--white);

  --surface-page:   var(--gray-50);
  --surface-card:   var(--white);
  --surface-sunken: var(--gray-100);
  --surface-ink:    var(--ink-800);

  --border-subtle: var(--gray-200);
  --border-strong: var(--gray-300);
  --border-focus:  var(--teal-500);

  /* Typography */
  --font-display: 'Lato', system-ui, -apple-system, sans-serif;
  --font-body:    'Lato', system-ui, -apple-system, sans-serif;
  --font-alt:     'Roboto', system-ui, -apple-system, sans-serif;

  --fw-light:   300;
  --fw-regular: 400;
  --fw-bold:    700;
  --fw-black:   900;

  --fs-display: 56px;
  --fs-h1: 40px;
  --fs-h2: 30px;
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-normal: 1.55;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.12em;
  --ls-wider: 0.24em;

  /* Spacing (4px grid) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(23, 24, 49, 0.06);
  --shadow-sm: 0 2px 6px rgba(23, 24, 49, 0.08);
  --shadow-md: 0 6px 18px rgba(23, 24, 49, 0.10);
  --shadow-lg: 0 16px 40px rgba(23, 24, 49, 0.14);
  --shadow-focus: 0 0 0 3px rgba(29, 177, 170, 0.35);

  --container-max: 1200px;
  --sidebar-w: 248px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: var(--lh-tight);
  margin: 0 0 0.4em;
  letter-spacing: var(--ls-tight);
}
h1 { font-size: var(--fs-h1); font-weight: var(--fw-black); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-bold); }

p { margin: 0 0 1em; }
a { color: var(--color-primary-hover); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-primary);
}

::selection { background: var(--teal-100); color: var(--ink-900); }
