/* RE-Creation — Color system
   Core palette verified from the source theme + cover-image sampling.
   Black-dominant surfaces; paired green + violet accents; warm off-white for long reading.
   Roles are stable: GREEN = value / data / "Modelli"; VIOLET = vision / future / "Futuro". */
:root {
  /* ---- Core (verified, do not alter) ---- */
  --color-black:  #000000;
  --color-white:  #FFFFFF;
  --color-cream:  #E1DFD9; /* warm off-white — long reading on dark, light surfaces */
  --color-green:  #479E2E; /* primary accent — value / data / Modelli */
  --color-violet: #9747FF; /* secondary accent — vision / future / Futuro */

  /* ---- Accent scale (derived) ---- */
  --green-shade:    #316E20; /* green on light surfaces, hover, accented text on cream */
  --green-tint-35:  #87BF77; /* borders, icons, secondary data on dark */
  --green-tint-70:  #C7E1C0; /* faint fills, highlight backgrounds */
  --violet-shade:   #6931B2; /* violet on light surfaces, hover */
  --violet-tint-35: #BB87FF; /* borders, detail on dark */
  --violet-tint-70: #DFC7FF; /* faint fills */

  /* ---- Neutrals (from source) ---- */
  --neutral-900: #0E0E0E; /* near-black — cards layered on pure black */
  --neutral-800: #272727; /* dark surfaces, table rows on dark */
  --neutral-700: #3E3E3E; /* borders on dark, dividers, disabled text on dark */
  --neutral-200: #E7E7E7; /* borders on light */
  --neutral-100: #F6F6F6; /* neutral light surface (alt to cream) */

  /* ---- Semantic aliases ---- */
  --surface-base:    var(--color-black);    /* dominant document surface */
  --surface-raised:  var(--neutral-900);    /* cards / boxes on black */
  --surface-light:   var(--color-cream);    /* light reading sections */
  --surface-light-2: var(--neutral-100);    /* neutral light alt */

  --text-primary:    var(--color-white);    /* high-contrast titles / data on dark */
  --text-body:       var(--color-cream);    /* long reading on dark */
  --text-on-light:   var(--color-black);    /* body on light surfaces */
  --text-muted:      var(--neutral-700);    /* disabled / faint on dark */

  --accent-value:    var(--color-green);    /* green role */
  --accent-vision:   var(--color-violet);   /* violet role */

  --border-dark:     var(--neutral-700);    /* 1px borders on dark */
  --border-light:    var(--neutral-200);    /* 1px borders on light */
}
