/* Velvet Alarm — a calm night palette: deep plum and indigo, with a soft rose and lavender.
   Contrast checked (WCAG AA) in both schemes, 4 Nov 2026: body text 15.6+ : 1, muted text 7.1+ : 1,
   links/accent 6.4+ : 1, white button text on the gradient 5.8+ : 1, small footer text 4.7+ : 1.
   Display font: Fraunces (Google Fonts, loaded through app.json "fonts.googleCss"). */
:root{
  --accent:#f29bb6;             /* soft rose: links, icons, tags (on the dark canvas) */
  --accent-2:#b79bf5;           /* lavender */
  --grad:linear-gradient(135deg,#b4365f,#6b3aa8);                    /* velvet red to plum: buttons (white text) */
  --grad-text:linear-gradient(135deg,#f6a8c0,#c4aaf7);               /* headline words on the dark canvas */
  --ink-1:#f6a8c0; --ink-2:#c4aaf7;
  --glow-1:rgba(180,54,95,.20);
  --glow-2:rgba(107,58,168,.18);
  --bg:#0f0b19; --bg-2:#150f22; --card:#1b1429; --line:#2d2340;
  --text:#f4eef8; --muted:#a99fbc;
  --glass-bg:rgba(21,15,34,.66);
  --glass-line:rgba(168,140,200,.22);
  --shadow-btn:0 6px 20px rgba(180,54,95,.38);
  --font-display:"Fraunces",Georgia,"Times New Roman",serif;
  --font-display-weight:650;
}
@media (prefers-color-scheme: light){
  :root{
    --accent:#a52d57;           /* deep rose: AA on white */
    --accent-2:#6b3aa8;
    --grad-text:linear-gradient(135deg,#a52d57,#6b3aa8);
    --ink-1:#a52d57; --ink-2:#6b3aa8;
    --glow-1:rgba(180,54,95,.10);
    --glow-2:rgba(107,58,168,.08);
    --bg:#fbf8fc; --bg-2:#ffffff; --card:#ffffff; --line:#ece3f0;
    --text:#1c1328; --muted:#54496a;
    --glass-bg:rgba(255,255,255,.66);
    --glass-line:rgba(28,19,40,.10);
    --shadow-btn:0 6px 20px rgba(180,54,95,.26);
  }
}

/* Added by build.py: the accessibility overrides from site.css win over the theme. */
@media (prefers-reduced-transparency: reduce){:root{--glass-blur:none}}
@media (prefers-contrast: more){:root{--line:color-mix(in srgb,var(--text) 35%,transparent)}}
