/* Дизайн-токены Premium Access Club — «Концьерж-бутик».
   Все цвета, размеры и тайминги сайта берутся только отсюда.
   Правило: золото — это блеск (--foil-sheen), а не заливка больших площадей. */

:root {
  /* Фон и поверхности: изумруд/графит */
  --bg-0: #070d0a;
  --bg-1: #0b1410;
  --bg-2: #0f1c17;
  --bg-3: #13241d;
  --surface: rgba(19, 36, 29, 0.72);
  --surface-strong: rgba(19, 36, 29, 0.92);
  --surface-soft: rgba(15, 28, 23, 0.55);
  --glass: rgba(244, 234, 217, 0.04);

  /* Текст: кремовый вместо белого */
  --cream: #f4ead9;
  --cream-dim: #d9cdb8;
  --muted: #9fb0a8;
  --faint: #6d8178;

  /* Золотая фольга */
  --foil: #c9a15a;
  --foil-light: #e9cf96;
  --foil-dark: #8a6126;
  --foil-sheen: linear-gradient(115deg, #8a6126 0%, #e9cf96 26%, #b68a44 44%, #f6e7c2 58%, #8a6126 80%);

  /* Изумруд */
  --emerald: #1f5e46;
  --emerald-light: #3fb886;
  --emerald-glow: rgba(63, 184, 134, 0.28);

  /* Линии */
  --line: rgba(214, 180, 120, 0.2);
  --line-soft: rgba(214, 180, 120, 0.1);
  --line-strong: rgba(214, 180, 120, 0.42);

  /* Состояния */
  --good: #5fbf8e;
  --bad: #e07a6f;
  --warn: #e0b95f;

  /* Типографика */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-3xl: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);

  /* Геометрия */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  /* Глубина */
  --shadow-soft: 0 16px 50px rgba(2, 8, 5, 0.45);
  --shadow: 0 30px 90px rgba(2, 8, 5, 0.6);
  --glow-foil: 0 10px 34px -10px rgba(201, 161, 90, 0.65);

  /* Движение */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --t-slow: 600ms;

  /* Слои */
  --z-stars: 0;
  --z-content: 1;
  --z-header: 50;
  --z-bottom-nav: 60;
  --z-drawer: 80;
  --z-modal: 90;
  --z-toast: 100;
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
}
