/* ============================================================
   Ezo Design System — colors & type
   Source of truth for brand tokens across web, deck, dashboards.
   Import this file and use the semantic classes OR the vars directly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ---------- Exterior (vehicle / physical) ----------
     Not typically used on digital surfaces, but exposed for renders, marketing
     pages that want material continuity with the vehicle. */
  --ezo-exterior-primary: #0a0a0e;    /* near-black, gloss piano */
  --ezo-exterior-secondary: #a8a8ad;  /* brushed aluminum */
  --ezo-exterior-trim: #050507;       /* deepest black, matte */
  --ezo-glass-tint: rgba(26, 29, 38, 0.3);

  /* ---------- Interior (vehicle / physical) ---------- */
  --ezo-interior-primary: #d4c4a8;    /* warm oat bouclé */
  --ezo-interior-secondary: #8b6f47;  /* smoked oak */
  --ezo-interior-floor: #1c1c1f;
  --ezo-interior-hardware: #c08c5d;   /* anodized bronze */
  --ezo-interior-ceiling: #e8e0d0;

  /* ---------- Digital background + surface ---------- */
  --ezo-bg: #0a0a0e;        /* matches exterior primary */
  --ezo-surface: #14141a;   /* one step up — cards, panels */
  --ezo-surface-2: #1c1c24; /* hover / raised surface */
  --ezo-border: #2a2a33;    /* subtle dividers */
  --ezo-border-strong: #3a3a45;

  /* ---------- Text ---------- */
  --ezo-text-primary: #f5f1e8;   /* warm off-white — NEVER pure white */
  --ezo-text-secondary: #a8a8ad;
  --ezo-text-muted: #6b6b72;
  --ezo-text-on-accent: #0a0a0e; /* dark text on accent fills */

  /* ---------- Accents ---------- */
  --ezo-accent: #7dd3fc;         /* signature light blue — the jewel */
  --ezo-accent-dim: #4ba3cc;     /* for hover on accent fills */
  --ezo-warm: #d4c4a8;           /* oat — used sparingly for warmth */
  --ezo-bronze: #c08c5d;         /* anodized bronze */

  /* ---------- Status (VDK-aligned) ---------- */
  --ezo-ok: #84cc16;
  --ezo-warn: #e5a820;
  --ezo-danger: #ef4444;

  /* ---------- Gradients ---------- */
  --ezo-gradient-hero: linear-gradient(135deg, #f5f1e8 0%, #7dd3fc 100%);

  /* ---------- Typography ---------- */
  --ezo-font-display: 'Figtree', system-ui, -apple-system, sans-serif;
  --ezo-font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --ezo-font-mono: 'JetBrains Mono', ui-monospace, 'Menlo', monospace;

  /* Type scale (px) */
  --ezo-text-hero: 96px;
  --ezo-text-h1: 56px;
  --ezo-text-h2: 36px;
  --ezo-text-h3: 24px;
  --ezo-text-body-lg: 18px;
  --ezo-text-body: 16px;
  --ezo-text-small: 14px;

  /* ---------- Radii ---------- */
  --ezo-radius-sm: 8px;
  --ezo-radius-md: 16px;
  --ezo-radius-lg: 24px;
  --ezo-radius-xl: 40px;

  /* ---------- Spacing (4-base) ---------- */
  --ezo-space-1: 4px;
  --ezo-space-2: 8px;
  --ezo-space-3: 12px;
  --ezo-space-4: 16px;
  --ezo-space-5: 24px;
  --ezo-space-6: 32px;
  --ezo-space-7: 48px;
  --ezo-space-8: 64px;
  --ezo-space-9: 96px;

  /* ---------- Motion ---------- */
  --ezo-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ezo-duration: 500ms;
  --ezo-duration-fast: 200ms;

  /* ---------- Elevation (subtle — the brand leans flat) ---------- */
  --ezo-shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --ezo-shadow-md: 0 4px 16px rgba(0,0,0,0.45);
  --ezo-shadow-lg: 0 16px 48px rgba(0,0,0,0.55);
  /* Accent glow — used for the light-signature feel on key CTAs */
  --ezo-glow-accent: 0 0 32px rgba(125, 211, 252, 0.35);
}

/* ============================================================
   Semantic base styles — apply by wrapping in .ezo or using body
   ============================================================ */

.ezo, body.ezo {
  background: var(--ezo-bg);
  color: var(--ezo-text-primary);
  font-family: var(--ezo-font-body);
  font-size: var(--ezo-text-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ezo h1, .ezo .h1,
.ezo h2, .ezo .h2,
.ezo h3, .ezo .h3,
.ezo .hero {
  font-family: var(--ezo-font-display);
  color: var(--ezo-text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.ezo .hero {
  font-size: var(--ezo-text-hero);
  font-weight: 600;
  line-height: 1.0;
}
.ezo h1, .ezo .h1 {
  font-size: var(--ezo-text-h1);
  font-weight: 600;
  line-height: 1.1;
}
.ezo h2, .ezo .h2 {
  font-size: var(--ezo-text-h2);
  font-weight: 600;
  line-height: 1.15;
}
.ezo h3, .ezo .h3 {
  font-size: var(--ezo-text-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ezo .body-lg { font-size: var(--ezo-text-body-lg); line-height: 1.6; }
.ezo .body    { font-size: var(--ezo-text-body);    line-height: 1.6; }
.ezo .small, .ezo small {
  font-size: var(--ezo-text-small);
  line-height: 1.5;
  color: var(--ezo-text-secondary);
}

.ezo .mono, .ezo code, .ezo kbd {
  font-family: var(--ezo-font-mono);
  font-size: var(--ezo-text-small);
  line-height: 1.4;
  font-weight: 400;
}
.ezo .mono-lg {
  font-family: var(--ezo-font-mono);
  font-size: var(--ezo-text-body-lg);
  line-height: 1.4;
  font-weight: 500;
}

.ezo .text-muted     { color: var(--ezo-text-muted); }
.ezo .text-secondary { color: var(--ezo-text-secondary); }
.ezo .text-accent    { color: var(--ezo-accent); }
.ezo .text-warm      { color: var(--ezo-warm); }

/* Gradient headline — use sparingly, only on key brand moments */
.ezo .text-gradient {
  background: var(--ezo-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Component primitives
   ============================================================ */

/* Cards */
.ezo .card {
  background: var(--ezo-surface);
  border: 1px solid var(--ezo-border);
  border-radius: var(--ezo-radius-lg);
  padding: var(--ezo-space-5);
}
.ezo .card--accent {
  border-left: 2px solid var(--ezo-accent);
}

/* Buttons */
.ezo .btn {
  font-family: var(--ezo-font-display);
  font-size: var(--ezo-text-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: var(--ezo-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ezo-duration-fast) var(--ezo-ease),
              color var(--ezo-duration-fast) var(--ezo-ease),
              border-color var(--ezo-duration-fast) var(--ezo-ease),
              box-shadow var(--ezo-duration-fast) var(--ezo-ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.ezo .btn--primary {
  background: var(--ezo-accent);
  color: var(--ezo-text-on-accent);
}
.ezo .btn--primary:hover {
  background: #a0e2ff;
  box-shadow: var(--ezo-glow-accent);
}
.ezo .btn--ghost {
  background: transparent;
  color: var(--ezo-text-primary);
  border-color: var(--ezo-border-strong);
}
.ezo .btn--ghost:hover {
  border-color: var(--ezo-text-secondary);
  background: var(--ezo-surface);
}

/* Spec table */
.ezo .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--ezo-border);
  font-family: var(--ezo-font-mono);
  font-size: var(--ezo-text-small);
}
.ezo .spec-row__label { color: var(--ezo-text-secondary); }
.ezo .spec-row__value { color: var(--ezo-text-primary); }

/* Images — never square-cornered */
.ezo img, .ezo .image {
  border-radius: var(--ezo-radius-md);
  display: block;
  max-width: 100%;
}
