/* ============================================================
   StayMastery HUB — Design Tokens
   Brand Identity v1.1 — Nunito + Palette Corallo/Sabbia
   ============================================================ */

:root {

  /* ── Palette ────────────────────────────────────────────── */
  --coral:        #E8655A;
  --coral-h:      #D45046;
  --coral-pale:   #FEF2F1;
  --coral-pale-b: #FADBD8;

  --green:        #2D8A5E;
  --green-h:      #236B49;
  --green-pale:   #EDFAF3;
  --green-pale-b: #C6EDD8;

  --amber:        #D97706;
  --amber-pale:   #FEF3C7;

  --red:          #DC2626;
  --red-pale:     #FEE2E2;

  --dark:         #1A1714;
  --dark-80:      rgba(26,23,20,.80);
  --dark-60:      rgba(26,23,20,.60);

  --text:         #484440;
  --muted:        #888480;
  --subtle:       #B8B4B0;

  --bg:           #F7F5F2;
  --bg-alt:       #F0EDE8;
  --border:       #E8E4DF;
  --border-strong:#D4CFC9;
  --white:        #FFFFFF;

  /* ── Sidebar ────────────────────────────────────────────── */
  --sidebar-bg:   #1A1714;
  --sidebar-w:    240px;
  --sidebar-w-sm: 64px;

  /* ── Typography ─────────────────────────────────────────── */
  --font:         'Nunito', sans-serif;

  --text-xs:      11px;
  --text-sm:      13px;
  --text-base:    15px;
  --text-md:      17px;
  --text-lg:      20px;
  --text-xl:      24px;
  --text-2xl:     30px;
  --text-3xl:     38px;

  --fw-regular:   400;
  --fw-medium:    600;
  --fw-bold:      700;
  --fw-heavy:     800;
  --fw-black:     900;

  --leading-tight:  1.15;
  --leading-normal: 1.5;
  --leading-loose:  1.75;

  --ls-wide:  .18em;
  --ls-wider: .22em;

  /* ── Spacing (4px base) ─────────────────────────────────── */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* ── Border radius ──────────────────────────────────────── */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* ── Shadows ────────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(26,23,20,.06);
  --shadow-sm: 0 1px 4px rgba(26,23,20,.08), 0 1px 2px rgba(26,23,20,.04);
  --shadow-md: 0 4px 12px rgba(26,23,20,.10), 0 1px 4px rgba(26,23,20,.06);
  --shadow-lg: 0 8px 24px rgba(26,23,20,.12), 0 2px 8px rgba(26,23,20,.06);
  --shadow-xl: 0 16px 48px rgba(26,23,20,.14), 0 4px 16px rgba(26,23,20,.08);

  /* ── Transitions ────────────────────────────────────────── */
  --ease:      cubic-bezier(.4,0,.2,1);
  --dur-fast:  120ms;
  --dur-base:  200ms;
  --dur-slow:  300ms;

  /* ── Z-index ────────────────────────────────────────────── */
  --z-base:    1;
  --z-dropdown: 100;
  --z-sidebar: 200;
  --z-overlay: 300;
  --z-modal:   400;
  --z-toast:   500;

  /* ── Layout ─────────────────────────────────────────────── */
  --topbar-h:  56px;
  --content-max: 1280px;
}
