/* =============================================================
   PROVES.IO — 01. TOKENS
   Every colour, typeface and curve the site uses. Change a value
   here and it changes everywhere.

   Load order: tokens → base → layout → components → page-*.css
   ============================================================= */

:root {
  /* ---------------------------------------------------------
     TYPEFACES

     This is the one part of the original design that was
     replaced. Cormorant Garamond + DM Sans is the default
     "premium" pairing of generated templates, and it is the
     single strongest reason the site read as machine-made.

     Newsreader is an editorial text serif with a variable
     optical-size axis, so it holds real authority at 76px and
     still reads as text at 17px. Archivo is a grotesque drawn
     for print headlines — it carries the small uppercase
     letterspaced labels far better than DM Sans did.

     Everything else about the design is unchanged.
     --------------------------------------------------------- */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Surfaces ---- */
  --bg:         #FFFFFF;
  --bg-raised:  #F7F6F2;
  --bg-surface: #EFEDE7;
  --bg-overlay: #E7E4DC;

  /* ---- Text ---- */
  --text-primary:   #060606;
  --text-secondary: #1A1A1A;
  --text-muted:     #555049;

  /* ---- Accent ---- */
  --red:       #E04A3F;
  --red-vivid: #F23D33;
  --red-glow:  rgba(242, 61, 51, 0.18);
  --red-dim:   rgba(242, 61, 51, 0.06);

  /* ---- Lines & depth ---- */
  --border:     rgba(10, 10, 10, 0.10);
  --border-mid: rgba(10, 10, 10, 0.18);
  --shadow:     0 18px 48px -30px rgba(10, 10, 10, 0.32);

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: light;
}

/* =============================================================
   DARK THEME
   Same structure, inverted values only.
   ============================================================= */
[data-theme="dark"] {
  --bg:         #0F0F0F;
  --bg-raised:  #1A1A1A;
  --bg-surface: #222222;
  --bg-overlay: #2A2A2A;

  --text-primary:   #FFFFFF;
  --text-secondary: #F0EFEA;
  --text-muted:     #C8C5BD;

  --red:       #FF7A6B;
  --red-vivid: #F23D33;
  --red-glow:  rgba(255, 122, 107, 0.18);
  --red-dim:   rgba(255, 122, 107, 0.09);

  --border:     rgba(242, 240, 236, 0.12);
  --border-mid: rgba(242, 240, 236, 0.20);
  --shadow:     0 18px 48px -30px rgba(0, 0, 0, 0.6);

  color-scheme: dark;
}
