/*
 * FLOWJIX DESIGN TOKENS
 * Colors and named homepage geometry below are extracted from the approved concept.
 * Additional admin/extension values are explicitly identified as adaptations.
 * Integrate into the project's existing styling framework. This is not a full UI kit.
 */
:root {
  color-scheme: light;

  /* Approved brand and neutral colors */
  --fj-page: #ffffff;
  --fj-soft: #f5f7fa;
  --fj-ink: #152232;
  --fj-muted: #5d6b7b;
  --fj-line: #e2e7ed;
  --fj-blue: #2563eb;
  --fj-blue-dark: #1d4ed8;
  --fj-blue-soft: #edf3ff;
  --fj-green: #147652;

  /* Other colors actually used in approved components */
  --fj-secondary-hover: #f0f3f6;
  --fj-secondary-hover-border: #c9d2de;
  --fj-navigation-text: #536172;
  --fj-demo-border: #dce3ec;
  --fj-demo-footer: #fbfcfd;
  --fj-faq-surface: #f8fafc;

  /* Approved typography */
  --fj-font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fj-text-base: 15px;
  --fj-line-base: 1.55;
  --fj-text-body: 16px;
  --fj-text-button: 13px;
  --fj-text-section-heading: 32px;
  --fj-weight-regular: 400;
  --fj-weight-medium: 500;
  --fj-weight-semibold: 600;
  --fj-weight-display: 650;

  /* Approved homepage component geometry */
  --fj-radius-button: 7px;
  --fj-radius-pricing: 9px;
  --fj-radius-storyboard: 10px;
  --fj-radius-dialog: 12px;
  --fj-radius-demo: 13px;
  --fj-control-height: 44px;
  --fj-hero-control-height: 46px;
  --fj-control-padding-x: 18px;
  --fj-container-max: 1168px;
  --fj-page-padding-desktop: 40px;
  --fj-page-padding-tablet: 28px;
  --fj-page-padding-small: 20px;
  --fj-header-height: 76px;
  --fj-header-height-mobile: 65px;
  --fj-focus-width: 2px;
  --fj-focus-offset: 4px;
  --fj-shadow-demo: 0 14px 40px rgba(26, 45, 76, 0.075);
  --fj-shadow-dialog: 0 20px 60px rgba(15, 23, 42, 0.18);
  --fj-duration-control: 160ms;

  /* Spacing vocabulary for new admin and extension components */
  --fj-space-1: 4px;
  --fj-space-2: 8px;
  --fj-space-3: 12px;
  --fj-space-4: 16px;
  --fj-space-5: 20px;
  --fj-space-6: 24px;
  --fj-space-8: 32px;
  --fj-space-10: 40px;
  --fj-space-12: 48px;
  --fj-space-16: 64px;

  /* New functional states: additions, not sampled from the original homepage */
  --fj-input-border: #7c8798;
  --fj-danger: #b91c1c;
  --fj-danger-surface: #fef2f2;
  --fj-warning: #92400e;
  --fj-warning-surface: #fffbeb;
  --fj-success-surface: #ecfdf5;

  /* New admin geometry: preserve the approved visual language */
  --fj-admin-sidebar-width: 252px;
  --fj-admin-sidebar-collapsed: 72px;
  --fj-admin-header-height: 64px;
  --fj-admin-nav-height: 44px;
  --fj-admin-content-padding: 32px;
  --fj-admin-text: 14px;
  --fj-admin-page-title: 28px;
  --fj-admin-row-height: 48px;

  /* New extension geometry: adapt to the actual popup/side-panel viewport */
  --fj-extension-padding: 16px;
  --fj-extension-gap: 12px;
  --fj-extension-text: 14px;
  --fj-extension-title: 18px;
}
