/* The page's original seven styles and the --base defaults. Shared by index.html and the subpages (sub.css). */
/* Each style is a set of variables plus a few signature moves. Switching
   styles swaps data-theme on <html>; nothing animates. */
:root,
[data-theme="program"] {
  --bg: #FAF9F7; --fg: #1C1C1E; --accent: #4A5FE8; --soft: rgba(28, 28, 30, 0.6); --rule: rgba(28, 28, 30, 0.12);
  --display: 'General Sans', sans-serif; --body: 'Newsreader', serif;
  --dw: 700; --case: none; --track: -0.025em; --dstyle: normal; --hsize: 1;
  --btn-bg: var(--fg); --btn-fg: var(--bg); --radius: 0;
}

[data-theme="diagonal"] {
  --bg: #4B1D8F; --fg: #FFFFFF; --accent: #FFD400; --soft: rgba(255, 255, 255, 0.75); --rule: rgba(255, 255, 255, 0.2);
  --display: 'Barlow Condensed', sans-serif; --body: 'Barlow', sans-serif;
  --dw: 800; --case: uppercase; --track: 0; --dstyle: italic; --hsize: 1.2;
  --btn-bg: #FFD400; --btn-fg: #4B1D8F; --radius: 0;
}

[data-theme="sign"] {
  --bg: #FFD23F; --fg: #1B2C8F; --accent: #F2542D; --soft: rgba(27, 44, 143, 0.8); --rule: #1B2C8F;
  --display: 'Lilita One', sans-serif; --body: 'Work Sans', sans-serif;
  --dw: 400; --case: none; --track: 0; --dstyle: normal; --hsize: 1.05;
  --btn-bg: #1B2C8F; --btn-fg: #FFD23F; --radius: 999px;
}

[data-theme="americana"] {
  --bg: #F6F0E1; --fg: #15233F; --accent: #B3121F; --soft: rgba(21, 35, 63, 0.75); --rule: rgba(21, 35, 63, 0.25);
  --display: 'Playfair Display', serif; --body: 'Libre Franklin', sans-serif;
  --dw: 800; --case: uppercase; --track: 0.01em; --dstyle: normal; --hsize: 0.82;
  --btn-bg: #B3121F; --btn-fg: #F6F0E1; --radius: 0;
}

[data-theme="color"] {
  --bg: #FFFFFF; --fg: #1E1E2A; --accent: #FF4F9A; --soft: rgba(30, 30, 42, 0.65); --rule: rgba(30, 30, 42, 0.1);
  --display: 'Outfit', sans-serif; --body: 'Outfit', sans-serif;
  --dw: 800; --case: none; --track: -0.035em; --dstyle: normal; --hsize: 1;
  --btn-bg: #1E1E2A; --btn-fg: #FFFFFF; --radius: 999px;
}

[data-theme="sunrise"] {
  --bg: #0D2B66; --fg: #FFFFFF; --accent: #8FD0FF; --soft: rgba(255, 255, 255, 0.72); --rule: rgba(255, 255, 255, 0.18);
  --display: 'Montserrat', sans-serif; --body: 'Montserrat', sans-serif;
  --dw: 800; --case: uppercase; --track: 0.02em; --dstyle: normal; --hsize: 0.78;
  --btn-bg: #FFFFFF; --btn-fg: #0D2B66; --radius: 0;
}

[data-theme="slab"] {
  --bg: #FFFFFF; --fg: #0F3D91; --accent: #E4243B; --soft: rgba(15, 61, 145, 0.75); --rule: rgba(15, 61, 145, 0.15);
  --display: 'Bitter', serif; --body: 'Source Sans 3', sans-serif;
  --dw: 800; --case: none; --track: -0.02em; --dstyle: normal; --hsize: 0.95;
  --btn-bg: #0F3D91; --btn-fg: #FFFFFF; --radius: 6px;
}

html { --base: #22306E; --card-bg: var(--bg); --card-fg: var(--fg); --card-rule: var(--rule); }
[data-theme="diagonal"] { --base: #2A0F55; } [data-theme="sign"] { --base: #1B2C8F; } [data-theme="americana"] { --base: #15233F; }
[data-theme="color"] { --base: #1E1E2A; } [data-theme="sunrise"] { --base: #0A2457; } [data-theme="slab"] { --base: #0F3D91; }
