/* =============================================================================
   POINT BREAK SOLUTION — Design Tokens (matches design system)
   ============================================================================= */

:root {
  /* ---- Brand ---- */
  --brand-navy: #0A1A6B;
  --brand-cyan: #00D4FF;
  --brand-white: #FFFFFF;

  /* ---- Neutrals ---- */
  --ink: #111111;
  --grey-700: #3A3A3E;
  --grey-500: #6B6B6B;
  --grey-400: #9A9AA0;
  --grey-300: #C9CAD1;
  --grey-200: #E5E6EB;
  --grey-100: #EEEFF3;
  --grey-50:  #F5F5F5;

  /* ---- Surfaces ---- */
  --surface:        #FFFFFF;
  --surface-alt:    #F5F5F5;
  --surface-sunken: #EEEFF3;

  /* ---- Semantic ---- */
  --accent:        var(--brand-cyan);
  --accent-strong: #00B6DB;
  --accent-soft:   #E2FAFF;
  --accent-ink:    #04263A;
  --success:       #1F8A5B;
  --success-soft:  #E4F6EC;
  --danger:        #D64545;
  --danger-soft:   #FBEAEA;
  --warning:       #C77A14;
  --sale:          #E5484D;

  /* Runtime overrides (customizer can set these) */
  --t-accent:        var(--brand-cyan);
  --t-accent-strong: var(--accent-strong);
  --t-radius-scale:  1;

  /* ---- Typography ---- */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --text-xs:   0.75rem;    /* 12 */
  --text-sm:   0.8125rem;  /* 13 */
  --text-base: 0.9375rem;  /* 15 */
  --text-md:   1rem;       /* 16 */
  --text-lg:   1.125rem;   /* 18 */
  --text-xl:   1.375rem;   /* 22 */
  --text-2xl:  1.75rem;    /* 28 */
  --text-3xl:  2.25rem;    /* 36 */
  --text-4xl:  3rem;       /* 48 */
  --text-5xl:  3.75rem;    /* 60 */
  --text-6xl:  4.5rem;     /* 72 */

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

  --lh-tight:  1.08;
  --lh-snug:   1.25;
  --lh-normal: 1.55;

  --tracking-tight: -0.02em;
  --tracking-snug:  -0.01em;
  --tracking-wide:   0.08em;

  /* ---- Spacing (8px grid) ---- */
  --space-1:  0.25rem;  /*  4 */
  --space-2:  0.5rem;   /*  8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-10: 4rem;     /* 64 */
  --space-12: 6rem;     /* 96 */
  --space-16: 8rem;     /* 128 */

  /* ---- Radius ---- */
  --radius-sm:   0.375rem; /*  6 */
  --radius-md:   0.625rem; /* 10 */
  --radius-lg:   1rem;     /* 16 */
  --radius-xl:   1.5rem;   /* 24 */
  --radius-full: 999px;

  /* ---- Shadows (navy-tinted) ---- */
  --shadow-xs: 0 1px 2px rgba(10,26,107,0.06);
  --shadow-sm: 0 1px 3px rgba(10,26,107,0.08), 0 1px 2px rgba(10,26,107,0.04);
  --shadow-md: 0 4px 12px rgba(10,26,107,0.08), 0 2px 4px rgba(10,26,107,0.04);
  --shadow-lg: 0 12px 28px rgba(10,26,107,0.12), 0 4px 8px rgba(10,26,107,0.05);
  --shadow-xl: 0 24px 56px rgba(10,26,107,0.16), 0 8px 16px rgba(10,26,107,0.06);
  --shadow-cyan: 0 8px 24px rgba(0,182,219,0.35);

  /* ---- Layout ---- */
  --container:      1240px;
  --container-wide: 1400px;
  --header-h:       76px;

  /* ---- Motion ---- */
  --ease:      cubic-bezier(0.22,0.61,0.36,1);
  --ease-out:  cubic-bezier(0.16,1,0.3,1);
  --dur-fast:  140ms;
  --dur:       240ms;
  --dur-slow:  420ms;

  /* ---- Legacy aliases (for any templates using old names) ---- */
  --color-accent:          var(--brand-cyan);
  --color-accent-hover:    var(--accent-strong);
  --color-accent-light:    var(--accent-soft);
  --color-white:           var(--surface);
  --color-bg-soft:         var(--surface-alt);
  --color-bg-muted:        var(--surface-sunken);
  --color-border:          var(--grey-200);
  --color-border-dark:     var(--grey-300);
  --color-text-primary:    var(--ink);
  --color-text-secondary:  var(--grey-500);
  --color-text-muted:      var(--grey-400);
  --color-text-inverse:    #FFFFFF;
  --color-navy:            var(--brand-navy);
  --color-danger:          var(--danger);
  --color-success:         var(--success);
  --font-base:             var(--font-sans);
  --header-height:         var(--header-h);

  /* Typography aliases (old --font-size-* / --font-weight-* / --line-height-* names) */
  --font-size-xs:          var(--text-xs);
  --font-size-sm:          var(--text-sm);
  --font-size-base:        var(--text-base);
  --font-size-md:          var(--text-md);
  --font-size-lg:          var(--text-lg);
  --font-size-xl:          var(--text-xl);
  --font-size-2xl:         var(--text-2xl);
  --font-size-3xl:         var(--text-3xl);
  --font-size-4xl:         var(--text-4xl);
  --font-weight-normal:    var(--fw-regular);
  --font-weight-medium:    var(--fw-medium);
  --font-weight-semibold:  var(--fw-semibold);
  --font-weight-bold:      var(--fw-bold);
  --font-weight-extrabold: var(--fw-extrabold);
  --line-height-tight:     var(--lh-tight);
  --line-height-snug:      var(--lh-snug);
  --line-height-normal:    var(--lh-normal);
  --line-height-loose:     var(--lh-normal);
  --space-24:              var(--space-16);

  /* Transition aliases (duration + easing, for `transition: <prop> var(--transition-*)`) */
  --transition-fast:       var(--dur-fast) var(--ease);
  --transition-base:       var(--dur) var(--ease);
  --transition-slow:       var(--dur-slow) var(--ease);
}
