:root{
  --primary:#6366f1; --primary-hover:#4f46e5;
  /* 16.11.2026 (власник, INV-118): контраст за WCAG AA (не менше 4,5:1) — фон кнопок з білим текстом
     темніший (#4f46e5 — 6,3:1), посилання на темному фоні — світлі (#a5b4fc — 7,3:1) */
  --btn:#4f46e5; --btn-hover:#4338ca; --link:#a5b4fc;
  --bg:#0f172a; --card:#1e293b; --text:#f1f5f9; --muted:#cbd5e1;
  --radius:0.75rem; --shadow:0 10px 30px rgba(0,0,0,.5);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  background:var(--bg); color:var(--text); min-height:100vh;
  display:flex; flex-direction:column; -webkit-font-smoothing:antialiased;
}
.wrap{
  flex:1; width:100%; max-width:680px; margin:0 auto; padding:32px 20px 24px;
  text-align:center; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:20px;
}
.logo{ width:200px; height:auto; max-width:60%; }
.title{ font-size:clamp(1.4rem,4.5vw,2rem); line-height:1.25; margin:0; font-weight:800; }
.lead{ font-size:clamp(1rem,3.2vw,1.15rem); line-height:1.55; color:var(--muted);
       margin:0; max-width:36em; text-align:justify; }
.btn-start{
  margin-top:8px; border:0; cursor:pointer; background:var(--btn); color:#fff;
  font-size:1.15rem; font-weight:700; letter-spacing:.02em; padding:16px 48px;
  border-radius:var(--radius); box-shadow:var(--shadow);
  transition:background .15s ease, transform .05s ease; width:100%; max-width:320px;
}
.btn-start:hover{ background:var(--btn-hover); }
.btn-start:active{ transform:translateY(1px); }
.overlay{
  position:fixed; inset:0; background:rgba(2,6,23,.55); display:flex;
  align-items:center; justify-content:center; padding:20px; z-index:50;
}
.overlay[hidden]{ display:none; }
.modal{
  position:relative; background:var(--card); color:var(--text);
  border-radius:var(--radius); box-shadow:var(--shadow); width:100%; max-width:420px;
  padding:28px 22px 22px; display:flex; flex-direction:column; gap:14px; text-align:center;
}
.modal-close{
  position:absolute; top:8px; right:12px; border:0; background:none; font-size:1.8rem;
  line-height:1; color:var(--muted); cursor:pointer;
}
.modal-text{ font-size:1.1rem; font-weight:600; margin:6px 0 4px; }
.btn-tg{ display:block; text-decoration:none; text-align:center; padding:14px 20px;
         border-radius:var(--radius); font-weight:700; font-size:1.05rem; }
.btn-download{ background:#334155; color:#f1f5f9; }
.btn-go{ background:var(--btn); color:#fff; border:0; box-shadow:var(--shadow); padding:16px 48px; font-size:1.15rem; letter-spacing:.02em; }
.btn-go:hover{ background:var(--btn-hover); }
.topbar{ position:absolute; top:10px; right:12px; z-index:40; }
.menu{ position:relative; }
.menu-btn{ border:0; background:none; cursor:pointer; font-size:1.6rem; line-height:1;
           padding:6px 12px; color:var(--muted); border-radius:8px; }
.menu-btn:hover{ background:rgba(127,127,127,.15); }
.menu-list{ position:absolute; top:100%; right:0; margin-top:4px; background:var(--card);
            border-radius:12px; box-shadow:var(--shadow); overflow:hidden; min-width:230px; }
.menu-list[hidden]{ display:none; }
.menu-list a{ display:block; padding:12px 16px; color:var(--text); text-decoration:none;
              font-size:.98rem; white-space:nowrap; }
.menu-list a:hover{ background:rgba(127,127,127,.12); }
.legal{ max-width:820px; margin:0 auto; padding:24px 20px 60px; line-height:1.6; }
.legal-back{ display:inline-block; margin-bottom:16px; color:var(--link);
             text-decoration:none; font-weight:600; }
.legal-title{ font-size:clamp(1.3rem,4vw,1.8rem); margin:0 0 18px; }
.legal p{ margin:0 0 10px; color:var(--text); }
/* turnstile-modal */
.tg-form{ display:flex; flex-direction:column; gap:14px; align-items:stretch; margin:0; }
.ts-box{ display:flex; justify-content:center; min-height:65px; }
.tg-form .btn-go{ width:100%; }
.tg-error{ color:#f87171; font-size:.95rem; margin:0; }
.btn-go:disabled{ opacity:.5; cursor:not-allowed; }

/* 05.11.2026 (INV-090 rich-text): long service texts - offer, policy, agreements, FAQ */
.rich-text { text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.rich-text p { margin: 0 0 10px; }
.rich-text .rt-h { margin: 18px 0 8px; font-weight: 700; text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.rich-text .rt-h:first-child { margin-top: 0; }
.rich-text .rt-li { padding-left: 14px; text-indent: -14px; }

/* 13.11.2026 (INV-100): плашка cookies і пункт меню «Налаштування cookies» */
.cookie-bar{ position:fixed; left:12px; right:12px; bottom:12px; z-index:60; max-width:640px; margin:0 auto;
  background:var(--card); color:var(--text); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:14px 16px; display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; font-size:.92rem; line-height:1.45; }
.cookie-bar[hidden]{ display:none; }
.cookie-text{ margin:0; flex:1 1 260px; color:var(--muted); }
.cookie-text a{ color:var(--link); }
.cookie-actions{ display:flex; gap:8px; margin-left:auto; }
.cookie-btn{ border:0; cursor:pointer; border-radius:10px; padding:10px 16px; font-weight:700; font-size:.95rem; }
.cookie-accept{ background:var(--btn); color:#fff; }
.cookie-accept:hover{ background:var(--btn-hover); }
.cookie-decline{ background:#334155; color:var(--text); }
.menu-list button{ display:block; width:100%; text-align:left; padding:12px 16px; color:var(--text); background:none;
  border:0; font:inherit; font-size:.98rem; white-space:nowrap; cursor:pointer; }
.menu-list button:hover{ background:rgba(127,127,127,.12); }

/* 13.11.2026 (INV-101): сторінки «Роботодавцям» / «Робітникам», статті */
.article{ width:100%; max-width:760px; margin:0 auto; padding:24px 20px 40px; line-height:1.65; }
.article-title{ font-size:clamp(1.4rem,4.5vw,2rem); line-height:1.25; margin:8px 0 18px; font-weight:800; }
.article-date{ color:var(--muted); font-size:.9rem; margin:-8px 0 18px; }
.article .rich-text{ color:var(--text); font-size:1.02rem; }
.article-card{ background:var(--card); border-radius:var(--radius); padding:16px 18px; margin:0 0 14px; }
.article-card h2{ font-size:1.15rem; margin:0 0 8px; line-height:1.35; }
.article-card h2 a{ color:var(--text); text-decoration:none; }
.article-card p{ margin:0 0 10px; color:var(--muted); }
.article-more{ color:var(--link); text-decoration:none; font-weight:600; }
.start-cta{ margin:32px 0 0; padding:22px 18px; background:var(--card); border-radius:var(--radius); text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:10px; }
.start-cta h2{ margin:0; font-size:1.2rem; }
.start-cta p{ margin:0; color:var(--muted); }

/* 13.11.2026 (INV-102): «Актуальні вакансії» — міста і вакансії */
.city-list{ list-style:none; padding:0; margin:0 0 10px; display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.city-list a{ display:block; background:var(--card); color:var(--text); text-decoration:none; border-radius:var(--radius);
  padding:14px 16px; font-weight:700; text-align:center; }
.city-list a:hover{ background:#273449; }
.vac-intro{ color:var(--muted); margin:0 0 18px; }
.vac-card{ background:var(--card); border-radius:var(--radius); padding:14px 16px; margin:0 0 12px; }
.vac-card p{ margin:0 0 4px; }
.vac-date{ font-weight:700; }
.vac-skills{ color:var(--muted); overflow-wrap:anywhere; }
.vac-pay{ font-weight:700; }
.vac-btn{ margin-top:10px; border:0; cursor:pointer; background:var(--btn); color:#fff; font-weight:700;
  border-radius:10px; padding:10px 18px; }
.vac-btn:hover{ background:var(--btn-hover); }
.vac-empty{ color:var(--muted); }

/* 13.11.2026 (власник, INV-106): меню ⋮ вміщається в екран телефона — довгі пункти переносяться, ширина не більша
   за екран, на низькому екрані меню прокручується */
.menu-list{ width:max-content; max-width:calc(100vw - 24px); max-height:calc(100vh - 70px); overflow-y:auto; }
.menu-list a, .menu-list button{ white-space:normal; overflow-wrap:anywhere; line-height:1.35; }

/* 19.11.2026 (власник, INV-141): контакти внизу всіх сторінок — вимога monobank; праворуч одразу під «© … Усі права
   захищено», тим самим стилем (.site-copyright у home.html: 11px, #94a3b8, праворуч) */
.site-contacts { align-self: flex-end; margin: -6px 0 0; padding: 0 12px 8px; font-size: 11px; color: #94a3b8; text-align: right; }
.site-contacts a { color: inherit; }
