/* ==========================================================================
   Design tokens — the single source of truth.
   Fill the <FILL-IN> palette/type choices once per project (see
   docs/UI_GUIDELINES.md, Pillar 1). Components must only use var(--*).
   ========================================================================== */
:root {
  /* ----- Palette — regulatory-document identity ------------------------ */
  --color-bg:            #faf9f7;   /* warm paper */
  --color-surface:       #efece7;   /* warm light gray */
  --color-text:          #1c1917;   /* charcoal ink */
  --color-text-muted:    #57534e;   /* warm slate */
  --color-primary:       #0e7490;   /* deep teal */
  --color-danger:        #b91c1c;
  --color-warning:       #b45309;
  --color-success:       #15803d;

  /* ----- SAIL ramp (signature) — its OWN scale, not semantic ----------- */
  --sail-1: #cfe8d6;  --sail-2: #e6e3b8;  --sail-3: #e8c79a;
  --sail-4: #e0a883;  --sail-5: #d98a8a;  --sail-6: #c46a6a;

  /* ----- Typography ----------------------------------------------------- */
  --font-display: ui-serif, Georgia, "Times New Roman", serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", monospace;

  /* Modular type scale — use these, never inline sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;

  /* ----- Spacing scale (4px base) ---------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  /* ----- Shape & elevation ----------------------------------------------- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --border-emphasis: 2px;     /* spinner ring, active SAIL outline */
  --shadow-1: 0 1px 3px rgb(0 0 0 / 0.12);

  /* ----- Motion ----------------------------------------------------------- */
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  /* ----- Layout ------------------------------------------------------------ */
  --touch-target: 44px;       /* minimum interactive size */
  --ramp-height: 0.5rem;      /* SAIL ramp segment height */
  --panel-width: 20rem;       /* detail determinations column */
  --rail-width: 14rem;        /* wizard stepper-rail column */
  --dot-size: 0.75rem;        /* rail status dot diameter */
  --checkbox-size: 1.25rem;   /* bool toggle checkbox */
  --auth-width: 22rem;        /* login card max-width */
  --content-max: 72rem;
  --map-height: 24rem;        /* flight-geography map */
  --bp-tablet: 768px;             /* documentation only: use in @media */
  --bp-tablet-landscape: 1024px;  /* wizard goes 3-column (rail|content|panel) at/above this */
  --bp-desktop: 1200px;
}
