/* ==========================================================================
   ONDA · DESIGN TOKENS (landing)
   Colour source of truth: css/onda-colors.css, the Onda Brand Kit's
   07_Colour/onda-colors.css copied unchanged and imported below. This file
   maps it onto the semantic roles style.css uses. Light values follow the
   kit's light UI; dark values follow its dark UI and the customer app
   (vybeapp/lib/design_system/foundations/vybe_colors.dart).
   The --vybe-* names are internal identifiers and stay.
   Tokens only, no component styling. Load before style.css.
   ========================================================================== */

@import url('onda-colors.css?v=20261107');

:root {
  /* Brand palette. Legacy names, Onda values: purple = Royal ramp,
     pink = Violet, ink = Navy, paper = the light-UI page. */
  --vybe-ink-900: var(--onda-night);              /* #051024 */
  --vybe-ink-800: var(--onda-dark-ui-surface-1);  /* #0A1631 */
  --vybe-ink-700: var(--onda-navy);               /* #001851 */
  --vybe-purple:  var(--onda-royal);              /* #1211BE */
  --vybe-pink:    var(--onda-violet);             /* #B409F7, highlight only */
  --vybe-cyan:    var(--onda-cyan);               /* #00D2FB, live / now */
  --vybe-paper:   var(--onda-light-ui-page);      /* #F6F8FD */
  --vybe-ink:     var(--onda-navy);               /* #001851 */
  --vybe-electric: var(--onda-dark-ui-electric);  /* #4A5BFF */

  --vybe-purple-50:  #EEEEFA;
  --vybe-purple-100: #DEDEF6;
  --vybe-purple-200: #BDBCED;
  --vybe-purple-400: #5958D2;
  --vybe-purple-500: #1211BE;
  --vybe-purple-600: #0F0E9C;
  --vybe-purple-700: #0C0B7D;

  --vybe-pink-50:  #F9EBFE;
  --vybe-pink-ink: #9407CB;   /* Violet for text on light */
  --vybe-cyan-50:  #E6FAFF;
  --vybe-cyan-ink: #00748A;   /* Cyan for text on light, 5.4:1 */

  /* Gradients. The Wave gradient is for the logo only and is not exposed. */
  --vybe-gradient: var(--onda-gradients-night-wave);       /* heroes, icon grounds */
  --vybe-gradient-cta: var(--onda-gradients-action);       /* primary buttons */
  --vybe-gradient-accent: linear-gradient(120deg, #4A5BFF, #B409F7); /* UI accent, as in the app */
  --vybe-gradient-soft: linear-gradient(120deg, #EEEEFA 0%, #F9EBFE 100%);
  --vybe-gradient-night: linear-gradient(120deg, #001851 0%, #051024 100%);
  --vybe-gradient-splash: var(--onda-night);                /* glow artwork needs pure Night */

  /* Semantic roles: LIGHT (default) */
  --vybe-bg:             var(--onda-light-ui-page);
  --vybe-bg-sunken:      var(--onda-mist);
  --vybe-surface:        var(--onda-light-ui-card);
  --vybe-surface-raised: var(--onda-light-ui-card);
  --vybe-surface-brand:  var(--vybe-purple-50);

  --vybe-border:         var(--onda-light-ui-line);
  --vybe-border-strong:  #C3CCE3;
  --vybe-border-brand:   var(--vybe-purple-200);

  --vybe-text:           var(--onda-light-ui-text);
  --vybe-text-secondary: var(--onda-light-ui-text-2);
  --vybe-text-muted:     var(--onda-light-ui-text-2);
  --vybe-text-placeholder: #7884A8;
  --vybe-text-brand:     var(--onda-light-ui-action);
  --vybe-text-accent:    var(--vybe-pink-ink);
  --vybe-text-on-brand:  #FFFFFF;

  --vybe-action:         var(--onda-light-ui-action);
  --vybe-action-hover:   var(--vybe-purple-600);
  --vybe-action-active:  var(--vybe-purple-700);
  --vybe-action-subtle:  var(--vybe-purple-50);
  --vybe-focus-ring:     0 0 0 3px rgba(18, 17, 190, 0.28);

  --vybe-danger:         var(--onda-status-danger-light);
  --vybe-success:        var(--onda-status-success-light);
  --vybe-warning:        var(--onda-status-warning-light);

  /* Typography: Montserrat for all UI, as in the Onda app.
     Light 300 headings, Regular 400 body, Medium 500 labels. */
  --vybe-font-sans: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --vybe-font-label: var(--vybe-font-sans);   /* overlines and product labels: Montserrat Medium, caps */
  --vybe-weight-heading: 300;
  --vybe-tracking-display: -0.01em;
  --vybe-tracking-tight: -0.005em;
  --vybe-tracking-eyebrow: 0.14em;
  --vybe-tracking-tagline: 0.22em;   /* product-label spec: +22% */

  /* Radii */
  --vybe-radius-sm: 8px;
  --vybe-radius-md: 12px;
  --vybe-radius-lg: 16px;
  --vybe-radius-xl: 20px;
  --vybe-radius-2xl: 28px;
  --vybe-radius-pill: 999px;

  /* Elevation: Navy-tinted, never neutral black */
  --vybe-shadow-1: 0 1px 2px rgba(0, 24, 81, 0.06), 0 2px 8px rgba(0, 24, 81, 0.06);
  --vybe-shadow-2: 0 2px 4px rgba(0, 24, 81, 0.06), 0 6px 16px rgba(0, 24, 81, 0.10);
  --vybe-shadow-3: 0 12px 32px rgba(0, 24, 81, 0.10);
  --vybe-shadow-brand: 0 8px 20px rgba(18, 17, 190, 0.28);

  /* Motion */
  --vybe-duration-fast: 100ms;
  --vybe-duration: 180ms;
  --vybe-duration-slow: 260ms;
  --vybe-ease: cubic-bezier(0.33, 1, 0.68, 1); /* easeOutCubic */

  --vybe-touch-target: 48px;
}

/* Semantic roles: DARK (kit dark UI, as in the customer app).
   Royal on Night is only 1.7:1, so actions use Electric and links #8FA4FF. */
[data-theme="dark"] {
  --vybe-bg:             var(--onda-night);
  --vybe-bg-sunken:      #030A19;
  --vybe-surface:        var(--onda-dark-ui-surface-1);
  --vybe-surface-raised: var(--onda-dark-ui-surface-2);
  --vybe-surface-brand:  #14214A;

  --vybe-border:         var(--onda-dark-ui-line);
  --vybe-border-strong:  #3A4B78;
  --vybe-border-brand:   rgba(74, 91, 255, 0.55);

  --vybe-text:           var(--onda-mist);
  --vybe-text-secondary: var(--onda-dark-ui-text-2);
  --vybe-text-muted:     var(--onda-dark-ui-text-2);
  --vybe-text-placeholder: #7884A8;
  --vybe-text-brand:     var(--onda-dark-ui-link);
  --vybe-text-accent:    #D27BFF;

  --vybe-action:         var(--onda-dark-ui-electric);
  --vybe-action-hover:   #6676FF;
  --vybe-action-active:  #8FA4FF;
  --vybe-action-subtle:  #14214A;
  --vybe-focus-ring:     0 0 0 3px rgba(74, 91, 255, 0.45);
  --vybe-gradient-cta:   var(--onda-dark-ui-electric);

  --vybe-danger:         var(--onda-status-danger);
  --vybe-success:        var(--onda-status-success);
  --vybe-warning:        var(--onda-status-warning);

  --vybe-shadow-1: none;
  --vybe-shadow-2: 0 6px 12px rgba(0, 0, 0, 0.40);
  --vybe-shadow-3: 0 12px 28px rgba(0, 0, 0, 0.60);
  --vybe-shadow-brand: 0 8px 20px rgba(74, 91, 255, 0.30);
}
