/* 24/7 Service Mate — v2 design tokens (official brand palette) */

@font-face {
  font-family: 'Secular One';
  src: url('/assets/fonts/SecularOne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Official brand palette ---- */
  --c-brand-limelight: #c8db4f;   /* Limelight Green */
  --c-brand-purple:    #8a5aa5;   /* Royal Purple */
  --c-brand-charcoal:  #121213;   /* Dark Charcoal */
  --c-brand-slate:     #58505d;   /* Slate Gray */

  /* RGB channels for alpha blends */
  --c-purple-rgb:  138, 90, 165;
  --c-green-rgb:   200, 219, 79;
  --c-charcoal-rgb: 18, 18, 19;
  --c-slate-rgb:   88, 80, 93;

  /* ---- Color: brand greens (Limelight family) ---- */
  --c-green-900: #4a5218;
  --c-green-800: #6b7524;
  --c-green-700: #8a9632;
  --c-green-600: #a8b83f;     /* primary action — darker limelight */
  --c-green-500: #c8db4f;     /* brand limelight */
  --c-green-400: #d4e36a;
  --c-lime-500:  #b8c945;
  --c-lime-400:  #c8db4f;     /* logo / accent */
  --c-lime-300:  #dce88a;

  /* ---- Color: brand purples (Royal family) ---- */
  --c-purple:       #8a5aa5;
  --c-purple-800:   #624678;
  --c-purple-700:   #735088;
  --c-purple-600:   #8a5aa5;  /* book-online CTA */
  --c-purple-500:   #9a6bb5;
  --c-purple-400:   #a87ec4;
  --c-purple-50:    #f3edf7;

  /* ---- Color: surface (cool neutral — limelight is an accent, not a surface) ---- */
  --c-bg:         #f7f8f7;
  --c-bg-alt:     #eff1f0;
  --c-bg-soft:    #e7eae9;     /* restrained slate-neutral band */
  --c-card:       #ffffff;
  --c-ink:        #121213;     /* dark charcoal — headings */
  --c-ink-2:      #58505d;     /* slate gray — body */
  --c-muted:      #6e6678;
  --c-muted-2:    #8a8490;
  --c-line:       #dddfe0;
  --c-line-soft:  #e8eae6;
  --c-black:      #121213;

  /* ---- Color: service accents (electrical = brand limelight, not amber) ---- */
  --c-elec:       #c8db4f;     /* brand limelight — matches site-wide green */
  --c-elec-rgb:   200, 219, 79;
  --c-elec-soft:  #edf0e8;
  --c-elec-deep:  #6b7524;
  --c-plumb:      #3b7dd8;
  --c-plumb-soft: #e8f2fc;
  --c-heat:       #c44a4a;
  --c-heat-soft:  #fce8e8;
  --c-cool:       #3aa6d4;
  --c-cool-soft:  #e4f6fc;
  --c-star:       #c9a227;     /* review stars — restrained gold */

  /* ---- Type ---- */
  --f-display: 'Secular One', 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-body:    'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --t-xs:   12px;
  --t-sm:   14px;
  --t-base: 16px;
  --t-md:   18px;
  --t-lg:   20px;
  --t-xl:   24px;
  --t-2xl:  30px;
  --t-3xl:  36px;
  --t-4xl:  44px;
  --t-5xl:  56px;

  /* ---- Space ---- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-18: 72px;
  --s-20: 80px;
  --s-24: 96px;
  --section-space: var(--s-18);
  --section-space-compact: var(--s-16);

  /* ---- Radius / shadow ---- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Legacy content compatibility — used by existing inline blog callouts. */
  --purple: var(--c-brand-purple);
  --radius: var(--r-md);
  --muted: var(--c-muted);

  --sh-sm: 0 1px 3px rgba(var(--c-charcoal-rgb), .06), 0 1px 2px rgba(var(--c-charcoal-rgb), .04);
  --sh-md: 0 6px 20px rgba(var(--c-charcoal-rgb), .08), 0 2px 6px rgba(var(--c-charcoal-rgb), .04);
  --sh-lg: 0 16px 40px rgba(var(--c-charcoal-rgb), .10), 0 6px 16px rgba(var(--c-charcoal-rgb), .05);
  --sh-card: 0 4px 24px rgba(var(--c-charcoal-rgb), .07), 0 1px 4px rgba(var(--c-charcoal-rgb), .04);

  /* ---- Container ---- */
  --container: 1200px;

  /* ---- Layout chrome ---- */
  --header-height: 92px;
  --utility-height: 42px;
}
