/* Kanoniczny naglowek yukata.ai. Jeden wyglad dla marketingu, narzedzi, Bazy i konta. */
.yk-header,
.yk-header * {
  box-sizing: border-box;
}

.yk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #f7f3eb;
  border-bottom: 1px solid #ded9cf;
  color: #1a1a1a;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.yk-header__inner {
  width: 100%;
  max-width: 1200px;
  height: 72px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yk-header__logo,
.yk-header__logo:link,
.yk-header__logo:visited {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 10px;
  color: #1a1a1a;
  text-decoration: none !important;
}

.yk-header__mark {
  display: block;
  width: 36px;
  height: 36px;
}

.yk-header__wordmark {
  color: #1a1a1a;
  font-family: "Spectral", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.yk-header__ai {
  color: #26356b;
}

.yk-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.yk-header .yk-nav a,
.yk-header .yk-nav a:link,
.yk-header .yk-nav a:visited {
  color: #26356b;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
}

.yk-header .yk-nav a:hover,
.yk-header .yk-nav a.is-active {
  color: #26356b;
}

.yk-header .yk-nav a.is-active {
  font-weight: 600;
}

.yk-header .yk-nav__platform,
.yk-header .yk-nav__platform:link,
.yk-header .yk-nav__platform:visited,
.yk-header .yk-nav__platform:hover,
.yk-header .yk-nav__one,
.yk-header .yk-nav__one:link,
.yk-header .yk-nav__one:visited,
.yk-header .yk-nav__one:hover,
.yk-header .yk-nav__firms,
.yk-header .yk-nav__firms:link,
.yk-header .yk-nav__firms:visited,
.yk-header .yk-nav__firms:hover,
.yk-header .yk-nav__tools,
.yk-header .yk-nav__tools:link,
.yk-header .yk-nav__tools:visited,
.yk-header .yk-nav__tools:hover,
.yk-header .yk-nav__account,
.yk-header .yk-nav__account:link,
.yk-header .yk-nav__account:visited,
.yk-header .yk-nav__account:hover {
  color: #26356b !important;
}

.yk-header .yk-nav__platform.is-active,
.yk-header .yk-nav__one.is-active,
.yk-header .yk-nav__firms.is-active,
.yk-header .yk-nav__tools.is-active {
  color: #1a1a1a !important;
  font-weight: 600;
}

.yk-header .yk-nav__account.is-active {
  color: #1a1a1a !important;
  font-weight: 400;
}

.yk-header .yk-nav__signin {
  margin-left: 2px;
}

.yk-header .yk-nav__signup,
.yk-header .yk-nav__signup:link,
.yk-header .yk-nav__signup:visited {
  min-height: 46px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f7f3eb !important;
  background: #26356b;
  border: 1px solid #26356b;
  font-weight: 500;
}

.yk-header .yk-nav__signup:hover {
  color: #fff !important;
  background: #1e2a59;
  border-color: #1e2a59;
}

.yk-header .yk-nav__lang,
.yk-header .yk-nav__lang:link,
.yk-header .yk-nav__lang:visited {
  color: #2f6b3d;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.yk-header .yk-nav__lang:hover {
  color: #26356b;
}

.yk-account-subnav,
.yk-account-subnav * {
  box-sizing: border-box;
}

.yk-account-subnav {
  position: sticky;
  top: 72px;
  z-index: 90;
  width: 100%;
  background: #26356b;
  border-bottom: 1px solid #1e2a59;
  box-shadow: 0 5px 14px rgba(23, 26, 38, 0.1);
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.yk-account-subnav__inner {
  width: 100%;
  max-width: 1280px;
  min-height: 52px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.yk-account-subnav .yk-account-subnav__item,
.yk-account-subnav .yk-account-subnav__item:link,
.yk-account-subnav .yk-account-subnav__item:visited {
  display: flex;
  align-items: center;
  padding: 15px 0 13px;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.yk-account-subnav .yk-account-subnav__item:hover,
.yk-account-subnav .yk-account-subnav__item.is-active {
  color: #fff;
}

.yk-account-subnav .yk-account-subnav__item.is-active {
  border-bottom-color: #fff;
  font-weight: 700;
}

.yk-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.yk-header__toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: #1a1a1a;
  transition: transform 0.2s, opacity 0.2s;
}

.yk-header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.yk-header__toggle.is-open span:nth-child(2) { opacity: 0; }
.yk-header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) {
  .yk-account-subnav__inner {
    padding: 0 22px;
  }

  .yk-header__inner {
    padding: 0 22px;
  }

  .yk-header__toggle {
    display: block;
  }

  .yk-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 18px;
    background: #f7f3eb;
    border-bottom: 1px solid #ded9cf;
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.08);
  }

  .yk-nav.is-open {
    display: flex;
  }

  .yk-header .yk-nav a,
  .yk-header .yk-nav a:link,
  .yk-header .yk-nav a:visited {
    padding: 13px 0;
    border-bottom: 1px solid #ded9cf;
    color: #1a1a1a;
  }

  .yk-header .yk-nav__signin {
    margin-left: 0;
  }

  .yk-header .yk-nav__signup,
  .yk-header .yk-nav__signup:link,
  .yk-header .yk-nav__signup:visited {
    align-self: flex-start;
    min-height: 0;
    margin-top: 12px;
    padding: 11px 20px;
    border-bottom: 1px solid #26356b;
  }

  .yk-header .yk-nav__lang,
  .yk-header .yk-nav__lang:link,
  .yk-header .yk-nav__lang:visited {
    order: 99;
    border-bottom: 0;
  }
}
