/*
 * CSS Custom Properties — Design Tokens
 *
 * Single source of truth for every colour, size, spacing, and effect
 * value used across the theme. All other CSS files consume these variables.
 * Never define raw values outside this file except where a CSS spec requires it.
 *
 * Migrated from original style.css :root block.
 * Depends on: nothing (loads first)
 *
 * @package Vinelec
 */

:root {

  /* ── Fonts ── */
  --font-primary:
    "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --font-heading: var(--font-primary);

  /* ── Font sizes ── */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: clamp(16px, 1vw, 19px);
  --fs-xl: clamp(32px, 3.1vw, 48px);
  --fs-stat: clamp(30px, 2.2vw, 42px);
  --fs-h1: clamp(48px, 3.4vw, 70px);

  /* ── Font weights ── */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* ── Line heights ── */
  --lh-tight: 1.2;
  --lh-snug: 1.2;
  --lh-normal: 1.45;
  --lh-relaxed: 1.55;

  /* ── Letter spacing ── */
  --ls-tight: -0.025em;
  --ls-normal: 0;
  --ls-wide: 0.06em;
  --ls-wider: 0.16em;

  /* ── Colours — Backgrounds ── */
  --clr-bg: #000512;
  --clr-bg-alt: #0a1020;
  --clr-bg-card: linear-gradient(180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.008));

  /* ── Colours — Brand ── */
  --clr-primary: #2c5bff;
  --clr-primary-hover: #1f49e0;
  --clr-primary-soft: #5b82ff;
  --clr-accent: #2fc97a;

  /* ── Colours — Text ── */
  --clr-white: #ffffff;
  --clr-text: #c7cedb;
  --clr-text-light: #dfe4ee;
  --clr-text-nav: #e7ebf2;
  --clr-muted: #8b94a6;

  /* ── Colours — Borders / Lines ── */
  --clr-border: rgba(255, 255, 255, 0.1);
  --clr-border-soft: rgba(255, 255, 255, 0.06);

  /* ── Shadows ── */
  --shadow-primary: 0 6px 22px rgba(44, 91, 255, 0.35);
  --shadow-primary-lg: 0 10px 30px rgba(44, 91, 255, 0.3);

  /* ── Layout ── */
  --container-max: 1400px;
  --container-pad: clamp(20px, 4vw, 40px);

  /* ── Spacing scale ── */
  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 20px;
  --space-lg: 42px;
  --space-xl: 48px;
  --space-2xl: 72px;

  /* ── Border radius ── */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 50%;

  /* ── Transitions ── */
  --ease: 0.18s ease;
}