/*
 * OptiGrow Financials — design tokens
 * Structure: neerajskills system. Colors: OptiGrow logo.
 * Contrast checks: docs/design-notes.md
 */
:root {
  /* Brand */
  --color-brand-navy: #032a5c;
  --color-brand-green: #1b6e27;        /* text-safe green, 6.35:1 on white */
  --color-brand-green-bright: #46a12c; /* decorative only, never text */
  --color-brand-blue: #0558a0;         /* decorative only */
  --color-brand-green-light: #8fd16a;  /* accent on dark, 9.54:1 */

  /* Text */
  --color-text-primary: #071a3d;
  --color-text-muted: #465570;
  --color-text-accent: var(--color-brand-green);
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: #b9c6db;

  /* Surfaces + lines */
  --color-surface-page: #ffffff;
  --color-surface-raised: #f4faed;
  --color-surface-base: #04193a;
  --color-surface-base-raised: #0b2a57;
  --color-border-subtle: #dbe5d3;
  --color-border-on-dark: #23406e;

  /* Type */
  --font-family-primary: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-sm: 11px;
  --font-size-md: 12px;
  --font-size-lg: 14px;
  --font-size-2xl: 16px;
  --font-size-3xl: 18px;
  --font-size-4xl: 20px;
  --font-size-step9: 24px;
  --font-size-step10: 28px;
  --font-size-step11: 40px;
  --font-size-step12: 48px;
  --font-size-step13: 78px;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-body: 1.6;
  --line-height-heading: 1.25;
  --line-height-display: 1.1;
  --letter-spacing-overline: 0.12em;

  /* Spacing */
  --space-1: 5px;
  --space-2: 10px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 18px;
  --space-6: 32px;
  --space-7: 80px;
  --space-8: 128px;

  /* Layout */
  --container-max: 1200px;
  --measure: 65ch;
  --header-height: 72px;

  /* Radius (flat system: no shadows) */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Motion */
  --motion-duration-instant: 250ms;
  --motion-duration-reveal: 600ms;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Accessibility */
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  --touch-target-min: 44px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-duration-instant: 0ms;
    --motion-duration-reveal: 0ms;
  }
}
