/* ============================================================================
   FRONTSTEPS DESIGN SYSTEM — Colors & Type Tokens
   Source of truth: FRONTSTEPS Design System Helper Site (Figma Make export)
   Font: Heebo (Google Fonts). Icons: Material Symbols Rounded.
   ----------------------------------------------------------------------------
   Usage: link this file, then use the semantic vars (--fs-text-*, --h1 etc.)
   or the raw palette vars (--fs-navy-25, --fs-green-10, ...).
   ============================================================================ */


:root {
  /* ---- FONT FAMILIES ---- */
  --fs-font-sans: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-font-mono: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;

  /* ---- FONT WEIGHTS (Heebo) ---- */
  --fs-weight-light: 300;
  --fs-weight-regular: 400;
  --fs-weight-medium: 500;
  --fs-weight-semibold: 600;
  --fs-weight-bold: 700;

  /* ========================================================================
     PRIMARY — Navy Blue Scale
     "Trust, order, professionalism" — the HOA / real-estate space.
     Deep Blue #243141 is the signature brand navy (headers, sidebars, primary
     buttons). Lighter shades (#A9C2D6 etc.) appear as nav text / icon tints.
     ======================================================================== */
  --fs-navy-1:  #ECF3FA;   /* shade 1  — lightest tint / page wash */
  --fs-navy-0:  #D8E0E9;   /* shade 0  — borders, dividers */
  --fs-navy-5:  #A9C2D6;   /* shade 5  — nav text, icon tint on dark */
  --fs-navy-10: #6C92B2;   /* shade 10 — disabled dark button, muted */
  --fs-navy-15: #4D7393;   /* shade 15 */
  --fs-navy-20: #38536B;   /* shade 20 */
  --fs-navy-25: #243141;   /* shade 25 — DEEP BLUE · primary brand navy */
  --fs-navy-30: #15212F;   /* shade 30 — darkest surfaces */
  --fs-navy-35: #0F1923;   /* shade 35 */
  --fs-navy-30-20: rgba(21, 33, 47, 0.20);  /* shade 30 @ 20% */
  --fs-navy-30-10: rgba(21, 33, 47, 0.10);  /* shade 30 @ 10% */

  /* Cooler navy ramp used in docs/info surfaces */
  --fs-navy-50:  #E8EBF5;
  --fs-navy-100: #C5CFEB;
  --fs-navy-200: #99ACE0;
  --fs-navy-300: #6D89D5;
  --fs-navy-400: #4A6FCD;
  --fs-navy-500: #2855C5;
  --fs-navy-600: #1E4AAF;
  --fs-navy-700: #163C8F;
  --fs-navy-800: #0F2E6F;
  --fs-navy-900: #08204F;

  /* ========================================================================
     SECONDARY — Green Scale
     Focus for actions (Add, Create, Steps), success, positive states.
     Grass Green #5CB85B is the signature secondary; #87E987 (Alt Green Light)
     is the primary green button fill.
     ======================================================================== */
  --fs-green-1:  #E6FFE6;  /* shade 1  — lightest */
  --fs-green-2:  #BAF0BA;  /* shade 2  — success bg, disabled green btn */
  --fs-green-0:  #87E987;  /* shade 0  — ALT GREEN LIGHT · highlights / light accents */
  --fs-green-5:  #6DD26D;  /* shade 5  — success 75 */
  --fs-green-10: #5CB85B;  /* shade 10 — GRASS GREEN · brand green · PRIMARY GREEN BUTTON */
  --fs-green-15: #238E30;  /* shade 15 — success 100, checkbox fill */
  --fs-green-20: #024515;  /* shade 20 — darkest */

  /* ========================================================================
     ALERT COLORS — accessible feedback states, on-palette
     ======================================================================== */
  /* Info / Accent Blue */
  --fs-info-50:  #D6EBFF;
  --fs-info-100: #0067C5;   /* Accent Blue — links, info, tertiary hover */
  --fs-info-200: #002A52;
  /* Success */
  --fs-success-50:  #BAF0BA;
  --fs-success-100: #238E30;
  --fs-success-200: #024515;
  /* Error */
  --fs-error-50:  #F3BABF;
  --fs-error-75:  #ED172B;
  --fs-error-100: #DC3545;
  --fs-error-200: #9C1C28;
  --fs-error-extended: #FF5252;
  /* Warning */
  --fs-warning-50:  #FFF0C2;
  --fs-warning-100: #FFC107;

  /* ========================================================================
     DYNAMIC / NEUTRAL — text, surfaces, lines
     ======================================================================== */
  --fs-text-0: #FFFFFF;     /* on dark */
  --fs-text-1: #E7E7E7;     /* faint / disabled-on-dark */
  --fs-text-3: #71717A;     /* muted / secondary text */
  --fs-text-4: #262626;     /* primary body text (near-black) */
  --fs-bg-0:   #FFFFFF;     /* surface / card */
  --fs-bg-2:   #F4F4F4;     /* page background, subtle fill */
  --fs-line-1: #BBBEBB;     /* light hairline */
  --fs-line-2: #636363;     /* control border (checkbox / radio) */

  /* ---- SEMANTIC ALIASES ---- */
  --fs-primary:            var(--fs-navy-25);
  --fs-primary-foreground: var(--fs-text-0);
  --fs-secondary:          var(--fs-green-10);
  --fs-accent-blue:        var(--fs-info-100);
  --fs-page-bg:            var(--fs-bg-2);
  --fs-surface:            var(--fs-bg-0);
  --fs-border:             var(--fs-navy-0);     /* #D8E0E9 */
  --fs-border-soft:        #E3E9F1;              /* card border in docs */
  --fs-fg:                 var(--fs-text-4);
  --fs-fg-muted:           var(--fs-text-3);

  /* ========================================================================
     RADII — Figma source values
     ======================================================================== */
  --fs-radius-xs: 2px;    /* checkbox box */
  --fs-radius-sm: 4px;    /* chips, nav items, swatches, inputs */
  --fs-radius-md: 6px;    /* buttons */
  --fs-radius-lg: 8px;    /* cards */
  --fs-radius-pill: 50px; /* Ask Alli, pill chips */
  --fs-radius-full: 9999px;

  /* ========================================================================
     SHADOWS / ELEVATION
     ======================================================================== */
  --fs-shadow-header: 0px 4px 12px 0px rgba(10, 14, 19, 0.20);   /* global header */
  --fs-shadow-float:  0px 4px 8px 0px rgba(15, 32, 53, 0.75);    /* collapse btn / floating on navy */
  --fs-shadow-card:   0px 1px 2px 0px rgba(16, 24, 40, 0.06);    /* resting card */
  --fs-shadow-card-hover: 0px 4px 12px 0px rgba(16, 24, 40, 0.10);

  /* ========================================================================
     SPACING — 4px base grid (Tailwind-derived in source)
     ======================================================================== */
  --fs-space-1: 2px;
  --fs-space-2: 4px;
  --fs-space-3: 8px;
  --fs-space-4: 12px;
  --fs-space-5: 16px;
  --fs-space-6: 24px;
  --fs-space-7: 32px;
  --fs-space-8: 48px;

  /* ========================================================================
     TYPE SCALE — semantic roles (Heebo)
     line-height 1.5 for prose; 1.2 for chips/labels; navigation is uppercase
     with wide tracking.
     ======================================================================== */
  --fs-text-2xl: 24px;   /* h1 / section title */
  --fs-text-xl:  20px;   /* h2 */
  --fs-text-lg:  18px;   /* h3 */
  --fs-text-base:16px;   /* body */
  --fs-text-sm:  14px;   /* secondary body, child nav */
  --fs-text-xs:  12px;   /* chips, parent nav, captions */
}

/* ============================================================================
   SEMANTIC TYPOGRAPHY — apply directly to elements or via these classes
   ============================================================================ */
.fs-h1, h1.fs {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-2xl);
  font-weight: var(--fs-weight-bold);
  line-height: 1.5;
  color: var(--fs-text-4);
}
.fs-h2, h2.fs {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-xl);
  font-weight: var(--fs-weight-semibold);
  line-height: 1.5;
  color: var(--fs-text-4);
}
.fs-h3, h3.fs {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-lg);
  font-weight: var(--fs-weight-semibold);
  line-height: 1.5;
  color: var(--fs-text-4);
}
.fs-body {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-base);
  font-weight: var(--fs-weight-regular);
  line-height: 1.5;
  color: var(--fs-text-4);
}
.fs-body-sm {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-sm);
  font-weight: var(--fs-weight-regular);
  line-height: 1.5;
  color: var(--fs-text-3);
}
.fs-label {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-sm);
  font-weight: var(--fs-weight-medium);
  line-height: 1.5;
  color: var(--fs-text-4);
}
/* Navigation parent items — the signature FrontSteps treatment */
.fs-nav-parent {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-xs);
  font-weight: var(--fs-weight-bold);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  line-height: 1.2;
}
.fs-nav-parent--unselected { font-weight: var(--fs-weight-medium); }
/* Navigation child items */
.fs-nav-child {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-sm);
  font-weight: var(--fs-weight-regular);
  line-height: 1.5;
}
.fs-nav-child--selected { font-weight: var(--fs-weight-semibold); }
/* Chip / status label */
.fs-chip-label {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-xs);
  font-weight: var(--fs-weight-bold);
  line-height: 1.2;
}
/* Button label — uppercase, tracked */
.fs-button-label {
  font-family: var(--fs-font-sans);
  font-size: var(--fs-text-sm);
  font-weight: var(--fs-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1.12px;
  line-height: 1;
}
.fs-code {
  font-family: var(--fs-font-mono);
  font-size: var(--fs-text-sm);
}

/* Material Symbols default config: Rounded, weight 400, grade 0 */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
