/* ============================================================
   Śāstranidhi Official Colour Palette
   This is the source of truth for all colours.
   ============================================================ */

:root {
  /* --- Main brand colours --- */
  --sn-deep-violet:    #21163F;
  --sn-brand-violet:   #45218B;
  --sn-light-violet:   #6933C9;
  --sn-gold:           #E8C34A;
  --sn-gold-soft:      #F3DFA0;

  /* --- Backgrounds --- */
  --sn-page-1:         #FBFAFE;
  --sn-page-2:         #F6F3FB;
  --sn-page-3:         #F3F0FA;
  --sn-section-1:      #ECE7F7;
  --sn-section-2:      #DED7EE;

  /* --- Header gradient ---
     Navbar + home hero band. Deep violet, identical in light and dark mode,
     so the heading is always darker than the page below it. */
  --sn-header-gradient: linear-gradient(115deg, #1E0F47 0%, #2B1568 48%, #3B1E88 100%);

  /* --- Dark mode gradient ---
     Page background in dark mode; kept lighter than the header gradient. */
  --sn-dark-gradient:  linear-gradient(160deg, #3D2185 0%, #452794 45%, #4E2EA2 100%);

  /* --- Text --- */
  --sn-text-main:      #20154A;
  --sn-text-secondary: #4A4162;   /* darkened so card text stands out on white */
  --sn-text-faded:     #5A5270;
  --sn-text-on-dark:   #F3F0FA;

  /* --- Card borders --- */
  /* Deep gold (#B8860B) so card outlines stay visible on the white page */
  --sn-card-border-outer: rgba(184, 134, 11, 0.78);
  --sn-card-border-inner: rgba(184, 134, 11, 0.32);
}