/* Tokens: every colour, font and size the elements use. A site changes them here (or overrides them on :root after
   this file) and every element follows. Elements may add tokens of their own, named after the element (--tile-bg). */
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  /* House style TalentDEV (DEV/_shared/huisstijl-talentdev.md) */
  --brand-night: #484d6d; --brand-steel: #6e9dc5; --brand-green: #a5c882; --brand-orange: #f2552c;
  --brand-gradient: radial-gradient(120% 140% at 0% 0%, #5a6088 0%, #484d6d 42%, #2c2f47 100%);

  /* Layout and motion */
  --wrap: 72rem; --gutter: clamp(1rem, 4vw, 2.5rem); --header-h: 4.25rem;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* Type. The system font everywhere; Open Sans only in the logo. */
  --display: -apple-system, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: -apple-system, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --brand-font: "Open Sans", system-ui, sans-serif;
  --h-weight: 700; --h-lh: 1.05; --h-track: -.025em;
  --h1-size: clamp(2.9rem, 6.6vw, 5.2rem); --h2-size: clamp(2rem, 4.4vw, 3.1rem); --h-block-size: clamp(1.6rem, 3vw, 2.2rem);

  /* Shapes */
  --r-btn: 12px; --r-card: 18px; --r-panel: 24px;

  /* Colours, light */
  --bg: #f4f4f8; --bg-tint: #ebebf1; --surface: #fff; --line: #dadae3; --line-strong: #b9b9c6; --text: #262626; --muted: #5f5f6b;
  --accent-large: #484d6d; --accent-text: #a8361a; --hover-tint: var(--brand-steel);
  --btn: #484d6d; --on-btn: #fff; --cta: var(--brand-orange); --on-cta: #14151f;
  --logo-main: #484d6d; --logo-l: var(--brand-steel);
  --win-bar: #ebebf1; --win-line: #dadae3; --win-muted: #5f5f6b; --win-shadow: 0 1px 2px rgba(38, 38, 60, .08), 0 30px 60px -24px rgba(38, 38, 60, .28);
  --card-shadow: 0 1px 2px rgba(38, 38, 60, .06); --hl-bg: #ebedf5;
  /* On a dark panel (the tile, the last card of the deck) */
  --on-dark: #fff; --on-dark-muted: rgba(255, 255, 255, .8); --on-dark-faint: rgba(255, 255, 255, .65); --on-dark-line: rgba(255, 255, 255, .2);
  --on-dark-accent: #a9c8e6;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17171c; --bg-tint: #1c1c22; --surface: #222229; --line: #36363f; --line-strong: #55555f; --text: #f1f1f4; --muted: #a6a6b2;
    --accent-large: #9498b8; --accent-text: #ffb39e;
    --btn: #9498b8; --on-btn: #17171c;
    --logo-main: #fff;
    --win-bar: #1c1c22; --win-line: #36363f; --win-muted: #a6a6b2; --win-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
    --card-shadow: none; --hl-bg: #24252f;
  }
}
