/* Signal Collective design tokens, copied from signal-analyst origin/main design-system/tokens/*.css */
/* ===== Signal Collective — Color System =====
   Base palette (raw values) + semantic aliases.
   The brand runs on a deep-green field, lime spark, and near-black navy ink. */

:root {
  /* --- Brand green (primary) --- */
  --green-700: #01302c;   /* darkest — hero gradient tail */
  --green-600: #023B36;   /* dark — hover, gradient mid */
  --green-500: #045D56;   /* PRIMARY brand green */
  --green-050: rgba(4, 93, 86, 0.06);
  --green-line: rgba(4, 93, 86, 0.14);   /* hairline borders on light */

  /* --- Lime (spark accent) --- */
  --lime-500: #C6E534;    /* PRIMARY accent */
  --lime-400: #D7EE36;    /* hover / brighter */
  --lime-ink: #33420a;    /* text on lime */

  /* --- Ink / neutrals --- */
  --ink-900: #101C26;     /* near-black navy — headings, dark sections */
  --ink-700: #45564f;     /* body text on light */
  --ink-500: #5b6b64;     /* secondary text */
  --ink-400: #6b7a72;     /* muted / captions */
  --ink-300: #98a69e;     /* disabled */

  /* --- Surfaces --- */
  --paper: #EFEFEF;       /* primary page field */
  --paper-warm: #E6E9E2;  /* secondary field (why-signal gradient tail) */
  --white: #FFFFFF;

  /* --- On-dark text (over green / navy) --- */
  --on-dark-100: #EAF6EF;
  --on-dark-200: #CFE6DA;
  --on-dark-300: #BCD6C8;
  --on-dark-400: #9DB3A9;
  --on-dark-500: #9FC4B3;
  --on-dark-600: #7EA394;
  --on-dark-700: #5F7268;

  /* --- Semantic status --- */
  --status-success: #045D56;                    /* healthy = brand green */
  --status-success-bg: rgba(4, 93, 86, 0.10);
  --status-active: #33420a;                      /* processing = lime */
  --status-active-bg: rgba(198, 229, 52, 0.45);
  --status-warn: #8a5d0f;
  --status-warn-bg: rgba(176, 120, 20, 0.15);
  --status-error: #B4402C;
  --status-error-bg: rgba(180, 64, 44, 0.12);
  --status-neutral: #6b7a72;
  --status-neutral-bg: rgba(16, 28, 38, 0.07);

  /* Coral hairline — used to mark "the numbers that disagree" */
  --coral-line: rgba(255, 140, 120, 0.30);

  /* --- Semantic aliases --- */
  --surface-page: var(--paper);
  --surface-card: var(--white);
  --surface-dark: var(--ink-900);
  --surface-brand: var(--green-500);
  --text-heading: var(--ink-900);
  --text-body: var(--ink-700);
  --text-muted: var(--ink-400);
  --accent: var(--green-500);
  --accent-spark: var(--lime-500);
  --border-hairline: var(--green-line);
  --focus-ring: rgba(4, 93, 86, 0.12);
}
/* ===== Signal Collective — Typography =====
   Display: Bricolage Grotesque (variable, opsz) — headings, prices, logotype.
   Body:    Archivo — running text, UI, labels.
   Mono:    Spline Sans Mono — numbers, codes, rung labels, data readouts.
   Fonts are loaded via the Google Fonts @import in styles.css. */

:root {
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  /* Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Display scale (Bricolage) — clamp-friendly reference sizes */
  --text-display-xl: 76px;   /* hero H1 max */
  --text-display-lg: 56px;   /* section H2 max */
  --text-display-md: 40px;   /* subsection */
  --text-display-sm: 30px;   /* card / stat headline */

  /* Body scale (Archivo) */
  --text-lead: 18.5px;   /* hero lede */
  --text-body-lg: 17px;
  --text-body: 15.5px;
  --text-body-sm: 14px;
  --text-caption: 13px;

  /* Eyebrow / overline */
  --text-eyebrow: 12.5px;
  --tracking-eyebrow: 0.16em;
  --tracking-mono-label: 0.08em;

  /* Line heights */
  --lh-tight: 1.0;      /* display */
  --lh-snug: 1.02;
  --lh-body: 1.6;
  --lh-relaxed: 1.65;

  /* Letter-spacing for display */
  --tracking-display: -0.03em;
  --tracking-heading: -0.02em;

  --text-title: var(--text-display-lg);
}
/* ===== Signal Collective — Spacing & Layout ===== */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-22: 88px;
  --space-26: 104px;   /* section vertical rhythm */

  /* Layout */
  --container-max: 1280px;      /* marketing site */
  --container-app: 1120px;      /* product app */
  --gutter: 32px;               /* page side padding */
  --section-pad-y: 104px;       /* standard section top/bottom */
  --grid-gap: 18px;             /* card grid gap */
}
/* ===== Signal Collective — Corner Radii =====
   Signature move: one oversized corner (120px) on an otherwise 20-24px card,
   echoing the semicircle structural device. Pills are fully round. */
:root {
  --radius-sm: 12px;    /* inputs, small chips */
  --radius-md: 16px;    /* nested tiles */
  --radius-lg: 20px;    /* standard card */
  --radius-xl: 24px;    /* feature card */
  --radius-2xl: 28px;   /* hero glass card */
  --radius-signature: 120px;  /* the one oversized corner */
  --radius-pill: 999px; /* buttons, badges, chips */
}
/* ===== Signal Collective — Shadows =====
   Shadows are soft, tinted green/navy, and long — never neutral grey.
   On light surfaces they appear on hover; the hero glass card carries a
   deep resting shadow on dark. */
:root {
  --shadow-card-hover: 0 24px 60px -28px rgba(2, 59, 54, 0.45);
  --shadow-card-hover-dark: 0 24px 60px -28px rgba(16, 28, 38, 0.60);
  --shadow-glass: 0 30px 80px -30px rgba(1, 32, 29, 0.80);
  --shadow-button: 0 8px 22px -10px rgba(4, 93, 86, 0.60);
  --shadow-button-lime: 0 14px 34px -12px rgba(198, 229, 52, 0.65);
  --shadow-brand-panel: 0 30px 80px -30px rgba(1, 32, 29, 0.70);
}
/* ===== Signal Collective — Motion =====
   One easing curve everywhere. Reveals rise + fade on scroll; hovers lift
   cards 4px; buttons lift 1px. Numbers count up. Honor reduced-motion. */
:root {
  --ease-signal: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-reveal: 0.7s;
  --dur-hover: 0.2s;
  --dur-fast: 0.15s;
  --lift-card: -4px;
  --lift-button: -1px;
  --reveal-offset: 24px;
}
