/* ── Giga colour system ────────────────────────────────────────────────
   Warm, editorial palette: a single confident orange against deep warm
   browns ("ink" / "espresso") and soft creams + sands. There is no cool
   grey in the brand — every neutral is warmed toward brown. */

:root {
  /* ─ Brand orange ───────────────────────────────────────────────
     One primary accent with light/dark steps. Used for CTAs, the logo
     mark, eyebrows, status dots, and the footer field. */
  --giga-brand: #EA580C;          /* primary CTA / accent */
  --giga-brand-light: #F97316;    /* glows, gradients, light accents */
  --giga-brand-lighter: #FB923C;  /* soft highlights, @mentions */
  --giga-brand-dark: #C2410C;     /* hover / pressed / badge text */
  --giga-brand-darker: #D24E09;   /* alt pressed */

  /* ─ Ink (warm dark brown) ──────────────────────────────────────
     Primary text on light surfaces AND the lead dark UI surface. */
  --giga-ink: #2B211A;            /* primary text / lead dark surface */
  --giga-ink-muted: #6B5D52;      /* secondary text */
  --giga-ink-faint: #9C8E82;      /* placeholder / tertiary text */

  /* ─ Espresso (deep dark stage) ─────────────────────────────────
     The near-black browns behind cinematic hero / showcase sections. */
  --giga-espresso: #1A120C;
  --giga-espresso-900: #160F0A;
  --giga-espresso-800: #16120F;

  /* ─ Warm neutrals (light surfaces) ─────────────────────────────
     Cream is the default page background; sands are borders + fills. */
  --giga-cream: #FAF8F4;          /* default light page surface / light type on dark */
  --giga-white: #FFFFFF;          /* card / elevated surface */
  --giga-peach: #FFF4EC;          /* HIGHLIGHT TINT ONLY — selected rows, active states. Never a card/panel surface. */
  --giga-sand-panel: #F7F2EA;     /* panel tint — sand (control panels) */
  --giga-desk: #F5F2EA;           /* desk-plate section fill */
  --giga-stage-from: #FEFAF6;     /* workspace stage gradient start */
  --giga-stage-to: #F5EADC;       /* workspace stage gradient end */
  --giga-sand-50:  #F4F0EA;
  --giga-sand-100: #EFE9E1;
  --giga-sand-200: #EAE4D9;       /* legacy card border */
  --giga-sand-300: #E7E0D7;
  --giga-hairline: #D8CEBF;       /* hairline border on cream */

  /* ─ Semantic aliases ───────────────────────────────────────────
     Reference THESE in product code; the base tokens above stay fixed. */
  --surface-page: var(--giga-cream);     /* default app background */
  --surface-card: var(--giga-white);     /* elevated card */
  --surface-sunken: var(--giga-desk);    /* inset / well / desk-plate fill */
  --surface-highlight: var(--giga-peach);     /* selected row / active state tint */
  --surface-panel-sand: var(--giga-sand-panel); /* control panels */
  --surface-stage: linear-gradient(180deg, var(--giga-stage-from), var(--giga-stage-to)); /* workspace stage */
  --surface-dark: var(--giga-ink);       /* lead dark section */
  --surface-darkest: var(--giga-espresso); /* cinematic showcase */

  --text-primary: var(--giga-ink);
  --text-secondary: var(--giga-ink-muted);
  --text-tertiary: var(--giga-ink-faint);
  --text-on-dark: var(--giga-cream);
  --text-on-dark-muted: #C9BFB4;   /* body copy on dark */
  --text-on-brand: #FFFFFF;

  --accent: var(--giga-brand);
  --accent-on-dark: var(--giga-brand-lighter); /* #FB923C — accent on dark grounds */
  --accent-hover: var(--giga-brand-dark);

  --border-default: var(--giga-hairline);
  --border-strong: var(--giga-sand-300);
  --border-dashed: #D6CCC0;           /* dashed dividers (FAQ rows) */
  --border-on-dark: rgba(255, 255, 255, 0.12);

  /* Tinted accent washes (chips, highlight pills, mention tags) */
  --accent-wash: rgba(234, 88, 12, 0.10);
  --accent-glow: rgba(234, 88, 12, 0.40);

  /* Selection highlight */
  --selection-bg: rgba(234, 88, 12, 0.20);
}

/* Brand selection colour on light surfaces */
::selection {
  background: var(--selection-bg);
  color: var(--giga-ink);
}
