/* ==========================================================================
   Setout Live — design tokens
   Mirrors the Flutter app (AppColors / setout_tokens.dart / concept board :root).
   Keep this file in sync with the app when the palette changes.
   ========================================================================== */

:root {
  /* Brand */
  --brand:        #12a67a;
  --brand-deep:   #0e8a66;
  --brand-tint:   rgba(18, 166, 122, .10);
  --brand-edge:   rgba(18, 166, 122, .24);

  /* Ink */
  --ink:          #0d1b15;
  --ink2:         #3a4b43;
  --ink3:         #8a978f;

  /* Surfaces */
  --bg:           #eef1ef;
  --surface:      #ffffff;
  --line:         #e3e8e5;
  --glass:        rgba(255, 255, 255, .72);

  /* Semantic accents (same values the app uses) */
  --amber:        #e8892b;   /* Companion / caution */
  --red:          #e0503e;   /* heavy rain / severe */
  --blue:         #2f6bff;   /* Meet */

  /* Condition palette — used by the trip ribbon */
  --rain-light:   #8fc3ef;   /* rain is a BLUE ramp now (red is reserved for traffic) */
  --rain-mod:     #3f86d6;
  --rain-heavy:   #3b3fa0;   /* heavy/storm = deep indigo, not red */
  --clear:        #12a67a;   /* GREEN = clear/clean drive (matches route + legend) */
  --day:          #ffe9b0;
  --night:        #2b3a52;
  --glare:        #f2b134;
  --traffic:      #e0503e;   /* RED = traffic (repurposed from amber) */

  /* Elevation */
  --shadow:       0 1px 2px rgba(13,27,21,.05), 0 10px 30px rgba(13,27,21,.10);
  --shadow-sm:    0 1px 2px rgba(13,27,21,.06), 0 6px 16px rgba(13,27,21,.08);
  --shadow-lg:    0 2px 6px rgba(13,27,21,.06), 0 30px 60px rgba(13,27,21,.16);
  --glow:         0 10px 24px rgba(18,166,122,.30);

  /* Radii — the app's card radius is 22 */
  --r:            22px;
  --r-sm:         14px;
  --r-xs:         10px;
  --r-pill:       999px;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap:         1180px;
  --header-h:     64px;

  /* Motion */
  --ease:         cubic-bezier(.2, .7, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
