/* Shared design tokens for M. Wilkerson Media: every page and screen loads this
   first. Change a colour or the typeface here, once. */
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #F2F3F3;
  --surface: #FFFFFF;
  --ink: #1B1F24;
  --ink-2: #3A4047;
  --ink-3: #4A5057;
  --line: #C9CDD0;
  --placeholder: #D9DCDE;
  --hint: #70767D;           /* placeholder text: 4.6:1 on white, lighter than typed text */
  --accent: #1F4FD8;
  --accent-tint: #E8EEFB;   /* selected choices; ink, ink-2 and accent text all pass on it */
  --danger: #B42318;        /* errors: 6.6:1 on white, 5.9:1 on --bg */
  --success: #1E7A3E;       /* savings and confirmations: 5.4:1 on white */
  --success-tint: #E6F4EA;  /* status badges: success 4.7:1 on it */
  --danger-tint: #FDECEA;   /* danger 5.8:1 on it */
  --warning: #8A4B00;       /* expired and similar: 6.8:1 on white */
  --warning-tint: #FFF2DB;  /* warning 6.2:1 on it */
  --retainer: #6B3FA0;      /* admin calendar retainer sessions: 7.4:1 on white */
  --retainer-tint: #F1EBF8; /* retainer 6.3:1 on it */
  --scrim: rgba(14, 18, 22, 0.62);
  --backdrop: rgba(14, 18, 22, 0.96);
  --on-accent: #FFFFFF;
  --font: 'Schibsted Grotesk', system-ui, sans-serif;
  --radius: 4px;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
