/* ==========================================================================
   SOLAR CHARGE — Design tokens
   Living Energy: warm technology, sol → energía → movimiento.
   ========================================================================== */

:root {
  /* ---- Brand palette (fixed — do not introduce new hues) ---- */
  --ivory:        #F3E8D2;
  --ivory-soft:   #FAF4E7;
  --camel:        #C9A46A;
  --amber:        #D98B2B;
  --amber-soft:   #F0B15F;
  --terracotta:   #B85C3C;
  --olive:        #687A4E;
  --teal:         #1F5B5A;
  --teal-deep:    #133E3D;
  --teal-deeper:  #0D2C2B;
  --brown:        #6B4A3A;

  /* ---- Surfaces ---- */
  --bg-page:      var(--ivory);
  --bg-card:      var(--ivory-soft);
  --bg-dark:      var(--teal);
  --bg-darker:    var(--teal-deep);

  /* ---- Text ---- */
  --ink:          #22201B;
  --ink-soft:     #4A473E;
  --on-dark:      var(--ivory);
  --on-dark-soft: #C9DAD6;

  /* ---- Type ---- */
  --font-body: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --step-2xs: clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);
  --step-xs:  clamp(0.88rem, 0.84rem + 0.2vw,  0.95rem);
  --step-sm:  clamp(1rem,    0.96rem + 0.2vw,  1.05rem);
  --step-md:  clamp(1.125rem,1.08rem + 0.25vw, 1.25rem);
  --step-lg:  clamp(1.4rem,  1.25rem + 0.75vw, 1.85rem);
  --step-xl:  clamp(1.9rem,  1.55rem + 1.75vw, 2.75rem);
  --step-2xl: clamp(2.4rem,  1.9rem + 2.5vw,   3.6rem);
  --step-3xl: clamp(2.9rem,  2.1rem + 4vw,     5rem);

  /* ---- Spacing scale ---- */
  --sp-3xs: 0.25rem;
  --sp-2xs: 0.5rem;
  --sp-xs:  0.75rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.25rem;
  --sp-xl:  3.5rem;
  --sp-2xl: 5.5rem;
  --sp-3xl: 8rem;

  /* ---- Shape ---- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: .25s;
  --dur-med: .55s;
  --dur-slow: .9s;

  /* ---- Layout ---- */
  --container: 1240px;
  --container-narrow: 780px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0s; --dur-med: 0s; --dur-slow: 0s; }
}
