@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

html,
body {
  font-family: 'Rubik', sans-serif;
}

@font-face {
  font-family: 'Rubik-Bold';
  font-style: normal;
  font-weight: 700;
  src: url(../font/Rubik-Bold_1.ttf) format(truetype);
}

		
@font-face {
  font-family: 'Rubik-Regular';
  font-style: normal;
  font-weight: 400;
  src: url(../font/Rubik-Regular_1.ttf) format(truetype);
}

		
@font-face {
  font-family: 'Rubik-SemiBold';
  font-style: normal;
  font-weight: 600;
  src: url(../font/Rubik-SemiBold_1.ttf) format(truetype);
}

/* OKKwork typography — Rubik по разделам страницы */
.okkwork-stat-card__kicker {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
}

.okkwork-stat-card__title,
.okkwork-stat-card__subtitle {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
}

.okkwork-stat-card__figure {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
}

/* Верхнее меню и кнопки шапки */
#110_11, #110_16, #110_20, #110_24, #110_28,
#108_1988, #108_1991, #112_196 {
  font-family: 'Rubik', sans-serif !important;
  font-weight: 500;
}

#108_1988, #108_1991 {
  font-weight: 600;
}

/* Синий блок подвала — крупные заголовки */
.Pixso-paragraph-110_42,
.Pixso-paragraph-110_127 {
  font-family: 'Rubik', sans-serif !important;
  font-weight: 800 !important;
}

/* Подвал — заголовки колонок */
.Pixso-frame-112_197 [class*="Pixso-paragraph-110_"] {
  font-family: 'Rubik', sans-serif !important;
}

.Pixso-frame-112_197 .Pixso-paragraph-110_17,
.Pixso-frame-112_197 .Pixso-paragraph-110_33,
.Pixso-frame-112_197 .Pixso-paragraph-110_49,
.Pixso-frame-112_197 .Pixso-paragraph-110_65 {
  font-weight: 600;
}

/* Подвал — ссылки и текст */
.Pixso-frame-112_197 [class*="Pixso-paragraph-110_"]:not(.Pixso-paragraph-110_42):not(.Pixso-paragraph-110_127) {
  font-weight: 400;
}

/* Блок «OKKwork быстро и удобно» */
.Pixso-paragraph-110_127,
.Pixso-paragraph-110_128 {
  font-family: 'Rubik', sans-serif !important;
}

/* OKKwork interactions (added without changing index.html markup) */
:root {
  --okkwork-accent: rgba(6, 88, 162, 1);
  --okkwork-accent-soft: rgba(6, 88, 162, 0.18);
  /* Верхнее меню: ширины блоков + равный зазор между ними (симметрия относительно центра) */
  --okkwork-nav-w1: 180px;
  --okkwork-nav-w2: 73px;
  --okkwork-nav-w3: 135px;
  --okkwork-nav-gap: 40px;
}

/* Clickable areas exported from Pixso as divs */
#108_1988,
#108_1991,
#110_11,
#110_16,
#110_20,
#110_24,
#110_28,
#112_196,
#110_124 {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#108_1988,
#108_1991 {
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

/* Кнопка «Создать отчёт ОКК» — поверх соседних слоёв, кликабельна целиком */
#108_1991 {
  z-index: 5;
}

body.okkwork-dark #108_1988:hover,
body.okkwork-dark #108_1991:hover,
body.okkwork-dark #112_196:hover {
  filter: none !important;
}

body.okkwork-dark #108_1988:active,
body.okkwork-dark #108_1991:active,
body.okkwork-dark #112_196:active {
  transform: translateY(1px);
  filter: none !important;
}

#110_11:hover,
#110_16:hover,
#110_124:hover {
  text-decoration: underline;
}

/* Верхние пункты «О продукте» / «Тарифы» / «Гайды ОКК» — как кнопка «Войти» при наведении */
#110_20,
#110_24,
#110_28,
#okkwork-nav-partners {
  transition: background-color 0.15s ease;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  box-sizing: border-box;
}

#110_20 .Pixso-paragraph-110_21,
#110_24 .Pixso-paragraph-110_25,
#110_28 .Pixso-paragraph-110_29 {
  transition: color 0.15s ease;
}

#110_20:hover,
#110_24:hover,
#110_28:hover,
#okkwork-nav-partners:hover,
#110_20:focus-visible,
#110_24:focus-visible,
#110_28:focus-visible,
#okkwork-nav-partners:focus-visible {
  background-color: var(--okkwork-accent);
  text-decoration: none;
}

#110_20:hover .Pixso-paragraph-110_21,
#110_24:hover .Pixso-paragraph-110_25,
#110_28:hover .Pixso-paragraph-110_29,
#okkwork-nav-partners:hover .Pixso-paragraph-110_29,
#110_20:focus-visible .Pixso-paragraph-110_21,
#110_24:focus-visible .Pixso-paragraph-110_25,
#110_28:focus-visible .Pixso-paragraph-110_29,
#okkwork-nav-partners:focus-visible .Pixso-paragraph-110_29 {
  color: rgba(255, 255, 255, 1);
}

.frame-content-110_20,
.frame-content-110_24,
.frame-content-110_28 {
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
}

#108_1988:focus,
#108_1991:focus,
#110_11:focus,
#110_16:focus,
#110_20:focus,
#110_24:focus,
#110_28:focus,
#112_196:focus,
#110_124:focus {
  outline: 2px solid var(--okkwork-accent-soft);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  #108_1988,
  #108_1991 {
    transition: none;
  }

  #108_1988:active,
  #108_1991:active,
  #112_196:active {
    transform: none;
  }
}

/* OKKwork auth modal */
.okkwork-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.okkwork-modal {
  width: min(560px, 100%);
  border-radius: 18px;
  overflow: hidden;
  font-family: "Rubik", sans-serif;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(17, 31, 43, 1) 0%, rgba(13, 23, 33, 1) 100%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.okkwork-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px 18px;
}

.okkwork-modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.okkwork-modal-back {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  flex-shrink: 0;
}

.okkwork-modal-back:hover {
  background: rgba(6, 88, 162, 0.25);
}

.okkwork-modal-title {
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.okkwork-modal-close {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 22px;
  line-height: 36px;
  color: rgba(255, 255, 255, 0.88);
}

.okkwork-modal-close:hover {
  background: rgba(6, 88, 162, 0.25);
}

.okkwork-modal-body {
  padding: 0 18px 18px 18px;
}

/* method switch */
.okkwork-auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 14px 0;
}

.okkwork-auth-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  padding: 10px 10px;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.okkwork-auth-chip[aria-pressed="true"] {
  border-color: rgba(6, 88, 162, 0.9);
  background: rgba(6, 88, 162, 0.22);
  color: rgba(255, 255, 255, 0.96);
}

.okkwork-field {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.okkwork-label {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.okkwork-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 12px;
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  outline: none;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.18);
}

.okkwork-input:focus {
  border-color: rgba(6, 88, 162, 1);
  box-shadow: 0 0 0 4px rgba(6, 88, 162, 0.22);
}

.okkwork-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.okkwork-btn {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
}

.okkwork-btn-primary {
  width: 100%;
  background: rgba(6, 88, 162, 1);
  color: rgba(255, 255, 255, 1);
}

.okkwork-btn-primary:hover {
  filter: brightness(1.05);
}

.okkwork-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.okkwork-hint {
  margin-top: 10px;
  font-family: "Rubik", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.okkwork-auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.okkwork-link {
  border: 0;
  background: transparent;
  color: rgba(110, 170, 255, 1);
  cursor: pointer;
  padding: 6px 0;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
}

.okkwork-link:hover {
  text-decoration: underline;
}

.okkwork-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px 0;
  font-family: "Rubik", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.okkwork-divider::before,
.okkwork-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
}

.okkwork-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.okkwork-social-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 12px 12px;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.okkwork-social-btn:hover {
  border-color: rgba(6, 88, 162, 0.9);
  background: rgba(6, 88, 162, 0.18);
}

.okkwork-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.okkwork-social-btn--google .okkwork-social-icon {
  background: #fff;
  color: #4285f4;
}

.okkwork-social-btn--yandex .okkwork-social-icon {
  background: #fc3f1d;
  color: #fff;
}

.okkwork-auth-muted {
  font-family: "Rubik", sans-serif;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.okkwork-reg-panel--hidden {
  display: none !important;
}

.okkwork-field--inline {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.okkwork-field-grow {
  flex: 1;
  min-width: 0;
}

.okkwork-btn-sms {
  white-space: nowrap;
  margin-top: 0;
  padding: 12px 14px;
  flex-shrink: 0;
}

.okkwork-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-family: "Rubik", sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.okkwork-consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: rgb(6, 88, 162);
}

.okkwork-consent a {
  color: rgba(110, 170, 255, 1);
}

.okkwork-forgot-intro {
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 14px;
}

.okkwork-step-badge {
  display: inline-block;
  font-family: "Rubik", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(110, 170, 255, 1);
  background: rgba(6, 88, 162, 0.2);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.okkwork-input--code {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.okkwork-hint--demo {
  background: rgba(6, 88, 162, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
}

.okkwork-success {
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(140, 220, 160, 1);
  margin: 8px 0 16px;
}

.okkwork-oauth-block {
  text-align: center;
  padding: 8px 0 4px;
}

.okkwork-oauth-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.okkwork-oauth-block--google .okkwork-oauth-icon {
  background: #fff;
  color: #4285f4;
}

.okkwork-oauth-block--yandex .okkwork-oauth-icon {
  background: #fc3f1d;
  color: #fff;
}

.okkwork-oauth-text {
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.95);
}

.okkwork-error {
  margin-top: 10px;
  font-family: "Rubik", sans-serif;
  font-size: 12px;
  color: rgba(255, 170, 170, 1);
  min-height: 16px;
}

.okkwork-auth-form {
  display: grid;
  gap: 2px;
}

.okkwork-auth-form .okkwork-field {
  margin-top: 12px;
}

.okkwork-auth-form .okkwork-field:first-child {
  margin-top: 4px;
}

/* Тарифы — см. css/tariffs.css */

/* --- Responsive harmonization for Pixso fixed layout --- */
:root {
  --okkwork-design-width: 1488;
  --okkwork-design-height: 1402;
  --okkwork-scale: 1;
}

/* Center the fixed frame on large screens */
.Pixso-frame-108_993 {
  display: flex;
  justify-content: center;
}

.Pixso-frame-108_994 {
  position: relative; /* keep children absolute inside */
  left: auto;
  top: 0;
}

/* Scale down for smaller screens while preserving proportions */
@media (max-width: 1488px) {
  :root {
    --okkwork-scale: calc(100vw / (var(--okkwork-design-width) * 1px));
  }

  .Pixso-frame-108_993 {
    /* prevent horizontal scrolling caused by fixed-width frame */
    width: 100%;
  }

  .Pixso-frame-108_994 {
    transform-origin: top center;
    transform: scale(var(--okkwork-scale));
  }

  /* Match scaled height so scrolling feels natural */
  .Pixso-frame-108_993 {
    height: calc(var(--okkwork-design-height) * 1px * var(--okkwork-scale));
  }
}

/* Mobile: add a little breathing room and avoid tiny tap targets */
@media (max-width: 480px) {
  :root {
    --okkwork-scale: calc(100vw / (var(--okkwork-design-width) * 1px));
  }

  .scroll-container {
    overflow-x: hidden;
  }

  /* Slightly increase focus outline visibility on mobile */
  #108_1988:focus,
  #108_1991:focus,
  #110_11:focus,
  #110_16:focus,
  #110_20:focus,
  #110_24:focus,
  #110_28:focus,
  #112_196:focus,
  #110_124:focus {
    outline-offset: 5px;
  }
}

/* Кнопка «Войти» в шапке */
body.okkwork-dark button.okkwork-btn.okkwork-btn--login {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: #1d71d7 !important;
  background-color: #1d71d7 !important;
  background-image: none !important;
  border: 1px solid #4a9fff !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(29, 113, 215, 0.45);
  font-weight: 700;
}

body.okkwork-dark button.okkwork-btn.okkwork-btn--login span {
  color: #ffffff !important;
}

body.okkwork-dark button.okkwork-btn.okkwork-btn--cta {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: #1d71d7 !important;
  background-color: #1d71d7 !important;
  background-image: none !important;
  border: 1px solid #4a9fff !important;
  border-radius: 15px !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(29, 113, 215, 0.45);
  font-weight: 700;
}

body.okkwork-dark button.okkwork-btn.okkwork-btn--cta span {
  color: #ffffff !important;
}
		