/**
 * Keska marketing site - Titanium design tokens (static site, no UI framework).
 * Values mirror the titanium design tokens
 */
:root {
  /* Primary - Nordic Blue */
  --color-primary-500: #4a85b2;
  --color-primary-600: #2f638a;
  --color-primary-700: #1f4a68;
  --color-primary-100: #e8f2f9;
  --color-primary-200: #c8e4f8;

  /* Spruce Green - success / structural accent (color.md) */
  --color-spruce-green: #2a5248;
  --color-spruce-green-dark: #16362e;

  /* Taiga accent hues - product tile icons (color.md) */
  --color-nordic-sky: #4a85b2;
  --color-cloudberry: #f2994a;
  --color-lingonberry: #c45a72;

  /* Text & surfaces */
  --text-primary: #1d1d1f;
  --text-secondary: #48484a;
  --text-muted: #86868b;
  --text-disabled: #aeaeb2;
  --app-bg: #fafcff;
  --surface-ground: #fafcff;
  --surface-hover: #f2f6fa;
  --border-subtle: #d5dfe5;
  --border-subtler: #f2f6fa;

  /* Logo size - controlled here so the sticky header can shrink it via cascade */
  --logo-size: clamp(32px, 5vw, 38px);

  /* Atmospheric gradients - titanium.tokens.css */
  --gradient-taiga-mist: linear-gradient(180deg, #5c7677 0%, #293b3a 50%, #151f1e 100%);
  --gradient-spruce: linear-gradient(180deg, #43786b 0%, #2a5248 52%, #16362e 100%);
  --gradient-washed-fog: linear-gradient(180deg, #f2f6fa 0%, #fafcff 100%);
  --gradient-washed-fog-subtle: linear-gradient(180deg, #f2f6fa54 0%, #fafcff54 100%), #fff;
  --gradient-morning-frost-subtle: linear-gradient(180deg, #d5dfe554 0%, #b8c7d154 50%, #8fa5b254 100%), #fff;
  --gradient-morning-frost-platform:
    linear-gradient(rgba(213, 223, 229, 0.175) 0%, rgba(184, 199, 209, 0.075) 50%, rgba(143, 165, 178, 0.075) 100%),
    rgb(255, 255, 255);
  --gradient-morning-frost-text: linear-gradient(180deg, #b8c7d1 0%, #8fa5b2 52%, #6a8fa8 100%);
  --gradient-taiga-mist-subtle:
    linear-gradient(180deg, rgba(92, 118, 119, 0.33) 0%, rgba(41, 59, 58, 0.33) 50%, rgba(21, 31, 30, 0.33) 100%),
    #ffffff;
  /* Foundation pillars - lighter washes than platform shell (see home.css) */
  --gradient-foundation-isolate:
    linear-gradient(180deg, rgba(213, 223, 229, 0.28) 0%, rgba(184, 199, 209, 0.1) 52%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
  --gradient-foundation-nordic-sky:
    linear-gradient(180deg, rgba(74, 133, 178, 0.14) 0%, rgba(47, 99, 138, 0.06) 46%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
  --gradient-foundation-spruce:
    linear-gradient(165deg, rgba(67, 120, 107, 0.16) 0%, rgba(42, 82, 72, 0.07) 48%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
  /* Display type - horizontal spruce to Nordic Sky (matches logo ring) */
  --gradient-spruce-nordic-sky-text: linear-gradient(90deg, var(--color-spruce-green) 0%, var(--color-nordic-sky) 100%);
  /* Hero landing - wash fades to white within the first viewport */
  --gradient-washed-fog-hero: linear-gradient(180deg, #f2f6fa 0%, #ffffff 100%);

  /* Section rhythm - content-snap vertical padding (not consumed by header calc) */
  --section-pad-y: clamp(4.5rem, 10vh, 8rem);

  /* Spacing - 8px grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Radius - Nordic continuous curves */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Overlay elevation */
  --shadow-overlay: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-control: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

  /* Focus - Nordic Blue at 30% opacity (titanium.tokens.css) */
  --focus-ring-color: rgba(74, 133, 178, 0.3);

  --font-sans: "Inter", system-ui, sans-serif;
}
