/* ============================================================
   Laketown Electric Co. — Design tokens (2026 rebrand)
   Extracted verbatim from the locked design mockup
   (design/mockup/). Do not tune values here; the mockup is
   the spec. Semantic aliases are the only names product
   code should reach for.
   ============================================================ */

:root {
  /* --- Brand blue scale (anchor #1248B5) --------------------- */
  --blue-50:  #eef3fc;
  --blue-100: #d8e3f8;
  --blue-200: #b0c6f0;
  --blue-300: #7fa1e6;
  --blue-400: #4773d4;
  --blue-500: #1248b5;   /* LEC Blue — brand primary */
  --blue-600: #0f3d99;
  --blue-700: #0d317b;
  --blue-800: #0c2861;
  --blue-900: #0b1f49;

  /* --- Deep indigo scale (anchor #1F215A) -------------------- */
  --indigo-50:  #ececf4;
  --indigo-100: #d2d3e5;
  --indigo-200: #a8a9c9;
  --indigo-300: #7c7eaa;
  --indigo-400: #4f5189;
  --indigo-500: #353a73;
  --indigo-600: #2a2d66;
  --indigo-700: #24275f;
  --indigo-800: #21235b;
  --indigo-900: #1f215a;   /* Indigo — deep brand / dark surfaces */

  /* --- Neutral gray scale (anchor #898B8E mid / #34373C ink) - */
  --steel-0:   #ffffff;
  --steel-25:  #faf9f8;
  --steel-50:  #f4f3f2;
  --steel-100: #e9e8e7;
  --steel-200: #d6d5d5;
  --steel-300: #bcbcbd;
  --steel-400: #898b8e;   /* brand mid gray */
  --steel-500: #6b6d70;
  --steel-600: #54565a;
  --steel-700: #434548;
  --steel-800: #34373c;   /* brand charcoal ink */
  --steel-900: #25272b;

  /* --- Warm sand / taupe scale (anchor #D8D1C7 / #B7ACA0) ---- */
  --sand-50:  #f8f6f3;
  --sand-100: #eee9e3;
  --sand-200: #d8d1c7;   /* warm sand */
  --sand-300: #c8bdb1;
  --sand-400: #b7aca0;   /* taupe */
  --sand-500: #9c9184;
  --sand-600: #7d7367;

  /* --- Functional status hues -------------------------------- */
  --green-500: #1e8e5a;
  --green-50:  #e7f4ee;
  --red-500:   #d0352b;
  --red-50:    #fbeae8;
  --amber-500: #e0a30a;   /* warning status only (not a brand color) */
  --amber-600: #b9850a;
  --amber-warn-50: #fbf2dc;

  /* Text-safe status steps, added for WCAG AA. The mockup's
     green-500 / amber-600 sit at 3.6-4.2:1 on their tint
     backgrounds, fine for dots, bars, and borders, short of AA
     for small text. Use these for status TEXT only. */
  --green-700: #17724a;
  --amber-700: #8a6207;

  /* ============================================================
     SEMANTIC ALIASES — reach for these in product work.
     ============================================================ */

  /* Brand */
  --color-brand:         var(--blue-500);
  --color-brand-hover:   var(--blue-600);
  --color-brand-active:  var(--blue-700);
  --color-brand-strong:  var(--indigo-900);
  --color-accent:        var(--sand-400);   /* warm taupe accent */
  /* Decorative gold, currently the newsletter masthead's bolt. It shares a
     hex with --amber-500 but has its own name on purpose: amber-500 means
     "warning" everywhere else, and a decorative mark must not read as a
     status or drift when the warning ramp is retuned. */
  --brand-gold:          #e0a30a;
  --color-accent-hover:  var(--sand-500);

  /* The page-level accent (card header rules). The mockup binds
     this to the accentColor prop, default LEC Blue. */
  --accent: var(--blue-500);

  /* Text */
  --text-primary:   var(--steel-800);
  --text-secondary: var(--steel-600);
  --text-muted:     var(--steel-500);
  --text-inverse:   var(--steel-0);
  --text-link:      var(--blue-600);
  --text-on-brand:  var(--steel-0);

  /* Surfaces */
  --surface-page:    var(--sand-50);     /* warm paper */
  --surface-card:    var(--steel-0);
  --surface-raised:  var(--steel-0);
  --surface-sunken:  var(--sand-100);
  --surface-brand:   var(--blue-500);
  --surface-dark:    var(--indigo-900);
  --surface-inverse: var(--steel-900);

  /* Borders */
  --border-subtle:  var(--sand-100);
  --border-default: var(--steel-200);
  --border-strong:  var(--steel-300);
  --border-brand:   var(--blue-500);

  /* Semantic status */
  --color-success:      var(--green-500);
  --color-success-bg:   var(--green-50);
  --color-success-text: var(--green-700);
  --color-warning:      var(--amber-500);
  --color-warning-bg:   var(--amber-warn-50);
  --color-warning-text: var(--amber-700);
  --color-danger:     var(--red-500);
  --color-danger-bg:  var(--red-50);
  --color-info:       var(--blue-500);
  --color-info-bg:    var(--blue-50);

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(18, 72, 181, 0.35);

  /* Families */
  --font-display: 'all-round-gothic', 'All Round Gothic', 'Montserrat', system-ui, sans-serif;
  --font-sans:    'Montserrat', system-ui, -apple-system, sans-serif;
  --font-serif:   'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* Type scale */
  --text-2xs: 0.6875rem;  /* 11px */
  --text-xs:  0.75rem;    /* 12px */
  --text-sm:  0.875rem;   /* 14px */
  --text-md:  1rem;       /* 16px — base */
  --text-lg:  1.125rem;   /* 18px */
  --text-xl:  1.375rem;   /* 22px */
  --text-2xl: 1.75rem;    /* 28px */
  --text-3xl: 2.25rem;    /* 36px */
  --text-4xl: 3rem;       /* 48px */
  --text-5xl: 3.75rem;    /* 60px */
  --text-6xl: 4.75rem;    /* 76px */

  /* Line heights */
  --leading-tight:   1.05;
  --leading-snug:    1.2;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing — display headlines run UPPERCASE + tracked */
  --tracking-tight:  -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-wider:  0.08em;
  --tracking-label:  0.12em;  /* eyebrows / kickers */

  /* Spacing scale (4px base) */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-12: 7rem;     /* 112 */

  /* Radii — squared-off / industrial. Nothing overly rounded. */
  --radius-none: 0;
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   6px;
  --radius-xl:   10px;
  --radius-pill: 999px;

  /* Borders */
  --border-width:        1px;
  --border-width-strong: 2px;
  --border-accent:       3px;

  /* Shadows — low, cool, grounded */
  --shadow-xs: 0 1px 2px rgba(22, 27, 31, 0.06);
  --shadow-sm: 0 1px 3px rgba(22, 27, 31, 0.10), 0 1px 2px rgba(22, 27, 31, 0.06);
  --shadow-md: 0 4px 10px rgba(22, 27, 31, 0.08), 0 2px 4px rgba(22, 27, 31, 0.06);
  --shadow-lg: 0 12px 28px rgba(22, 27, 31, 0.12), 0 4px 10px rgba(22, 27, 31, 0.08);
  --shadow-brand: 0 8px 24px rgba(10, 62, 104, 0.28);

  /* Layout */
  --container-sm: 640px;
  --container-md: 900px;
  --container-lg: 1140px;
  --container-xl: 1320px;

  /* Layout rhythm. The three values every card, grid, and tile grid
     shares, so they step down together at the responsive tiers in
     app.css instead of each block carrying its own number. */
  --card-pad: 24px;   /* inside every .card */
  --grid-gap: 26px;   /* between columns, and between cards in a column */
  --tile-gap: 12px;   /* between tool tiles and quick-link tiles */

  /* Motion — quick, mechanical, no bounce */
  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 120ms;
  --duration-mid:  200ms;
  --duration-slow: 320ms;

  /* Z-index scale */
  --z-nav:     100;
  --z-toast:   200;
  --z-tooltip: 300;
}
