/* «Наймись» — общие токены и основа. Метафора: бумага, шариковая ручка, маркер. */
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/geologica-cyrillic-400-normal.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: 400; font-display: swap; src: url(/fonts/geologica-latin-400-normal.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; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/geologica-cyrillic-500-normal.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-latin-500-normal.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; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/geologica-cyrillic-600-normal.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-latin-600-normal.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; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/geologica-cyrillic-700-normal.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-latin-700-normal.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; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/golos-text-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/golos-text-latin-400-normal.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; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/golos-text-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/golos-text-latin-500-normal.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; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/golos-text-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/golos-text-latin-600-normal.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 {
  --paper: #F5F6FA;
  --sheet: #FFFFFF;
  --ink: #161A3A;
  --ink-2: #474D70;
  --ink-3: #82879F;
  --rule: #DEE1EC;
  --rule-2: #EDEFF5;
  --pen: #2F3FE0;
  --pen-2: #1F2BB8;
  --pen-soft: #E7E9FD;
  --marker: #FFE45C;
  --marker-soft: #FFF3B0;
  --stamp: #D23B3B;
  --stamp-soft: #FBE7E7;
  --ok: #10805A;
  --ok-soft: #E1F3EC;
  --partial: #B87500;
  --partial-soft: #FBF0D9;

  --f-display: 'Geologica', 'Golos Text', system-ui, sans-serif;
  --f-text: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --sheet-shadow: 0 1px 0 var(--rule), 0 22px 44px -28px rgba(22, 26, 58, 0.38);
  --lift-shadow: 0 2px 0 var(--rule), 0 30px 60px -30px rgba(22, 26, 58, 0.45);
  --r-btn: 12px;
  --r-sheet: 6px;
  --r-box: 16px;
  --gutter: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-text);
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
/* Атрибут hidden скрывает всегда: иначе display из классов (.cookie { display: flex } и т. п.) его перебивает —
   так 12.11.2026 не закрывалась плашка cookie и были видны нули в счётчике */
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--pen); text-underline-offset: 3px; }
a:hover { color: var(--pen-2); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 0.9em; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--marker); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Кнопки ── */
.btn {
  --bg: var(--pen); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn); border: 0;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 12px 24px -14px rgba(47, 63, 224, .7);
}
.btn:hover { --bg: var(--pen-2); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn-ghost:hover { --bg: var(--sheet); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-soft { --bg: var(--pen-soft); --fg: var(--pen-2); box-shadow: none; }
.btn-soft:hover { --bg: #D9DCFB; --fg: var(--pen-2); }
.btn-ok { --bg: var(--ok); }
.btn-ok:hover { --bg: #0B6A4A; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14.5px; border-radius: 10px; }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 17.5px; border-radius: 14px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--pen); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ── Поля ── */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span, .label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.input, .textarea, .select {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--rule); background: var(--sheet); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--pen); box-shadow: 0 0 0 4px var(--pen-soft); }
.hint { font-size: 13.5px; color: var(--ink-3); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pen); flex: none; }

/* ── Маркер (ключевые слова) ── */
mark, .mk { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); color: inherit; padding: 0 .12em; border-radius: 2px; }

/* ── Тестовый режим ── */
@media (max-width: 600px) { .tb-more { display: none; } }
.test-banner { position: relative; z-index: 60; background: var(--ink); color: #fff; text-align: center; font-size: 13.5px; padding: 7px var(--gutter); }

/* ── Тост ── */
.toast-box { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 460px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 15px; box-shadow: var(--lift-shadow); animation: toast-in .35s var(--ease); pointer-events: auto; }
.toast.is-err { background: var(--stamp); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Логотип: знак, название, под ним слоган (24.11.2026) ── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-txt { display: grid; gap: 4px; }
.logo-txt b { font: 700 21px/1 var(--f-display); letter-spacing: -0.02em; }
.logo-txt small { font: 500 13px/1 var(--f-text); color: var(--pen); }
