:root {
  --color-bg: #0f0f0f;
  --color-bg-soft: #0b0b0b;
  --color-surface: #121212;
  --color-surface-raised: #191919;
  --color-surface-deep: #0d0d0d;
  --color-surface-input: #0e0e0e;
  --color-text: #fff;
  --color-black: #000;
  --color-muted: rgba(255,255,255,.62);
  --color-soft: rgba(255,255,255,.78);
  --color-subtle: rgba(255,255,255,.54);
  --color-line: rgba(255,255,255,.12);
  --color-line-soft: rgba(255,255,255,.07);
  --color-line-strong: rgba(255,255,255,.16);
  --color-accent: #ffa71b;
  --color-accent-soft: rgba(255,167,27,.12);
  --color-accent-line: rgba(255,167,27,.35);
  --font-sans: Manrope, system-ui, sans-serif;
  --font-display: Georgia, serif;
  --text-xs: 11px;
  --text-sm: 13px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 24px;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --tracking-tight: -.052em;
  --tracking-wide: .14em;
  --container: 1280px;
  --gutter: 42px;
  --section-space: 88px;
  --topbar-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 26px 80px rgba(0,0,0,.48);
  --shadow-float: 0 12px 34px rgba(0,0,0,.53);
  --ease: cubic-bezier(.22,1,.36,1);
  --transition-fast: .2s ease;
  --bg: var(--color-bg);
  --text: var(--color-text);
  --muted: var(--color-muted);
  --accent: var(--color-accent);
  --max: var(--container);
  --shadow: var(--shadow-card);

  /* Совместимость с ранее добавленными компонентными правилами */
  --site-max: var(--container);
  --site-gutter: var(--gutter);
  --font-body: var(--font-sans);
  --text-main: var(--color-text);
  --text-muted: var(--color-muted);
  --text-soft: rgba(255,255,255,.72);
  --fs-body: 16px;
  --fs-card: 20px;
  --fs-section: clamp(36px,3.2vw,50px);
  --fs-hero: clamp(50px,4.25vw,66px);
  --lh-body: 1.48;
  --lh-title: 1.05;
  --section-gap-y: 44px;
  --card-radius: var(--radius-lg);

  /* Матовое стекло для интерактивных элементов */
  --glass-bg: rgba(255,255,255,.08);
  --glass-bg-hover: rgba(255,255,255,.14);
  --glass-bg-active: rgba(255,255,255,.05);
  --glass-border: rgba(255,255,255,.22);
  --glass-border-hover: rgba(255,167,27,.72);
  --glass-blur: 14px;
  --glass-saturate: 140%;
  --glass-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18);
  --glass-shadow-hover: 0 16px 36px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.26);
  --glass-highlight: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.05) 42%, transparent 72%);
}

/* Параметры, снятые с оригинальной страницы */
:root {
  --h1-desktop: 56px; --h2-desktop: 38px;
  --lead-desktop: 20px; --small-desktop: 16px;
  --menu-desktop: 18px;
  --h1-mobile: 34px; --h2-mobile: 30px; --h3-mobile: 22px;
  --lead-mobile: 18px; --text-mobile: 16px; --small-mobile: 14px;
  --menu-mobile: 16px;
  --menu-glass-bg: linear-gradient(135deg, rgba(18,18,18,.78), rgba(7,7,7,.58));
  --menu-glass-border: rgba(255,255,255,.18);
  --menu-glass-blur: 22px; --menu-glass-saturate: 155%;
  --menu-glass-shadow: 0 22px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(255,255,255,.05);
}

:root {
  --faq-border-width: 2px;
  --faq-row-height: 96px;
  --faq-row-padding: 20px 0;
  --faq-answer-padding: 0 58px 34px 0;
  --faq-icon-size: 40px;

  /* Админка */
  --admin-section-gap: 24px;
}

:root {

  /* Shared primitive text-style tokens; aliases preserve the established visual scale. */
  --weight-light: 300;
  --weight-medium: 500;
  --type-size-56px: 56px;
  --type-size-92em: .92em;
  --type-size-22px: 22px;
  --type-size-18px: 18px;
  --type-size-13px: 13px;
  --type-size-clamp-30px-3-3vw-48px: clamp(30px,3.3vw,48px);
  --type-size-16px: 16px;
  --type-size-14px: 14px;
  --type-size-15px: 15px;
  --type-size-26px: 26px;
  --type-size-25px: 25px;
  --type-size-12px: 12px;
  --type-size-28px: 28px;
  --type-size-42px: 42px;
  --type-size-17px: 17px;
  --type-size-19px: 19px;
  --type-size-66px: 66px;
  --type-size-40px: 40px;
  --type-size-clamp-44px-3-55vw-57px: clamp(44px,3.55vw,57px);
  --type-size-98em: .98em;
  --type-size-clamp-17px-1-18vw-20px: clamp(17px,1.18vw,20px);
  --type-size-34px: 34px;
  --type-size-clamp-16px-1-15vw-19px: clamp(16px,1.15vw,19px);
  --type-size-clamp-17px-1-22vw-21px: clamp(17px,1.22vw,21px);
  --type-size-32px: 32px;
  --type-size-20px: 20px;
  --type-size-clamp-34px-3-5vw-46px: clamp(34px,3.5vw,46px);
  --type-size-38px: 38px;
  --type-size-30px: 30px;
  --type-size-68px: 68px;
  --type-size-52px: 52px;
  --type-size-clamp-27px-2-6vw-38px: clamp(27px,2.6vw,38px);
  --type-size-clamp-40px-4-6vw-62px: clamp(40px,4.6vw,62px);
  --type-size-0: 0;
  --type-size-24px: 24px;
  --type-size-clamp-18px-1-45vw-24px: clamp(18px,1.45vw,24px);
  --type-line-1-5: 1.5;
  --type-line-1: 1;
  --type-line-1-05: 1.05;
  --type-line-1-28: 1.28;
  --type-line-1-55: 1.55;
  --type-line-1-45: 1.45;
  --type-line-1-03: 1.03;
  --type-line-1-02: 1.02;
  --type-line-1-38: 1.38;
  --type-line-1-18: 1.18;
  --type-line-1-48: 1.48;
  --type-line-1-42: 1.42;
  --type-line-1-15: 1.15;
  --type-line-1-25: 1.25;
  --type-line-1-35: 1.35;
  --type-line-1-2: 1.2;
  --type-line-1-12: 1.12;
  --type-line-1-4: 1.4;
  --type-line-1-7: 1.7;
  --type-line-1-3: 1.3;
  --type-track-neg-1em: -.1em;
  --type-track-14em: .14em;
  --type-track-neg-052em: -.052em;
  --type-track-neg-04em: -.04em;
  --type-track-neg-06em: -.06em;
  --type-track-neg-035em: -.035em;
  --type-track-neg-01em: -.01em;
  --type-track-neg-012em: -.012em;
  --type-track-01em: .01em;
  --type-track-neg-005em: -.005em;
  --type-track-neg-025em: -.025em;
  --type-track-neg-02em: -.02em;
  --type-track-neg-055em: -.055em;
  --type-track-neg-045em: -.045em;
  --type-track-0: 0;
  --type-color-rgba-255-255-255-88: rgba(255,255,255,.88);
  --type-color-rgba-255-255-255-45: rgba(255,255,255,.45);
  --type-color-rgba-255-255-255-66: rgba(255,255,255,.66);
  --type-color-rgba-255-255-255-54: rgba(255,255,255,.54);
  --type-color-rgba-255-255-255-72: rgba(255,255,255,.72);
  --type-color-050505: #050505;
  --type-color-rgba-255-255-255-50: rgba(255,255,255,.50);
  --type-color-rgba-255-255-255-70: rgba(255,255,255,.70);
  --type-color-rgba-255-255-255-82: rgba(255,255,255,.82);
}
