/* RiskHub design system · tokens.css
   Источник: riskhub.ru (:root на главной и /static/css/home.css?v=10), сверено 2026-11-21.
   Шрифты — self-host (как на riskhub.ru, 152-ФЗ: без Google Fonts CDN). Папка fonts/ лежит рядом с этим файлом. */
@font-face{font-family:'Geologica';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/Geologica-500-cyrillic.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/Geologica-500-latin.woff2") format('woff2');unicode-range:U+0020-007E;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:600;font-display:swap;src:url("fonts/Geologica-600-cyrillic.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:600;font-display:swap;src:url("fonts/Geologica-600-latin.woff2") format('woff2');unicode-range:U+0020-007E;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/Geologica-700-cyrillic.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/Geologica-700-latin.woff2") format('woff2');unicode-range:U+0020-007E;}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/Onest-400-cyrillic.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/Onest-400-latin.woff2") format('woff2');unicode-range:U+0020-007E;}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/Onest-500-cyrillic.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/Onest-500-latin.woff2") format('woff2');unicode-range:U+0020-007E;}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url("fonts/Onest-600-cyrillic.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url("fonts/Onest-600-latin.woff2") format('woff2');unicode-range:U+0020-007E;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/JetBrainsMono-500-cyrillic.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/JetBrainsMono-500-latin.woff2") format('woff2');unicode-range:U+0020-007E;}

:root{
  /* бренд */
  --orange:#FE7A42; --orange-2:#ff9d6e;
  --teal:#15B7C0; --teal-2:#5fe0e6;
  --deep:#001F2D; --sapphire:#144587; --sapphire-2:#3a7bd5;
  --graphite:#48575A; --blue:#167BBF; --mist:#E5E5E5;
  /* rgb-версии для теней, свечений, лучей */
  --orange-rgb:254,122,66; --orange2-rgb:255,157,110; --teal-rgb:21,183,192; --sapphire-rgb:58,123,213;
  --deep-rgb:0,31,45; --blue-rgb:22,123,191; --graphite-rgb:72,87,90;
  /* тёмные версии для текста на светлом (контраст ≥ 4.5:1) — с riskhub.ru */
  --orange-ink:#c2531f; --teal-ink:#0e8b92; --teal-ink-2:#0c7a80; --sapphire-ink:#2f5aa0;
  /* поверхности */
  --bg:#ffffff; --bg-2:#f7fafb; --panel:#ffffff; --panel-2:#f7fafb;
  --footer:#031019; --island:linear-gradient(135deg,#06283a,var(--deep) 60%,#04161f);
  /* текст */
  --txt:#001F2D; --mut:#4d5c60; --mut-2:#8a979b;
  --f-txt:#cdd9de; --f-mut:#8ba0a8; --f-mut-2:#6f868f; --f-line:rgba(255,255,255,.08);
  /* линии */
  --line:rgba(0,31,45,.08); --line-2:rgba(0,31,45,.14);
  /* продуктовая «вторая нота» (rgb): по умолчанию бирюза */
  --brand:21,183,192;
  /* статусы */
  --ok:#0e8b92; --warn:#c2531f; --err:#c0392b;
  /* тени, радиусы, сетка, плавность, гекс */
  --sh-1:0 1px 2px rgba(0,31,45,.04);
  --sh-2:0 14px 30px -18px rgba(0,31,45,.14);
  --sh-btn:0 14px 32px -12px rgba(254,122,66,.5);
  --r-sm:10px; --r-md:14px; --r-lg:20px; --r-xl:28px; --r-pill:999px;
  --container:1200px; --gutter:20px; --ease:cubic-bezier(.2,.7,.2,1);
  --hex:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
  /* шрифты */
  --f-head:'Geologica',system-ui,sans-serif; --f-body:'Onest',system-ui,sans-serif; --f-mono:'JetBrains Mono',ui-monospace,monospace;
}
@media(min-width:960px){:root{--gutter:40px}}

/* Продуктовые ноты: <body class="p-people"> и т.д. */
.p-people{--brand:var(--orange2-rgb)}
.p-games{--brand:var(--blue-rgb)}
.p-models{--brand:20,69,135}
.p-analytics{--brand:var(--teal-rgb)}
.p-biz{--brand:var(--graphite-rgb)}
