/* ==========================================================================
   Alkando — design tokens for the web.

   A direct port of the iOS app's main theme, so the site and the app are one
   visual world. Sources, in the app repo (iosApp/Alkando):

     Shared/ui/theme/ThemeTokens.swift    alkandoBrand, brandGradient
     UI/Theme/AlkandoBrandGlass.swift     inkGradient, glass stroke
     UI/Onboarding/AlkandoOnboardingView  white capsule CTA, card radii, eyebrow
     UI/AlkandoTabIsland.swift            link opacities, selection pill
     UI/Motion.swift                      durations

   When a value changes in the app, change it here — not in a component.
   ========================================================================== */

:root {
  /* Brand gradient — navy -> brand indigo -> plum (ThemeTokens.brandGradient). */
  --ak-ink-1: #1a1a2e;
  --ak-ink-2: #2d2580;
  --ak-ink-3: #1a0a2e;

  /* Surfaces (alkandoBrand). */
  --ak-bg: #1e1846;
  --ak-card: #2a2360;

  /* Text (alkandoBrand). */
  --ak-text: #ffffff;
  --ak-text-2: #bdb6e8;
  --ak-text-3: #8c84bc;
  --ak-section: #a9a1d9;

  /* Accents. */
  --ak-accent: #8e72ff;
  --ak-indigo: #4236cc;
  --ak-violet: #7058ff;
  --ak-danger: #ff5c7a;
  --ak-eyebrow: #ff8fa3;
  /* Label colour on the white capsule button. */
  --ak-on-white: #241a5b;

  /* Mode tints (onboarding mode tiles: Classic, Game, Work, Mix) plus the
     Premium gold — the app's secondary palette. */
  --ak-tint-classic: #8493b8;
  --ak-tint-game: #ff6fa5;
  --ak-tint-work: #6e9bff;
  --ak-tint-mix: #b79cff;
  --ak-tint-gold: #ffd66e;

  /* Feature colours, straight from the app's onboarding perks screen
     (AlkandoOnboardingView.featureRows). */
  --ak-feat-modes: #7058ff;
  --ak-feat-day-plan: #3e63dd;
  --ak-feat-activities: #f5a524;
  --ak-feat-focus: #ff6c86;
  --ak-feat-goals: #30a46c;
  --ak-feat-gamification: #9a7dff;

  /* Glass (AlkandoBrandGlass): the ink gradient sits almost opaque under the
     blur, because on a bright backdrop — the noon sky here, a white theme in
     the app — translucent violet turns grey and white text stops reading. */
  --ak-glass-stroke: rgba(255, 255, 255, 0.14);
  --ak-glass-fill: linear-gradient(135deg,
    rgba(26, 26, 46, 0.8) 0%,
    rgba(45, 37, 128, 0.8) 55%,
    rgba(26, 10, 46, 0.8) 100%);
  --ak-glass-blur: blur(22px) saturate(1.4);

  /* Radii (onboarding: buttons 14, tiles 18, cards 22, panels 26). */
  --ak-radius-sm: 11px;
  --ak-radius-button: 14px;
  --ak-radius-tile: 18px;
  --ak-radius-card: 22px;
  --ak-radius-panel: 26px;

  /* Type. SF Pro / SF Pro Rounded on Apple devices — the app's own faces —
     falling back to the site's Quicksand for the rounded display cut. */
  --ak-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ak-font-rounded: ui-rounded, "SF Pro Rounded", "Quicksand", system-ui, sans-serif;

  /* Motion (Motion.swift: tap 150ms ease-out, sheet 200ms ease-out). */
  --ak-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ak-dur-tap: 150ms;
  --ak-dur-sheet: 200ms;
}
