/* Saige — design tokens, compiled from tokens.json (v1).
   Every value here is copied 1:1 from tokens.json; nothing is invented.
   Sage (light) is the default theme on :root. Moss (dark, experimental)
   is applied by setting data-theme="moss" on <html>. bundle.css and the
   page styles consume only these variables. */

:root {
  color-scheme: light;

  /* Color — sage (light) */
  --ground:    #e9eddf; /* page background */
  --surface:   #f6f7f0; /* cards, note paper */
  --tint:      #d5dcc6; /* photo placeholders, tape, soft fills (never text) */
  --line:      #c9d1bc; /* 1px hairlines and card borders */
  --ink:       #1f3a2a; /* headlines, body, filled button */
  --ink-soft:  #2e4a39; /* long body paragraphs */
  --muted:     #4e6b55; /* labels, footer, icon strokes */
  --accent:    #1f3a2a; /* CTA fill, outline button, hand headings */
  --on-accent: #f4f6ec; /* text/icons on an accent fill */
  --stamp:     #a84b31; /* the one warm color — the "found" mark, used rarely */
  --paper:     #ffffff; /* the polaroid frame */

  /* Type families */
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body:    "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand:    "Caveat", "Bradley Hand", "Segoe Print", cursive;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 28px;
  --space-7: 32px;

  /* Radius */
  --radius-paper: 6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-pill:  999px;

  /* Shadow */
  --shadow-paper:    0 2px 0 #d5dcc6, 0 18px 40px rgba(31, 58, 42, 0.14);
  --shadow-polaroid: 0 14px 32px rgba(31, 58, 42, 0.16);
}

/* Moss (dark, experimental) */
[data-theme="moss"] {
  color-scheme: dark;

  --ground:    #1e251b;
  --surface:   #2a3324;
  --tint:      #3c4733;
  --line:      #3c4733;
  --ink:       #f2f1e6;
  --ink-soft:  #d9dccb;
  --muted:     #bdc4ac;
  --accent:    #cfd98f;
  --on-accent: #1e251b;
  --stamp:     #e0906f;
  --paper:     #2a3324;

  --shadow-paper:    0 2px 0 #3c4733, 0 18px 40px rgba(0, 0, 0, 0.4);
  --shadow-polaroid: 0 16px 36px rgba(0, 0, 0, 0.35);
}
