/* Shared theme for the website (site.css) and the panel (panel.css).
   Change a colour or a font here and both follow. Loaded before either file.

   The name starts with "panel" because the docroot .htaccess already sends
   panel*.css to the app, on dev and on live: no rewrite rule to add.

   One colour is repeated outside this file: the yellow and dark ink of the
   tick icon in site.css (--tick), because a data: URL cannot read a
   variable. Change --cta or --cta-ink and change it there too. */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/source-sans-3-400-700.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/zilla-slab-600.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/zilla-slab-700.woff2") format("woff2"); }
:root {
  /* ground and text */
  --bg: #fff; --surface: #f3f7f1;
  --ink: #13261b; --soft: #44574b; --faint: #5d7065;
  --line: #cfdccf; --line-soft: #e3ebe2;

  /* brand band: site hero, panel rail */
  --brand: #1c5a38; --on-brand: #fff; --band-soft: #d5e8da;

  /* the one button colour, and the same hue as text and as a wash */
  --cta: #f6b40a; --cta-ink: #1c2a12; --cta-hover: #e0a200;
  --signal: #8a5a00; --cta-soft: #fdf1d0;

  /* states */
  --ok: #1f7a4d; --ok-soft: #e4f1e8;
  --danger: #9b1c1c; --danger-soft: #faeaea;

  /* request form on the website */
  --form: #174a2e; --form-soft: #cfe3d4; --form-line: #5f8f73; --form-head: #123c25;

  /* shape and type */
  --r: 4px;
  --fh: "Zilla Slab", Georgia, serif;
  --fb: "Source Sans 3", system-ui, sans-serif;
  --fm: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 12px 28px -14px rgba(0, 0, 0, .35);

  /* panel only: white and black, and the translucent tones on the brand band */
  --paper: #fff; --black: #000;
  --on-brand-soft: rgba(255, 255, 255, .72); --on-brand-strong: rgba(255, 255, 255, .85);
  --on-brand-line: rgba(255, 255, 255, .14); --on-brand-faint: rgba(255, 255, 255, .1);
  --shade-line: rgba(0, 0, 0, .15); --shade-soft: rgba(0, 0, 0, .2);
  --shade-menu: rgba(0, 0, 0, .14); --shade-dialog: rgba(0, 0, 0, .35);
  --scrim: rgba(0, 0, 0, .55);
}

/* Smooth form steps (funnel/_swap-script): the form card on the guide page and the
   form sheet of the new layout share a name, so the card moves and grows into the
   next step; the rest of the page fades. */
#aanvraag, .sheet { view-transition-name: aanvraag; }
::view-transition-group(*) { animation-duration: .35s; animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
