/*
  Elevayme design tokens (Brandkit 1.0, 28 October 2026).
  The one place for brand colours, type, radii, spacing and motion.
  Page styles (site.css, blog.css, admin.css, legal pages) map their own names to these.
  Values are curated web tokens derived from the brand references, not print colours.
*/
:root {
  /* colours */
  --ev-navy-950: #000000; /* black (was deep navy): page background, hero, footer */
  --ev-navy-900: #0a0a0a; /* main surfaces */
  --ev-navy-800: #141414; /* cards, dialogs, menus */
  --ev-navy-700: #1e1e1e; /* raised elements on cards */
  --ev-gold-500: #c9ad84; /* primary actions, short highlights */
  --ev-gold-400: #d9c19c; /* hover, gradient start, soft accents */
  --ev-gold-600: #b0936a; /* gradient end, graphic depth; never small text */
  --ev-white: #f2f1ee; /* text on navy */
  --ev-muted: #a7adb3; /* secondary text on navy */
  --ev-subtle: #9aa1a7; /* captions on navy */
  --ev-light-surface: #ffffff; /* sparing light sections */
  --ev-ink: #0a0a0a; /* text on gold and light surfaces */
  --ev-ink-muted: #4d4d4d; /* secondary text on light surfaces */
  --ev-bronze: #8a6a3c; /* accent text on light surfaces (gold is too weak there) */

  --ev-line: rgba(255, 255, 255, 0.09); /* hairlines on navy */
  --ev-line-strong: rgba(255, 255, 255, 0.2);
  --ev-gold-wash: rgba(201, 173, 132, 0.1); /* hover and selected backgrounds */
  --ev-gold-glow: rgba(201, 173, 132, 0.2);
  --ev-shadow: rgba(0, 0, 0, 0.38);
  --ev-gradient-gold: linear-gradient(120deg, var(--ev-gold-400), var(--ev-gold-500) 48%, var(--ev-gold-600));

  /* type: Plus Jakarta Sans for headlines, Inter for text. Weights: 400 text, 500 labels, 600 headlines and buttons. */
  --ev-font-display: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ev-font-body: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Sizes are fluid between a 390px and a 1440px screen and hit exactly the values in the comments there. */
  --ev-h1: clamp(2rem, 1.0714rem + 3.8095vw, 4.5rem); /* 32px -> 72px (32px keeps the start page's main button on the first phone screen) */
  --ev-h2: clamp(1.875rem, 1.457rem + 1.7143vw, 3rem); /* 30px -> 48px */
  --ev-title: clamp(1.5rem, 1.314rem + 0.762vw, 2rem); /* 24px -> 32px: titles of panels and larger cards */
  --ev-h3: clamp(1.25rem, 1.157rem + 0.381vw, 1.5rem); /* 20px -> 24px */
  --ev-lead: clamp(1.125rem, 1.0786rem + 0.1905vw, 1.25rem); /* 18px -> 20px */
  --ev-text: clamp(1.0625rem, 1.0393rem + 0.0952vw, 1.125rem); /* 17px -> 18px */
  --ev-ui: 1rem; /* 16px: buttons, navigation, form fields, text in cards and chat */
  --ev-small: 0.875rem; /* 14px: meta, labels, hints, footer. Nothing is set smaller. */
  /* Heading leading leaves room for umlauts (Ä Ö Ü İ ğ) under descenders (g j p q y) of the line above:
     Plus Jakarta Sans 600 draws ö up to ~0.78em and g down to ~0.22em, so 1.04 let them touch. */
  --ev-lh-h1: 1.14;
  --ev-lh-h2: 1.16;
  --ev-lh-title: 1.2;
  --ev-lh-h3: 1.25;
  --ev-lh-lead: 1.55;
  --ev-lh-text: 1.6;
  --ev-lh-small: 1.5;
  --ev-lh-ui: 1.2;
  --ev-lh-input: 1.4;
  --ev-leading: var(--ev-lh-text);
  --ev-ls-h1: -0.03em;
  --ev-ls-h2: -0.025em;
  --ev-ls-h3: -0.01em;
  --ev-tracking-label: 0.01em; /* labels are set in normal case, not in spaced capitals */

  /* shape */
  --ev-radius-sm: 10px;
  --ev-radius-button: 16px;
  --ev-radius-card: 24px;
  --ev-radius-panel: 32px;
  --ev-radius-pill: 999px;

  /* spacing */
  --ev-space-1: 4px;
  --ev-space-2: 8px;
  --ev-space-3: 12px;
  --ev-space-4: 16px;
  --ev-space-5: 24px;
  --ev-space-6: 32px;
  --ev-space-7: 48px;
  --ev-space-8: 72px;
  --ev-space-9: 112px;
  --ev-card-padding: clamp(18px, 3vw, 32px);
  --ev-content: 1200px;

  /* controls and states */
  --ev-control-height: 52px;
  --ev-target: 44px;
  --ev-focus: 0 0 0 3px var(--ev-navy-950), 0 0 0 5px var(--ev-gold-400);

  /* motion */
  --ev-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ev-fast: 180ms;
  --ev-base: 240ms;
  --ev-slow: 300ms;
}
