/* Бренд СЕМТАК: шрифты (свои, без обращения к Google), палитра, логотип.
   Знак и слово собирает api/brand_common.php (brandMark, brandLogoHtml). */

/* Playfair Display 700 - заголовки и слово СЕМТАК */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/brand/playfair-display-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/brand/playfair-display-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* IBM Plex Sans - вариативный файл, начертания 400-600 */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/brand/ibm-plex-sans-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/brand/ibm-plex-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* IBM Plex Mono 500 - номера и отпечатки уговора */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/brand/ibm-plex-mono-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/brand/ibm-plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--brand-ink: #1C2733;
	--brand-paper: #F3EDE2;
	--brand-wax: #B5402F;
	--brand-ochre: #C8962E;
	--brand-signal: #2F6DF6;
	--brand-graphite: #6B6257;
	--brand-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--brand-sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
	--brand-mono: 'IBM Plex Mono', Consolas, monospace;
	/* Цвета знака в HTML (brandMark с css=true): тема и режимы меняют их на клиенте */
	--brand-mark-ink: #1C2733;
	--brand-mark-ring: #B5402F;
}
:root[data-theme="dark"] { --brand-mark-ink: #F3EDE2; }
.brand-dark { --brand-mark-ink: #F3EDE2; }
.brand-mono { --brand-mark-ring: var(--brand-mark-ink); }

/* Логотип: знак + слово. Высота задаётся размером знака (brandLogoHtml h),
   слово подстраивается: кап-высота ≈ 0.44 высоты знака */
.brand-logo { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; color: inherit; line-height: 1; }
.brand-logo svg { flex-shrink: 0; height: auto; }
.brand-word { font-family: var(--brand-serif); font-weight: 700; letter-spacing: .02em; color: var(--brand-ink); white-space: nowrap; }
.brand-word b { font-weight: inherit; color: var(--brand-wax); }
.brand-logo.brand-dark .brand-word, [data-theme="dark"] .brand-word { color: var(--brand-paper); }
.brand-logo.brand-mono .brand-word b { color: inherit; }

/* Подпись-метод под словом: ТОЧНОСТЬ · АКТЫ · КОНТРОЛЬ */
.brand-tagline { font-family: var(--brand-sans); font-weight: 500; font-size: .5em; letter-spacing: .3em; text-transform: uppercase; color: var(--brand-graphite); }
