/* Ditto site tokens, light: the off-white ground and ink of the opening view, the
   feeling colours of the app's Today panel. ONE file: palette, type, radii, spacing, motion.
   The site stylesheet (ditto.css) and the hero shader (js/hero-gl.js) both
   read from here, and other lanes (the app window) can read it too.
   Layout system ported from the measured reference in site/REFERENCES.md;
   the feeling colours and the voice colour are Ditto's own. */
:root {
  /* ground and surfaces */
  --dt-ground: #F4F3EE;
  --dt-panel-a: #FFFFFA;                       /* panel gradient, 45deg a to b */
  --dt-panel-b: #F5F4E6;
  --dt-glass-a: rgba(255, 255, 250, 0.78);        /* nav and pill glass, 137deg a to b */
  --dt-glass-b: rgba(255, 255, 250, 0.58);
  --dt-fill-1: rgba(255, 255, 250, 0.66);      /* card fill */
  --dt-fill-2: rgba(23, 23, 15, 0.05);
  --dt-fill-3: rgba(23, 23, 15, 0.07);      /* chip fill */
  --dt-line-1: rgba(23, 23, 15, 0.08);      /* hairline */
  --dt-line-2: rgba(23, 23, 15, 0.12);      /* card border */
  --dt-line-3: rgba(23, 23, 15, 0.24);      /* hover border */
  --dt-hi: inset 0 1px 0 0 #FFFFFF;   /* top edge light on every surface */
  --dt-hi-strong: inset 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 1px 0 #FFFFFF;

  /* text */
  --dt-text-1: #17170F;
  --dt-text-2: #5C5B52;
  --dt-text-3: #6F6E64;
  --dt-btn: #17170F;
  --dt-btn-hover: #000000;
  --dt-btn-ink: #FFFFFA;

  /* Ditto's own colours: the raw voice, and one per feeling */
  --dt-voice: #4FC3FF;
  --dt-feel-neutral: #6A41B8;
  --dt-feel-frustrated: #FF6C4C;
  --dt-feel-urgent: #FFA946;
  --dt-feel-uncertain: #B892FF;
  --dt-feel-excited: #34D399;
  --dt-accent: var(--dt-feel-neutral);         /* the page follows the last read */

  /* type: one family, weights 400 to 600 */
  --dt-font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dt-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;   /* headings, as the hero */
  --dt-h1: 600 36px/1.1 var(--dt-font);
  --dt-h1-wide: 600 64px/1.1 var(--dt-font);
  --dt-h2: 500 18px/1.6 var(--dt-font);        /* two-tone section statement */
  --dt-h2-wide: 500 20px/1.3 var(--dt-font);
  --dt-h2-big: 500 32px/1.2 var(--dt-font);
  --dt-h3: 500 16px/1.5 var(--dt-font);
  --dt-body: 400 14px/1.6 var(--dt-font);
  --dt-sub: 400 14px/1.5 var(--dt-font);
  --dt-sub-wide: 400 18px/1.4 var(--dt-font);
  --dt-small: 500 13px/1.25 var(--dt-font);
  --dt-label: 500 11px/1.2 var(--dt-font);
  --dt-track: 0.2px;
  --dt-track-big: -0.8px;

  /* shape and space */
  --dt-r-btn: 8px;
  --dt-r-chip: 10px;
  --dt-r-panel: 12px;
  --dt-r-nav: 16px;
  --dt-r-frame: 19px;
  --dt-r-card: 20px;
  --dt-max: 1204px;
  --dt-max-cards: 1020px;
  --dt-gutter: 16px;
  --dt-section: 30px;
  --dt-section-wide: 72px;

  /* motion */
  --dt-ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --dt-t-color: 0.3s ease;
  --dt-t-shadow: 0.2s ease;
  --dt-t-rise: 0.7s;
  --dt-t-hero: 1s;
}
