/* Brand variables: the only CSS file with brand colors.
   Keep the color values in sync with COLORS in config/site.js (a test checks this). */
:root {
  --brand-accent: #c81d4e;
  --brand-accent-hover: #a3153d;
  --brand-text: #1f1f1f;
  --brand-background: #ffffff;

  --brand-accent-soft: #fdecf1;
  /* A very light warm cream from the yellow accent, for soft information
     panels (the "When" block on confirmed details). Reusable for other info
     panels; text and muted text keep at least 4.5:1 on it (a test checks). */
  --brand-info-tint: #fff7dc;
  /* The guest reply form's attendance panel: the accent mixed into white,
     5% for the background and 70% for the border. Text keeps at least 4.5:1
     on the background and the border 3:1 on it and on white (a test checks). */
  --brand-attend-tint: #fcf4f6;
  --brand-attend-border: #d96183;
  /* Destructive actions (the outlined "Delete votes and save" button): text
     and border on white keep at least 4.5:1 contrast (a test checks). */
  --brand-danger: #b42318;
  --brand-danger-soft: #fdeceb;

  /* Banner looks (config/banners.js). Artwork colours: decorative only. */
  --brand-banner-berry: var(--brand-accent);
  --brand-banner-rose: #f06292;
  --brand-banner-blush: #fde2e7;
  --brand-banner-coral: #ff7a59;
  --brand-banner-amber: #f5a623;
  --brand-banner-sun: #ffd84d;
  --brand-banner-gold: #d4a017;
  --brand-banner-pumpkin: #f07f1a;
  --brand-banner-mint: #bfe9da;
  --brand-banner-sage: #a8c5a0;
  --brand-banner-teal: #129490;
  --brand-banner-forest: #2f6b4f;
  --brand-banner-sky: #bfe0f2;
  --brand-banner-ocean: #1d6fa3;
  --brand-banner-indigo: #3d3a8c;
  --brand-banner-lilac: #ddd0f0;
  --brand-banner-plum: #6b2d5c;
  --brand-banner-night: #1b1f3b;
  --brand-banner-slate: #475569;
  --brand-banner-sand: #f3e3c3;
  --brand-banner-cream: #fff1d6;
  --brand-banner-snow: #ffffff;
  /* Solid panels behind the event title: text, muted text and links must
     keep at least 4.5:1 contrast on each (a test checks). */
  --brand-panel-white: var(--brand-background);
  --brand-panel-blush: #fff6f8;
  --brand-panel-cream: #fffaf0;
  --brand-panel-mint: #f3fbf8;
  --brand-panel-sky: #f3f8fc;
  --brand-panel-lilac: #f9f6fd;
  --brand-panel-fog: #f6f7f9;
  /* Vote bars on the host page from 1024px (views/partials/vote-ranked.ejs):
     dark, mid and light, so the three stay apart in greyscale and for
     colour-blind users. Yes is the success green (--ok in app.css); Yes and
     Maybe keep at least 3:1 contrast on the white card (a test checks). */
  --vote-yes: #16794a;
  --vote-maybe: #c48000;
  --vote-no: #d6d6d6;
  /* Transactional email (src/lib/emails.js reads these values; email
     clients can't use CSS variables). Light: page, card, muted text, line.
     Dark (prefers-color-scheme): page, card, text, muted text, and the
     accent for the wordmark, links and the outlined button. Text keeps at
     least 4.5:1 on its background in both (a test checks). */
  --brand-email-page: #f6f7f9;
  --brand-email-muted: #5e5e5e;
  --brand-email-line: #e6e6e6;
  --brand-email-dark-page: #121212;
  --brand-email-dark-card: #1f1f1f;
  --brand-email-dark-text: #f2f2f2;
  --brand-email-dark-muted: #b3b3b3;
  --brand-email-dark-line: #3a3a3a;
  --brand-email-dark-accent: #f06292;
  --brand-radius-lg: 20px;
  --brand-radius: 14px;
  --brand-radius-sm: 10px;
  --brand-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
}
