/* FlyCFO design tokens — v1.0 (Nov 2026)
   Load the fonts in your <head> (see README) or uncomment the @import. */
/* @import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap"); */

:root {
  /* Core colour */
  --fc-ink: #0F1B2D;          /* primary text, mark box, dark backgrounds */
  --fc-ground: #F6F7F4;       /* page background */
  --fc-white: #FFFFFF;        /* cards and panels on Ground */
  --fc-sky: #3AB0FF;          /* Lift Sky: brand accent. Never for text on light backgrounds */
  --fc-slate: #4A5568;        /* secondary text on light */
  --fc-line: #DDE1D8;         /* borders and dividers on light */
  --fc-ink-2: #16263D;        /* cards on Ink */
  --fc-ink-line: #23344F;     /* borders on Ink */
  --fc-mist: #A9B4C4;         /* secondary text on Ink */

  /* Module colour: --fc-<module> on light, -on-dark on Ink, -icon for app-icon dots */
  --fc-sales: #2463D6;
  --fc-sales-on-dark: #7FA8FF;
  --fc-sales-icon: #4C8DF6;
  --fc-transform: #6E4FE6;
  --fc-transform-on-dark: #AE97FF;
  --fc-transform-icon: #9B7BF7;
  --fc-accounting: #A36F0A;
  --fc-accounting-on-dark: #F2B33D;
  --fc-accounting-icon: #F2B33D;
  --fc-apar: #0E7C86;
  --fc-apar-on-dark: #3CC8CB;
  --fc-apar-icon: #2CC4C7;
  --fc-payroll: #3D7A27;
  --fc-payroll-on-dark: #86CB66;
  --fc-payroll-icon: #6CC24A;
  --fc-vantage: #B0306A;
  --fc-vantage-on-dark: #F286B8;
  --fc-vantage-icon: #EE6FA8;
  --fc-advisory: #C2410C;
  --fc-advisory-on-dark: #FF9C5E;
  --fc-advisory-icon: #FF8A3D;
  --fc-accounting-text: #8A5F08; /* Accounting gold for text under 24px on light (AA 4.5:1+) */

  /* Type */
  --fc-font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --fc-font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --fc-text-display: clamp(2.75rem, 1.6rem + 4.2vw, 4.5rem); /* 44–72px */
  --fc-text-h1: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);      /* 36–56px */
  --fc-text-h2: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);      /* 28–40px */
  --fc-text-h3: 1.5rem;     /* 24px */
  --fc-text-lead: 1.25rem;  /* 20px */
  --fc-text-body: 1.0625rem;/* 17px */
  --fc-text-small: 0.9375rem; /* 15px */
  --fc-text-label: 0.8125rem; /* 13px, uppercase, tracked */
  --fc-tracking-display: -0.03em;
  --fc-tracking-label: 0.12em;

  /* Shape and space */
  --fc-radius-sm: 12px;
  --fc-radius-card: 18px;
  --fc-radius-panel: 22px;
  --fc-radius-pill: 999px;
  --fc-space-1: 4px;  --fc-space-2: 8px;  --fc-space-3: 12px; --fc-space-4: 16px;
  --fc-space-5: 24px; --fc-space-6: 32px; --fc-space-7: 48px; --fc-space-8: 64px; --fc-space-9: 96px;
  --fc-max-width: 1200px;
}

.fc-module--sales { --fc-module: var(--fc-sales); --fc-module-on-dark: var(--fc-sales-on-dark); }
.fc-module--transform { --fc-module: var(--fc-transform); --fc-module-on-dark: var(--fc-transform-on-dark); }
.fc-module--accounting { --fc-module: var(--fc-accounting); --fc-module-on-dark: var(--fc-accounting-on-dark); }
.fc-module--apar { --fc-module: var(--fc-apar); --fc-module-on-dark: var(--fc-apar-on-dark); }
.fc-module--payroll { --fc-module: var(--fc-payroll); --fc-module-on-dark: var(--fc-payroll-on-dark); }
.fc-module--vantage { --fc-module: var(--fc-vantage); --fc-module-on-dark: var(--fc-vantage-on-dark); }
.fc-module--advisory { --fc-module: var(--fc-advisory); --fc-module-on-dark: var(--fc-advisory-on-dark); }

/* Minimal base styles */
body { margin: 0; background: var(--fc-ground); color: var(--fc-ink); font-family: var(--fc-font-body); font-size: var(--fc-text-body); line-height: 1.55; }
h1, h2, h3, .fc-display { font-family: var(--fc-font-display); font-weight: 700; letter-spacing: var(--fc-tracking-display); line-height: 1.08; margin: 0; }
h1 { font-size: var(--fc-text-h1); }
h2 { font-size: var(--fc-text-h2); }
h3 { font-size: var(--fc-text-h3); letter-spacing: -0.02em; }
.fc-label { font-size: var(--fc-text-label); font-weight: 600; letter-spacing: var(--fc-tracking-label); text-transform: uppercase; color: var(--fc-slate); }
a { color: var(--fc-ink); text-underline-offset: 3px; }
a:hover { color: var(--fc-slate); }
:focus-visible { outline: 3px solid var(--fc-sky); outline-offset: 2px; }

.fc-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: var(--fc-radius-pill); font: 600 var(--fc-text-small)/1 var(--fc-font-body); text-decoration: none; border: 1.5px solid var(--fc-ink); cursor: pointer; }
.fc-btn--primary { background: var(--fc-ink); color: var(--fc-ground); }
.fc-btn--primary:hover { background: #1E2E45; color: var(--fc-ground); }
.fc-btn--secondary { background: transparent; color: var(--fc-ink); }
.fc-btn--secondary:hover { background: var(--fc-white); }
.fc-btn--accent { background: var(--fc-sky); border-color: var(--fc-sky); color: var(--fc-ink); }

.fc-card { background: var(--fc-white); border: 1px solid var(--fc-line); border-radius: var(--fc-radius-card); padding: var(--fc-space-5); }
.fc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--fc-radius-pill); background: var(--fc-white); border: 1px solid var(--fc-line); font-size: var(--fc-text-small); font-weight: 500; }
.fc-pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fc-module, var(--fc-sky)); }
.fc-module-name { font-family: var(--fc-font-display); font-weight: 500; letter-spacing: -0.03em; color: var(--fc-module); }

.fc-dark { background: var(--fc-ink); color: var(--fc-ground); }
.fc-dark .fc-label { color: var(--fc-mist); }
.fc-dark .fc-card { background: var(--fc-ink-2); border-color: var(--fc-ink-line); }
.fc-dark .fc-module-name { color: var(--fc-module-on-dark); }
.fc-dark a { color: var(--fc-ground); }
.fc-dark .fc-btn--primary { background: var(--fc-ground); color: var(--fc-ink); border-color: var(--fc-ground); }
