/* =============================================================
   LOW Brand System Tokens
   Louisville Overstock Warehouse canonical design tokens
   Source of truth: BRAND.md
   Last updated: 2026-04-17

   HOW TO USE
   ----------
   This file is meant to be consumed from the shared LOW Brand System repo.
   If the repo is cloned locally as `low-brand-system`, an app can import
   it from that sibling folder if the build tool allows sibling imports.

   Example:
       @import url("../low-brand-system/tokens.css");

   If your toolchain does not allow sibling imports, copy this file and the
   referenced Fonts/ assets into your app together so the relative font
   paths continue to work.

   Then reference variables anywhere:
       background: var(--low-red);
       font-family: var(--low-font-body);
   ============================================================= */

:root {
  /* ---------- PRIMARY PALETTE ---------- */
  --low-red: #970706;          /* Vivid Red - primary accent, H1s, buttons, logo circle */
  --low-black: #000000;        /* Jet Black - text, high-contrast backgrounds */
  --low-white: #ffffff;        /* Pure White - backgrounds, logo interior, reversed text */

  /* ---------- SECONDARY PALETTE ---------- */
  --low-yellow: #fed523;       /* Warnings, highlights */
  --low-orange: #e48200;       /* Caution, mid-priority */
  --low-blue: #004980;         /* Info, links */
  --low-gray-dark: #494949;    /* Body text (alt), UI chrome */
  --low-gray-light: #f9f9f9;   /* Surface backgrounds */
  --low-willow: #606d5d;       /* Muted accents */
  --low-teal: #008575;         /* H2 headers (internal style), success */

  /* ---------- SEMANTIC ALIASES ---------- */
  --low-accent: var(--low-red);
  --low-text: var(--low-black);
  --low-text-muted: var(--low-gray-dark);
  --low-surface: var(--low-white);
  --low-surface-alt: var(--low-gray-light);
  --low-link: var(--low-blue);
  --low-success: var(--low-teal);
  --low-warning: var(--low-yellow);
  --low-danger: var(--low-red);
  --low-caution: var(--low-orange);

  /* ---------- TYPOGRAPHY - INTERNAL STACK ---------- */
  --low-font-display: 'PT Sans Narrow', 'Arial Narrow', sans-serif;
  --low-font-body: 'Metropolis', 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* ---------- TYPOGRAPHY - EXTERNAL STACK ---------- */
  --low-font-external-h1: 'Anton', 'Impact', 'Arial Black', sans-serif;
  --low-font-external-h2: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --low-font-external-body: 'Inter', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  /* ---------- TYPE SCALE (INTERNAL) ---------- */
  --low-size-title: 26px;
  --low-size-subtitle: 14px;
  --low-size-h1: 19px;
  --low-size-h2: 17px;
  --low-size-h3: 15px;
  --low-size-body: 12px;

  /* ---------- SPACING / LAYOUT ---------- */
  --low-radius-sm: 4px;
  --low-radius-md: 8px;
  --low-radius-btn: 999px;

  --low-border: 1px solid var(--low-gray-dark);
  --low-border-muted: 1px solid rgba(0, 0, 0, 0.08);

  --low-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --low-shadow-md: 0 2px 8px rgba(0, 0, 0, 0.12);

  /* ---------- LINE HEIGHT ---------- */
  --low-leading-tight: 1.2;
  --low-leading-body: 1.5;
  --low-leading-loose: 1.7;
}

/* =============================================================
   UTILITY CLASSES
   ============================================================= */

.low-surface {
  background: var(--low-white);
  color: var(--low-black);
  font-family: var(--low-font-body);
  font-size: var(--low-size-body);
  line-height: var(--low-leading-body);
}

.low-title {
  font-family: var(--low-font-display);
  font-size: var(--low-size-title);
  font-weight: 700;
  color: var(--low-black);
}

.low-subtitle {
  font-family: var(--low-font-body);
  font-size: var(--low-size-subtitle);
  font-weight: 700;
  color: var(--low-black);
}

.low-h1 {
  font-family: var(--low-font-display);
  font-size: var(--low-size-h1);
  font-weight: 700;
  color: var(--low-red);
}

.low-h2 {
  font-family: var(--low-font-display);
  font-size: var(--low-size-h2);
  font-weight: 400;
  color: var(--low-teal);
}

.low-h3 {
  font-family: var(--low-font-display);
  font-size: var(--low-size-h3);
  font-weight: 700;
  color: var(--low-black);
}

.low-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--low-red);
  color: var(--low-white);
  font-family: var(--low-font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--low-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.low-btn:hover {
  background: #7a0605;
}

.low-link {
  color: var(--low-blue);
  text-decoration: underline;
}


